ESP_RF_test_tool_v1.1.0: Loading test firmware into FLASH

TerryBarnaby
Posts: 5
Joined: Wed Feb 27, 2019 4:20 pm

ESP_RF_test_tool_v1.1.0: Loading test firmware into FLASH

Postby TerryBarnaby » Wed Feb 27, 2019 4:33 pm

Hi,
We have developed a board that uses the ESP32_PICO_D4 chip/module. All is working fine with the chip but we now need to go through CE testing. We are trying to use the ESP_RF_test_tool_v1.1.0 and specifically the ESP32_RF_TEST_BIN_V1.4.6_20181019.bin firmware that provides the ability to set the system into test mode.

We have software on our board that emulates a USB CDC serial device connected via an FPGA to the ESP32 through UART0 and drives the enable and GPIO0 lines. Via this we can use the esptool.py program running under Linux to upload firmware to the ESP32's FLASH from Linux. This works fine for the AT firmware but the ESP32_RF_TEST_BIN_V1.4.6_20181019.bin does not seem to work. It prints out boot messages followed by "wait:" but does not appear to accept commands on the serial interface (at 115200 baud).

We have tried using the Microsoft Windows tool espRFTool.exe and this connects fine and works if we upload the ESP32_RF_TEST_BIN_V1.4.6_20181019.bin firmware into RAM. However it doesn't work if we have FLASHED the firmware using esptool.py. We cannot flash the firmware using espRFTool.exe as this seems to set the baud rate to a hardcoded high value and our simple USB CDC system ignores baud rate changes (why on earth does espRFTool do this!).

Should the ESP32_RF_TEST_BIN_V1.4.6_20181019.bin work from FLASH ok ? We FLASH it with the command: "esptool.py --port /dev/ttyACM0 write_flash --flash_mode dio --flash_freq 40m --flash_size detect 0x1000 ESP32_RF_TEST_BIN_V1.4.6_20181019.bin"

ESP_QiChuan
Posts: 14
Joined: Tue Mar 05, 2019 6:35 am

Re: ESP_RF_test_tool_v1.1.0: Loading test firmware into FLASH

Postby ESP_QiChuan » Tue Mar 05, 2019 6:38 am

HI
ESP32_RF_TEST_BIN_V1.4.6_20181019.bin can be burned using esptool.py (esptool.py --port /dev/ttyACM0 write_flash --flash_mode dio --flash_freq 40m --flash_size detect 0x1000 ESP32_RF_TEST_BIN_V1.4.6_20181019.bin). After the burning is completed, "wait:" will be printed and wait for the serial port command to be input. I tried it and the input commands are also working.

Who is online

Users browsing this forum: No registered users and 157 guests