# HG changeset patch # User heinrichsweikamp # Date 1425380964 -3600 # Node ID df8beb913ade12788e60720c90621ae817eb39cf # Parent 613e42d4cdff8435655fd6b13d1e977f45043d60 expand hardware_flag to 4 bytes diff -r 613e42d4cdff -r df8beb913ade doc/ostc3_interface.odt Binary file doc/ostc3_interface.odt has changed diff -r 613e42d4cdff -r df8beb913ade src/comm.asm --- a/src/comm.asm Mon Mar 02 17:05:09 2015 +0100 +++ b/src/comm.asm Tue Mar 03 12:09:24 2015 +0100 @@ -258,7 +258,6 @@ movlw 0xFF ; send ABORTED byte. movwf TXREG1 - call rs232_wait_tx ; Wait for UART bra comm_download_mode0 ; Done. ;----------------------------------------------------------------------------- @@ -738,6 +737,14 @@ call rs232_wait_tx ; wait for UART movff hardware_flag,TXREG1 call rs232_wait_tx ; wait for UART + movlw 0x00 ; unused 1 + movwf TXREG1 + call rs232_wait_tx ; wait for UART + movlw 0x00 ; unused 2 + movwf TXREG1 + call rs232_wait_tx ; wait for UART + movlw 0x00 ; unused 3 + movwf TXREG1 bra comm_download_mode0 ; Done. ;----------------------------------------------------------------------------- @@ -950,7 +957,6 @@ return comm_read_done: - rcall comm_read_setting_wait ; Wait for UART bra comm_download_mode0 ; Done. Loop with timeout reset comm_read_gas1: