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

Couldn't use nRFgo studio to progrm 52832

Hi

I'm using nRF5 SDK V12.0 and S132 on nRF52832, I add a peripheral service base on the ble_app_multilink_central example so that the phone can connect to the center. Now all the function is OK and I want to mergehex the files into one file. But I found that it indicates there are conflicts.

I nRFgo studio to progrm this application, I program S132 first and it's OK, then I program the application, it indicates the flash is not erased. But I can use Keil to download online.

I think these two problem is the application has exceed the size of the flash. However, I have check the .map file as follow:

Total RO  Size (Code + RO Data)                49740 (  48.57kB)
Total RW  Size (RW Data + ZI Data)             25740 (  25.14kB)
Total ROM Size (Code + RO Data + RW Data)      49856 (  48.69kB)

So could you give me some advice? Thanks.

image description image description

nRF52_Reply_0308.hex

nRF52_Reply_Setting_0308.hex

nRF52_bootloader_V12.0_Reply.hex

s132_nrf52_3.0.0_softdevice.hex

image description

Parents Reply
  • Upon inspection of your application hex I have found two lines at the end of the file which writes to the NRFFW[1] register in the UICR region. Specifically the two are :020000041000EA (this is a linear address extension which points to the UICR region) and :0410180000E00700ED (this is where data is written to NRFFW[1]). This indicates that you have not been successful in removing all the code which writes to the MBR. If you're unable to find where in your code this is happening you can try to simply delete these two lines from the bottom of your hex file, and then see if everything behaves as expected.

Children
No Data
Related