jtagspi driver with support for 4-byte addresses (needed for large Flash Memories) #15
SteffenKlu
started this conversation in
General
Replies: 1 comment
-
I added a new issue (#16), to keep track of this request. I'll do it, but It'll probably take more than a week, I'm upgrading all build scripts to support Apple Silicon, and I have some more details to fix before being able to make new releases. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The jtagspi driver was updated this month (https://review.openocd.org/c/openocd/+/4876/) and I am interested if
you could build a new 'xpack-openocd-0.11.xx' Tar-ball which includes those latest improvements?
I tried to flash the large SPI-Flash in an Xilinx-Board, with the existing openocd release but it failed:
[Log]
xPack OpenOCD x86_64 Open On-Chip Debugger 0.11.0+dev (2021-10-16-21:15)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : only one transport option; autoselect 'jtag'
xc7_program
jtagspi_program
Info : usb blaster interface using libftdi
Error: unable to get latency timer
Info : This adapter doesn't support configurable speed
Info : JTAG tap: xc7.tap tap/device found: 0x13631093 (mfg: 0x049 (Xilinx), part: 0x3631, ver: 0x1)
Info : JTAG tap: xc7.tap tap/device found: 0x13631093 (mfg: 0x049 (Xilinx), part: 0x3631, ver: 0x1)
Info : Found flash device 'sp s25fl256s' (ID 0x00190201)
Warn : device needs paging or 4-byte addresses - not implemented
[...]
Info : sector 9 took 2 ms
Info : Found flash device 'sp s25fl256s' (ID 0x00190201)
Warn : device needs paging or 4-byte addresses - not implemented
read 645496 bytes from file build/results/ip0170p.ppn.bin and flash bank 0 at offset 0x00000000 in 12.880716s (48.939 KiB/s)
contents differ
diff 0 address 0x00000000. Was 0x00 instead of 0xff
diff 1 address 0x00000001. Was 0x09 instead of 0xff
diff 2 address 0x00000002. Was 0x0f instead of 0xff
diff 3 address 0x00000003. Was 0xf0 instead of 0xff
diff 4 address 0x00000004. Was 0x0f instead of 0xff
[...]
More than 128 errors, the rest are not printed.
[/Log]
I hope the new enhancements to the jtagspi driver solve this problem.
Best,
Steffen
Beta Was this translation helpful? Give feedback.
All reactions