công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

SH33F2801P/032PR bảng dữ liệu(PDF) 28 Page - SINOWEALTH Electronic Ltd

tên linh kiện SH33F2801P/032PR
Giải thích chi tiết về linh kiện  32-bit High Performance Motor Control MCU Based on ARM® Star
PDF  407 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  SINOWEALTH [SINOWEALTH Electronic Ltd]
Trang chủ  https://en.sinowealth.com
Logo SINOWEALTH - SINOWEALTH Electronic Ltd

SH33F2801P/032PR bảng dữ liệu(HTML) 28 Page - SINOWEALTH Electronic Ltd

Back Button SH33F2801P/032PR Datasheet HTML 24Page - SINOWEALTH Electronic Ltd SH33F2801P/032PR Datasheet HTML 25Page - SINOWEALTH Electronic Ltd SH33F2801P/032PR Datasheet HTML 26Page - SINOWEALTH Electronic Ltd SH33F2801P/032PR Datasheet HTML 27Page - SINOWEALTH Electronic Ltd SH33F2801P/032PR Datasheet HTML 28Page - SINOWEALTH Electronic Ltd SH33F2801P/032PR Datasheet HTML 29Page - SINOWEALTH Electronic Ltd SH33F2801P/032PR Datasheet HTML 30Page - SINOWEALTH Electronic Ltd SH33F2801P/032PR Datasheet HTML 31Page - SINOWEALTH Electronic Ltd SH33F2801P/032PR Datasheet HTML 32Page - SINOWEALTH Electronic Ltd Next Button
Zoom Inzoom in Zoom Outzoom out
 28 / 407 page
background image
SH33F2801
28
8.3.3.2
Flash Control Register Unlock
After the system is reset, the flash memory operation register is locked, so the flash memory operation register needs to
be unlocked before performing erasure programming operation on flash. Different flash memory blocks have different unlock
registers, and corresponding registers need to be unlocked to execute operations to different blocks. To unlock flash, two
unlocking values are required to be written to the corresponding unlock register. Whenever writing error occurs on the first or
the second key value, the corresponding flash block cannot be unlocked, and a bus error will be generated. Unlocking the
unlock register when any one block is unlocked will also generate a bus error. There are also two cases on flash unlocking
operations. One is to perform a single operation on flash after unlocking, while the other to perform multiple operations on
flash after unlocking. If the flash memory operation register is in unlock state, the flash memory block can be erased and
programmed by controlling FLASH_CR.
After reset, bit MNLCK@FLASH_CR is set to 1. The FLASH_CR can be unlocked by first writing the flash unlock value
0x8ACE 0246 to the FLASH_MKYR register, then writing the single operation unlock value 0xC3C3 C3C3 or the multiple
operation unlock value 0xB4B4 B4B4 to the FLASH_MKYR register. After two correct unlock values writing operations are
completed, bit MNLCK@FLASH_CR is cleared by hardware. The software can set the control bit MNLCK@FLASH_CR to 1
to lock the main program block. Main program block is locked by the FLASH_MKYR register. After unlocking, the main
program block can be operated by running a program in RAM, running a program in the main program block, running a
program in boot block, or directly accessing the flash operation register using a debugging tool.
EEPROM-like block of the special information block can be locked by the FLASH_E2KYR register. The unlocking
process also contains two write operations. After flash unlock value 0x9BDF 1357 is written to FLASH_E2KYR register, and
single operation unlock value 0xC3C3 C3C3 or multiple operation unlock value 0xB4B4 B4B4 is written to FLASH_E2KYR
register, this block can be unlocked and the control bit E2LCK@FLASH_CR is cleared by hardware. The software can set
the control bit E2LCK@FLASH_CR to 1 to lock the EEPROM-like block of the special information block. It is the
EEPROM-like block of the special information block which is locked by FLASH_E2KYR register. After this block is unlocked,
operations can be performed by running a program in RAM, running a program in the main program block, running a
program in boot block, or directly accessing the flash operation register using a debugging tool.
OTP block of the special information block can be locked by the FLASH_IKYR register. The unlocking process also
contains two write operations. After flash unlock value 0xABCD 5678 is written to FLASH_IKYR register, and single
operation unlock value 0xC3C3 C3C3 or multiple operation unlock value 0xB4B4 B4B4 is written to FLASH_IKYR register,
this block can be unlocked and the control bit INFLCK@FLASH_CR is cleared by hardware. The software can set the control
bit INFLCK@FLASH_CR to 1 to lock the OTP block of the special information block. It is the OTP block of the special
information block which is locked by FLASH_IKYR register. OTP block can be operated by running a program in RAM or a
program in the main program block.
For flash single unlock operation, after MNLCK@FLASH_CR or E2WRE/INFLCK@FLASH_CR is cleared to 0, only one
programming or erasing operation on flash is allowed. After the operation is completed, MNLCK@FLASH_CR or
E2WRE/INFLCK@FLASH_CR is automatically set to 1 by hardware, locking the related flash block again.
For flash multiple unlock operation, after MNLCK@FLASH_CR or E2WRE/INFLCK@FLASH_CR is cleared to 0, only
one programming or erasing operation on flash is allowed. After the operation is completed, MNLCK@FLASH_CR or
E2WRE/INFLCK@FLASH_CR must be set to 1 by software, and then the related flash block can be locked again.
Table8-4
Unlock Value and Description of Each Unlocking Register
Register
Function
Flash Initial
Unlock Value
Flash Single
Operation
Unlock Value
Flash Multiple
Operation
Unlock/Lock
Value
Description
FLASH_M
KYR
Unlock main program
block
0x8ACE 0246
0xC3C3 C3C3
0xB4B4 B4B4
Directly access by running a
program in RAM or a
program in main program
block
FLASH_E
2KYR
Unlock EEPROM-like
block of special
information block
0x9BDF 1357
0xC3C3 C3C3
0xB4B4 B4B4
Directly access by running a
program in RAM or a
program in main program
block
FLASH_I
KYR
Unlock OTP block of
special information
block
0xABCD 5678
0xC3C3 C3C3
0xB4B4 B4B4
Directly access by running a
program in RAM or a
program in main program
block



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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