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

sd_power_system_off and bootloader

Hi, I use bootloader from SDK6 and I have sd_power_system_off() in on_ble_evt in event BLE_GAP_EVT_TIMEOUT and BLE_GAP_EVT_DISCONNECTED. I use SDK7.1 and SD110 7.1. It cause some problem, because application stucks or it doesn't wake up on wake up button. I don't have any problem with sd_power_system_off() without bootloader.

What could cause problem ? Any idea ?

Parents
  • I have to use merged file now. So I used your "guide", but application doesn't start. If I add BLE_VALID_APP to uint8_t m_boot_settings[CODE_PAGE_SIZE] attribute((at(BOOTLOADER_SETTINGS_ADDRESS))) attribute((used)); I will get ERROR: The file specified is not a valid hex file, has data outside valid areas ERROR: or does not have data in valid areas.

Reply
  • I have to use merged file now. So I used your "guide", but application doesn't start. If I add BLE_VALID_APP to uint8_t m_boot_settings[CODE_PAGE_SIZE] attribute((at(BOOTLOADER_SETTINGS_ADDRESS))) attribute((used)); I will get ERROR: The file specified is not a valid hex file, has data outside valid areas ERROR: or does not have data in valid areas.

Children
No Data
Related