Hello again,

> I have to replay an XSVF file using openocd which uses the XSDRB, XSDRC
> and XSDRE commands. I'm definitely not a JTAG expert, but I've hacked
> together a patch to support these three commands. It seems to work on my
> Spartan3A device, though I haven't done a lot of testing yet.
I've fiddled around a bit more, and though the XSVF component doesn't
signal any errors when using my patch, there still must be a bug
somewhere, as the FPGA isn't initialized correctly.

Particularly, I have two questions:
- is it acceptable to handle XSDRB and XSDRC identically? AFAICT the TAP
should be in Shift-DR state anyway at that point?
- is the following code snippet to switch to XENDDR state correct?

if (opcode == XSDRE) {
        if (xendir != TAP_DRPAUSE)
                result = svf_add_statemove(xenddr);
        break;
}

Hope to get some feedback from more knowledgeable people here..

Florian
-- 
0666 - Filemode of the Beast

_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to