Skip to content

programs are not halted at launch #19

@jmayclin

Description

@jmayclin

I'm following chapter 5, and programs are not halted when launched.

When I open GDB (gdb-multiarch) after running cargo, embed, I see the following

Reading symbols from ../../../target/thumbv7em-none-eabihf/debug/examples/light-it-up...
(gdb) target remote :1337
Remote debugging using :1337
light_it_up::__cortex_m_rt_main ()
    at mdbook/src/05-meet-your-software/examples/light-it-up.rs:17
17          loop {}
(gdb) 

Indicating that the program has already run.

My cargo-embed version is

cargo embed 0.27.0 (git commit: 7d59a31)

I apologize for the sparsity of the issue, but I have very little experience with embedded development and am not quite sure how to help debug this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions