📄 jtag_lpc2xxx_rom.mac
字号:
/*********************************************************************
*
* IAR PowerPac - RTOS
*
* (c) Copyright IAR Systems 2006. All rights reserved.
*
**********************************************************************
----------------------------------------------------------------------
File : JTAG_LPC2xxx_ROM.mac
Purpose : Setup CPU for IAR CSpy using JTAG debugging tool
to run in ROM
-------- 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_ROM.mac: Remap USER Flash to addr 0x00";
__writeMemory32(0x01,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 + -