📄 basic_flash.dat
字号:
Com *--------------------------------------------------------------------------------------
Com * ATMEL Microcontroller Software Support - ROUSSET -
Com *--------------------------------------------------------------------------------------
Com *The software is delivered "AS IS" without warranty or condition of any
Com *kind, either express, implied or statutory. This includes without
Com *limitation any warranty or condition with respect to merchantability or
Com *fitness for any particular purpose, or against the infringements of
Com *intellectual property rights of others.
Com *--------------------------------------------------------------------------------------
Com *File Name : File basic_Flash.dat
Com *Object : Script file for axd debugger
Com *
Com *1.0 08/Dec/04 JPP : Creation
Com *--------------------------------------------------------------------------------------
Com Disable all vector catch to not have AXD to warn you that a vector exception has been caught.
spp vector_catch 0x0
Com Watchdog Disable
Com AT91C_BASE_WDTC->WDTC_WDMR= AT91C_SYSC_WDDIS;
setmem 0xFFFFFD44 0x00008000 32
Com Set Flash Waite sate
Com Single Cycle Access at Up to 30 MHz
Com if MCK = 47923200 I have 50 Cycle for 1 useconde ( flied MC_FMR->FMCN)
Com A page erase is performed before programming.
Com AT91C_BASE_MC->MC_FMR = ((AT91C_MC_FMCN)&(50 <<16)) | AT91C_MC_FWS_1FWS ;
setmem 0xFFFFFF60 0x00320100 32
mem 0x0 +0 32 hex
mem 0x00100000 +0 32 hex
mem 0x00200000 +0 32 hex
Com Load file
ld BasicMouse.axf
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -