| 数据搜索系统,热门电子元器件搜索 |
|
AN2614 数据表(PDF) 5 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2614 数据表(HTML) 5 Page - STMicroelectronics |
|
5 / 12 page ![]() AN2614 Embedding the serial number 5/12 2.2 Getting the serial number from an external device The serial number may be programmed in external memory, such as EEPROM. In this way, the MCU software memory array and the EEPROM data array can be programmed in a number of different ways: ● By each device using its own respective programming tool ● By the MCU receiving the serial number later (for example, through an SCI interface) and then programming the EEPROM accordingly The MCU must read the EEPROM upon reset (if the serial number is to be processed by it) and must store the serial number in RAM, as follows: char Serial_Number[4]; void main(void) { //... Read_EEPROM(Serial_Number, SubAddress); // read string and store it into Serial_Number In this way, the serial number is not permanently stored in the MCU and all MCUs in the production lot can be programmed with exactly the same contents. |
|
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |