📄 复件 hcrconfig.a51
字号:
; Define HCR0 and HCR1 while download Flash Programming
CSEG AT 0807EH
; HCR1
DB 11111100b
; |||||||+- EGP0 : 0 = Port 2,3 ist ext. mem
; ||||||| 1 = Port 2,3 is GPIO (def)
; ||||||+-- EGP0 : 0 = Port 0 ist ext. mem
; |||||| 1 = Port 0 is GPIO (def)
; |||||+--- DDB : 0 = Enable dig. Brown out detection
; ||||| 1 = Disable deg. Brownout detection (def)
; ||||+---- DAB : 0 = Enable Analog Brown out detection
; |||| 1 = Disable Analog Brownout detection (def)
; ||++----- ABLSEL : 00 = 4.5 Volt (Analog Brown out level)
; || 01 = 4.2 Volt
; || 10 = 2.7 Volt
; || 11 = 2.5 Volt (def)
; ++------- DBLSEL : 00 = 4.5 Volt (Digital Brown out level)
; 01 = 4.2 Volt
; 10 = 2.7 Volt
; 11 = 2.5 Volt (def)
; HCR0
DB 11111110b
; |||||+++ DFSEL :000 = Reserved
; ||||| 001 = 32 kB (16, 8, 4) data flash
; ||||| 010 = 16 kB (8, 4) data flash
; ||||| 011 = 8 kB (4) data flash
; ||||| 100 = 4 kB data flash
; ||||| 101 = 2 kB data flash
; ||||| 110 = 1 kB data flash
; ||||| 111 = no data flash (def)
; ||||+---- EWDR : 0 = Disable Watchdog Reset
; |||| 1 = Enable Watchdog Reset (def)
; |||+----- EBR : 0 = Disable internal Boot ROM
; ||| 1 = Enable internal Boot ROM (def)
; ||+------ RSL : 0 = Enable reset sector writing
; || 1 = Enable read only for reset sector (def)
; |+------- PML : 0 = Enable all Flash programming in program
; | mode, can be written in UAM
; | 1 = Can't be written in UAM (def)
; +-------- EPMA : 0 = Disable flash read/write in prog mode
; 1 = Enable flash read/write (def)
END
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -