You could try to port https://review.openocd.org/c/openocd/+/4760 to Cortex-A. Problem is to be able to use e.g. target_run_flash_async_algorithm and friends (in src/target.c). There's already a helper script gpio_conf_zynq.pl included but currently I've no spare time to address that.
--- **[tickets:#400] Xilinx Zynq: Read/Write external QSPI Flash** **Status:** new **Milestone:** 0.10.0 **Created:** Mon Jun 05, 2023 06:20 PM UTC by Dominik Wernberger **Last Updated:** Mon Jun 05, 2023 06:20 PM UTC **Owner:** nobody Hi everyone, I have a system with a Xilinx Zynq (xc7z020) that has an external QSPI NOR Flash. Do you know if it's already possible to read write the Flash module? I have already googled a lot but haven't found any hints how to achieve this. The code base does not seem to provide this feature, although I'm not too familiar with it. If it is not implemented yet, could you guide me what exactly needs to be done to get this working? Fortunately the Flash chip is already present in `src/flash/nor/spi.c` BR Dom --- 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.