0

Error: app.hex in softdevice region

Hamza gravatar image

asked 2017-09-12 13:28:13 +0200

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.

edit retag flag offensive close delete report spam

2 answers

Sort by » oldest newest most voted
0
Hamza gravatar image

answered 2017-09-13 16:57:34 +0200

Found the answer. The addresses in the linker script were wrong. Thanks for your answers guys.

edit flag offensive delete publish link more
0
AmbystomaLabs gravatar image

answered 2017-09-12 14:36:59 +0200

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.

edit flag offensive delete publish link more

Comments

Thanks for your answer. Do you know how to set up the ROM address in eclipse? Or do I just need to update the linker script?

Hamza ( 2017-09-12 14:43:21 +0200 )editconvert to answer

Sorry I have never used Eclipse.

AmbystomaLabs ( 2017-09-12 14:47:00 +0200 )editconvert to answer

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer. Do not ask a new question or reply to an answer here.

[hide preview]

User menu

    or sign up

Recent questions

Question Tools

1 follower

Stats

Asked: 2017-09-12 13:28:13 +0200

Seen: 48 times

Last updated: Sep 13