trabucayre / openFPGALoader

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

Artix Ultrasacle XCAU20P support #444

Open sergforce opened 5 months ago

sergforce commented 5 months ago

I'm looking to add support for xcau20p. When I tried to just detect I got this error

empty
try to open 403 6014 0 0
iProduct : Digilent USB Device
88
8b
20
30
Jtag frequency : requested 6.00MHz   -> real 6.00MHz  
presc : 4 input freq : 60000000 requested freq : 6000000 real freq : 6000000.000000
writeTMS 6 1
writeTMS 4 1
Raw IDCODE:
writeTDI len : 32 32 4 0 last: 0

4 a6 50 93 
- 0 -> 0x04a65093
JTAG init failed with: Unknown device with IDCODE: 0x04a65093 (manufacturer: 0x049 (Xilinx), part: 0x25 vers: 0x0

I checked src/xilinx.hpp and it looked like ARTIXUSP_FAMILY is supported but I'm lost how to add specific IDOCDE.

I really appreciate any advise

trabucayre commented 5 months ago

IDCODE's list is in part.hpp.

You have to add a line similar to this one but adapted to your version to have openFPGALoader supporting this variant.

You have also (but it's for documentation purpose) to update FPGAs.yml to reference this variant as a known model.

Thanks!

trabucayre commented 4 months ago

any news?