How Segger J-FLASH configures its external loaders?
A customer has a board with STM32F746 and QSPI flash.
The board looks as derived from STM32746G-DISCO, though I'm not 100% sure.
Their program has data in the QSPI flash, and they flash the app using J-LINK and Segger J-Flash.
Now, I cannot figure out how J-Flash deals with QSPI without "external loaders"?
And programming the QSPI part of the data does not work for me.
The internal flash part programs OK. Erase of the QSPI also looks OK. So I assume that J-LINK itself, cables, power are OK.
The customer says they never had any issue with flashing. Just drop a file to it and it does its ma*ic.
Below is the only config dialog I could find related to the QSPI.
What else is missing?
The flash indeed is mapped at 90000000. The size is 16 MB though it should not try to touch addresses not contained in the program file, right?
From the log window:
- Start of determining flash info (Bank 2 @ 0x90000000)
- End of determining flash info
- Flash bank info:
- 512 * 64 KB @ 0x90000000
- Start of preparing flash programming
- End of preparing flash programming
- Start of determining dirty areas in flash cache
- End of determining dirty areas
- CPU speed could not be measured.
- Start of flash programming
- Programming range 0x90000000 - 0x9000FFFF ( 1 Sector, 64 KB)
- Programming range 0x90010000 - 0x9001FFFF ( 1 Sector, 64 KB)
- Programming range 0x90020000 - 0x9002FFFF ( 1 Sector, 64 KB)
- ERROR: Programming failed @ address 0x90000000 (block verification error)
- End of flash programming
- ERROR: Program failed