trabucayre changed the topic of #openFPGALoader to: Universal utility for programming FPGA / Github: https://github.com/trabucayre/openFPGALoader/ Logs: https://libera.irclog.whitequark.org/openFPGALoader
Guest26 has joined #openFPGALoader
<Guest26> I have JTAG-HS3 cable, the FPGA is xilinx XC7A50T.
<Guest26> what about flash type?
<Guest26> need to be provided?
<trabucayre> Guest26: No. You have to provides the cable name, if you have a custom board you also needs to provides fpga model via --fpga-part
<trabucayre> with an artix: --fpga-part xc7a50t will be enough
<Guest26> then if i'm not mistaken the command will be as follow:
<Guest26> openFPGALoader --cable digilent_hs3 -d --fpga-part xc7a50t -v -f path/to/.bit
<Guest26> actually I tried that but it didnt work for me
<Guest26> without -f it will flash the SRAM, but flashing the flash didnt work
Guest26 has quit [Quit: Client closed]
Guest26 has joined #openFPGALoader
<trabucayre> -d is only used to specify a /dev/xxx so remove it
<trabucayre> yes -f is required to write the bitstream into the flash
<trabucayre> could you pastbin messages displayed by openFPGALoader
<trabucayre> you uses openFPGALoader from repository or from package manager?
<Guest26> from package manager
<Guest26> empty
<Guest26> write to flash
<Guest26> Jtag frequency : requested 6.00MHz   -> real 6.00MHz
<Guest26> found 1 devices
<Guest26> index 0:
<Guest26>     idcode 0x362c093
<Guest26>     manufacturer xilinx
<Guest26>     family artix a7 50t
<Guest26>     model  xc7a50t
<Guest26>     irlength 6
<Guest26> File type : bit
<Guest26> Open file DONE
<Guest26> Parse file FAIL
<trabucayre> are you sure about the file? Parse file FAIL seems to show something wrong here
<trabucayre> with package manager --fpga-part must be modified
<trabucayre> could you provides the full version of your FPGA (ie with package)
<Guest26> XC7A50T-2CSG325I
<Guest26> about the file i'm sure of it because i load it using vitis and vivado before
<trabucayre> Ok the spiOverJtag bitstream for your model is not available in the release uses by package manager
<trabucayre> could you try to build openFPGALoader from source ?
<Guest26> I will, thanks for your help. I will inform you if issue got solved. your efforts really appreciated.
<trabucayre> thanks!
<Guest26> Same issue, to eliminate the possibility of file access issues I used the command as a root and issue still appear.
<Guest26> I even used the absolute path
<Guest26> maybe it is because there is a select chip pin used in SPI?
<Guest26> is it possible?
<Guest26> chip select*
<trabucayre> could you repast messages (including your commandline)
<Guest26> could you elaborate I didn't get what you want, do want me to resend my messages from start?
<trabucayre> yes
<trabucayre> the command you have used with all parameters and messages displayed by openFPGALoader
<trabucayre> quick answer: have you removed the package manager version ?
Guest26 has quit [Quit: Client closed]