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

Error: app.hex in softdevice region

Hello everyone,

I'm currently migrating from a functional code IAR to Eclipse GCC.

It compiles fine and I got the hex files.

However I have some troube to flash the application in the module. Indeed, when I'm using nRFgo studio, it throws an error.

This hex file has data in SoftDevice region

But when I compile with IAR, there is no problem.

Do you have any idea ?

Thank you four answers.

Parents
  • This is because the project settings in GCC are not correct. You need to set the ROM start and size for the application in GCC. Applications do not have a native place in memory. It is up to the designer to choose where to place the application. For your situation it would be per the spec in the softdevice type and rev you are using. Or, you can just copy the settings you find in IAR.

Reply
  • This is because the project settings in GCC are not correct. You need to set the ROM start and size for the application in GCC. Applications do not have a native place in memory. It is up to the designer to choose where to place the application. For your situation it would be per the spec in the softdevice type and rev you are using. Or, you can just copy the settings you find in IAR.

Children
Related