comparison 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
comparison
equal deleted inserted replaced
422:70e44a442689 423:ccaaac45b61a
347 comm_write_range_loop: 347 comm_write_range_loop:
348 rcall comm_write_get_byte 348 rcall comm_write_get_byte
349 btfsc rs232_recieve_overflow ; Got byte? 349 btfsc rs232_recieve_overflow ; Got byte?
350 bra comm_download_mode0 ; No, Done (and send OK byte too). 350 bra comm_download_mode0 ; No, Done (and send OK byte too).
351 movf RCREG1,W 351 movf RCREG1,W
352 call ext_flash_byte_write ; write one byte 352 ; bsf NCTS ; Hold Bluetooth Chip (Requires PC/Android/iOS side to use flow control...)
353 call ext_flash_byte_write_comms ; write one byte
354 ; bcf NCTS ; Release Bluetooth Chip (Requires PC/Android/iOS side to use flow control...)
353 call incf_ext_flash_address_p1 ; increase address+1 355 call incf_ext_flash_address_p1 ; increase address+1
354 bra comm_write_range_loop 356 bra comm_write_range_loop
355 357
356 ;----------------------------------------------------------------------------- 358 ;-----------------------------------------------------------------------------
357 359