[OpenOCD-devel] [openocd:tickets] #290 QSPI debugging is not working in some stm32h753 mcu

2021-01-10 Thread Andreas Bolsch via OpenOCD-devel
That's odd ... The external connection of mcu to flash seems to be ok. I don't see any reason anymore why it could work on one bourd and fail on the other. The only reason I can imagine now is that the flash chip doesn't respond to RDJDID (0x9F) properly. But why I can't tell. Maybe your mcu

[OpenOCD-devel] [openocd:tickets] #290 QSPI debugging is not working in some stm32h753 mcu

2021-01-10 Thread shaalik via OpenOCD-devel
I have made below changes in the cfg file with that, the memory mode operation works fine. - Configured SPI CLK as 66MHZ to match Dummy cycles(6) for 0xEC - Used 0xEC in memory mapped operation Now i need to fix the issue with "stmqspi setparms". I have attached latest cfg and error logs for

[OpenOCD-devel] [openocd:tickets] #290 QSPI debugging is not working in some stm32h753 mcu

2021-01-10 Thread Andreas Bolsch via OpenOCD-devel
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 and ins

[OpenOCD-devel] [openocd:tickets] #290 QSPI debugging is not working in some stm32h753 mcu

2021-01-10 Thread shaalik via OpenOCD-devel
Yes. SPI clock is configured as 8MHZ. I have corrected CCR setting for memory mapped by using 0xEC but it throws same error. I have commented out "setparms" to verify the memory mapped mode works but it shows error as below ->Log:QSPI INIT ->Log:QSPI GPIO INIT ->Log:QSPI CLK INIT ->Log:EXTERNAL