gatecat / prjoxide

Documenting Lattice's 28nm FPGA parts
ISC License
143 stars 15 forks source link

devices.json: added LIFCL-40-ES2 IDCODE #25

Closed zavorka closed 2 years ago

zavorka commented 2 years ago

Having noted the absence of ES2 bitstream IDCODE, I've read the demo bitstream out off my newly acquired CrossLink-NX Evaluation Board (IC part number 8BG400CES2) with ecpprog before I had started tinkering with it. FTR, the value inserted into the JSON was read as a big-endian 32-bit unsigned integer located at offset 0x194 of said bitstream.

Fixes #18

gatecat commented 2 years ago

Huh, I think other people had successfully used ES2 parts with the production IDCODE. What device IDCODE does ecpprog read and does a bitstream for a non-ES device work (you can pass -S to ecpprog to load a bitstream to SRAM without touching flash)

zavorka commented 2 years ago

Yes, you are correct. My bad.