Skip to content

Bootloader debugging #22

Description

@gudozhni

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions