USA
Offline
Newbie
Karma: 0
Posts: 32
|
 |
« on: October 26, 2012, 10:34:02 am » |
so I am having some issues... I think... reading online I got the pin outs... Not sure if it is right I do not get any error when it's done uploading but it doesn't seem to output what I want. the wiring is below [2560]---[mini pro] [5v]-----[VCC] [GND]---[GND] [30]-----[reset] [50]-----[12] MISO [51]-----[11] MOSI [52]-----[13] SCK as far as the IDE Version 1.0 have the Tools -> Board -> "Arduino Mega 2560 or Mega ADK" checked have the Tools -> Programmer -> "Arduino as ISP" checked Tried the code on the mega 2560 and worked fine Also want to double check the PWM pins for the mini pro are 5,6,9,10, and 11 The code is based off http://www.arduino.cc/en/Tutorial/Fading
|
|
|
|
|
Logged
|
|
|
|
|
USA, FL
Offline
God Member
Karma: 11
Posts: 584
A life? Where can I download one of those?
|
 |
« Reply #1 on: October 26, 2012, 11:34:08 am » |
Are you programming the MEGA or Mini?
At first glance, Tools>Board>Arduino Pro or Pro Mini.........
|
|
|
|
|
Logged
|
//LiNK
|
|
|
|
USA
Offline
Newbie
Karma: 0
Posts: 32
|
 |
« Reply #2 on: October 26, 2012, 11:58:54 am » |
I am programming the Pro Mini, I've tried changing to Tools>Board>Arduino Pro or Pro Mini now I get the error "avrdude stk500_getsync() not in sync resp=0x00"
|
|
|
|
|
Logged
|
|
|
|
|
USA, FL
Offline
God Member
Karma: 11
Posts: 584
A life? Where can I download one of those?
|
 |
« Reply #3 on: October 26, 2012, 02:15:15 pm » |
Are you sure you have the right Pro Mini in the IDE?
If that doesn't work, Google your error message. Lot's of different things can cause that error, and there are lot's of solutions...
|
|
|
|
|
Logged
|
//LiNK
|
|
|
|
USA
Offline
Newbie
Karma: 0
Posts: 32
|
 |
« Reply #4 on: October 26, 2012, 02:41:14 pm » |
I think it might be a firewall issue. I will keep you guys posted
|
|
|
|
|
Logged
|
|
|
|
|
USA
Offline
Newbie
Karma: 0
Posts: 32
|
 |
« Reply #5 on: October 29, 2012, 09:56:42 am » |
Do I need a sketch uploaded on the Mega 2560 to use it as a ISP?
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Dallas
Offline
Shannon Member
Karma: 118
Posts: 10153
|
 |
« Reply #6 on: October 29, 2012, 01:34:29 pm » |
Yes. ArduinoISP.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 4
|
 |
« Reply #7 on: October 29, 2012, 09:22:28 pm » |
Try a 1uf capacitor between reset and ground on the Mega. This was the only way I could get the Mega to not auto-reset on a serial connection and successfully program another board.
EDIT: Make sure you program the Mega with the ArduinoISP sketch before adding the capacitor.
|
|
|
|
|
Logged
|
|
|
|
|
USA
Offline
Newbie
Karma: 0
Posts: 32
|
 |
« Reply #8 on: October 31, 2012, 12:01:48 am » |
So I downloaded the sketch from http://code.google.com/p/mega-isp/Changed the heartbeat delay from 40 to 20, still got the same response, tried to add the cap on the mega 2560 between Ground and reset... tried 0.1 uf and 10uf per another forums suggestion. I am still having the same issue. I've tried changing the baud rate in the ArduinoISP sketch to 19200 per instructable blog I get a message about expected signature. I have tried this on two different Mega's 2560 and 3 different Pro Mini's I have change/verified the wiring to match that of the ArduinoISP sketch. I really do appreciate the help. I am tempted to give this a break for a while.
|
|
|
|
|
Logged
|
|
|
|
|
|
|
Global Moderator
Dallas
Offline
Shannon Member
Karma: 118
Posts: 10153
|
 |
« Reply #10 on: November 07, 2012, 03:51:10 am » |
If you post more details (like the actual error message instead of "message about expected signature") we can probably help you get the ATmega2560 working as a programmer.
|
|
|
|
|
Logged
|
|
|
|
|
USA
Offline
Newbie
Karma: 0
Posts: 32
|
 |
« Reply #11 on: December 16, 2012, 03:33:50 am » |
Got it to work finally. on the mega I have a cap 4.7 uf between reset and ground... it seems every time I want to flash the pro mini I have to burn the boot loader.
as far as the code on the 2560 I left the delay at 20 and the baud at 19200 as mention in a earlier response.
Thanks for all the help...
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Dallas
Offline
Shannon Member
Karma: 118
Posts: 10153
|
 |
« Reply #12 on: December 16, 2012, 03:37:33 am » |
it seems every time I want to flash the pro mini I have to burn the boot loader That usually indicates that the fuses (lock-bits) are not correct.
|
|
|
|
|
Logged
|
|
|
|
|
USA
Offline
Newbie
Karma: 0
Posts: 32
|
 |
« Reply #13 on: December 17, 2012, 01:34:55 am » |
Is that something I can change on a software level or is this a hardware issue?
I am still a new to embed programming
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Dallas
Offline
Shannon Member
Karma: 118
Posts: 10153
|
 |
« Reply #14 on: December 17, 2012, 01:43:01 am » |
The easiest way to ensure everything is set correctly is to use the Arduino IDE to burn the bootloader.
|
|
|
|
|
Logged
|
|
|
|
|
|