Rev Author Line No. Line
2815 kakl 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 #ORG 4,5
6 void JumpToTheInterrupt() // Jump to the Interrupt Handler
7 { #asm GOTO FLASH_BLOCK_SIZE #endasm }
8 #ORG 6,FLASH_BLOCK_SIZE-1 {} // First Flash block is reserved
9  
10 #ORG LOADER_RESERVED,getenv("PROGRAM_MEMORY")-1 auto=0
11 #SEPARATE
12 void dummy_main() // Main on the fix position
13 {
14 reset_cpu();
15 }