2014-07-27 10:19 PM
I would like to
use
External
SPI
flash
memory
as storage for
pictures
on
LCD
.Looking for
a way to
fill the
external
Flash
content
when programming
the processor
using the programmer
(
J
-
LINK
)
via
SWD
when you
upgrade
firmware
via
bootloader
(USB
or
USART)
I do not know
how to do it
,there is
some
howto
or
appnote
2014-07-27 11:05 PM
Segger has their J-Flash application which should permit external NAND, or serial, devices to be programmed with binary or hex files. Keil also achieves similar functionality through applets (custom if required), that code the external bus configuration/control, and programming of internal/external memories. Both basically payload a flasher into RAM, along with blocks of data to be written. There are code framework examples.
You can achieve similar tasks with the System Loader on the STM32, upload some code, execute it, and it can work on data already sent, or you can revert to another protocol (X-Modem, or whatever), to push in other streams of data. Repeat as required based on available RAM, and size of device being programmed. You could also add initialization code within your own app to permit the download of images to external memories.