⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 jtag_lpc2xxx_ram.mac

📁 NXP LPC系列AMR7的开发程序源码(LCD
💻 MAC
字号:
/*********************************************************************
 *  
 *  IAR PowerPac - RTOS
 *
 *  (c) Copyright IAR Systems 2006.  All rights reserved.
 *
**********************************************************************
----------------------------------------------------------------------
File    : JTAG_LPC2xxx_RAM.mac
Purpose : Setup CPU for IAR CSpy using JTAG debugging tool
          to run in RAM
--------  END-OF-HEADER  ---------------------------------------------
*/

/*********************************************************************
*
*       Init()
*
* Function description
*   Map user flash into vector area.
*
* Notes
*   (1) User flash is mapped to addr. 0 after execution of the bootloader.
*       Since we may have halted the boot loader, this may be necessary.
*/
Init() {
  __message "JTAG_LPC2xxx_RAM.mac: Remap interrupt vectors from RAM to addr 0x00"; 
  __writeMemory32(0x02,0xE01FC040,"Memory");
}

/*********************************************************************
*
*       execUserPreload()
*
* Function description
*   Called once after the target application is downloaded.
*/
execUserPreload() {
  Init();
}

/*********************************************************************
*
*       execUserReset()
*
* Function description
*   Called each time the reset command is issued. 
*/
execUserReset() {
  Init();
}

/******	EOF *********************************************************/

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -