2024-06-13 10:35 PM
I have created a custom external loader for the H750B-DK.
I would like to improve the write/read speed using STM32CubeProgrammer.
How can I achieve this?
The current conditions are as follows:
The time taken to read/write 32MB is as follows:
I tried the following methods, but they did not have any effect:
Could the following be the reasons why NOR Flash read/write cannot be improved?
If you know any methods to improve the performance, I would appreciate your suggestions.
Solved! Go to Solution.
2024-06-14 01:09 AM
Hi,
I believe the problem is mainly due to the size of the buffer allocated by CubeProg on which you do not have any control. While you could fine tune the external loarder to achieve maximum speed between that buffer and the memory device, it will be slowed by the overhead of the buffer setup and access.
A simple way to find potential places of improvements would be to scope the memory pins. You will instantly see where you have gaps of communication between the H7 and the memory, and determine if the gap is due to the memory chip internal timings (write operation for example as you suggested), or rather between the st-link and the H7.
2024-06-14 01:09 AM
Hi,
I believe the problem is mainly due to the size of the buffer allocated by CubeProg on which you do not have any control. While you could fine tune the external loarder to achieve maximum speed between that buffer and the memory device, it will be slowed by the overhead of the buffer setup and access.
A simple way to find potential places of improvements would be to scope the memory pins. You will instantly see where you have gaps of communication between the H7 and the memory, and determine if the gap is due to the memory chip internal timings (write operation for example as you suggested), or rather between the st-link and the H7.