Trying to do a flash of E104-BT5032A

I am a newbie in nrF52832. I have been carrying some experiments using the Nrf51 and so far they are going so well. However, I came across some few E104-BT5052 samples originating from the eByte http://ebyte.com/product-view-news.html?id=956 and I would like to do a reprograming of it.

I tried flashing them for the first time and the outcome was an error that indicated that they were protected and the only thing that needed to be done was an eraseall and that could lead to unprotecting them. I did that and that enabled me to load all my binaries. To my surprise, after the binary loading it was not possible to record the loading. I did too many research and this led me to recovering them using the procedure listed below:

1 Execute "nrfjprog -f nrf52 --recover" in a loop with a script

2 Remove GND and VCC

3 Pull-UP Reset PIN

4 Connect GND

5 Connect VCC

With the above procedure there was the possibility of recovering them and thereafter, I was able to do the flashing again but after doing the flashing the device would not be recognized again.

This having been my first time interacting with the Nrf52832, I can not be quite sure of what is wrong. With Nrf51, I had the ability of carrying out the flashing without issues at all. So I cannot know if the problem is associated with the Nrf52832 or with the E104-BT5052 module… and of course on my side I don’t think so. Imagine am forced to use the SWDO/SWDCLK to do the flashing so that it can work?

Am thankful.

  • Hi,

    You will need to use the SWD interface for programming. After the programming the application should run as normal. I do not see how this should not work. The only corner case I can think of, is if you have made an application that enable pin reset, and that the pin reset is set low (either by application or externally). In such case the chip will be in reset state.

    You may want to make sure you have installed the latest nrf command line tools, you might also check which nRF5 SDK version you are using here, I am assuming you are programming an application from the nRF5 SDK.

    I did a google search and could find this thread:
    https://www.ebyte.com/new-view-info.aspx?id=411

    Note that nRFgo Studio is not longer maintained, I recommend to program directly from the development tools (e.g. Keil or SES) or use the nrfjprog tool from command line.

    Kenneth

Related