trabucayre / openFPGALoader

Universal utility for programming FPGA
https://trabucayre.github.io/openFPGALoader/
Apache License 2.0
1.22k stars 263 forks source link

part: 0x012bc043 is for LCMXO2-4000HC #416

Closed chuangzhu closed 10 months ago

chuangzhu commented 10 months ago

I found this when I was trying to program a LCMXO2-4000HC, but openFPGALoader said it is a LCMX03LF-4300C:

$ openFPGALoader --detect
No cable or board specified: using direct ft2232 interface
Jtag frequency : requested 6.00MHz   -> real 6.00MHz
index 0:
    idcode 0x12bc043
    manufacturer lattice
    family MachXO3LF
    model  LCMX03LF-4300C
    irlength 8

From what I found on the internet, the idcode for LCMX03LF-4300C seems to be 0x612BC043: https://bsdl.info/details.htm?sid=b483da5dec63d6cd88ca59b002289d77

trabucayre commented 10 months ago

Thank for this fix/addition. Yes default behavior is to mask highest nibble to avoid wrong detections with xilinx. But this as some drawback for others vendors.

Applied. Thanks @chuangzhu