📄 debuginexdram.ini
字号:
/******************************************************************************/
/* Ext_RAM.INI: External RAM (SDRAM) Initialization File */
/******************************************************************************/
// <<< Use Configuration Wizard in Context Menu >>> //
/******************************************************************************/
/* This file is part of the uVision/ARM development tools. */
/* Copyright (c) 2005-2006 Keil Software. All rights reserved. */
/* This software may only be used under the terms of a valid, current, */
/* end user licence from KEIL for a compatible version of KEIL software */
/* development tools. Nothing else gives you the right to use this software. */
/******************************************************************************/
FUNC void SDRAMInit (void){
_WDWORD(0xE002C010 ,0x50000000);
_WDWORD(0xE002C010 ,0x50000000);
_WDWORD(0xE002C014 ,0x05050555);
_WDWORD(0xE002C018 ,0x55555555);
_WDWORD(0xE002C020 ,0x55555555);
_WDWORD(0xE002C024 ,0x50555555);
_WDWORD(0xFFE08000 ,0x00000001);
_WDWORD(0xFFE08030 ,0x00000001);
_WDWORD(0xFFE08034 ,0x00000003);
_WDWORD(0xFFE08038 ,0x00000001);
_WDWORD(0xFFE0803c ,0x00000001);
_WDWORD(0xFFE08040 ,0x00000005);
_WDWORD(0xFFE08044 ,0x00000002);
_WDWORD(0xFFE08048 ,0x00000003);
_WDWORD(0xFFE0804c ,0x00000003);
_WDWORD(0xFFE08050 ,0x00000005);
_WDWORD(0xFFE08054 ,0x00000001);
_WDWORD(0xFFE08058 ,0x00000002);
_WDWORD(0xFFE08028 ,0x00000001);
_WDWORD(0xFFE08104 ,0x00000303);
_WDWORD(0xFFE08100 ,0x00000680);
_WDWORD(0xFFE08020 ,0x00000183);
_RDWORD(0x40000000);
_WDWORD(0xFFE08020 ,0x00000103);
_RDWORD(0x40000000);
_WDWORD(0xFFE08024 ,0x00000002);
_RDWORD(0x40000000);
_WDWORD(0xFFE08024 ,0x0000001C);
_WDWORD(0xFFE08020 ,0x00000083);
_RDWORD(0xA0033000);
_WDWORD(0xFFE08020 ,0x00000000);
_WDWORD(0xFFE08100 ,0x00080680);
_RDWORD(0x40000000);
// <o> Program Entry Point
PC = 0xA0000000;
}
//CLKInit();
SDRAMInit(); // SDRAM init.
LOAD .\DebugInExDRAM\1.axf INCREMENTAL // Download
//g, ResetInit
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -