This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

bootloader example fail in linking

Hi,

I have problem on compiling bootloader example which is located at

\Nordic\nrf51822\Board\nrf6310\device_firmware_updates\bootloader

When I try to compile the project the keil compiler will give the below messages and fail to link

   compiling ble_srv_common.c...

linking...
.
\_build\bootloader.axf: Error: L6985E: Unable to automatically place AT section bootloader_settings_arm.o(.ARM.__AT_0x0003FC00) with required base address 0x0003fc00. Please manually place in the scatter file using the --no_autoat option. 
Not enough information to produce a FEEDBACK file.    
Not enough information to list image symbols.    
Finished: 2 information, 0 warning and 1 error messages.    
".\_build\bootloader.axf" - 1 Error(s), 0 Warning(s).   
*** Performing Cross-Module-Optimization:    
*** Feedback file '.\_build\bootloader.fed' not found.    
Target not created

I’m using keil v5.11.1.0 with SDK 6.1.0 and want to use softdevice 7.1

Please give me some suggestions

Parents
  • Did you make any changes to the project?

    Are the IROM1 and IRAM1 settings correct? They are located under the "target" fan under options. They should be IROM1 Start: 0x3C000 size: 0x4000 and IRAM1 start: 0x20002000 size: 0x2000

    It also seems like the include folder ..\..\..\..\..\Include\gcc is not added to the include paths in this project. Go to the C/C++ fan under option and add this to the field "Include Paths".

Reply
  • Did you make any changes to the project?

    Are the IROM1 and IRAM1 settings correct? They are located under the "target" fan under options. They should be IROM1 Start: 0x3C000 size: 0x4000 and IRAM1 start: 0x20002000 size: 0x2000

    It also seems like the include folder ..\..\..\..\..\Include\gcc is not added to the include paths in this project. Go to the C/C++ fan under option and add this to the field "Include Paths".

Children
No Data
Related