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

NRF52 PM_EVT_ERROR_UNEXPECTED problem with connection

hello,

I used nrf52 and softdevice 2.0.1 and i have a big problem.

For some times the BT works perfectly but after i connect more then 4 devices for some reason the device return PM_EVT_ERROR_UNEXPECTED end stop working. The reset do not help i used sd_nvic_SystemReset() and NVIC_SystemReset() even i trya power off the BT module, but this error still happens

i received this error(PM_EVT_ERROR_UNEXPECTED) every time when i want to connect to a BT module to a phone.

Any ideas what cause this.

Parents
  • It is reserved below the bootloader in flash. See this.Is your bootloader start address 0x77C00? I think you should set it to 0x77000 instead. Then you can leave DFU_APP_DATA_RESERVED to 0x1000, and the flash between 0x76000 and 0x77000 will be reserved for your data by the bootloader. It seems that Fstorage doesn't know know that you have in flash below 0x77000, so I think you should try to set FS_PAGE_END_ADDR manually. Try setting it to 0x76000, and see if that changes anything.

Reply
  • It is reserved below the bootloader in flash. See this.Is your bootloader start address 0x77C00? I think you should set it to 0x77000 instead. Then you can leave DFU_APP_DATA_RESERVED to 0x1000, and the flash between 0x76000 and 0x77000 will be reserved for your data by the bootloader. It seems that Fstorage doesn't know know that you have in flash below 0x77000, so I think you should try to set FS_PAGE_END_ADDR manually. Try setting it to 0x76000, and see if that changes anything.

Children
Related