Unable to flash new code on LoRa Gateway

Hello,

I own three LoRa Gateways, two of them working totally fine.

The third, however, I was able to flash once, but not giving me proper serial output, only random trash.

Now most of the time I get the error shown below. The other times it works, I still get the same trash output on UART and also the code does not seem to work (Blink example …). Nothing is connected or soldered to it, it’s out of the box.

As the other two are working, I guess the problem is not on the PC or cable side.

Any ideas on how to solve this or is it a bad unit?

Best regards, Emanuel

esptool.py v2.6
Serial port COM8
Connecting....
Chip is ESP32D0WDQ6 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
MAC: 84:0d:8e:06:8b:8c
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
Configuring flash size...
Auto-detected Flash size: 4MB
Compressed 8192 bytes to 47...

Writing at 0x0000e000... (100 %)
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.0 seconds (effective 16384.2 kbit/s)...
Hash of data verified.
Compressed 17392 bytes to 11186...

Writing at 0x00001000... (100 %)
Wrote 17392 bytes (11186 compressed) at 0x00001000 in 0.2 seconds (effective 921.4 kbit/s)...
File  md5: 2613d22b69813404709aa85ac2e6ed03
Flash md5: 780ba3527fabbc12a591631b8db9b6bc
MD5 of 0xFF is b870ee124b86c03bbf0d109d3dc8b26c

A fatal error occurred: MD5 of file does not match data in flash!
A fatal error occurred: MD5 of file does not match data in flash!

Hi manny.

It sounds like a bad board! Fill in the form [on this page and we can look into this for you. Be sure to include your order number and in the “Why do you need a RMA?” section just put the URL to this forum post. :-)](Return Policy - SparkFun Electronics)

Hi Chris,

thanks for the quick reply!

As I live in Germany, I didn’t order it directly from Sparkfun, but via Antratek (a supplier).

I wrote them a mail, that I expect the board to be likely defective, but they only told me to post this here. So I’ll guess I’ll write to them again as I don’t have a Sparkfun.com order number :confused:

Best regards,

Emanuel

Just let them know we authorize a replacement and they should be happy to help. You can refer them to this forum post if they need proof. :slight_smile: