Hit a brick wall, how can I diagnose my issue #10712
Replies: 2 comments
-
hi @dipunm It would be helpful if you can provide more information about what you're doing. (I can't just go browsing around your repo) One big thing that might be relevant -- Are you aware of how root pointers work in MicroPython, and does your code handle them as necessary?
What do you mean by this? What are you expecting? If you call mp_printf() in your C code then it will be printed to the console. You can also quite easily set up SWD to debug your C code via GDB on the RP2040. |
Beta Was this translation helpful? Give feedback.
-
@jimmo thanks for the reply. I am very new to this, I am kind of building my knowledge as I go.
I am creating a custom firmware. I am trying to get a library designed for micropython into this firmware called
Nope, never heard of that, I try to find some resources to learn what that is. Mind you, the code I am writing is in python, the code that is not working is in C, but it is not my code. I am really hoping that there's something I'm doing wrong with the configuration or the build that is causing this and this is why I am debugging (as best I can).
I think I did try
Could you please expand those abbreviations? Is SWD a product that I need to buy? If it requires me to build code locally and run it, I may be a little out of luck since I had trouble doing this and I was advised to use Github Actions in a different Github Issue. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey all,
I am creating a custom firmware for the badger2040 which has the RP2040 embedded.
I am trying to get some C libraries pre-installed onto the device, and unfortunately, the device crashes (or hangs) when I try to use the library through the REPL connected over USB.
Here are a bunch of observations I have made:
For context, here is a link to my github page which has Github Actions doing the build for me: https://github.com/dipunm/bitcoin-starter-kit
Thanks all in advance.
Beta Was this translation helpful? Give feedback.
All reactions