36 lines
650 B
ArmAsm
36 lines
650 B
ArmAsm
|
|
.section .vectors, "a", %progbits
|
|
|
|
_VECTORS:
|
|
_vtor_RST:
|
|
.2byte _start
|
|
/* other vectors... */
|
|
.2byte 0xffff
|
|
.2byte _start /* wdt -> shrug */
|
|
.2byte 0xffff
|
|
|
|
.section .callt, "a", %progbits
|
|
|
|
_CALLT:
|
|
.2byte 0xffff
|
|
|
|
.section .option, "a", %progbits
|
|
|
|
/* option bytes */
|
|
_OPTION:
|
|
/* 0x000C0: wdt settings */
|
|
.byte 0xee /* wdt disable */
|
|
/* 0x000C1: */
|
|
.byte 0xf7 /* LVD reset, 2.84V */
|
|
/* 0x000C2: */
|
|
.byte 0xfd /* HSmode, HOCO@20MHz */
|
|
/* 0x000C3: debug settings */
|
|
.byte 0x85 /* enabled */
|
|
|
|
.section .password, "a", %progbits
|
|
|
|
/* debugger password: ten 0xff bytes */
|
|
_PASSWORD:
|
|
.byte 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
|
|
|