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

issues with latest SDK 11.0.0-2

I recently grabbed the latest SDK nRF5_SDK_11.0.0-2.alpha. I was looking at some of the changes and wanted to run one or two demos to make sure I was able to build them properly and I could see debug output.

So far I haven't been able to get the hrs_rscs_relay example to run. I've programmed the newer softdevice that was contained in the SDK. I've tried IAR and GCC. Both build without errors. The IAR-generated hex file also programs into flash without errors. When running, I see a single 'R' in the debug output and nothing else. I am using Putty as I did successfully with the older 0.9.2 SDK. I have the correct baud rate.

The GCC-generaed hex file does not program - it compains that part of the image resides in the softdevice area of flash. I haven't made any changes to the IAR project, other than this to get the section placement to work:

Modify line 42 in file “\components\libraries\experimental_section_vars/section_vars.h” as follows: From

#define NRF_SECTION_VARS_REGISTER_SECTION(section_name) NRF_PRAGMA(section = ## #section_name )

to

#define NRF_SECTION_VARS_REGISTER_SECTION(section_name) NRF_PRAGMA(section = #section_name )

I'm not sure why that text became supersized. I'm not using markup.

I'm not sure why the GCC-generated image has some portion outside the application range. I'm attaching the map file for the gcc case. The gcc example is untouched. The only thing I changed was the Makefile.windows to have it point to the correct version of gcc on my machine.

Have others had similar problems?

nrf52832_xxaa_s132.map

Parents Reply Children
No Data
Related