Hi

This speculation but worth trying.

For targets where the debug interface is entirely memory mapped into the 
target, apart from a thin communications layer, we only need low level 
memory read and memory write. Everything else can be scripted in Tcl. I 
think this is the situation for Cortex-A8, the debug interface has 
already been tested in the Coertex-M3 code. The specifics for A8 are all 
below the MEM-AP interface.

Writing a target support like this might be more work than C, when it is 
doable it might be easier without knowing any specifics about OpenOCD 
internals, it might be tooooo slooooow, but it is certainly worth 
testing.  One possibility is to test out new features as Tcl scripts and 
then implement it as C code for performance and prhaps better 
integration in OpwnOCD.

Just some random ramblings, but who will be the first to implement a 
target supported only in pure Tcl ?

Magnus



_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to