1

I want to be able to use my HC-05, currently on Serial3 to download code to on my 2560 from a connected android tablet. I'm currently running MegaCore, which has optiboot on it.

I've looked for examples of this and can't find one. Surely someone is doing this and the optiboot documentation says you can do it.

I am currently planning on downloading the hex file, but let me know if there's a better approach.

Thanks.

asked Jul 12, 2021 at 16:25
12
  • download from where over HC-05? what format? hex or bin? or you want to make a Serial upload with avrdude over HC-05 on Serial3? then you need the bootloader to listen at that Serial Commented Jul 12, 2021 at 17:14
  • @Juraj What format should I use? I was planning on bin, but what format to write to the flash? Download from a tablet in the field that has the internet connection. That's kind of what I'm asking. How do I get the bootloader to listen to Serial3? Commented Jul 12, 2021 at 17:20
  • you want to use InternalStorage of my ArduinoOTA library to store and apply the updated sketch binary? Commented Jul 12, 2021 at 17:23
  • @Juraj That would be great! Will that let me read from the Serial port? Commented Jul 12, 2021 at 17:27
  • 1
    yes, the examples in the Advanced section Commented Jul 12, 2021 at 17:33

0

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.