Continuing the discussion from ProjectABE (ArduBoy Emulator) released! :
did you put an capacitor between +5v and RESET pin on the Mega?
Some say it’s required to disable the auto reset on serial connection.
Based on Nick Gammon’s page http://www.gammon.com.au/bootloader
Mega <——>Target
D10<——>Reset
D51<——>MOSI
D50<——>MISO
D52<——>SCK
Gnd<——>Gnd
+5V<——>VCC
1 Like
filmote
(Simon)
February 15, 2018, 10:20pm
#2
I didn’t use the capacitor as I thought I didn’t need it (and I didn’t have one!). Might find my Arduino and use it instead.
You don’t need one for Arduboy, Leonardo, Micro or Pro Micro. I’m assuming that one of those the target is.
I’m also assuming that the idea is to use the ArduinoISP example sketch to burn the bootloader. I’m not sure the given table is the standard wiring of the example sketch but I think It may be easier to stick to the standard wiring (or old style wiring)
filmote
(Simon)
February 15, 2018, 11:00pm
#4
The target is an Arduboy.
What is the ‘old style’ wiring? Ian using the standard Arduino code but on a Mega.
Apparently you can use D53 as Reset …
Source
http://microfluidics.utoronto.ca/trac/dropbot/wiki/BurningTheBootloader
Mega <——>Target
D53<——>Reset
D51<——>MOSI
D50<——>MISO
D52<——>SCK
Gnd<——>Gnd
+5V<——>VCC
filmote
(Simon)
February 16, 2018, 7:59am
#6
OK … I might give that a go. I have also found my old Uno. Its been neglected since I got the Arduboy.
filmote
(Simon)
February 16, 2018, 8:24am
#7
Success when using my Arduino Uno.
Thanks guys.
2 Likes
Now you can checkout @Mr.Blinky ’s bootloader
1 Like
filmote
(Simon)
February 16, 2018, 12:12pm
#9
Might need to hit you up for some of those pogo pins … I nearly ran out of hands fixing this!
2 Likes
using pins 11, 12 and 13 for MOSI, MISO and SCK
Congrats! now try out my custom bootloader You don’t wanna go back once you tried it
2 Likes
Pharap
(Pharap)
February 17, 2018, 4:13am
#11
Does that mean we can splat a ‘[Solved]’ on this?
Ask the nearest cat if you can borrow its paws.
1 Like
filmote
(Simon)
February 17, 2018, 4:19am
#12
Not really as I did it with an Arduino - not the Mega.
1 Like
Pharap
(Pharap)
February 17, 2018, 4:22am
#13
Hrm, fair point.
I have an Uno lying around as well, it would be good to know how to turn an Uno into an Arduboy bootloader overwrite thingy. Maybe that ought to be your next magazine article?
filmote
(Simon)
February 17, 2018, 4:24am
#14
1 Like
Pharap
(Pharap)
February 17, 2018, 4:33am
#15
So you just use the Uno loaded with ‘Arduino as ISP’ instead of a USBasp and then somehow figure out the wiring?
Nevermind, I found this:
https://www.arduino.cc/en/Tutorial/ArduinoISP
It explains the wiring for an Uno.
(Incidentally it also discusses the ‘old style wiring’ mentioned by @Mr.Blinky .)
filmote
(Simon)
February 17, 2018, 4:37am
#16
Right … my mistake, part of the conversation happened in the ProjectABE thread and it listed a similar / same link.
1 Like
filmote
(Simon)
February 17, 2018, 5:29am
#17
Yes it does - its what I used.
These puppies have your name on them… I just need to figure some clips.
2 Likes