Hi Rosa, On Tue, May 17, 2011 at 10:58 PM, Rodrigo Rosa <rodrigorosa...@gmail.com> wrote: > - flashing speed: currently i flush the jtag queue all the time, to > make coding easy. flashing 4KB currently takes about 45secs, which is > not acceptable. the algorithm i'm running requires openocd to check a > register (written by the core) to see if it can send more data. if i > queue commands on jtag, how can i keep this working? won't all the > commands get shifted into jtag and eventually clog the system?
If you need to check status often, you will need to flush JTAG often, that will slowdown the speed if you are using a USB JTAG cable. The method I use for Blackfin target I'm working on now is to add some waiting cycles instead of checking the status. The key is to find the minimal number of the required cycles. You will need experiments to find it out. I also used that method for UrJTAG/gdbproxy Blackfin target. It works very well. Regards, Jie _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development