See 12.5.1 "Flash Driver: jtagspi
 Command: jtagspi cmd bank_id resp_num cmd_byte ..."

Present in all not too old builds, see 
https://review.openocd.org/c/openocd/+/4876


---

**[tickets:#422] Modify the FPGA flash status register**

**Status:** new
**Milestone:** 0.11.0
**Created:** Sun Feb 04, 2024 03:05 AM UTC by KooLee
**Last Updated:** Sun Feb 04, 2024 03:05 AM UTC
**Owner:** nobody


I successfully updated the xilinx xc7a35t firmware using FT2232 and openocd.
my configuration
~~~
interface ftdi
ftdi_vid_pid 0x0403 0x6011
ftdi_channel 0
ftdi_layout_init 0x0098 0x008b
reset_config none

source [find cpld/xilinx-xc7.cfg]
source [find cpld/jtagspi.cfg]
adapter_khz 10000

proc fpga_program {} {
        global _CHIPNAME
        xc7_program $_CHIPNAME.tap
}

init
jtagspi_init 0 bscan_spi_xc7a35t.bit
jtagspi_program fw.bin 0x0
fpga_program
shutdown
~~~
I have a question, is it possible to modify the status register of the Flash 
chip on the FPAG board via openocd.
I want to turn on Quad Enable by modifying the status register of the Flash 
chip on the FPGA board via openocd.
![](https://img2.imgtp.com/2024/02/04/S8eYd3LF.png)
I checked the "12 Flash Commands" document and it seems that there is no 
command support.
Is there any way I can realize this idea, thanks.


---

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.


Reply via email to