-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The generated ELF file cannot be debugged #19
Comments
Hi @mikisama, |
Hi @dkulacz I compared the generated map files. gcc-renesas.com toolchain have less .debug* sections, this may be the reason why the IAR debugger cannot work. |
Hi @mikisama, Did you change anything to make it work? |
Hi @darklukee, |
Oh, ok. Thank you! |
Hi, @dkulacz I solved this problem in the following two steps:
My build script is here https://github.com/mikisama/Auto_Build_GCC_RH850/blob/master/build_gcc_rh850.sh |
Hi, @dkulacz
I compiled my own GCC by modifying build-gcc-v850-elf-toolchain.sh. I even used it to porting FreeRTOS for RH850. It seems work well after I burn the SRecod into the MCU through Renesas E1. I create an IAR debug only project, but IAR was crashed and it seems that the ELF file generated by the self-build GCC can not be recognized by IAR debugger. However, when I compile my project again with GCC download from gcc-renesas.com, the IAR debugger works well.
Would you mind sharing some suggestions?
The text was updated successfully, but these errors were encountered: