Hello All,
I am working on nRF51822 use IAR nRF5 SDK 12.3.0.
I am trying to debug the DFU in IAR. At that time i got an error show below
I use IAR version show below,
So pleas give me solution as sson as possible.
Thanks & regards,
Urvisha Andani
Hello All,
I am working on nRF51822 use IAR nRF5 SDK 12.3.0.
I am trying to debug the DFU in IAR. At that time i got an error show below
I use IAR version show below,
So pleas give me solution as sson as possible.
Thanks & regards,
Urvisha Andani
Hi,
It because of the uECC library. The debug information generated by GCC is not compatible with IAR. Try to compile the library without '-g' or compile with '-gdwarf-3' to override the default DWARF version.
hi,
Thanks for reply.
Can you please share step to compile uECC? I have downloaded uECC library from github but haven't compile it.
Memory setting is as like below,

And use nRF51822 QFAA.
The memory settings are for the 32K RAM variant, while your chip has 16K. Try to change the RAM end address to 0x20004000 and start address to 0x20002500.
Edit: RAM base must be at least 0x200025e0 for the bootloader in SDK 12.3.0
Actually I am using mdbt40 custom board in which nRF51822 use.And in this module 32K RAM is available showing in specification of mdBT40 and link is given below,
https://www.seeedstudio.com/MDBT40-256RV3-nRF51822-based-BLE-module.html
I also change of RAM address as you told but not run show like below,

The APP RAM base must be 0x200025e0. Can you try this and see if you get the same result?
The APP RAM base must be 0x200025e0. Can you try this and see if you get the same result?
Thanks for the input by following them my problem got resolved.
Thanks for the update. Note that the mdBT40 comes two memory variants so I think you may have the 16K RAM one since you had to change the linker settings to make it work.
Hi,
I add initialization of DFU in my program and then upload program in device. Program runs successfully and starts advertising.
When I add custom service in my program and then upload program in device at that time program is getting stuck somewhere. so please give suggestion.
Hi,
Please post a new question since this is unrelated to the original issue you had. The problem may be that you have not increased the NRF_SDH_BLE_VS_UUID_COUNT in your sdk_config.h file and adjusted the APP RAM base address.