Hi, On Tue, May 19, 2009 at 12:43, Wookey <woo...@wookware.org> wrote: > But we've been using these dongles for years to program these boards, > and so have others, so clearly it can work. > > Is there some way to make openOCD behave in a sufficiently > simple-minded manner to work with old-fashion parallel dongles? > Perhaps emitting a 'hit reset manually' message? Would that help? > > If there is then I'll finish adding support for the lart/jtux device > and send it in, but currently I'm stuck. jflash/bflash and such use boundary scan to toggle pins connected to flash chips and program them. AFAIK OpenOCD does not have that ability, it can only use CPU debug mode to access the memory (and thus the flash). XScale is rather tricky to get into debug as it needs some fine timing with srst and trst signals. So I don't think you can get your "dumb" dongles to work without adding boundary scan option to OpenOCD. I once had to dump a flash from a PXA270 board with a simple 4-wire adapter and was not able to make OpenOCD work. In the end I hacked bflash (I think) to do it with boundary scan (sloooow but hey, it worked). Another option is [X]SVF files. I don't know much about them, but I think they can be used to program flash via boundary scan too.
-- WBR, Igor _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development