Naturally, the very same error would persists even with 0xEC. The point is,
however, does the memory mapped mode work correctly for the whole bank when you
comment out the setparms? I.e. does meromory contents read correctly on 4-4-4
mode then?
Connect to openocd with telnet on port 4444 and inspect the external flash bank
e.g. with 'mdw' but *without* using any of the flash commands for the stmqspi
driver (the latter won't work at this point).
No, there is nothing like the PG bit for an external flash. The SPI flash chips
manage the programming entirely on their own, and don't have status bits for
unsuccessful programming attempt. The only way to check whether programming was
successfull is checking that the WEL bit reverts to 0 and then to do a full
verify.
---
** [tickets:#290] QSPI debugging is not working in some stm32h753 mcu**
**Status:** new
**Milestone:** 0.10.0
**Created:** Thu Jan 07, 2021 10:44 AM UTC by shaalik
**Last Updated:** Sun Jan 10, 2021 10:33 AM UTC
**Owner:** nobody
Hi All,
i have two custom stm32H753XI + NOR QSPI flash (IS25LP512M) board. I am able
to debug in one board successfully but in another board it fails and even it
doesn't show the external flash ID of the chip. However i'm able to program
both the boards using st cube programmer with external loader and it is working
fine in normal mode.
In not working board, initially i faced issue in debug from internal flash
itself. And i found a fix from internet where they suggested to add PG bit
clear before the Internal flash write. I did the fix on top of
http://openocd.zylin.com/4321 change, then i was able to debug from internal
flash. But facing issue in debug from QSPI flash.
I have same cfg file which is working in one board and not working in another
board.
Please anyone help me to resolve the issue.
Regards,
Shahul
---
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