Pages: [1] 2   Go Down
Author Topic: Arduino problem  (Read 1606 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 16
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I need help to solve My problems with Arduino .


I have to ARDUINO MEGA Boards

the first one communicate with the com port 4 but when i try to upload program to it , the sketch tell me that the communication port may be used bye another program . bye using task manager i ended all programs that use any port and i restarted my computer . then i tried to upload the program again but the sketch give me the following

avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_command(): failed miserably to execute command 0x10
avrdude: initialization failed, rc=-1
         Double check connections and try again, or use -F to override
         this check.

avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout


the Second Board don't identify on my computer and i it processor become very hot quickly

please tell me what can i do to solve this problems

thanks for help

 
Logged

Narvik, Norway
Offline Offline
Edison Member
*
Karma: 24
Posts: 1042
electronics engineer, teacher.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

ensure to select correct card in the IDE before uploading.

That second card.. inspect for shorts. / may be defective
Logged

Ny

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

thanks for your help
i right board was selected
and i would like to know how to inspect for short
Logged

Manchester, UK. Local time + 5
Offline Offline
Newbie
*
Karma: 0
Posts: 46
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

I've had this problem and sorted it by:

1] open 'Device Manager' by right clicking start in Win 8.x and once more clicking "Device Manager"
2] Run down the list until you see 'Ports "Com and Lpt" '
3] left click it.
4] There you will find the Arduino [generally] listed under its generic name and providing the com port number (x).
5] This is of course the serial port number that should be in the serial port section of the Arduino tools drop down menu If its not then go to the drop down box and type it in.
6] If you want to make sure that your Arduino is connected to this port then right click the line in device centre, click 'Uninstall' then
7] Traverse your mouse to the top of the device centre column and right click your computers name/title and in the drop down box click "Scan for hardware changes" whereupon your computer will scan every piece of internal, external and attached pieces of hardware and if any change is found and in your case you have removed the Arduino device centre info so it will believethat this is now new, reinstall the Arduino and all necessary drivers and quote the com (serial) port to which it is attached.
8] Then if necessary ( I didn't find it so ) carry out 1] to 5] of these instructions once more & BINGO!

With luck and good management you will be free of your problem. Good Luck. Take care some of these operations require cool, calm, careful and collected manipulation.

Cheers,
Chris S.
Logged

ChrisPSR

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

thanks Chris S for your help

i carried out the steps that you mentioned and i'm sure the sketch is selecting the same serial port number that the arduino  identified on it on my computer  but the same problem still as you see in the image i attached the sketch doesn't upload the program and the program don't upload and timeout


* ARDUINO serial port.png (701.71 KB, 1366x768 - viewed 51 times.)
« Last Edit: July 17, 2014, 05:09:53 am by king_king » Logged

Manchester, UK. Local time + 5
Offline Offline
Newbie
*
Karma: 0
Posts: 46
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

thanks Chris S for your help

i carried out the steps that you mentioned and i'm sure the sketch is selecting the same serial port number that the arduino  identified on it on my computer  but the same problem still as you see in the image i attached the sketch doesn't upload the program and the program don't upload and timeout

Try down loading the IDE., from Messrs Adafruit.  I use their download, Arduino IDE., simply because I cannot use the Arduino IDE or rather when I down load Arduino IDE., from Arduino in Win 8.1 it don't work, no way. Make sure that you clear out the Arduino IDE., that is currently installed before downloading form Adafruit. If you down load from Arduino and try to obtain a program other than for your OS., Arduino are far to clever and you get the IDE for your OS wheras the Adafruit IDE., is not Win x.y dependent.

Let me know if that doesn't work!!!!!!

Chris S.
Logged

ChrisPSR

Narvik, Norway
Offline Offline
Edison Member
*
Karma: 24
Posts: 1042
electronics engineer, teacher.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

..Got a second USB-cable?  Try it.
.............
Look closely - check sides of MCU for soldering errors (compare your cards)
Logged

Ny

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

thanks Chris S
i downloaded the IDE  1.0.5-r2 from the ARDUINO webpage but the same problem appear

Logged

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

thanks   knut_ny

i tried another USB cable and checked the MCU soldering  but the same problem appear

can you tell me how to test MCU if it work properly or not ?

thanks again for your help
« Last Edit: July 17, 2014, 09:38:04 pm by king_king » Logged

Narvik, Norway
Offline Offline
Edison Member
*
Karma: 24
Posts: 1042
electronics engineer, teacher.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You said the MCU (atmega-chip)  gets hot when USB-power is connected.  This should not happen and it indicates that the MCU is defective.
Tell your supplier replace the board.
Logged

Ny

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

Dear  knut_ny

i have tow arduino boards first one when i connect it via USB cable the micro controller  become very hot in moment ,and my computer can not recognize it and i thought the reason of this that i made a fault connection on the ARDUINO board but i want to repair it if i can so i need to know  which components i should to inspect it before changing the micro-controller

the second board when i connect it to my computer via the USB cable the computer recognize it but when i trying to upload a program to it i get error communication timeout . i thought that this board work properly but there are some thing i miss to do to overcome the error of communication timeout error .

i hope to help me overcome this issues

thanks a lot for your efforts

Best Regards


Logged

Narvik, Norway
Offline Offline
Edison Member
*
Karma: 24
Posts: 1042
electronics engineer, teacher.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The 'hot' one:  inspect board for soldering shortcircuits.  I would contact supplier and get that one replaced.
---
Do u know which bootlader is present in the working MCU?   There are a couple of them.
I'd try an earler version of the IDE  (0.23) - it has a slightly different setup in the boards.txt file.

There is another post talking about this issue..
Logged

Ny

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

i don't know what is the version of boot loader but i was use it with Arduino sketch V 1.0
Logged

Narvik, Norway
Offline Offline
Edison Member
*
Karma: 24
Posts: 1042
electronics engineer, teacher.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

out of ideas.
Last shot: compare files 'boards'.. There has been a change to som parameters in repect to bootloaders.
------------
there is other thred discussing this subject
Logged

Ny

Manchester, UK. Local time + 5
Offline Offline
Newbie
*
Karma: 0
Posts: 46
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

thanks Chris S
i downloaded the IDE  1.0.5-r2 from the ARDUINO webpage but the same problem appear


I know that doesn't work. That's why I told you to download the IDE from Adafruit. This Arduino IDE from Adafruit is not Mileneum; Windows.xx; Windows XP; Vista; 2000, Win, 7 or Win 8 dependent and it runs perfectly in Windows 7 & 8'

DO NOT DOWNLOAD THE ARDUINO IDE FOR WIN 8., FROM AEDUUINO.CC  - I T    W I L L   N O T  W O R K...........Period.

Download the Arduino operating system from ...................A D A F R U I T . C O M..................................................................Period.

One day in the future I am sure it will but at the moment Arduino IDE downloaded from Arduino.cc will not work in Win 8.

Chris S
Logged

ChrisPSR

Pages: [1] 2   Go Up
Jump to: