cancel
Showing results for 
Search instead for 
Did you mean: 

How to program to external flash on custom board

Minh Phan
Associate II
Posted on December 29, 2017 at 02:17

Hi everybody!

I have problem with download hex file to memory.

My project uses STM32F769 and QSPI (MX25L51245G).

Here is pin map of QSPI:

QSPI_NCS <-----------------> PB6

QSPI_CLK <-----------------> PB2

QSPI_D0 <-----------------> PD11

QSPI_D1 <-----------------> PC10

QSPI_D2 <-----------------> PE2

QSPI_D2 <-----------------> PD13

This pin map of QSPI is different with pin map of QSPI on STM32F769 Discovery board.

When I use the ST Demo hex file to program to my custom board by ST link Utility, it shows message: ''time out during flash program''.

Here is image:

0690X00000609CpQAI.png

Could you please help me to solve this ?

Thank you very much.

#qspi-flash #custom-board #stm32f769i
3 REPLIES 3
Peter Chang
Associate III
Posted on March 05, 2018 at 05:30

It looks like no way to change ST-LINK pin configuration to QSPI Flash.

I suggest use external programmer to program your code.

http://www.hilosystems.com.tw/en/programmers/all-200#specification

 
Rohit  Mishra
Associate II
Posted on March 13, 2018 at 10:46

Hi Minh Phan,

how did you solve your problem .........?

We too have made a custom board for stm32f7, and are facing the same issue.

The nor flash is not getting programmed using st-link.

If you have solved your problem, please let us know the solution.

Thanks and Best Regards,

rohit mishra.

Posted on March 13, 2018 at 14:03

You would need to craft a custom external loader to address the specifics of your board and part choices.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..