From: Akos V. <ax...@gm...> - 2012-11-28 22:32:07
|
Hi! Just started testing your code. Looks promising :) JTAG seems to be working fine for a single-device chain. For multiple-device chains I am having problems with jtag, but the problem is in the trunk as well. Will investigate further, and will open a new thread for it, as the bug is probably (in me or) in the "official" openocd as well. SWD seems to be working - even though extremely slowly. When resuming the execution, the resume does not happen only after polling the target again, manually. It will probably have something to do with the delayed mdw operations, becuase the resume happens if I do an "mrd 0x00000000" as well. Reset commands are probably not implemented, but soft_reset_halt is working, and I was able to reset the processor with it. I needed to modify existing configuration files' tap declaration to make things work. Regards, Ákos Vandra On 28 November 2012 11:50, CeDeROM <ce...@tl...> wrote: > On Wed, Nov 28, 2012 at 10:22 AM, Freddie Chopin <fre...@op...> > wrote: > > With connected interface (JTAG-lock-pick Tiny 2) and connected target > (STM32 > > HD VL via SWD) I can do some basic operations, which are really slow, but > > seem to work > > The speed is limited mainly by the USB bottleneck, it should not be an > issue on GPIO based adapters, this is why I have asked some time ago > about OpneOCD-BOX or the other device that runs openocd inside and > have direct gpio access provided... I have bought Carambolla, maybe > that will work, maybe Zylin is good candidate, time will show :-) > > Each transaction in SWD consists of 3 phases, and there can be as much > as 3 direction changes in each transaction, which means 3 (or more) > flushes to the USB device, so there real limitation here is the USB > latency. This can change when using libusb-1.0 and async access. Some > more optimizations are possible also, but lets make things work first > :-) > > Best regards :-) > Tomek > > -- > CeDeROM, SQ7MHZ, http://www.tomek.cedro.info > > > ------------------------------------------------------------------------------ > Keep yourself connected to Go Parallel: > INSIGHTS What's next for parallel hardware, programming and related areas? > Interviews and blogs by thought leaders keep you ahead of the curve. > http://goparallel.sourceforge.net > _______________________________________________ > OpenOCD-devel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openocd-devel > |