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

why DFU mode not entered after flashing softdevice and bootloader

I'm using SDK 9, I flashed the softdevice 8.00

I compiled the project located in \SDK_9.0.0\examples\dfu\bootloader\pca10028\dual_bank_ble_s110\arm5_no_packs

I flashed the hex file in bootloader region but my device didnt work (I cant see DfuTarg advertising)

I use nrf51 256kb and 16kb ram, is there any modifcation should I perform in target option?

reading 0x10001014 flash address gives me 0x0003C000

I jointed the memory dump and hex file programmed in flash with softdevice 8.00 and bootloader compiled with sdk 9

memory dump.txt FLASH.hex memory dump, flahs app with {BANK_VALID_APP}, .txt image description

Parents
  • @makouda: Sorry that I didn't notice you already configured the RAM.

    You can try to run the bootloader in debug mode and step through the code to see what goes wrong. To know how to configure the bootloader to work in debug mode, please have a look at question F in this FAQ.

    Another thing you would need to check is if your board has the 32kHz crystal or not. The bootloader by default use the 32kHz external crystal. Did the board work with other examples ?

Reply
  • @makouda: Sorry that I didn't notice you already configured the RAM.

    You can try to run the bootloader in debug mode and step through the code to see what goes wrong. To know how to configure the bootloader to work in debug mode, please have a look at question F in this FAQ.

    Another thing you would need to check is if your board has the 32kHz crystal or not. The bootloader by default use the 32kHz external crystal. Did the board work with other examples ?

Children
Related