int_ram.ini
来自「开发板AT91SAM9260-EK的测试程序」· INI 代码 · 共 33 行
INI
33 行
/******************************************************************************/
/* Int_RAM.INI: Internal RAM 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 Setup (void) {
// <o> Program Entry Point
PC = 0x000000;
}
// Switching from Slow Clock to Main Oscillator for faster Download
_WDWORD(0xFFFFFC20, 0x00000601); // PMC_MOR: Enable Main Oscillator
_sleep_(10); // Wait for stable Main Oscillator
_WDWORD(0xFFFFFC30, 0x00000001); // PMC_MCKR: Switch to Main Oscillator
_WDWORD(0xFFFFFD44, 0x00008000); // WDT_MR: Disable Watchdog
_WDWORD(0xFFFFEF00, 0x00000003); // MATRIX_MRCR: Remap (for SAM9260)
LOAD Output\SAM9260_DF_P1056_CS1_BL.axf INCREMENTAL // Download
Setup(); // Setup for Running
g, main
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?