| поискавой системы для электроныых деталей |
|
ST10F276 датащи(PDF) 67 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST10F276 датащи(HTML) 67 Page - STMicroelectronics |
|
67 / 229 page ![]() ST10F276 Bootstrap loader 67/229 5.6.7 Alternate boot user software If the rules described previously are respected (that is, mapping of variables, disabling of interrupts, exit conditions, predefined vectors in Block 0 of Bank 2, Watchdog usage), then users can write the software they want to execute in this mode starting from 09’0000h. 5.6.8 User/alternate mode signature integrity check The behavior of the Alternate Boot Mode is based on the computing of a signature between the content of two memory locations and a comparison with a reference signature. This requires that users who use Alternate Boot have reserved and programmed the Flash memory locations according to: User mode signature 00'0000h: memory address of operand0 for the signature computing 00’1FFCh: memory address of operand1 for the signature computing 00’1FFEh: memory address for the signature reference Alternate mode signature 09'0000h: memory address of operand0 for the signature computing 09’1FFCh: memory address of operand1 for the signature computing 09’1FFEh: memory address for the signature reference The values for operand0, operand1 and the signature should be such that the sequence shown in the figure below is successfully executed. MOV Rx, CheckBlock1Addr; 00’0000h for standard reset ADD Rx, CheckBlock2Addr; 00’1FFCh for standard reset CPLB RLx ; 1s complement of the lower ; byte of the sum CMP Rx, CheckBlock3Addr; 00’1FFEh for standard reset 5.6.9 Alternate boot user software aspects User defined alternate boot code must start at 09’0000h. A new SFR created on the ST10F276 indicates that the device is running in Alternate Boot Mode: Bit 5 of EMUCON (mapped at 0xFE0Ah) is set when the alternate boot is selected by the reset configuration. All the other bits are ignored when checking the content of this register to read the value of bit 5. This bit is a read-only bit. It remains set until the next software or hardware reset. 5.6.10 EMUCON register EMUCON (FE0Ah / 05h) SFR Reset value: - xxh: 15 14 13 12 11 10 987 65432 10 - ABM -R - |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |