Writing and reading flash on 52259

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Writing and reading flash on 52259

909 Views
jejeje
Contributor I

Hi all

I need to store some configuration data in the flash memory of a 52259 chip ( I'm working with a 52259DEMO ).

I readed the flashx example, but being a newbie to the MC world, I need some advice regarding not to overwrite the memory were the app is stored.

Any help will be appreciated

Regards

Marcelo

Labels (1)
0 Kudos
2 Replies

319 Views
mjbcswitzerland
Specialist V

Hi Marcelo

 

The M52259 has a 4k FLASH granularity. You will know how large your program is and applications usually start at 0x00000000, therefore all space after it is free for other use - like saving parameters or for use as a file system.

 

More information and all resources are available at http://www.utasker.com/kirin3.html - see also http://www.utasker.com/docs/uTasker/uTaskerFileSystem_3.PDF

 

Regards

 

Mark

0 Kudos

319 Views
jejeje
Contributor I

Thank you a lot, Marc!

0 Kudos