Show Posts
Pages: [1] 2 3 ... 14
1  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: Arduino 13 crashes in Windows 7 on: February 20, 2009, 12:15:43 pm
Using run.bat makes things work.
2  Forum 2005-2010 (read only) / Bugs & Suggestions / Arduino 13 crashes in Windows 7 on: February 20, 2009, 11:55:31 am
Arduino 13 crashes (before the main form loads) in Windows 7 x64 Build 7000 (Public beta) with the generic "Arduino.exe has stopped responding."

Running the program in Vista or Windows XP SP2 compatibility mode works properly.
3  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: Windows IDE only supports 256 COM ports on: July 24, 2008, 03:20:11 pm
Quote
I'm not sure this is common enough to worry about, though.
I'd say this is odd enough it likely doesn't matter yes.

Quote
How'd you end up using COM257?
I have two machines dedicated to programming FT232s, both are currently up around COM500. When the Arduino IDE didn't recognize the serial port, I started deleting device IDs until I could test for 254,255,256, and 257.
4  Forum 2005-2010 (read only) / Bugs & Suggestions / Windows IDE only supports 256 COM ports on: July 24, 2008, 12:30:52 am
I may be the only one to have encountered this limit, but the Windows IDE doesn't support comports beyond COM256.

COM256: All is well.
COM257: Appears in Device Manager and many other apps, however the "Serial Port" menu is greyed out in the IDE. If I edit preferences.txt to reference COM257, I receive the error "Serial port 'COM257' not found..."

Platform: Windows 2000 & Arduino 11
5  Forum 2005-2010 (read only) / Troubleshooting / Re: MaxSerial quit uploading on: April 01, 2009, 11:08:06 pm
Quote
When I reset the board it doesn't wait at all before starting to execute code. I think I read somewhere that is should wait for a few seconds.
Diecimila generation bootloaders have an almost imperceptible delay. They rely on automatic reset to shorten the time between reset and the first "hello" byte from the PC.

Quote
If I connet the serial cable first and then DC it doesn't start executing before I reset the board, but I can't upload either.
A much more interesting scenario.
  • Can you measure the voltage on the 'reset' pin? (It's also pin 1 on the ATmega168).
  • Is anything connected to the board besides the RS232 and DC cables?
  • When you click 'upload' does the '13' LED (near the MAX232 chip and serial connector) briefly flicker or blink?
  • What kind of surface is the board resting on? Look for stray pieces of metal on the bottom of the board.
  • Do you have another Arduino (like) board around?
6  Forum 2005-2010 (read only) / Troubleshooting / Re: error burning 328 bootloader with NKC MaxSerial on: March 25, 2009, 12:50:43 pm
Your limited primarily by the cables native capacitance and tendency for cross-talk. With conventional ribbon cable, you should be under 2ft, but this largely depends on your parallel ports drive capabilities. Adding a buffer of some kind may dramatically increase your cable lengths.

(For those who are curious, assuming a perfect conductor and zero response delay, you're limited to somewhere around 150 meters for clocked communication at 1MHz, although your pp programmer is likely much slower than 1MHz and your cable is far from ideal, and the ATmega & PC have non-zero processing times - you could also measure the latency and correct for the delay in clock-out to data-back, but you know...).
7  Forum 2005-2010 (read only) / Troubleshooting / Re: Arduino with MAX232 not transferring data properly on: March 22, 2009, 11:51:16 pm
Quote
just saying the level converter I used worked for me
And max232 like solutions should work for just about everyone. MAX232s require much less black-magic, like vampiring the negative voltage from the TX line.

But that's neither here nor there. If you have a handful of transistors, resistors, a diode, and a cap laying around, can replicate a transistor-based level shifter. Just follow Sparkfun's schematic. You can use pretty much any small signal transistors, I like 2N3904s and 2N3906s as the NPN/PNP respectively, but it shouldn't matter here. The unlabeled resistors should likely be either 10K or 1K.

The Arduino serial schematic contains a similar level converter, but it proved unreliable enough that both NKC and myself make MAX232 based 'duinos instead.
8  Forum 2005-2010 (read only) / Troubleshooting / Re: Arduino with MAX232 not transferring data properly on: March 20, 2009, 02:12:34 am
What is the charge-pump voltage? It appears on pin 2 and 6 for positive and negative respectively.

During transmit and idle?
9  Forum 2005-2010 (read only) / Troubleshooting / Re: Arduino with MAX232 not transferring data properly on: March 19, 2009, 09:23:06 pm
I'm not sure if you've covered this, but you need to ground pin 5 of the DB9 connector. You also need to ground one end (and only one end) of the cable shield.

Most MAX232's charge pumps will run at 3.3 volts, but you'll only get about +/-6v.
10  Forum 2005-2010 (read only) / Troubleshooting / Re: Load the bootloader using AVRStudio on: March 22, 2009, 11:41:35 pm
Quote
I want to burn a Mega168
Here are the relevant fuses, as shown in AVRStudio:



Quote
No , I think if you have a isp programmer , I don`t think you can brick it.
Nope, with just an ISP programmer, you can 'brick' an ATmega. The easiest way is choosing an impossible oscillator setting or disabling SPI. (Notice above how AVRStudio can't alter this value in ISP mode.)

Quote
I ask in avrfreaks and all answers were that I only can reset this fuse using a Higth Voltage programmer.
Conveniently, the AVR-Dragon IS a high voltage programmer.
11  Forum 2005-2010 (read only) / Troubleshooting / Re: Load the bootloader using AVRStudio on: March 20, 2009, 03:05:18 pm
Which ATmega are you burning? The fuses are different for the Mega8, Mega168, and Mega328.
12  Forum 2005-2010 (read only) / Troubleshooting / Re: System error when I disconnect USB power on: March 19, 2009, 11:56:39 pm
You might have already had them installed in some way. A lot of serial-based USB peripherals are really FT232s at heart, so many manufacturers include bashed up versions of the driver.

I'd recommend you install the ones directly from FTDI.

(The FT232 is the USB interface chip on the Arduino, you can see it directly behind the USB connector.)
13  Forum 2005-2010 (read only) / Troubleshooting / Re: System error when I disconnect USB power on: March 19, 2009, 10:30:43 pm
Quote
A few times this has resulted in a major OSX error saying that I might shutdown/restart my computer
You really shouldn't see a stop message when disconnecting the Arduino. Which version of OS X do you have?
Have you installed the latest drivers from http://ftdichip.com/Drivers/VCP.htm ?
14  Forum 2005-2010 (read only) / Troubleshooting / Re: Hardware Serial Upload during use question on: July 09, 2008, 11:46:54 am
Quote
The hardware buffer on the serial I/O is only 1 byte.
Yes, but it's serviced by an interrupt which fills a 128 byte buffer.
15  Forum 2005-2010 (read only) / Troubleshooting / Re: Hardware Serial Upload during use question on: June 24, 2008, 06:48:26 pm
Yes, external circuitry driving (or even heavily loading) D0 or D1 will cause sketch upload to fail, these pins are used for communication with the bootloader by the USB interface via 1-10K resistors.
Pages: [1] 2 3 ... 14