Skip to content
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

Bootloader debugging #22

Open
gudozhni opened this issue Apr 24, 2019 · 0 comments
Open

Bootloader debugging #22

gudozhni opened this issue Apr 24, 2019 · 0 comments

Comments

@gudozhni
Copy link

Hi!

I'm trying to adapt this project to my custom esc board. After flashing the bootloader and application I can see (I'm blinking a RGB LED on the board using board_indicate(); ) the UAVCAN node autobauding and getting node id allocated, but it never jumps to application. I strongly suspect that is_app_valid() check fails and it's the reason. I'd like to debug this further but I'm getting crazy trying to use GDB. When I run it with "bootloader.elf" and do "list" it lists through the "arc/src/stm32_vectors.S" source file, but I'd like to use bootloader's "main.c". How do I specify that? Any special options in makefile when linking? I have already turned debug info with -g3 but it doesn't help.

Please, any hint would be highly appreciated!

Thanks,
Olex

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant