| 数据搜索系统,热门电子元器件搜索 |
|
AN2614 数据表(PDF) 3 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2614 数据表(HTML) 3 Page - STMicroelectronics |
|
3 / 12 page ![]() AN2614 Embedding the serial number 3/12 2 Embedding the serial number The serial number may need to be: 1. Embedded in the MCU, or stored in external memory (such as EEPROM) 2. Read from the MCU by an external device (for example, through an SCI interface) 3. Protected against read-out 4. Programmed at production level or updated just before shipment Embedding the serial number inside the MCU software meets all the above requirements. This is especially true for the ST7 microcontrollers, whose Flash memory array can be programmed anytime with minimum hardware requirements (by means of ICP or IAP). Before embedding the serial number, its format (size, encoding etc.) should be known . For exampe, a serial number encoded over a four-character identification string may look as follows: char Serial_Number[4]; 2.1 Embedding the serial number inside the MCU software 2.1.1 Fixed serial number This is the easiest way to implement the serial number, since it can either be programmed with the MCU software or programmed later. If a common serial number is assigned to all appliances of a production lot, the string can be part of the normal MCU software without any specific requirements, as shown below: #pragma INTO_ROM // in case -Cc option is not used const char Serial_Number[4] = “0123”; // forget the trailing ‘\0’ |
|
|
链接网址 |
| 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 |