Hi!
I have a J-Link that I'm trying to use to debug an Airoha 1552 development board.
I have used a J-Link before, but never set one up from scratch like this, and now I'm stuck (and it seems like all the info I can find is written for people that already know about it).
So far I've managed to connect J-Link to the board, using the "generic" device "Cortex-M4", since the chip on the board isn't available in the list offered by J-Link, and SWD. I can start up JLinkGdbServer and connect a gdb client to it, load the ELF file, and it looks OK enough, but when I enter the "continue" command it just stops with this information:
Program received signal SIGTRAP, Trace/breakpoint trap.
0xdeadbeee in ?? ()
Is it vital to have a custom "device" for the chip? As I understood the documentation, "Cortex-M4" should be OK for plain debugging.
Also, I have not set any start address or so, just assumed that all that info would come from the ELF file, but as mentioned – I have never done this before, so there could be all kinds of wrong in that assumption.
I attach logs from JLinkGdbServer and gdb itself.
I am grateful for any information that can take me closer to getting this thing to work. If you know any tutorial aimed at true beginners, I'd be really happy.
Best regards,
Håkan Eriksson
I have a J-Link that I'm trying to use to debug an Airoha 1552 development board.
I have used a J-Link before, but never set one up from scratch like this, and now I'm stuck (and it seems like all the info I can find is written for people that already know about it).
So far I've managed to connect J-Link to the board, using the "generic" device "Cortex-M4", since the chip on the board isn't available in the list offered by J-Link, and SWD. I can start up JLinkGdbServer and connect a gdb client to it, load the ELF file, and it looks OK enough, but when I enter the "continue" command it just stops with this information:
Program received signal SIGTRAP, Trace/breakpoint trap.
0xdeadbeee in ?? ()
Is it vital to have a custom "device" for the chip? As I understood the documentation, "Cortex-M4" should be OK for plain debugging.
Also, I have not set any start address or so, just assumed that all that info would come from the ELF file, but as mentioned – I have never done this before, so there could be all kinds of wrong in that assumption.
I attach logs from JLinkGdbServer and gdb itself.
I am grateful for any information that can take me closer to getting this thing to work. If you know any tutorial aimed at true beginners, I'd be really happy.
Best regards,
Håkan Eriksson