comparison src/comm.asm @ 245:416723c8ccd8

use single-byte hardware flag (again)
author heinrichsweikamp
date Wed, 04 Mar 2015 19:01:57 +0100
parents df8beb913ade
children 3fec179a6220
comparison
equal deleted inserted replaced
244:db75dbeef5ed 245:416723c8ccd8
194 bcf onesecupdate 194 bcf onesecupdate
195 btfss onesecupdate 195 btfss onesecupdate
196 bra $-2 196 bra $-2
197 197
198 call disable_rs232 198 call disable_rs232
199 bcf LEDr
200 goto restart 199 goto restart
201 200
202 ;----------------------------------------------------------------------------- 201 ;-----------------------------------------------------------------------------
203 202
204 comm_service_ll_bootloader: 203 comm_service_ll_bootloader:
734 comm_hardware_descriptor: 733 comm_hardware_descriptor:
735 movlw "j" ; send echo 734 movlw "j" ; send echo
736 movwf TXREG1 735 movwf TXREG1
737 call rs232_wait_tx ; wait for UART 736 call rs232_wait_tx ; wait for UART
738 movff hardware_flag,TXREG1 737 movff hardware_flag,TXREG1
739 call rs232_wait_tx ; wait for UART
740 movlw 0x00 ; unused 1
741 movwf TXREG1
742 call rs232_wait_tx ; wait for UART
743 movlw 0x00 ; unused 2
744 movwf TXREG1
745 call rs232_wait_tx ; wait for UART
746 movlw 0x00 ; unused 3
747 movwf TXREG1
748 bra comm_download_mode0 ; Done. 738 bra comm_download_mode0 ; Done.
749 739
750 ;----------------------------------------------------------------------------- 740 ;-----------------------------------------------------------------------------
751 741
752 comm_send_dive: 742 comm_send_dive: