Rev Author Line No. Line
3622 kaklik 1 /*------------------- DUMMY BOOT LOADER --------------------------------------------*/
2 #include "..\common\bloader_defs.h"
3  
4 #BUILD(INTERRUPT=FLASH_BLOCK_SIZE) // Redirect Interrupt routine above first flash block
5  
6 /*
7 #ORG 4,FLASH_BLOCK_SIZE-1
8 void JumpToTheInterrupt() // Jump to the Interrupt Handler
9 { #asm
10 NOP
11 NOP
12 NOP
13 NOP
14 GOTO FLASH_BLOCK_SIZE
15 #endasm }
16 //#ORG 6,FLASH_BLOCK_SIZE-1 {} // First Flash block is reserved
17 */
18  
19 #ROM 0x0004={0,0,0,0,0,0,0,0,0,0,0,0} // 12x NOP from interrupt vector to interrupt routine
20  
21 #ORG LOADER_RESERVED,getenv("PROGRAM_MEMORY")-1 auto=0
22 #SEPARATE
23 void dummy_main() // Main on the fix position
24 {
25 reset_cpu();
26 }