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

DFU not jumping to Application

Hi,

I have a DFU issue. Using Visual GDB IDE and gcc tool chain.

I Can get my signed application generated into zip then DFU it into the device which all works. Once I get that far I expect it to jump to the application. It passes CRC etc then goes to jump but the application will not start. The address it uses is MAIN_APPLICATION_START_ADDR is = 0x1F000 nrf_bootloader_app_start(MAIN_APPLICATION_START_ADDR);

Without the DFU I know that my application starts so it is compatible with the softdevice. Is there something I need to add to my make file? In my application It has placed the ISR_Vector at 0x1f000 which I think should be correct for the DFU.

Thank you

Parents
  • Not sure why but it seems like the actual address of the reset handler is corrupted somehow. If I have a look at what my program wants at address 0x1f004 I see 0x12911 in the file generated by my compiler but after programming the package this has changed to an out of bounds 0x1exxx value. Not sure if it is the bootloader or nrfutil or what is causing this but will get to the bottom of it soon. Still appreciate any help if someone else has encounted the same issue?

Reply
  • Not sure why but it seems like the actual address of the reset handler is corrupted somehow. If I have a look at what my program wants at address 0x1f004 I see 0x12911 in the file generated by my compiler but after programming the package this has changed to an out of bounds 0x1exxx value. Not sure if it is the bootloader or nrfutil or what is causing this but will get to the bottom of it soon. Still appreciate any help if someone else has encounted the same issue?

Children
No Data
Related