Electrical Engineering Stack Exchange is a question and answer site for electronics and electrical engineering professionals, students, and enthusiasts. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.