This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Change DFU start address and application start address

I changed the dfu start address to 0x00 and application start address to 0x8000. The application use the RTC0 IRQ to count the timer, but the RTC0 IRQ did not work correct(if the start application address is 0x00,the IRQ is work). Are there other config file should be modify for shift the start address?

Parents
  • Hi

    I am not exactly sure what you are trying to do but you can change the start address for the bootloader by modifying the BOOTLOADER_REGION_START constant in dfu_types.h file in the bootloader project in the nRF51 SDK. You should also modify the IROM Start and Size addresses accordingly in KEIL ->Options for Target -> Target

  • I used the nRF51422(not use the RF part) for the small device,the device need to update the application by the customer. So,I try to divide the 51422 for two part: 1.bootlader,address 0x0000,base on DFU; 2.Application,address 0x8000,for normal work,like Led and LCM display; Our other device use the STM32,STM32 is work very good. I try to do the same in the 51422,but it not work good as STM32. I am know well in the IAR,but i switch the project to IAR,the application still not work. The application may has associate with the start address,if I change the application from 0x8000 to 0x0000,the RTC0 IRQ is work. Could you try to modify the RTC_example from 0x8000?

Reply
  • I used the nRF51422(not use the RF part) for the small device,the device need to update the application by the customer. So,I try to divide the 51422 for two part: 1.bootlader,address 0x0000,base on DFU; 2.Application,address 0x8000,for normal work,like Led and LCM display; Our other device use the STM32,STM32 is work very good. I try to do the same in the 51422,but it not work good as STM32. I am know well in the IAR,but i switch the project to IAR,the application still not work. The application may has associate with the start address,if I change the application from 0x8000 to 0x0000,the RTC0 IRQ is work. Could you try to modify the RTC_example from 0x8000?

Children
No Data
Related