2024-10-25 12:54 AM - edited 2024-10-25 07:16 AM
I have develop a program on STM32F746G-DISCO revision B02 with QSPI N25Q128A13EF840E
Now the new boards revision C03 use the QSPI W25Q128JVEIQ.
I have copied the file W25Q128JVEIQ_STM32F746G-DISCO.stldr from CubeIDE 1.16 to the STM32 ST-LINK Utility\ST-LINK Utility\ExternalLoader but the external loader is not flash.
I need to change some in my code to use this new QSPI chip ?
Solved! Go to Solution.
2024-10-25 06:31 AM - edited 2024-10-25 07:17 AM
I have found an information about this problem so the action to solve is here:
1) download the last driver in the en.stm32cubef7-v1-17-2.zip archive with inside the w25q128j.h file
2) put this w25q128j directory inside \Drivers\BSP\Components
3) save previous stm32746g_discovery_qspi.c and stm32746g_discovery_qspi.h
4) copy new files stm32746g_discovery_qspi.c and stm32746g_discovery_qspi.h from ...v1-17-2.zip archive
5) add in the MCU GGC Compiler Preprocessor define the USE_STM32746G_DISCO_REVC03
6) recompile
Now also ST-LINK work !
2024-10-25 01:24 AM
Hello,
Why are you still using STLINK Utility? Please use STM32CubeProgrammer instead.
2024-10-25 01:26 AM
The ST-LINK Utilities have been deprecated for many years, there could be some issues with how the loader initializes or its size.
I should have some F7 W25Q128 loaders that work in this context.
2024-10-25 01:54 AM - edited 2024-10-25 01:57 AM
2024-10-25 01:56 AM
Why are you needing to copy the External loader? It's already available:
2024-10-25 03:30 AM
ok, I am using the STM32CubeProgrammer with External Loader but still not see the images stored on QSPI.
Soon I will update the log of flash phase
2024-10-25 03:50 AM
Did you succeed to Flash the external NOR flash with CubeProgrammer or not?
2024-10-25 05:11 AM
Be careful, there are two Flash loader as I shared previously, please select the correct one:
2024-10-25 05:21 AM - edited 2024-10-25 05:23 AM
STM32F746G-DISO ver. B-04 with N25Q128A13EF840E
14:09:22 : Data read successfully
14:09:22 : Time elapsed during the read operation is: 00:00:00.007
14:09:25 : Memory Programming ...
14:09:25 : Opening and parsing file: FinalMono_ver5.hex
14:09:25 : File : FinalMono_ver5.hex
14:09:25 : Size : 1.52 MB
14:09:25 : Address : 0x08000000
14:09:25 : Erasing memory corresponding to segment 0:
14:09:25 : Erasing internal memory sectors [0 2]
14:09:26 : Erasing memory corresponding to segment 1:
14:09:26 : Erasing external memory sectors [0 23]
14:09:29 : Download in Progress:
14:09:40 : File download complete
14:09:40 : Time elapsed during download operation: 00:00:15.030
STM32F746G-DISO ver. C-03 with W25Q128JVEIQ
but still no images loaded from QSPI
2024-10-25 05:25 AM - edited 2024-10-25 06:40 AM