Welcome! Log In Create A New Profile

Advanced

New Gen7 build connection issues

Posted by foshon 
New Gen7 build connection issues
November 24, 2011 11:39AM
Hello,

I recently received ( thx Markus) and assembled my new Gen7 board. The power checks went well once I found a solder bridge on my ATX24 connector. I installed the mosfets and atmega and followed the instructions on the wiki for configuring arduino for the board. I first connected power to the Gen7, as expected the board moved through the PS on, blinking light, PS off routine. Everything looks normal however, when I plug the unit into my usb port (win xp ) I get a series of connect/disconnect notices. It never settles on a port. In Windows 7 a port is assigned but attempts to upload anything to the board are met with some guy named avrdude telling me there is no connection. spinning smiley sticking its tongue out

Any suggestions on what to look at?

TIA,
Neil
Re: New Gen7 build connection issues
November 24, 2011 12:25PM
Cold solder joint, or power issue maybe. Try desoldering and resoldering the serial connection pins on the connector and the microcontroller. Also try powering from the USB port rather than the ATX or vice versa. It's most likely a soldering issue though I'd bet. (That's what killed mine the first time. )
Re: New Gen7 build connection issues
November 24, 2011 06:55PM
I re soldered everything that even looked lukewarm. Tried to connect with just the serial jumper installed. No change. I did replace my cable and it made the constant connect/disconnect issue go away. Now uploading the setuptest sketch leaves a long period of hanging with the Tx/RX lights flashing slowly, until I get a timeout.
Re: New Gen7 build connection issues
November 24, 2011 07:28PM
I should add this is my serial to usb adapter. I left it on 5v.
Re: New Gen7 build connection issues
November 24, 2011 09:39PM
I downloaded the latest drivers from the sparkfun site. Same issue, the board behaves like it is fine, reset works, and the adapter does not cause any issues when I plug it in. The funny stuff starts when I hit upload in the Arduino IDE. hangs.......then nothing but errors


avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
Re: New Gen7 build connection issues
November 25, 2011 02:23AM
Does it get better if you hit the reset button right before it tries to uplad? After a reset, the bootloader waits 3 seconds for an incoming firmware. If autoreset doesn't work, you have to do this manually.


Generation 7 Electronics Teacup Firmware RepRap DIY
     
Re: New Gen7 build connection issues
November 25, 2011 11:49AM
I have tried resetting moments before uploading, uploading while holding reset and waiting for all activity to stop before uploading. All end in the same result, a reset, and a loooooong hang. Does uploading usually take more then a minute or so? What result can I expect when it is finished?

Also at what point should I be able to see the comms via the serial monitor? I have it up at various times and there is never anything displayed.
Re: New Gen7 build connection issues
November 25, 2011 03:23PM
You may have a serial port that is getting hogged by another program. I sometimes get that when arduino sfw hangs while trying to upload. Then I need to unplug the serial-USB adapter, shut down arduino, and plug back in and reload arduino. Make sure the serial monitor is set to the right baud rate. Even then sometimes a full computer restart is required to get things working again.
VDX
Re: New Gen7 build connection issues
November 25, 2011 03:27PM
... for the boards that needs a manual reset i'm waiting, until the size of the compiled file is displayed in the text window, then a sort push on the reset button, and the download starts with flashing LED ...


Viktor
--------
Aufruf zum Projekt "Müll-freie Meere" - [reprap.org] -- Deutsche Facebook-Gruppe - [www.facebook.com]

Call for the project "garbage-free seas" - [reprap.org]
Re: New Gen7 build connection issues
November 25, 2011 07:00PM
@bryanandaimee

I did this several times throughout the adventure to no avail. I also reset the com port allocation list in registry at one point. All these symptoms occur on two different machines. Thanks for the help.

@VDX

Tried this as well, each time failed though sad smiley Thanks though.



I disconnected the FDTI card and watched what happened if it was all alone. Oddly enough it acted exactly the same way with no board. Weird though, I tried settings for the sanguino 644P and it acted like it was trying to upload. After inspecting my FDTI card I noticed that the #16 pin on the chip was shoved against the #15 pin. I tried to gently separate them but it #16 was broken off at the chip. So I have a FDTI cable on order from Adafruit and will try that when it gets here.

If I read the data sheet for the FDTI chip correctly pin 16 is a signal pin from the USB. D- or some such. If you hold the board with the USB connection on the top and facing you it was the pin that is farthest down on the right. I tried it after removing the pin completely and the behavior is identical. Could this have been the issue all along?
Re: New Gen7 build connection issues
December 02, 2011 05:57PM
Update:

The FTDI board was the issue. The new cable came today and everything powered up as it should. I was able to see the messages in the serial window of the Arduino IDE, Now to get moving. Thanks to all for the help.
Finch
Re: New Gen7 build connection issues
December 10, 2011 04:20PM
Hey!
I got the same issue. I cant upload a firmware. When I hit the upload nothing happens and after a while I get timeout error. I already tried two diferent Atmega644 and I bought new usb cable
http://www.ebay.com/itm/USB-TTL-5V-Serial-Cable-FTDI-FT232-Arduino-UNO-mini-duemilanove-Mega-/220910946193?pt=LH_DefaultDomain_0&hash=item336f518791
But still doesnt work....any ideas!
Finch
Re: New Gen7 build connection issues
December 10, 2011 04:30PM
If anyone use the same Usb-ttl cable how is conected to gen7 board?
Is like this ok?
1. black wire (GND) - pin1 (pin on left)
2. red wire (+5V) - pin 3
3. green wire (TxD) - pin4
4. white wire (RxD) - pin5
5. yellow wire (RTS) - pin6
6. blue wire (CTS) - no conected
Re: New Gen7 build connection issues
December 13, 2011 06:37PM
Assuming everything with the board is O.K. and the firmware on the chip is running correctly, I did have to hit the reset button on the board just as the compiled package size message comes up, like VDX mentioned above. Check your pinouts against the pinouts of this cable, I know these are correct.

http://www.adafruit.com/products/70

Where did you get your chip? If you bought a raw one you need to load some core stuff first, out of my league right now but there are instructions on the Gen7 wiki.
Re: New Gen7 build connection issues
February 13, 2012 07:37AM
I have the the same issue. Gen7 board, this converter

the usb2serial board connects a little bit differently
pin1, ground
pin2, rxd
pin3, txd
pin4, 5volt
so I connected them accordingly

arduino 0023 on ubuntu linux

ATMEGA 20PU selected
/dev/ttyUSB0 selected

and I get this message

avrdude: stk500_2_ReceiveMessage(): timeout

tried power from PSU
tried power from Serial the same thing

the really baffling thing is that the Gen7 board seemed to have the test firmware uploaded somehow, because when I power it up with the ATX it starts blinking 10times the heater led, but I cannot see anything in the serial monitor in arduino @9600baud

I checked for cold joints but everything seems connected nicely, the multimeter also agrees with my visual inspection

any ideas??
Re: New Gen7 build connection issues
February 14, 2012 04:59AM
This is apparently an E'go adapter, see: [reprap.org]


Generation 7 Electronics Teacup Firmware RepRap DIY
     
Re: New Gen7 build connection issues
February 14, 2012 10:41AM
it is an e-go but my adapter has different pinout so I used what you have posted in the wiki

Gen7 GND (Pin 1) +5 Volts (Pin 3) RxD (Pin 4) TxD (Pin 5)

with what my adapter says on the board (it is different than the one you posted)

your adapter is
USB-TTL adapter GND (Pin 5) +5 Volts (Pin 6) TxD (Pin 3) RxD (Pin 4)

my adapter has

pin1= ground, pin2=rxd, pin3=txd, pin4=5volt , pin5=3volt, pin6=rst

I used the rxd/txd crossed and at least I can confirm that the GRN and 5V are correct as the yellow led turns on when I connect it to the board. I didnt connect the rst as you have instructed.


The board has the test firmware uploaded somehow, but I cannot see the serial monitor in 9600baud.



Traumflug Wrote:
-------------------------------------------------------
> This is apparently an E'go adapter, see:
> [reprap.org]
> .27go_USB-TTL_adapter
Re: New Gen7 build connection issues
February 14, 2012 05:24PM
Assuming the device is recognized by the operating system (if not, see [forums.reprap.org] ), the hackers method is to connect GND only and hold the Gen7's TxD pin to each pin of the adapter until you see something in the monitor.

A logic tester, a cheap pencil-like device can help to find signals, too.


Generation 7 Electronics Teacup Firmware RepRap DIY
     
Re: New Gen7 build connection issues
February 15, 2012 03:18AM
yes the device is recognized (dev/ttyUSB0) ,

thanks, I ll try your method with the TxD pin
Re: New Gen7 build connection issues
February 15, 2012 05:53AM
well you were right, the pins on the e-go board were wrong and I found the transmit pin in another place winking smiley

now the arduino says
Expected signature for ATMEGA644P is 1E 96 0A
Double check chip, or use -F to override this check.

I have selected 644P@20MHz and the chip you have provided says 644-20PU so I assumed this is the right one, so I use -F ????


It worked correctly with 644@20MHz (no P)

if everything is ok , thanks for the help

Edited 2 time(s). Last edit at 02/15/2012 05:58AM by waste.
Re: New Gen7 build connection issues
February 16, 2012 04:32AM
The 644-20PU is a 644, the 644P would be 644P-20PU.


Generation 7 Electronics Teacup Firmware RepRap DIY
     
Sorry, only registered users may post in this forum.

Click here to login