Page 1 of 1

ESP32-PICO-MINI-02 with EspRFTestTool

Posted: Mon Nov 04, 2024 8:21 pm
by mitch_hhl
I have a custom PCB that I am trying to perform certification testing with. It uses an ESP32-PICO-MINI-02 along with a CH340K to perform the USB to UART translation/flashing firmware.

The function of the device is verified. Bluetooth works with the original firmware that it was programmed with.

When I use the EspRFTestTool according to the provided documentation, I am unable to send any commands. I get this error every time. (See attached screenshot)

Here's what I've tried so far
- Erase the flash of the device, then try loading the test firmware to RAM
- Erase the flash of the device, then load the test firmware to Flash at 0x1000
- Load my own firmware that is working, then load the test firmware to RAM
- Try different baud rates (all available, with each option above)

When I load the test firmware to flash, and look at the serial log, I get this error repeating where the device is crashing:

Code: Select all

rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 271414342, SPIWP:0x00
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:QIO, clock div:2
load:0x40080000,len:174620
0x40080000: _WindowOverflow4 at C:/Users/Mitch/esp/esp-idf/components/xtensa/xtensa_vectors.S:2027
I would appreciate any and all assistance on this, as this is going to hold back our certification.

Re: ESP32-PICO-MINI-02 with EspRFTestTool

Posted: Tue Nov 05, 2024 1:38 pm
by aliarifat794
The test firmware generally needs to be loaded to a specific address in flash memory, as recommended by Espressif. While you've tried 0x1000, confirm the exact memory address requirement for your specific firmware version, as Espressif's tools sometimes expect 0x1000 or 0x8000.