4151 views|4 replies

298

Posts

0

Resources
The OP
 

About STC8A8K64S4A12EEPROM allocation [Copy link]

The manual says there is no dedicated EEPROIM space and it needs to be set manually. Is this implemented in the hardware?

The goal is to ensure that the data stored in the microcontroller remains valid even if the program is updated again.

This post is from 51mcu

Latest reply

stc-isp Check the option "Do not update hardware settings next time" to ensure that EEPROM data is not lost   Details Published on 2021-11-13 11:11
 

664

Posts

104

Resources
2
 

This is achievable. Try running the sample program and experience it.

I haven't actually used this MCU. For this type of MCU where Flash and EEPROM are mixed, generally speaking, the EEPROM will be reserved at the end of the Flash.

Flash involves sector erasure, which is done in sectors. Before erasing, the unmodified content needs to be read out and saved in RAM. This type of MCU has a feature that the RAM is relatively large, and the capacity of a sector will not affect other functions.

This post is from 51mcu
 
 
 

375

Posts

10

Resources
3
 

Actually, FLASH is used as eeprom, and the total amount of the two is fixed.

This post is from 51mcu

Comments

ena
Well, but if you re-download the program, it should also fill the unused FALSH area with FF  Details Published on 2021-11-11 16:10
 
 
 

298

Posts

0

Resources
4
 
90houyidai posted on 2021-11-9 11:40 In practice, FLASH is used as eeprom at the same time, and the total amount of the two is fixed

Well, but if you re-download the program, it should also fill the unused FALSH area with FF

This post is from 51mcu

Comments

stc-isp Check the option "Do not update hardware settings next time" to ensure that EEPROM data is not lost  Details Published on 2021-11-13 11:11
 
 
 

375

Posts

10

Resources
5
 
ena posted on 2021-11-11 16:10 Well, but if you re-download the program, the unused FALSH area should also be filled with FF

stc-isp Check the option "Do not update hardware settings next time" to ensure that EEPROM data is not lost

This post is from 51mcu
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list