| 数据搜索系统,热门电子元器件搜索 |
|
ST10F268 数据表(PDF) 15 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST10F268 数据表(HTML) 15 Page - STMicroelectronics |
|
15 / 74 page ![]() ST10F168 15/74 Table 6 : Error Code Definition (R0 content after STEAK execution) Note: The Flash Embedded STEAK Algorithms require at least 50 words on the Internal System Stack for proper operation. The program itself verifies that there is enough free space on the System Stack before performing a programming or erasing operation, by computing the Word number between Stack Pointer (SP) and Stack Overflow register (STKOV ). The MDH, MDL and MDC register content are modified. Registers R0 to R4 are used as Input Data for STEAK, and are modified as explained above (Return Values). Registers R5 to R15 are used internally by STEAK, but preserved on entry and restore on exit of STEAK. IT IS VERY IMPORTANT TO TAKE INTO ACCOUNT THE FACT THAT STEAK USES UP TO 50 WORDS ON THE SYS- TEM STACK. TO PREVENT ANY ABNORMAL SITUATION, IT IS VERY IMPORTANT TO INITIALIZE COR- RECTLY THE STACK SIZE TO AT LEAST 64 WORDS, AND TO CORRECTLY INI- TIALIZE REGISTER STKOV. Error Code Meaning 00h Operation was successful 01h Flash Protection is active 02h Vpp voltage not present 03h Programming operation failed 04h Address value (R1) incorrect: not in Flash address area or odd 05h CPU period out of range (must be between 30 ns to 500 ns) 06h Not enough free space on system stack for proper operation 07h Incorrect bank number (R2,R3) specified 08h Erase operation failed (phase 1) 09h Bad source address for Multiple Word programming command 0Ah Bad number of words to be copied in Multiple Word programming command: one destination will be out of flash. 0Bh PLL Unlocked or Oscillator watchdog overflow occured during programming or erasing the flash. 0Ch Erase operation failed (phase 2) FFh Unknown or bad command Table 7 : Return values for each programming / erase command Programming Command R0 R1 R2 R3 R4-R15 Single or double Word programming Error code Unchanged Data in Flash for location Segment + Segment Offset (R0.[3:0] with R1) Data in Flash for location Segment + Segment Offset + 2 (R0[3:0] with R1+2) Unchanged Block programming Error code The last segment offset address of the last written Word in Flash (failing Flash address if R0 is not equal to zero) Undefined Unchanged Erasing Error code Undefined Unchanged After status read Error code Flash embedded rev MSByte = major release LSByte = minor revision Circuit identifiers : R2 = #0787h R3 = #0101h for this device Unchanged |
|
链接网址 |
| 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 |