Go Down

Topic: modify bootloader (Read 1 time) previous topic - next topic

Danek

Jun 26, 2016, 05:10 am Last Edit: Jun 26, 2016, 05:16 am by Danek
Hi. Can you help me? I need to modify optiboot bootloader this way:
- if digitalRead(A0) is LOW (jumper on), then after turn on atmega328p directly jump (through bootloader) to my program (bootloader not wait for UART, not flash LED, botloader "not works").
- if digitalRead(A0) is HIGH (jumper off, input_pullup), then after turn on atmega328p bootloader works.
Can you create HEX file to me? I use atmega328p, 16MHz external crystal and Arduino IDE (classical arduino uno configuration). Thanks.

spycatcher2k

Hi - Why not attempt it yourself? if you get stuck, ask for help. Or if you want someone to do it for you, then expect to pay.
Mrs Drew
-=-
http://www.uk-pcb.co.uk - UK PCB Fab Company
I will design & code for you, but I will also charge you (PM me)
If you don't like my answers, realize : I'm not being cheeky, I'm Just trying to prompt you to use your own brain/google etc.

6v6gt

Or why do you need a boot loader at all ? Just use an ISP to to load your sketch.
Here is an excellent description of the whole process:
http://www.instructables.com/id/Overview-the-Arduino-sketch-uploading-process-and-/

Go Up