当前位置:网站首页>Stc8h internal eepom explanation
Stc8h internal eepom explanation
2022-04-22 13:01:00 【Xiao Lu who dreams of being a geek】
List of articles
Preface
To configure STC8H3k64S4 The built-in EEPROM.
One 、EEPROM Size and address

I'm using STC8H3k64S4, Inside EEPOM Yes 64k size , Use IAP Way to operate .IAP The way can be right EEPROM Carry out reading 、 Write 、 Erase operation . From the diagram , Address from 0x0000h To 0xFFFFh.
The erase operation is performed in sectors , Per sector 512 byte , That is, each time the erase command is executed, a sector will be erased , Both read data and write data are operated in bytes , That is, each time a read or write command is executed, only one byte can be read or written .

This model can use STC_ISP Set up EEPROM size .
Two 、EEPROM To configure
I need to store the voltage protection range , Current protection range , Power protection range . Each item has 2 Parameters , In order not to cause misoperation ( Erase sectors , Delete what you don't want to delete ), Set up 6 Sectors . Therefore, the EE2PROM Set to 3k size .

summary
Basic hardware operation program design , Just refer to the official manual .
Attach a link :http://www.stcmcudata.com/STC8F-DATASHEET/STC8H.pdf
版权声明
本文为[Xiao Lu who dreams of being a geek]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204221255565662.html
边栏推荐
- Use opencv's function threshold () to threshold the image based on Otsu - and attach a good blog link to introduce the principle of Otsu
- 从构建到治理,业内首本微服务治理技术白皮书正式发布(含免费下载链接)
- JS foundation 10
- Interpreting closures from structured context
- The shortest distance of dynamic programming characters
- ORB_ Slam3 learning: introduction to tracking thread
- Get rid of the "small workshop" of AI production: how to build a cloud native AI platform based on kubernetes
- 借助数商云房地产行业采购平台解决方案,实现简单、智能、合规的采购
- English writing artifact quillbot --- how to use the free premium function
- STC8H内部EEPOM讲解
猜你喜欢
随机推荐
MATLAB中的数据从double类型强制转化为uint8其舍入用的是四舍五入,附MATLAB基本数据类型
RT-Thread配置SPI-Flash(W25Q256)
JS random color
Excel表格中如何批量删除工作表
Five ways to get database connection: have you really got it?
Redis update
模型的权值以及loss或者中间变量变成了nan怎么回事
IDE import project
21. 合并两个有序链表
Interpreting closures from structured context
Use opencv's function threshold () to threshold the image based on Otsu - and attach a good blog link to introduce the principle of Otsu
从构建到治理,业内首本微服务治理技术白皮书正式发布(含免费下载链接)
JS foundation 5
C#窗体的淡入淡出功能(项目工程源码)
Leetcode 1678. Design goal parser
Shopping form making
New ideas for smart home (2022)
Understanding of rxbus and rxbus2
How to realize the conversion between array and list?
ROS2——手把手教你编写一个话题









