chipKIT® Development Platform

Inspired by Arduino™

serial coms upload hangs @ 95%

Created Tue, 20 Nov 2012 00:01:29 +0000 by Adam Donovan


Adam Donovan

Tue, 20 Nov 2012 00:01:29 +0000

Ive been using my uno 32 for some time but serial coms seems to be a problem. Main problem is the sketch seems to uplpoad but the progress in mpide seems to be stuck around 95%(the green bar). The the serial wont open and the whole thing hangs..I dont get it really. Anyone else have this same problem? Ive tried the a least 2 releases of mpide.


Adam Donovan

Tue, 20 Nov 2012 10:44:13 +0000

ok so i will make a correction

The sketch does not upload at all.
I had a made my own shield which uses pins 5v, gnd, analog, 0, 1, //digital 3,4,7,9 Pins 2 and 4 are buttons and pins 7 9 connect to big easy driver.

5v is for a small xbox joystick (analog 0 1)pot and the buttons The rest of my shield has pins into every pin header but they don't connect to anything(tested with a a multimeter while off the uno32)

If i disconnect the shield then I can upload my sketch and communicate. My question would be is there some reason that a shield would cause problems like I'm having.


rasmadrak

Tue, 20 Nov 2012 22:46:11 +0000

I believe the pins 0 and 1 is the problem. The computer communicates over these pins and if anythings inserted (in my experience, anything at all) the upload fails.


PICedh

Tue, 04 Dec 2012 22:09:26 +0000

Hello?

I have the same problem :

Ive been using my uno 32 also for some time but now I have a issue with serial coms. Main problem is the sketch seems to uplpoad but the progress in mpide seems to be stuck around 95%(the green bar) and doesn't complete. The comm led are off I have disconneted everthing ftom my shield and reinstall the com port on windows

Any idea ?

Thanks


EmbeddedMan

Wed, 05 Dec 2012 02:37:33 +0000

Does the sketch run properly, even though MPIDE hangs at 95%? There's another user who's just reported this exact same problem under both Mac OS and Windows.

*Brian


PICedh

Wed, 05 Dec 2012 18:49:03 +0000

I don't know if my shield works correctly as I made a lot of test and I don't remember which programm was uploaded correctly at the end

I have ordered a new UNO :( :( :(


chow@vajri.com

Mon, 17 Dec 2012 05:44:00 +0000

I have this problem after upgrading to 20121013-test. If I wait long enough, messages like these show in the bottom window:

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

I know the board works, because I can use it with my other computer (which I have not upgraded from 20120811-test).

Of note, I had tried to work with a Fubarino just before upgrading. I got the problem with starting MPIDE, but deleting preferences.txt fixed that part of the problem.


JordanR

Thu, 03 Jan 2013 01:12:35 +0000

20121013-test has been known to hang. Keith mentions it in his post on the new bootloader here:

http://www.chipkit.org/forum/viewtopic.php?f=19&t=1714

Best Regards,

Jordan Retz


KeithV

Thu, 03 Jan 2013 16:39:40 +0000

Correct, if you are using 1013-test MPIDE, you MUST up date to the new bootloader. The test build of MPIDE has an error where a delay was removed that was needed by the original bootloaders. The result will appear as if the upload just hangs. You can go back to 818 MPIDE and update the bootloader (MPIDE 903 will not run the update sketch; so use MPIDE 818), once updated then you can use 1013-test MPIDE (or any build of MPIDE) just fine.


les1943

Thu, 03 Jan 2013 20:25:06 +0000

Do you have any connections to pin 0 and 1 .


jmlynesjr

Thu, 03 Jan 2013 20:52:14 +0000

Check the mpide Tools->Serial Port pull-down menu and make sure it is pointing to the correct comm port for your installation.

I had been downloading fine for months and out of the blue the downloads started hanging up with the time out error mentioned above. Somehow my download port had gotten changed to dev/ttyS0 from /dev/ttyUSB0. Reselecting the usb port got things going again. I got hints to what was going on by looking at syslog.

James


penguinman

Mon, 23 Dec 2013 05:08:35 +0000

There are 8 connectors, a micro and a few other ICs.

Please tell us what Pin0 and Pin1 you mean. J9 , J13, J14 ?

The Micro ?