question about QT4 flash using ...

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

question about QT4 flash using ...

10,837 Views
DanyPier
Contributor I
I have to write and read a couple of bytes in the flash area while QT4 MCU is running my code.
Does anybody knows about any "AN" I can get with an assembler example of this?
Thank you!
Dany
Labels (1)
0 Kudos
2 Replies

387 Views
bigmac
Specialist III

Hello Dany,

I have attached a file that provides a simple sub-routine that erases the first page (64 bytes) of  flash memory, and programs the data into the first 32 byte block.  This should be satisfactory provided the stored data doesn't have to be re-written too often.  If more frequent re-writes are required, the more complex method of AN2346 might be used.

For the simple case, no special measures are required to read the programmed flash bytes.

Regards,
Mac


 

0 Kudos

387 Views
peg
Senior Contributor IV

How about AN1831?

Peg

 

0 Kudos