Hi, I'm porting an older application from Keil to SES. I'm using soft device S110 7.1 and the nRF51822ac.
Help in setting up SES FLASH and RAM would be most appreciated!
Thanks!
Hi, I'm porting an older application from Keil to SES. I'm using soft device S110 7.1 and the nRF51822ac.
Help in setting up SES FLASH and RAM would be most appreciated!
Thanks!
Hi,
How to set the FLASH and RAM settings in Segger Embedded Studio is described in chapter Building of the Segger Embedded Studio tutorial blog post.
The default settings for a peripheral project using S110 v7.1 should be:
FLASH_START = 0x16000
SRAM_START = 0x20002000
Best regards,
Jørgen
Thanks Jorgen, I'm not sure I have all of the memory settings correct, since the map doesn't seem to reserve space for the soft device. I then tried to program just to see, since it compiled and linked OK and SES keeps crashing.
Is there a utility to convert the .elf to .hex (thinking I could try using nrfjprog instead?
Yes, it looks like your FLASH/RAM settings are incorrect. Did you set the settings in the correct field, as described in the above linked blog post? You can set that SES should generate a HEX file in the project settings. Go to Linker -> Additional Ouput Format, and set this to "hex":
Thanks! Yes, I had it in the wrong field (one down), and the hex output worked just fine!
Thank you very much for your support. Mark this one as answered!
Bill
Thanks, this all worked!