Dangerous Prototypes

Other projects => Past projects => Breakout boards => Topic started by: PrayogKit on January 02, 2013, 02:56:36 pm

Title: MCP2200 for Arduino Sketch Loading
Post by: PrayogKit on January 02, 2013, 02:56:36 pm
Out of Curiosity. I wanted to ask If any one tried uploading sketches onto Arduino using MCP2200 based USB to UART ? Is it able to Reset the Arduino for programming ?
Title: Re: MCP2200 for Arduino Sketch Loading
Post by: sqkybeaver on January 02, 2013, 03:36:12 pm
as long as you can see the com port(windows) in the arduino ide, you should be able to use it.

I have used usb to serial chips from everyone(ftdi, microchip, silabs, prolific) they all require dirvers, but once installed they all work the same as far a windows is concerned.

reseting the arduino requires one of the handshaking lines,iirc DTR needs to be connected to the reset through a 0.1uF cap.
Title: Re: MCP2200 for Arduino Sketch Loading
Post by: PrayogKit on January 02, 2013, 03:57:19 pm
http://dangerousprototypes.com/docs/ima ... v1-cct.png (http://dangerousprototypes.com/docs/images/9/94/Mcp2200-breakout-v1-cct.png)

MCP2200 does not have DTR hardware flow control ! Is it still possible to upload sketches using MCP2200 based USB to UART
Title: Re: MCP2200 for Arduino Sketch Loading
Post by: sqkybeaver on January 02, 2013, 04:05:46 pm
without proper reset signal from usb, you would need to cycle the power or manually reset the arduino.
Title: Re: MCP2200 for Arduino Sketch Loading
Post by: matseng on January 02, 2013, 07:30:39 pm
I seem to remember that once upon a time RTS was used as an alternative to the standard DTR-Reset in some older Arduinos and the IDE.  Do I remember incorrectly and/or have they removed the RTS capability in the current IDE ?
Title: Re: MCP2200 for Arduino Sketch Loading
Post by: sqkybeaver on January 02, 2013, 07:40:13 pm
[quote author="matseng"]I seem to remember that once upon a time RTS was used as an alternative to the standard DTR-Reset in some older Arduinos and the IDE.  Do I remember incorrectly and/or have they removed the RTS capability in the current IDE ?[/quote]

this makes sense, the 2 major types for the ftdi boards used for arduino pro seem to have some with DTR and others with RTS.

this may be totally dependent on what arduino firmware/board version.

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.01082071208session_write_close ( )...(null):0
20.01112202800ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01112203576Database_MySQL->query( ).../DatabaseHandler.php:119
40.05772342312Database_MySQL->error( ).../Db-mysql.class.php:273