-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XC95000XL: Merging the tool into the applet to migrate from .bit to .jed #288
Conversation
I'll be revisiting this soon as I've successfully dumped the target CPLD from my original DNA sequencer repair project :) I'm posting this comment as self-documentation/thoughts as I go through Glasgow's code to easily context-switch when I retake this task. Given that I have the contents of isdata.data, i.e: <glasgow.arch.xilinx.xc9500xl.DR_ISDATA valid=1 strobe=0 data=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000> I was looking for a JED struct to fill to serialize those fuse states... I found the jesd3 parser within Glasgow protocols, but I didn't find a JED writer (serializer), so I guess I'll have to write a struct that conforms with the official JEDEC spec in PDF. Shall I include this one in the glasgow-archive repo if it's not already?. The example data shown above are fuses representation, I'm obtaining that via a print() inside _fvfyi function. |
All you really need for serializing a JED is a bitarray of fuses. Once you can convert the data that has been read out to that, I'll assist you with a JED writer. |
Thanks Catherine! When I was exploring this, I was wondering to which extent the JED writer had to conform with the original spec in all its facets or just-functional, i.e: Sorry I missed that JEDEC spec PDF/link on the previous comment when I mentioned the glasgow-archive repo, fixed now. |
All you need to do is to write |
… it here in favour of .jed
glasgow run program-xc9500xl --port B --pin-tck 6 --pin-tms 5 --pin-tdi 4 --pin-tdo 7 -f 100 -M read-jed foo.jed (...) L1579 0 QF1620* F0* L1580 256 QF1620* F0* L1581 8224598224228656695780139694427209730 QF1620* F0* L1582 0 QF1620* F0* (...) Bits from isdata.data need to be serialized properly as individual bits and also move this function/template where it should belong within Glasgow...
…es and correct interface/arguments, WIP
Obsoleted by #477. Thank you for putting in the effort! |
No description provided.