projects
/
my-code
/
atmel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
49b6757
)
more debug output + transmit of all bytes (?)
author
hackbard
<hackbard@hackdaworld.org>
Thu, 17 Feb 2011 00:19:10 +0000
(
01:19
+0100)
committer
hackbard
<hackbard@hackdaworld.org>
Thu, 17 Feb 2011 00:19:10 +0000
(
01:19
+0100)
monolyzer/main.asm
patch
|
blob
|
history
diff --git
a/monolyzer/main.asm
b/monolyzer/main.asm
index
d1cdf77
..
b41f3b3
100644
(file)
--- a/
monolyzer/main.asm
+++ b/
monolyzer/main.asm
@@
-163,17
+163,19
@@
TRANSFER:
TRANSFER_LOOP:
TRANSFER_LOOP:
+ ; check amount of sent data
+ cp tmp1,count
+ breq IDLE
+
; transmit storage
ld uart_rxtx,Z+
rcall UART_TX
; transmit storage
ld uart_rxtx,Z+
rcall UART_TX
+ ld uart_rxtx,Z+
+ rcall UART_TX
; count sent data
add tmp1,one
; count sent data
add tmp1,one
- ; check amount of sent data
- cp tmp1,count
- breq IDLE
-
rjmp TRANSFER_LOOP
; include subroutines
rjmp TRANSFER_LOOP
; include subroutines
@@
-223,6
+225,10
@@
INT0_RUN:
cpi count,55
brne EXIT_IR
cpi count,55
brne EXIT_IR
+ ; indicate end of 'c'apacity
+ ldi uart_rxtx,0x63
+ rcall UART_TX
+
; exit sampling
ldi state,2
; exit sampling
ldi state,2
@@
-235,6
+241,10
@@
EXIT_IR:
T1_OVF_IR:
T1_OVF_IR:
+ ; indicate 'o'verflow end
+ ldi uart_rxtx,0x6f
+ rcall UART_TX
+
; exit sampling
ldi state,2
; exit sampling
ldi state,2