2018-08-30 09:03 PM
How can I programming the external flash in high speed?
I programming the emwin file use 2min 30 sec, data size is 15Mbyte.
Have any solution to make programming fast?
Thanks All
2018-08-30 09:26 PM
What parts specifically are we talking about?
What modes of connectivity does your board provide?
2018-08-30 11:44 PM
sorry, my English is not very well.
I mean if I have finish my project, I went to download the code to my MCU and external QSPI flash.
How can I get fast?
2018-08-31 01:18 AM
Clive asks you, what is the type of QSPI, and how is the board connected to PC.
JW
2018-08-31 03:13 AM
Sorry!!! I misunderstood what you mean!!
I use "MT25QL01GBBB" QSPI Flash,that is "Serial NOR Flash Memory".
MY board is use ST-Link to connected to PC. and use ST-LINK Utility to programming.
My English is not very well,If have anything not clear please tell me.
Thank All !
2018-08-31 05:16 AM
Which STM32 part?
What other connectivity? MicroSD card? Ethernet?
Is the data compressible?
Have you tried one of the significantly faster Segger pods?
2018-08-31 08:01 AM
The erase performance is relatively slow, you'd want to do that at the 64KB block level (400KBps).
The write speed is supposedly 2MBps, so sending the data via the ST-LINK would seem to be the primary bottleneck here.
In other designs we've provided headers/test-points for connecting memory payload devices (large flash or memory devices as plug-ins) where a small amount of code loaded on the STM32 side can pull the data and burn onto the local memory. Where Ethernet is available part of the test can allow for connectivity to a file server, and large data payloads can be pulled over the network.
2018-09-02 06:24 PM
HiHi @Community member
thanks your answer,
I use STM32 QSPI interface to enable QSPI,
I also use MicroSD card and Ethernet !
I try the J-Link, but the speed is almost same.
I don't know how to compression the data.... have any reference ?
Use Ethernet to programming can make the program fast? Why?
or that is my wrong understanding of your point
Thanks!!!
2018-09-02 07:30 PM
Did you try a J-Link Pro or Ultra ? The faster modes not the standard one.
https://www.segger.com/products/debug-probes/j-link/models/j-link-pro/
>>Use Ethernet to programming can make the program fast? Why? or that is my wrong understanding of your point
I suspect your bottle-neck is the speed at which you can deliver the data.
You can experiment with the QSPI from your own code, time how long it takes to erase and write 15MB from the application, use a data pattern you have available locally.
Use PKZIP in WinRAR on the data in the FLASH, see if it compresses, and how small it gets. you're trying to determine if there is significant benefit to moving/storing less data.