question about QT4 flash using ...

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

question about QT4 flash using ...

11,696 次查看
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
标签 (1)
0 项奖励
回复
2 回复数

1,246 次查看
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 项奖励
回复

1,246 次查看
peg
Senior Contributor IV

How about AN1831?

Peg

 

0 项奖励
回复