Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 7 months ago.
CMSIS-DAP programming with Keil - IROM1 and IRAM1 addressing
Hello, I want to flash SoftDevice and my programs using CMSIS-DAP on Keil. I found this guide here https://devzone.nordicsemi.com/blogs/11/using-nrf51-sdk-with-the-nrf51822-mbed-kit/ but since it's for a slightly different board I'd like to verify that my IROM1 and IRAM1 settings are correct (even though they match the information provided in the datasheet)
Target settings:
I'd rather make sure, bricking the board is the last thing I'd want to happen.
Also, I've found some information that people have had problems flashing SoftDevice and programs separately, i.e. flashing a program would erase SoftDevice. In regards to that what would I have to do in order to do a single-bank flash?
Thank you
Question relating to:
1 Answer
9 years, 6 months ago.
We don't use the ROM/RAM memory areas in the target tab, instead, we use a scatter file specified at the linker tab's Scatter File TextEdit.
We need to flash softdevice and programs separately. When we put a program hex file generated by the mbed online compiler into the Tiny BLE, we just flashed the softdevice. Then we can use the keil to update the program. The keil won't erase the softdevice.
Do not hesitate to try. It's not easy to brick the board.