avr: work on device n12.

This commit is contained in:
Martin Preuss
2024-09-05 03:16:59 +02:00
parent cd6413e7a6
commit 1f2f8b574e
3 changed files with 32 additions and 26 deletions

View File

@@ -223,7 +223,7 @@
; ---------------------------------------------------------------------------
; Reset and interrupt vectors (will be removed as soon as we can flash data over COM)
; Reset and interrupt vectors
; rjmp main ; Reset vector
rjmp BOOTLOADER_ADDR ; Reset vector ; use this for flashed system
@@ -249,14 +249,10 @@
reti ; USI_OVF
; remove later
firmwareType: .dw FW_TYPE
firmwareVersion: .dw FW_VERSION
firmwareModules: .dw MODULES_MASK
devInfoBlock:
devInfoManufacturer: .db 'A', 'Q', 'U', 'A'
devInfoId: .db 'N', 0
devInfoVersion: .db 1, 0 ; version, revision
devInfoVersion: .db 12, 0 ; version, revision
firmwareStart: rjmp main
@@ -266,6 +262,8 @@ firmwareStart: rjmp main
.include "common/utils.asm"
.include "common/utils_wait_fixed.asm"
.include "common/utils_copy_from_flash.asm"
.include "common/utils_copy_sdram.asm"
.include "common/crc8.asm"
#ifdef MODULES_TIMER