Hello Ray Zhang,

Am 08.08.24 um 11:31 schrieb Antonio Borneo:> Then, outside OpenOCD 
implementation, there is the 'Black Magic Debug' project.
> It implements a complete GDB server inside the adapter.
> The FW is open-source GPL-v3 and can also be flashed on several
> existing MCU boards.
> http://black-magic.org
> I never had time to test it, but sounds almost what you want to achieve.
> You could give it a try!
>
> Best Regards,
> Antonio


As Antonio I think Black Magic Probe

https://github.com/blackmagic-debug/blackmagic

comes probably pretty close to what you are looking for.


>> The preliminary idea is to remove all 'target' layers into the
>> embedded world and reduce 'jtag drivers' into one device since this
>> new software would only run on a specific hardware. The new hardware
>> would also be open source and the MCU inside is powerful enough to
>> handle target specific processings.


This target specific debug firmware Idea is something that I'm working on:

Base firmware/library:
https://github.com/JustAnother1/nomagic_probe

chip specific extension to debug a RP2040:
https://github.com/JustAnother1/rp2040_nomagic_probe

It is still a work in progress, but if someone want's to help. I would 
appreciate it.

By the way the name is not a play on the black magic probe but it should make 
clear that everything is out in the open and it does not contain some black 
boxes that contain some magic that is necessary for it to work. I started it 
more as a learning exercise.

I wish you success with your efforts.

Kind Regards,

Lars

Reply via email to