added IAR flash loader for NGX4330 or lpc18/43xx

This commit is contained in:
hathach
2014-04-08 12:23:01 +07:00
parent 31a10c9780
commit 6404b06341
6 changed files with 71 additions and 3 deletions

View File

@@ -0,0 +1,18 @@
__Setup(){
__writeMemory32((int)&__vector_table, 0x40043100, "Memory"); // map BootArea to shadow area at address 0
__writeMemory32((int)&__vector_table, 0xE000ED08, "Memory"); // map BootArea to shadow area at address 0
__message "Memory at: ", &__vector_table, " mapped to 0x00000000\n";
}
execUserReset()
{
__message "execUserReset\n";
__Setup();
__message "execUserReset Finish\n";
}
execUserFlashInit(){
__message "execUserFlashInit\n";
__Setup();
__message "execUserFlashInit Finish\n";
}