Skip to content

How to debug JTAG issues / libgpiod #678

Description

@tuctboh

Hi,

RPi 4, self compiled openFPGALoader from a git clone.

tuc@CPLID7:~/openFPGALoader/build $ ./openFPGALoader -c libgpiod  --pins 22:27:17:4 ~/SDC72XL.jed  -v
found 1 devices
index 0:
	idcode 0x9604093
	manufacturer xilinx
	family xc9500xl
	model  xc9572xl
	irlength 8
File type : jed
Open file end
theorical checksum 5e1a -> 5e1a
array size 1
DONE
Erase flash DONE
Write Flash: [==================================================] 100.00%
Fail

Any way to get more debug information? Anything I can do to understand why it failed? And when I do see -

tuc@CPLID7:~/openFPGALoader/build $ ./openFPGALoader -c libgpiod  --pins 22:27:17:4 ~/SDC72XL.jed 
Open file DONE
Erase flash DONE
Write Flash: [==================================================] 100.00%
Done

Is there any way to tell that it's on the chip properly? I see there is --verify but it says its for SPI only, and when I do try I get -

Erase flash DONE
Write Flash: [==================================================] 100.00%
Done
Read Flash: [==================================================] 100.00%
Done
Verify Flash: [==================================================] 100.00%
Fail
Error: wrong value: read 80 instead of 00

100% of the time

Thanks, Tuc

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions