This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Trying to flash E104-BT5032A

Hello:

I'm new on nrF52832 development. I did some tests using nRF51 and so far so good. However I received a few samples of E104-BT5032 from eByte http://ebyte.com/product-view-news.html?id=956 which I'd love to reprogram.

The first time I tried to flash them I receive an error saying that they were protected and need to do eraseall to be able to unprotect them. So I did and now I was able to load my binaries. However after uploading the binaries the boards were no longer recognized. Aftter a lot of research and tries I was able to recover them by using the following procedure:

Execute "nrfjprog -f nrf52 --recover" in a loop with a script
Remove GND and VCC
Pull-UP Reset PIN
Connect GND
Connect VCC

That way I was able to recover them and be able to flash again but after flasing anything the device will not be recognized again.

Since this is my first time with nRF52832 I'm not sure what I'm doing wrong here. When developing for nRF51 I was able to flash it using nrfjprog with no issues at all. So I'm not sure if this is a problem with nRF52832 or with the E104-BT5032 module... which I don't think so IMHO. In the end I'm just using SWDIO/SWDCLK to flash it so it should work?

When using nRF Connect and read the contents of the chip it always says "Core0: Non-volatile memory has been read. 1 non-empty memory blocks identified" even after issuing an "Erase All"... this is my first time with this tool so I'm not sure if this is normal or not... Even if I try to flash it with this tool it will not be longer recognized after writing it... needed to do the recover process above.

I'm on a Mac using nrfjprog and I'm compiling using http://github.com/lab11/nrf52x-base 

The programmer is a Segger jlink clone which apparently works fine (no problem with nRF51 at least)

I'll leave here the test hex I'm trying to write in case someone can test it on their nRF52832 or even E104-BT5032A if possible!

Thank you very much!

Antonio

6712.merged.hex

Related