Hello! I made an open loader for my custom board based on this instruction wiki.segger.com/Open_Flashloader . And it works correctly, but very slowly. I checked all functions, complete erasure, loadbin command with verify and also J-Flash read range (full 32 Mbytes). My custom board consists of MCU STM32H753XI and QSPI flash s25fl256 (32 Mbytes). In result I have very slow read/verify speed. For example, I try read 2 Mb internal MCU flash and 2 Mb external QSPI:
Read range 0x08000000 - 0x081FFFFF (MCU flash 2 Mbytes) 8.824 second
Read range 0x90000000 - 0x901FFFFF (External flash 2 Mbytes) 45.867 second
Therefore, I think I can increase the read speed of an external flash. For reading and verification I use the built-in MCU memory mapped mode
Display All
So, I have some questions:
1. What do you recommend to increase reading speed?
2. Can I use data cache and instruction cache?
3. What I can not use in the open flash loader?
4. Do I need to reset the watchdog?
Regards, Maxim Hunko
Read range 0x08000000 - 0x081FFFFF (MCU flash 2 Mbytes) 8.824 second
Read range 0x90000000 - 0x901FFFFF (External flash 2 Mbytes) 45.867 second
Therefore, I think I can increase the read speed of an external flash. For reading and verification I use the built-in MCU memory mapped mode
C Source Code: FlashOrg.c
1. What do you recommend to increase reading speed?
2. Can I use data cache and instruction cache?
3. What I can not use in the open flash loader?
4. Do I need to reset the watchdog?
Regards, Maxim Hunko
The post was edited 1 time, last by MaximHunko ().