1 |
/**** BootLoader Test****/ |
1 |
/**** BootLoader Test****/ |
2 |
|
2 |
|
3 |
#CASE // Case sensitive compiler |
3 |
#CASE // Case sensitive compiler |
4 |
|
4 |
|
5 |
#include "bltest.h" |
5 |
#include "bltest.h" |
6 |
|
6 |
|
7 |
void main() // Main of loaded program |
7 |
void main() // Main of loaded program |
8 |
{ |
8 |
{ |
9 |
int8 i=0; |
9 |
int8 i=0; |
10 |
|
10 |
|
11 |
while(TRUE) |
11 |
while(TRUE) |
12 |
{ |
12 |
{ |
13 |
printf("# Boot Loader Test >>> %u\r\n",i++); |
13 |
printf("# Boot Loader Test >>> %u\r\n",i++); |
14 |
delay_ms(100); |
14 |
delay_ms(100); |
15 |
// restart_wdt(); |
15 |
// restart_wdt(); |
16 |
} |
16 |
} |
17 |
} |
17 |
} |
18 |
|
18 |
|
19 |
#include "dbloader.h" |
19 |
#include "..\common\dbloader.h" |