📄 56f834x_flash.cfg
字号:
#------------------------------------------------------------------------------
# 56836E initialization file for flash
#------------------------------------------------------------------------------
# revision history
#--------------------------
# 030222 first version
# OMR notes:
# ----------------------------------------------
# the DSP56836E OMR is same as DSP56807 OMR
# the operating mode control bits (MA and MB)
# in the Operating Mode Register (OMR)
# control the program memory map.
# at reset, these bits are set to the value
# present on the external EXTBOOT pin (JG3 for 56836E)
# OMR EX sets the data memory to internal or internal.
# OMR bits: zero one
# ---------------------------------------------------------
# EX 3 internal RAM and flash | external*
# MA 1 Mode 0 (flash) | Mode 1 (RAM)
# MB 0 secure | not secure
# ---------------------------------------------------------
# *currently not applicable to 56836E: OMR EX = 1
# we override the EXTBOOT pin (JG3)
# MA = 0 MB = 1
# and also set EX = 0
# write binary 0010 to OMR
writereg OMR 0x0002
# ------------------------------------------------
# enable internal memory
set_hfmclkd 0x14
set_hfm_base 0x00F400
set_hfm_config_base 0x00FFF7
set_hfm_programmer_base 0x2F800
set_hfm_prog_buffer_base 0
set_hfm_prog_buffer_size 512
add_hfm_unit 0x00000 0x0FFFF 0 16 512 1 0 1
add_hfm_unit 0x20000 0x20FFF 0 4 256 1 1 0
add_hfm_unit 0x01000 0x01FFF 1 16 256 0 0 0
# if you want to verify flash
# please uncomment the following line
#set_hfm_verify_program 1
# if you want to unlock the flash everytime you connect,
# please uncomment the following line
#unlock_flash_on_connect 1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -