flashing older nodes across t03 now works!
older nodes need the new bootloader which doesn't depend on pagesize because those older nodes used quite large message sizes which are not supported across t03 nodes (we would need to much RAM on t03 for this).
This commit is contained in:
@@ -23,6 +23,8 @@
|
||||
; @clobbers R17 (R22, R24)
|
||||
|
||||
ioWaitForAttnState100ms:
|
||||
cbi COM_ATTN_DDR, COM_ATTN_PIN ; set ATTN port as input
|
||||
cbi COM_ATTN_OUTPUT, COM_ATTN_PIN ; disable internal pullup for ATTN
|
||||
ioWaitForAttnState100ms_loop:
|
||||
push r17
|
||||
ldi r17, 100
|
||||
@@ -32,7 +34,6 @@ ioWaitForAttnState100ms_loop:
|
||||
dec r17
|
||||
brne ioWaitForAttnState100ms_loop
|
||||
clc
|
||||
ret
|
||||
ioWaitForAttnState100ms_stateReached:
|
||||
ret
|
||||
; @end
|
||||
@@ -53,7 +54,6 @@ ioWaitForAttnStateMilliSeconds_loop:
|
||||
dec r17
|
||||
brne ioWaitForAttnStateMilliSeconds_loop
|
||||
clc
|
||||
ret
|
||||
ioWaitForAttnStateMilliSeconds_stateReached:
|
||||
ret
|
||||
; @end
|
||||
@@ -70,8 +70,6 @@ ioWaitForAttnStateMilliSeconds_stateReached:
|
||||
; @clobbers R24 (R22)
|
||||
|
||||
ioWaitForAttnState1ms:
|
||||
cbi COM_ATTN_DDR, COM_ATTN_PIN ; set ATTN port as input
|
||||
cbi COM_ATTN_OUTPUT, COM_ATTN_PIN ; disable internal pullup for ATTN
|
||||
ldi r24, 100
|
||||
ioWaitForAttnState1ms_loop:
|
||||
push r17
|
||||
|
||||
Reference in New Issue
Block a user