Search found 45 matches

by PaulFreund
Tue Jan 30, 2018 10:06 pm
Forum: General Discussion
Topic: ESP32 as a SWD debugger (and maybe JTAG)
Replies: 7
Views: 13867

Re: ESP32 as a SWD debugger (and maybe JTAG)

Sorry this took so long, here is the code as a component: https://github.com/PaulFreund/libSWD-esp32 It should be able to use all features of libSWD, I only tired to read the ID code and memory data by address so far. I tested successfully with up to 40Mhz and because of the handy 3-wire mode in the...
by PaulFreund
Mon Dec 04, 2017 7:39 pm
Forum: General Discussion
Topic: ESP32 as a SWD debugger (and maybe JTAG)
Replies: 7
Views: 13867

Re: ESP32 as a SWD debugger (and maybe JTAG)

PS: I will publish some code in the following days :)
by PaulFreund
Mon Dec 04, 2017 7:37 pm
Forum: General Discussion
Topic: ESP32 as a SWD debugger (and maybe JTAG)
Replies: 7
Views: 13867

Re: ESP32 as a SWD debugger (and maybe JTAG)

I got it to work! Without hardware hacking :) The SPI master has a 3-Wire mode. To add frosting to the cake it is implemented to a level that allows memory/flash reading and writing with ready made functions thanks to the work of libSWD! Next topic for me is to investigate if I can use urJTAG and if...
by PaulFreund
Thu Nov 16, 2017 9:52 pm
Forum: General Discussion
Topic: ESP32 as a SWD debugger (and maybe JTAG)
Replies: 7
Views: 13867

Re: ESP32 as a SWD debugger (and maybe JTAG)

Hi Angus,

thank you very much for your description! I will definitely update you with my progress :)
by PaulFreund
Wed Nov 15, 2017 9:39 pm
Forum: General Discussion
Topic: ESP32 as a SWD debugger (and maybe JTAG)
Replies: 7
Views: 13867

ESP32 as a SWD debugger (and maybe JTAG)

I would like to use the ESP32 as a debugger to read and write memory/registers and maybe debug other connected processors. I see different ways of achieving this, depending on what the peripherals of the ESP32 allow and here I would like to have your feedback. SWD has its similarities to SPI (see ht...