Hello,
I'm looking for solution problem with programming external Quad SPI flash via J-Link (J-Flash or something from Segger software pack).
I know that standard environment to do it is:
[img]http://i.imgur.com/YBXTNZp.jpg[/img]
But my hardware is:
[img]http://i.imgur.com/w7GApjR.jpg[/img]
Keil provides template workspace to generate .FLM file to program external QSPI flash using my connection scenario.
And now I'm doing it with Keil uVision, using .FLM (Flash Programming Algorithm) for my ext. Flash S25FL128S (Spansion). It loads to mcu special program, which init SPI Interface and using SPIFI lib write to external flash. After that, internal flash is programming. It's clear.
But I need to program it without any external IDE, only with using J-Link and Segger software. It seems to be a quite difficult, because Keil makes this with FlashOS and SPIFI lib, in a non transparent way. In Flash Programming Algorithm memory map, it is a few function which doesnt exist in this workspace files.
Can I handle this with this connection and this Flash?
I'm looking for solution problem with programming external Quad SPI flash via J-Link (J-Flash or something from Segger software pack).
I know that standard environment to do it is:
[img]http://i.imgur.com/YBXTNZp.jpg[/img]
But my hardware is:
[img]http://i.imgur.com/w7GApjR.jpg[/img]
Keil provides template workspace to generate .FLM file to program external QSPI flash using my connection scenario.
And now I'm doing it with Keil uVision, using .FLM (Flash Programming Algorithm) for my ext. Flash S25FL128S (Spansion). It loads to mcu special program, which init SPI Interface and using SPIFI lib write to external flash. After that, internal flash is programming. It's clear.
But I need to program it without any external IDE, only with using J-Link and Segger software. It seems to be a quite difficult, because Keil makes this with FlashOS and SPIFI lib, in a non transparent way. In Flash Programming Algorithm memory map, it is a few function which doesnt exist in this workspace files.
Can I handle this with this connection and this Flash?