cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F3 and external SPI Flash, how programing?

asrock70
Associate II
Posted on July 28, 2014 at 07:19

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

1 REPLY 1
Posted on July 28, 2014 at 08:05

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.
Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..