Pages: 1 [2]   Go Down
Author Topic: [Solved] Program Pro Mini w/ usb serial dongle?  (Read 1878 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Sr. Member
****
Karma: 1
Posts: 360
I'm 15. I like making things. I like breaking things better.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Shippo, that is what I mean, and it works very well. The arduino already has an ftdi, so why buy another?
Logged

Alice asked the Chesire Cat, who was sitting in a tree, "What road do I take?"
The cat asked, "Where do you want to go?"
"I don't know," Ali

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 441
Posts: 23834
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

The Promini does not have an FTDI. Just the TTL lines that the FTDI connects to.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Offline Offline
Newbie
*
Karma: 0
Posts: 47
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

@CrossRoads
I think he means the duemalinove has ftdi so use that to connect the promini
Logged

0
Offline Offline
Sr. Member
****
Karma: 1
Posts: 360
I'm 15. I like making things. I like breaking things better.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Sorry for being unclear, that is what I mean. Buying another ftdi makes no sense when you already have one in the duemalinove .
Logged

Alice asked the Chesire Cat, who was sitting in a tree, "What road do I take?"
The cat asked, "Where do you want to go?"
"I don't know," Ali

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 441
Posts: 23834
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Ah, yes, too much involvement in too many threads I guess.
I modified my Duemilanove with 4 pins at the X3 connector & bootloaded parts with this method:
http://www.geocities.jp/arduino_diecimila/bootloader/index_en.html
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 331
Posts: 16540
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Sorry for being unclear, that is what I mean. Buying another ftdi makes no sense when you already have one in the duemalinove .

OK, to use the FTDI on your duem... to upload to the pro mini:

Remove 328 chip from socket on the duem.
Wire duem tx pin to promini tx pin.
wire duem rx pin to promini rx pin.
wire duem reset pin to promini DTR pin
wire duem ground pin to promini ground pin
wire duem +5vdc pin to promini Vcc pin  // ignore this if powering promini in some other way

Select promini type board in IDE, select normal comm port number used by the duem, load sketch, press upload.

Lefty

Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 47
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

YAY IT WORKS LOL..

i know this is nitpicking but is there a way to keep from removing the duem's chip? jc
« Last Edit: August 20, 2011, 07:17:31 pm by shippo0708 » Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 331
Posts: 16540
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

YAY IT WORKS LOL..

i know this is nitpicking but is there a way to keep from removing the duem's chip? jc


Yes there is, if you are willing to give up the auto-reset when uploading feature the IDE uses when uploading sketches to the mini board, which would then require you to press and hold the reset button on the mini, and only release it when the arduion first reports the size of the compiled sketch. Just wire a jumper from ground to the duem's reset pin, and don't run a wire from the duem reset pin to the mini. This will disable the 328 and result in all pins defaulting to input mode.



Lefty
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 47
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Alright thanks, that helps a lot smiley-razz
the setup looks weird but i wont really be using the pro mini unless i have a project to do...

Is the duem capable of reading code off other atmel chips?? i found 2 atmega8's laying around and i wanted to see what was written on them before i try and burn a bootloader on them
Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 331
Posts: 16540
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Is the duem capable of reading code off other atmel chips?? i found 2 atmega8's laying around and i wanted to see what was written on them before i try and burn a bootloader on them


In theory, if the duem is running the Arduino as ISP sketch, but what you get back is not a sketch, not even a C program, just maching language instructions, not readable by any but the most experianced assembly language gurus.

Lefty
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 47
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

are there any guides here for that sort of thing?
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 441
Posts: 23834
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

"not readable by any but the most experianced assembly language gurus"

"are there any guides here for that sort of thing?"

I 'm sure someone has written a decompiler that can take bytes and reverse to assembly.
Without knowing what the circuit was that is was connected, I don't think it will do you much good.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Offline Offline
Newbie
*
Karma: 0
Posts: 47
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Probably not to make any sense out of the code and what it actually does, i just wanted to see if i ever managed to get code on there back in my clueless wii-hacking days (the chips were part of the chiip mod-chip for wii) smiley-razz

i would have to wait until the end of my class this season before i could even remotely understand the assembly
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 441
Posts: 23834
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Sure, power it up then and put a 10K resistor to LED to ground, and to power, see if the outputs wiggle at all.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Offline Offline
Newbie
*
Karma: 0
Posts: 47
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

-_- can't now lol i fried one of them i think (comes up as invalid device signature)

But i managed to burn the loader to the other one



Logged

Pages: 1 [2]   Go Up
Jump to: