Skip to content
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

mismatch between target's idcode and bitstream idcode #403

Open
multigcs opened this issue Nov 4, 2023 · 3 comments
Open

mismatch between target's idcode and bitstream idcode #403

multigcs opened this issue Nov 4, 2023 · 3 comments

Comments

@multigcs
Copy link

multigcs commented Nov 4, 2023

strange, found device with 'idcode 0x12bd043'
and bitstream header infos with 'idcode: 012bd043'

but say: bitstream has 0x012BD043 hardware requires 0x002bd043

# openFPGALoader -v -c usb-blaster build/rio_build.bit 
found 1 devices
index 0:
	idcode 0x12bd043
	manufacturer lattice
	family MachXO2
	model  LCMXO2-7000HC
	irlength 8
File type : bit
Open file: DONE
Parse file: DONE
bitstream header infos
Architecture: xo2c00
Bits: 1533840
Bitstream CRC: 0x4394
Bitstream Status: Final Version 1.95
Cols: 1992
Date: Sat Nov  4 18:21:36 2023
Design name: rio_build.ncd
Part: LCMXO2-7000HC-4TQFP144
Readback: Off
Rows: 770
Security: Off
Version: Diamond (64-bit) 3.12.0.240.2
idcode: 012bd043
mismatch between target's idcode and bitstream idcode
	bitstream has 0x012BD043 hardware requires 0x002bd043
Error: Failed to program FPGA: std::exception


@ravirajchilka
Copy link

Did you find the solution for this error ?

@multigcs
Copy link
Author

not realy, but it works on raspberry with gpio's (libgpiod)

openFPGALoader -c libgpiod --pins=19:26:13:6 -r -f --unprotect-flash rio_build.bit

@ravirajchilka
Copy link

I fixed this issue yesterday by using GOWIN IDE which installed drivers as well, I was getting this error when using VScode. Its related driver issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants