Hi, I'm working on a project that uses RIOT-OS: www.github.com/.../wiki . I built one example on Windows-os as it is described here: www.github.com/.../Build-RIOT-on-Windows-OS . After that I'm trying to set up uVision project so that I could debug this .elf file on a source level. So far I have tried to set up the uVision project as it is written here: http://www.keil.com/support/docs/2310.htm http://www.keil.com/support/docs/2974.htm but none of these make it work. After starting a debug session I can follow the code only in Disassembly window, source files are not opening. Symbol table seems to be read in a proper way according to: www.keil.com/.../uv4_db_exp_progvariables.htm Moreover I have tried to add paths to all used source files that I have found in this .elf file by using readelf to the SRC variable, but this also didn't solve my problem. After many failed attempts, I tried some other things like adding to project all source files or changing uVision Compiler to armgcc. This didn't helped at all.
To make it clear, I work on: www.silabs.com/.../wstk6224_EZR32WG_169MHz_Wireless_Starter_Kit.pdf with Cortex-M4 CPU and also use ULINK Pro to debug, beacause my goal is to use Trace function in the future.
Thanks for all given support.
Does the ELF file actually contain debug information.
You may use the DIR command to check this. http://www.keil.com/support/man/docs/uv4/uv4_cm_dir.htm
Hi,
it's the same for me. the DIR command shows the function names properly. I can add symbols to watch window.
Just the source files are not opened.
Regards, Jiri