John, > > The following patch adds support for DMA mode access as > supported by EJTAG 1.0/2.0 processors, specifically the > Broadcom BCM5352 (and BCM47xx) SoC processors used in the > Linksys WRT54G series of wireless routers. > This is needed because PrAcc mode seems non-functional on > these chips. I have a theory on why this but believe WRT54GL > firmware changes are necessary to get it working (unlike > later EJTAG versions I don't think ProbeTrap is implemented). > In any case I've been unable to get PrAcc to work with this > processor. > > The DMA read/write logic comes from the wrt54g_debrick flash > utility for the WRT54 series by HairyDairyMaid. I plan to > clean it up (don't think the retries are the right thing to > do) but this is a good start that works for me on my WRT54GL > with a BCM5352. > I can now read/write memory and program the flash of my > WRT54GL with OpenOCD (though it is pretty slow to > program--I'm working on improving that). > > This mode is enabled if the EJTAG impcode indicates that DMA > mode is available which I believe is just EJTAG 1.0/2.0 processors. > > > Enjoy, > John McCarthy. >
This patch initially looks ok, could you send as a attachment and reformat the spaces to tab chars. Cheers Spen _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development