diff src/comm.asm @ 423:ccaaac45b61a

_another_ timing fix for firmware updates (2.07 was not published yet anyway)
author heinrichsweikamp
date Mon, 02 May 2016 12:41:20 +0200
parents 789230298511
children 0760850e0fe9
line wrap: on
line diff
--- a/src/comm.asm	Fri Apr 29 16:51:44 2016 +0200
+++ b/src/comm.asm	Mon May 02 12:41:20 2016 +0200
@@ -349,7 +349,9 @@
 	btfsc	rs232_recieve_overflow      ; Got byte?
 	bra	comm_download_mode0         ; No, Done (and send OK byte too).
 	movf	RCREG1,W
-	call	ext_flash_byte_write        ; write one byte
+;	bsf	NCTS	    ; Hold Bluetooth Chip (Requires PC/Android/iOS side to use flow control...)
+	call	ext_flash_byte_write_comms        ; write one byte
+;	bcf	NCTS	    ; Release Bluetooth Chip (Requires PC/Android/iOS side to use flow control...)
 	call	incf_ext_flash_address_p1   ; increase address+1
 	bra	comm_write_range_loop