I am working with the Peter Fleury boot loader STK500v2. My idea to implement is boot loading via a bluetooth module at UART1. Now I have modified the existing code to make boot loading possible via a bluetooth. But I am stopped by a biggest limitation of very quick timeouts. I am unable to send commands that fast using a mobile. So timeout happens and again switches to the application section.
So now I want it to wait infinitely until I complete sending my required flash commands. It needs to wait when a software update request is given. I am doing this by writing to EEPROM a value and resetting the MCU and boot loader checks for value in the EEPROM. If yes, it has wait infinitely. I have tried varying the timeout values and other but no result. It will be helpful if someone can show some light on it.
The Code is available in this link : http://www.avrfreaks.net/sites/default/files/forum_attachments/revision_3_stk500v2.txt
Thanks in advance Srinivasa Varadhan.