Go Down

Topic: New Mini-uino (Read 2247 times) previous topic - next topic

sbright33

I've been working with Robert trying to get this running, he's been very helpful, but I'm still stuck.
http://www.crossroadsfencing.com/Mini-uino-DTR-ICSP-GND.jpg
Optiloader was loaded successfully.

I connected
GND,+5,RST,TX,RX to
GND,+5,RST,TX,RX on my Uno.
Removed the 328 chip.
Still it will not load sketches.

L light does not come on (UNO).
The TX LED does not come on.
The RX LED flashes a few times 1 second apart.

Please can you tell me what steps to follow to troubleshoot?
If you ask me questions it would be very helpful.
I'm not sure what more information I need to include.
I get the same error as if nothing were connected (chip removed).
If you fall... I'll be there for you!
-Floor

Skype Brighteyes3333
(262) 696-9619

johnwasser

What does the boards.txt entry for the Mini-duino look like?  Does it have the right baud rate for the Mini-duino optiboot bootloader?
Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

sbright33

Great question!  There is no entry for this board.  I was told to use the same choice as the existing chip in the Uno, which is now removed.  What is the baud rate for Tools/Board/Arduino Uno?  What is the right baud for Mini-uino Optiboot?  I used this Sketch to load it following the instructions.  I did not modify the sketch.
https://github.com/WestfW/OptiLoader
If you fall... I'll be there for you!
-Floor

Skype Brighteyes3333
(262) 696-9619

johnwasser

Looks like it should have worked, assuming the selected UNO and the Mini-duino use the same processor. Sorry I can't be of more help.
Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

JoeO

1) How do you know that the optiloader was loaded correctly?

2) How about posting some pictures of your setup.

3) What did you use for an oscillator/crystal?

niekwoo10

Try reversing RX and TX on your Uno

CrossRoads

Here's the mini-uino design.
Same '328 processor as the Uno. Different package, same device signature.
Same pinout used as an Arduino.
Connecting +5, Gnd, Reset, D0, D1 to Uno should let it look like a '328 is plugged into the board.
I can't see where the issue is here, we've traded several e-mails on this already.
I figured he'd be golden after loading the optiloader worked.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

sbright33

1) There were no error messages when I ran the Sketch.  Every line looked good and it said success or something.  I wish I had saved the text.

2) Will post pictures.  There are 5 wires and 9 components soldered to the PCB.  I have not yet done anything different on the PC.  Just tried to upload a sketch like I always do.  Removed the DIP chip on Uno.

3) I used the Xtal that Robert provided A160LOX.  He's been great at helping me BTW!

I tried reversing the TX/RX pins anyway.  Although we thought carefully about which is correct.
"D1" to "TX"
"D0" to "RX"

What about using DTR instead on Mini like was mentioned on the other thread above mine?
If you fall... I'll be there for you!
-Floor

Skype Brighteyes3333
(262) 696-9619

sbright33

#8
Nov 24, 2011, 03:30 pm Last Edit: Nov 24, 2011, 03:35 pm by sbright33 Reason: 1
Why is there a "1" next to "D0" on PCB printed in white?
Looks almost like "D01" except 1 is upside down.
There is also a "1" next to D5.

Also tried:
D10 to Mini-uino Reset,
D11 to D11,
D12 to D12,
D13 to D13,
+5 to +5,
Gnd to Gnd
using Sparkfun USB Xbee dongle.
Same error.
If you fall... I'll be there for you!
-Floor

Skype Brighteyes3333
(262) 696-9619

sbright33

Just tried again like this:
If you fall... I'll be there for you!
-Floor

Skype Brighteyes3333
(262) 696-9619

CrossRoads

The extra digits are part of the symbol around the connector, I'm terrible at manipulating symbols so I just left them there.

I wonder if there is some fuse setting thing that needs to be done as part of the optiload boot loader?
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

sbright33

Didn't you do this process with the same PCB?
How is my setup different?
I've tried 2 different methods, different pins, different hardware.
So it can't be just 1 bad solder joint.
The only thing they have in common is our PCB.
Maybe I have a soldering defect.
How do I troubleshoot?
Keep in mind the Optiloader process was a success.
Maybe I have made a stupid mistake, I'm new to Arduino.
Something so obvious to everyone they forgot to tell me?
That's why I need your questions!  No question is stupid or insulting.
Did you remember to plug in the USB cable?  ;)

When I press reset with my old DIP 328 the lights do a sequence.
Shouldn't I expect a similar response even without a Sketch in the new chip?
This does not require a good solder connection to RX.
Does it prove the problem is with TX or Reset? 
(I tested power and GND)
Certainly we can eliminate anything related to the PC as suspect.

Let's assume I made a soldering mistake.
Which connections would fit the symptoms?
Works with Optiloader but not IDE loading sketches.
Seems there are only 3 possibilities?

The correct caps are marked 4x 104
2x 22
Res Brown Black Orange.
Getting desperate...

Thanks everyone for your time and effort so far,
especially Crossroads!
Steve
If you fall... I'll be there for you!
-Floor

Skype Brighteyes3333
(262) 696-9619

johnwasser


Let's assume I made a soldering mistake.
Which connections would fit the symptoms?
Works with Optiloader but not IDE loading sketches.


Serial Programming uses the SPI pins and regular uploading uses the serial port.  Perhaps something is causing the serial port to not work properly. If the crystal or associated capacitors are bad that might cause the clock rate to be off.  Just a guess.
Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

CrossRoads

John, I think you mean bootloader programming uses SPI and sketch (regular) uploading uses the serial port.

This should be no different than uploading to a promini.

With +5, Gnd, and D0 to D0, D1 to D1 and Reset to Reset, and having its own xtal/caps/reset pullup resistor,
the board should look & act just like a chip that was plugged in as far as the USB/Serial interface is concerned.

Jerry,
if you use a meter and buzz from D0 to D1, D0 to Gnd, and D1 to Gnd, you're not seeing any shorts are you?
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

sbright33

No shorts.
I can see 3 problems according to this tutorial:
http://arduino.cc/en/Tutorial/ArduinoToBreadboard

It says NOT the Uno, at the top, in bold.
It says to select a different controller in the Board menu.
I have 4 extra caps in my circuit.
Which one of these is a problem?
If you fall... I'll be there for you!
-Floor

Skype Brighteyes3333
(262) 696-9619

Go Up