7 years, 5 months ago.

How using exported Keil5 project to debug it ? problem in export files ?

Hello, I used export option to use Keil5 offline and to debug my program. The exportation project is completely Wrong !!!! and it don't work. I can compile but impossible to debug on the board. After some hazard manupulation I can simulate but impossible to debug on the board.

message for Mbed : please give us possibility to export to Keil4 thats work fine. new version is hazardious tool with moore stupid logic not adapted for electronics designer !!!!! Thanks

Hello after some tests, I found the solution it works fine !!!!!!!!!!!!!!!!!

posted by Samir Bouaziz 03 Jun 2017

Could you please write us what was the problem and what was your solution? Thanks.

posted by Mark Peter Vargha 04 Jun 2017

You have to do many thinks first you need to modify de memory description in the .sct file. You will find it in mbed\TARGET_LPC1768\TOOLCHAIN_ARM_STD

Add before RW_IRAM1 this lines : RW_IRAM0 0x10000000 0xC8 { .ANY (+RW) } save the file. in the memory config of the project change IROM1 : 0x0 0x80000 IRAM1 0x10000000 0x8000

in the debug options : CMSIS-DAP Debugger don't select memory display driver dll SARMCM3. dll parameter -MPU Dialog TCM.dll parameter -pLPC1768

in the settngs select Stop after Bootloader know you are able to debug your program in the mbed.

regards

posted by Samir Bouaziz 04 Jun 2017
Be the first to answer this question.