You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i have trouble running rust on my xmc4500 relax lite kit. Here is my project: https://github.com/SirWalross/xmc4500-rust. I can compile the project with cargo build, but if i try to debug it with the JLinkGDBServer using cargo run it never reaches the main function.
If i step in gdb it just gives me some weird error messages: Internal error: pc 0xbc4 in read in CU, but not in symtab.
I would very much appreciate any help, tips or information what i am doing wrong. Thanks in advance.
using
arm-none-eabi-gcc 13.2.0
arm-none-eabi-gdb 13.2
JLinkGDBServer V7.92o
rustc 1.74.0
The text was updated successfully, but these errors were encountered:
Ok, turns out the provided linker file doesn't work for some reason, with a custom memory.x file it works now.
But i have another question, how do you define an interrupt handler? For example the stm32f3 library exports a interrupt macro, but i couldn't find the counterpart for the xmc4500. Could you provide an example for defining one?
Glad you were able to figure it out. I have sadly not been able to put the time in to these that I have wanted to so they are very incomplete. I am open to any PR that you want to contribute.
I myself have an XMC42xx kit and hope to attempt better work on these in the coming weeks.
Hello,
i have trouble running rust on my xmc4500 relax lite kit. Here is my project: https://github.com/SirWalross/xmc4500-rust. I can compile the project with
cargo build
, but if i try to debug it with theJLinkGDBServer
usingcargo run
it never reaches the main function.If i step in gdb it just gives me some weird error messages:
Internal error: pc 0xbc4 in read in CU, but not in symtab.
I would very much appreciate any help, tips or information what i am doing wrong. Thanks in advance.
using
arm-none-eabi-gcc
13.2.0arm-none-eabi-gdb
13.2JLinkGDBServer
V7.92orustc
1.74.0The text was updated successfully, but these errors were encountered: