Offline
Full Member
Karma: 0
Posts: 128
|
 |
« on: February 02, 2012, 04:16:21 am » |
Hi all I need a NON arduino programmer that will use the code written on the arduino ide and tested on arduino uno board .
That programmer will use the arduino ide code to program another ATmega328 .
Any suggestions ? elico
|
|
|
|
|
Logged
|
|
|
|
|
Leighton Buzzard, UK
Offline
Edison Member
Karma: 11
Posts: 1049
|
 |
« Reply #1 on: February 02, 2012, 04:51:21 am » |
er you could rephrase the question so we understand it!
|
|
|
|
|
Logged
|
there are only 10 types of people them that understands binary and them that doesn't
|
|
|
|
Offline
Full Member
Karma: 0
Posts: 128
|
 |
« Reply #2 on: February 02, 2012, 05:10:18 am » |
I will rewrite my question :
After i finish writing the C code on the IDE and downloading an testing in on the arduino uno , i want to duplicate the ATmega328 into a new out of board chip .
So I am looking for such a non arduino programmer that will use the code just tested to program it in a new ATmega328.
Am I clear now ?
elico
|
|
|
|
|
Logged
|
|
|
|
|
Leighton Buzzard, UK
Offline
Edison Member
Karma: 11
Posts: 1049
|
 |
« Reply #3 on: February 02, 2012, 05:34:59 am » |
aha you want to build and test a sketch in a regular Arduino environment then use the code in another ATmega 328 in a board not using the IDE etc?
you should search on ISP
allows you to download a sketch to another board
|
|
|
|
|
Logged
|
there are only 10 types of people them that understands binary and them that doesn't
|
|
|
|
Offline
Full Member
Karma: 0
Posts: 128
|
 |
« Reply #4 on: February 02, 2012, 06:04:35 am » |
Not exactly My intention is to develop my project on arduino IDE and test it on arduino uno.
After all is done I want to duplicate the content of the arduino uno ATmega328 into a new ATmega328 chip that new ATmega328 will NOT BE a part of an arduino bord at programming time .
That new programmed chip will be mounted on a new self made NONE arduino board that will contain all external components used in design time like sensors and switches.
So i need that prorammer that will use the hex file from arduino ide and program the new ATmega328 .
Now I hope I am clear .
Elico
|
|
|
|
|
Logged
|
|
|
|
|
Gosport, UK
Offline
Faraday Member
Karma: 19
Posts: 3118
|
 |
« Reply #5 on: February 02, 2012, 06:15:19 am » |
Do you have a socketed ATmega328 on your Arduino? The easiest way is to program the chip in your Arduino, then just pull it out and use it in your project, then put a new ATmega328 back in your Arduino.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Full Member
Karma: 0
Posts: 128
|
 |
« Reply #6 on: February 02, 2012, 07:14:48 am » |
Does that new ATmega328 have to come with a bootloader before I insert it in the arduino uno ? elico
|
|
|
|
|
Logged
|
|
|
|
|
Seattle, WA USA
Offline
Brattain Member
Karma: 311
Posts: 35470
Seattle, WA USA
|
 |
« Reply #7 on: February 02, 2012, 07:20:59 am » |
Does that new ATmega328 have to come with a bootloader before I insert it in the arduino uno ? It doesn't have to come with one. If it doesn't, though, you need to put one on the chip before the Arduino IDE can be used to upload a sketch to it.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Full Member
Karma: 0
Posts: 128
|
 |
« Reply #8 on: February 02, 2012, 08:19:55 am » |
How exactly that bootlog is put on a new ATmega328 ? elico
|
|
|
|
|
Logged
|
|
|
|
|
Leighton Buzzard, UK
Offline
Edison Member
Karma: 11
Posts: 1049
|
 |
« Reply #9 on: February 02, 2012, 08:52:34 am » |
you can install or update the bootloader using a second UNO
look in the microntrollers forum pages of threads on how to do it it's quite easy
|
|
|
|
|
Logged
|
there are only 10 types of people them that understands binary and them that doesn't
|
|
|
|
South Texas
Offline
God Member
Karma: 8
Posts: 976
|
 |
« Reply #10 on: February 02, 2012, 11:21:09 am » |
To find out how to program the various Atmel AVR chips a good place to start would be searching under Arduino as ISP.
The process is really quite simple, you just want to use Arduino0.22 or 0.23 ti load the ArduinoISP sketch in the board you are using as the programmer. I have used it to program 328 and 2313 chips. Takes longer to read about the process than to actually do it. An 328 chip mounted on a breadboard with power and crystal/resonator hooked up along with 4 wires and the grounds tied together.
|
|
|
|
|
Logged
|
|
|
|
|
|
|
Offline
Full Member
Karma: 0
Posts: 128
|
 |
« Reply #12 on: February 02, 2012, 04:11:44 pm » |
Many thanks to you all Elico
|
|
|
|
|
Logged
|
|
|
|
|
|