Skip to main content
Graduate II
March 22, 2023
Question

Winbond NOR FLASH on ST DISCO/DK Boards?

  • March 22, 2023
  • 3 replies
  • 1667 views

Noticed several examples in recent builds of STM32 Cube Programmer

W25Q128JVEIQ_STM32F746G-DISCO.stldr

W25Q128JVEIQ_STM32F7508-DK.stldr

Are these production boards? OEM / WaveShare variants?

    This topic has been closed for replies.

    3 replies

    Visitor II
    August 9, 2023

    Hi Tesla DeLorean

    Probably You may helpe me. I have create my own STM32F746IGT6_W25Q128.stld file for Open756 board based on that excelent course https://www.youtube.com/watch?v=XqCq0xtQmbI&t=662s. In STM32CubeProgrammer everything works. I can erase memory write etc. Unfortunately when i add STM32F746IGT6_W25Q128.stldr file to STMCubeIDE Anything dont work. I only get message "load failed" Does STMCubeIDE use anoher type stldr files.

    I only add that W25Q128 is connected to STM32F746IGT6 procesor like that:


    PF6  QUADSPI_BK1_IO3
    PF7  QUADSPI_BK1_IO2
    PF8  QUADSPI_BK1_IO0
    PF9  QUADSPI_BK1_IO1
    PB2  QUADSPI_CLK
    PB6  QUADSPI_BK1_NCS

    I would be grateful for any help, because at the moment I have no idea.

    Visitor II
    August 10, 2023

    Today i observed that when i try program my project .hex file by STM32CubeProgrammer pogramming has failed. Above i send log file:

    09:08:47:881 : Memory Programming ...
    09:08:47:881 : Opening and parsing file: STM32F746_PR.hex
    09:08:47:886 : File : STM32F746_PR.hex
    09:08:47:886 : Size : 367.73 KB
    09:08:47:886 : Address : 0x08000000
    09:08:47:890 : Erasing memory corresponding to segment 0:
    09:08:47:890 : Memory Erase via FlashLoader!
    09:08:47:890 : Memory erase...
    09:08:47:898 : halt ap 0
    09:08:47:914 : Erasing internal memory sectors [0 5]
    09:08:47:914 : Init flashloader...
    09:08:47:916 : halt ap 0
    09:08:47:926 : run ap 0
    09:08:47:928 : halt ap 0
    09:08:47:928 : Loader sector erase...
    09:08:47:943 : run ap 0
    09:08:50:344 : halt ap 0
    09:08:50:344 : Erasing memory corresponding to segment 1:
    09:08:50:344 : Memory Erase via FlashLoader!
    09:08:50:344 : Memory erase...
    09:08:50:345 : Download in Progress:
    09:08:50:345 : Size : 287088 Bytes
    09:08:50:345 : Address : 0x08000000
    09:08:50:346 : halt ap 0
    09:08:50:365 : Loader write range...
    09:08:51:314 : Init flashloader...
    09:08:51:317 : halt ap 0
    09:08:51:337 : run ap 0
    09:08:51:338 : halt ap 0
    09:08:51:352 : run ap 0
    09:08:52:306 : run ap 0
    09:08:52:846 : Segment[0] downloaded successfully
    09:08:52:846 : Size : 89488 Bytes
    09:08:52:846 : Address : 0x09000000
    09:08:52:856 : Error: failed to download Segment[1]
    09:08:52:856 : Error: failed to download the File

    So in my opinion something is wrong with external loader file.

    But on the other side when i programming only region tha started at 0x90000000 programming is correct as like log file:

    09:21:07:973 : Memory Programming ...
    09:21:07:973 : Opening and parsing file: testbinary1M.bin
    09:21:07:973 : File : testbinary1M.bin
    09:21:07:973 : Size : 1.13 MB
    09:21:07:973 : Address : 0x90000000
    09:21:07:973 : Erasing memory corresponding to segment 0:
    09:21:07:973 : Memory Erase via FlashLoader!
    09:21:07:973 : Memory erase...
    09:21:07:985 : halt ap 0
    09:21:08:394 : Erasing external memory sectors [0 18]
    09:21:08:394 : Init flashloader...
    09:21:08:399 : halt ap 0
    09:21:08:417 : run ap 0
    09:21:08:418 : halt ap 0
    09:21:08:418 : Loader sector erase...
    09:21:08:435 : run ap 0
    09:21:11:973 : halt ap 0
    09:21:11:974 : Download in Progress:
    09:21:11:975 : Size : 1182720 Bytes
    09:21:11:975 : Address : 0x90000000
    09:21:11:981 : halt ap 0
    09:21:12:387 : Loader write range...
    09:21:13:249 : Init flashloader...
    09:21:13:251 : halt ap 0
    09:21:13:263 : run ap 0
    09:21:13:273 : halt ap 0
    09:21:13:290 : run ap 0
    09:21:14:153 : run ap 0
    09:21:15:017 : halt ap 0
    09:21:15:034 : run ap 0
    09:21:15:907 : run ap 0
    09:21:16:772 : halt ap 0
    09:21:16:792 : run ap 0
    09:21:17:659 : run ap 0
    09:21:18:522 : halt ap 0
    09:21:18:540 : run ap 0
    09:21:19:412 : run ap 0
    09:21:19:834 : halt ap 0
    09:21:19:849 : run ap 0
    09:21:20:279 : run ap 0
    09:21:20:388 : Segment[0] downloaded successfully
    09:21:20:388 : File download complete
    09:21:20:410 : Time elapsed during download operation: 00:00:12.415

    Visitor II
    August 11, 2023

    I know where  was the problem.

    0x09000000 is not the same as 0x90000000.

    It was just a stupid mistake