Well, the check for allowed commands seems to be to restrictive. Either comment 
out this check or add the required commands to this check. It's in 
"COMMAND_HANDLER(stmqspi_handle_setparms)" in stmqspi.c. 

Or, add your flash chip to the list in spi.c.

BTW: There is an update of the stmqspi driver available, apparently you're 
still using an old version, as in the new version the "setparms" has been 
renamed to "set". Less typing ...
And an updated version of the spi device table, too. Maybe your chip is 
contained there already.


---

** [tickets:#221] Support for DTR in QSPI debugging**

**Status:** new
**Milestone:** 0.9.0
**Created:** Mon Jan 21, 2019 04:17 AM UTC by shaalik
**Last Updated:** Mon Jan 21, 2019 04:17 AM UTC
**Owner:** nobody


Hi,

We want to use Double Data Rate mode with qspi memory mapped mode while 
executing the code from external flash. We created debug config file to debug 
the code from openocd and works as expected with normal read commands. Since 
our flash chip is not in the table, we are hardcoding the flash chip parameters 
using "stmqspi setparms" api. But when we provide the Quad-DDR read command 
"0xEC/0xEB" it throughs following error "stmqspi: only 0x03/0x13 READ cmd 
allowed
  stmqspi setparms bank_id name chip_size page_size read_cmd pprg_cmd [ 
mass_erase_cmd ] [
            sector_size sector_erase_cmd ]". Is there a way to add new commands?


---

Sent from sourceforge.net because [email protected] 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to