Trenz Electronic GmbH Support Forum

Trenz Electronic Products => Trenz Electronic FPGA Modules => Topic started by: offroad on December 15, 2016, 09:28:30 AM

Title: TE0725 with xc3sprog: Flash supported?
Post by: offroad on December 15, 2016, 09:28:30 AM
Hi,

I downloaded the current windows binary download of xc3sprog (build-win32_rev780_stripped), and added the XC7A-15T to devices.txt.
Bitstream upload works as expected.

Next, I built a bitstream for bscan_xc7_spi.vhd (adding constraints for the flash pins).
Now when I try to work on the flash memory, I get an error message "unknown JEDEC manufacturer ID".
It prints four bytes that match the datasheet response of the "S25FL256SAGBHI20" flash memory.
I conclude that my bscan bitstream seems to work but the flash is not supported by cx3sprog.

Does anybody know more about this (e.g. already in code but not in binary release)? Probably I simply add the ID of this flash component and compile it from source (not looking forward to the latter...) ?
Thanks!

Title: Re: TE0725 with xc3sprog: Flash supported?
Post by: Antti Lukats on December 15, 2016, 09:41:14 AM
yes, I think so , I think we have done it here too that way
Title: Re: TE0725 with xc3sprog: Flash supported?
Post by: offroad on December 19, 2016, 09:20:04 AM
Hi Antti,

thanks for the confirmation. Now it works, both with a plain FTDI chip and also with the (Digikey-licensed) XMOD FTDI JTAG adapter.
Took 5 min to fix the code (and 1+ days to learn CMAKE  ::) )

The code on SVN already supports the JEDEC ID of this module, but there is one "case" row missing in the "switch" statement of the bulk erase (-e) function => copy from the equivalent earlier section for writing.