please advise: how to progress further?
./xc3sprog -c ft232h logipi_blink.bit
loads and LEDs blink as expected
./xc3sprog -c ft232h flash-loader.bit
...
Using Libftdi,
DNA is 0x792f566e1ebe62fe
blinking stops
./xc3sprog -c ft232h -I logipi_blink.bit
...
Using Libftdi,
JEDEC: 20 80 0x15 0x10
M25P: Unexpected RDID upper Device ID 0x80
ISF Bitfile probably not loaded
flash-loader.bit built on ISE using
bscan_s6_spi_isf_ext.v and
TQG144 constraints.ucf from UG385 pg.30
NET "MISO" LOC = P65;
NET "MOSI" LOC = P64;
NET "DRCK1" LOC = P70;
NET "CSB" LOC = P38;
FTDI UM232h-B USB:
http://www.farnell.com/datasheets/1812682.pdf
LogiPi schematics:
https://github.com/fpga-logi/Logi-boards/tree/master/fpga-boards/logi-pi/PRJ-DOC/sch
int ProgAlgSPIFlash::spi_flashinfo_m25p(unsigned char *buf)
but what value is pages and sector size?
Di you check the datasheet?
Sorry, low on time...
Uwe Bonnes bon@elektron.ikp.physik.tu-darmstadt.de
Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
I tried this:
Using Libftdi,
JEDEC: 20 80 0x15 0x10
Found Micron M25PE Device, Device ID 0x8015
256 bytes/page, 65536 pages = 16777216 bytes total
Verify: Success!
but no blinking on power up.
https://www.micron.com/~/media/documents/products/data-sheet/nor-flash/serial-nor/m25pe_m45pe/m25pe16.pdf
This looks like the part got programmed. Try to run a verify run!
This looks like your FPGA boot mode is not right. Did it work in another
way?
Did yoy try e.g. with the Xilinx tools?
Bye
--
Uwe Bonnes bon@elektron.ikp.physik.tu-darmstadt.de
Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
could you please elaborate on what might be done regarding:
"FPGA boot mode is not right" tx.
I did not save logipi_blink.bit to flash using Xilinx, but the author Mike has done so.
regarding verify:
sudo ./xc3sprog -v -c ft232h flash-loader.bit
...
Cable ft232h type ftdi VID 0x0403 PID 0x6014 dbus data 00 enable 0b cbus data 00 data 00
Using Libftdi, Using JTAG frequency 1200000
JTAG chainpos: 0 Device IDCODE = 0x24001093 Desc: XC6SLX9
Created from NCD file: top.ncd;UserID=0xFFFFFFFF
Target device: 6slx9tqg144
Created: 2015/07/23 09:33:41
Bitstream length: 2724832 bits
DNA is 0x792f566e1ebe62fe
done. Programming time 2317.1 ms
USB transactions: Write 177 read 8 retries 12
sudo ./xc3sprog -v -c ft232h -I logipi_blink.bit
...
Cable ft232h type ftdi VID 0x0403 PID 0x6014 dbus data 00 enable 0b cbus data 00 data 00
Using Libftdi, Using JTAG frequency 1200000
JTAG chainpos: 0 Device IDCODE = 0x24001093 Desc: XC6SLX9
JEDEC: 20 80 0x15 0x10
Found Micron M25PE Device, Device ID 0x8015
256 bytes/page, 65536 pages = 16777216 bytes total
Created from NCD file: logipi_blink.ncd;UserID=0xFFFFFFFF
Target device: 6slx9tqg144
Created: 2015/04/09 10:39:52
Bitstream length: 2724832 bits
Erasing sector 6/ 6... Writing data page 1330/ 1331 at flash page 1330...
Maximum erase time 639.8 ms, Max PP time 63983 us
Verifying page 1331/ 1331 at flash page 1331
Verify: Success!
USB transactions: Write 12523 read 6929 retries 7187
bridge JP6 to change FPGA boot mode.
tx!
~:"
have added pull request
please close this support request
Last edit: jonathan chetwynd 2015-07-24