Hello all,
I am working on a system to program an RP2040 using a third-party microcontroller as a must for this project (I appreciate any hardware suggestion, but right now customer hardware is what it is!).
I am able to connect to RP2040 via SPI to SWD connection, clear errors and halt cpu as well, but when I trie to erase and program the external default flash (windond) is being a problem for me, not sure if I should use bootrom functions and how to point to them with DRW and TAR needed values using SWD protocol.
I had also tried to check on openOCD code, but I can't find what I need... if someone can tell me where is that specific part will be greate hehe
Any help will be nice as I can't find a solution in the forums here, so I am not 100% sure if this topic is new or not.
Thanks for your answers.
I am working on a system to program an RP2040 using a third-party microcontroller as a must for this project (I appreciate any hardware suggestion, but right now customer hardware is what it is!).
I am able to connect to RP2040 via SPI to SWD connection, clear errors and halt cpu as well, but when I trie to erase and program the external default flash (windond) is being a problem for me, not sure if I should use bootrom functions and how to point to them with DRW and TAR needed values using SWD protocol.
I had also tried to check on openOCD code, but I can't find what I need... if someone can tell me where is that specific part will be greate hehe
Any help will be nice as I can't find a solution in the forums here, so I am not 100% sure if this topic is new or not.
Thanks for your answers.
Statistics: Posted by kabo42 — Thu Jan 23, 2025 3:26 pm — Replies 0 — Views 30