There is a patch available at http://openocd.zylin.com/#/c/4876/ to support
flash chips with capacity more than 16 MBytes. However, please note that
depending on the particular type it might additionally be necessary to switch
the flash chip to 4-byte address mode, either always after power-up or through
non-volatile setting. The patch includes an appropriate command to configure
the flash, see manual for an example.
Please test and add a comment there.
---
** [tickets:#223] Erasure error when flashing PCI-e screamer card**
**Status:** new
**Milestone:** 0.9.0
**Created:** Mon Jan 28, 2019 03:59 AM UTC by John
**Last Updated:** Mon Jan 28, 2019 06:57 AM UTC
**Owner:** Spencer Oliver
Hi,
Have been getting an error which shows contents differ when I was trying to
flash my PCI-e Screamer card. I then followed the instructions to apply a git
patch to my openocd. The instructions i followed were at
http://blog.lambdaconcept.com/doku.php?id=products:pcie_screamer.
However, even after doing so, it still shows the error below. Does anyone have
any resolution to this?
$ sudo openocd -f flash_screamer.cfg
Open On-Chip Debugger 0.10.0+dev-00670-g7345801-dirty (2019-01-28-11:24)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
none separate
Info : auto-selecting first available session transport "jtag". To override use
'transport select <transport>'.
adapter speed: 10000 kHz
Info : ftdi: if you experience problems at higher adapter clocks, try the
command "ftdi_tdo_sample_edge falling"
Info : clock speed 10000 kHz
Info : JTAG tap: xc7.tap tap/device found: 0x0362d093 (mfg: 0x049 (Xilinx),
part: 0x362d, ver: 0x0)
loaded file bscan_spi_xc7a35t.bit to pld device 0 in 0s 219605us
Info : JTAG tap: xc7.tap tap/device found: 0x0362d093 (mfg: 0x049 (Xilinx),
part: 0x362d, ver: 0x0)
Info : Found flash device 'micron n25q256 3v' (ID 0x0019ba20)
Warn : device needs paging or 4-byte addresses - not implemented
flash 'jtagspi' found at 0x00000000
auto erase enabled
Info : Found flash device 'micron n25q256 3v' (ID 0x0019ba20)
Warn : device needs paging or 4-byte addresses - not implemented
Info : Found flash device 'micron n25q256 3v' (ID 0x0019ba20)
Warn : device needs paging or 4-byte addresses - not implemented
Info : Found flash device 'micron n25q256 3v' (ID 0x0019ba20)
Warn : device needs paging or 4-byte addresses - not implemented
Error: timeout, device still busy
Info : sector 0 took 3002 ms
Error: Sector erase failed.
Error: failed erasing sectors 0 to 23
---
Sent from sourceforge.net because openocd-devel@lists.sourceforge.net is
subscribed to https://sourceforge.net/p/openocd/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/openocd/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel