| Welcome to AT91SAM Community Forum http://www.at91.com/samphpbb/ |
|
| Error running SAM-BA CDC 2.11 on Ubuntu linux http://www.at91.com/samphpbb/viewtopic.php?f=26&t=20541 |
Page 1 of 1 |
| Author: | koan [ Fri Dec 02, 2011 12:31 pm ] |
| Post subject: | Error running SAM-BA CDC 2.11 on Ubuntu linux |
Apologize the cross-post but this looks more appropriate... I am unable to use the latest SAM-BA CDC 2.11 with Ubuntu 10.04 Lucid. I am using a SAM-ICE 6.0 JTAG programmer connected to a AT91SAM9G20-EK. Launch sam-ba $ ./sam-ba Select SAM-BA CDC 2.11 dialog box Connection: /dev/ttyUSB0 Board: at91sam9g20-ek Jlink speed: default (greyed) click on button [Connect] then i get the following output.... -I- Waiting ... -I- TCL platform : Linux -I- SAM-BA CDC 2.11 on : linux bad option "-mode": should be one of -blocking, -buffering, -buffersize, -encoding, -eofchar, or -translation while executing "fconfigure $fd -mode "115200,n,8,1"" invoked from within "if { $::argc >= 2 } { puts "-I- Retrieved arguments from command line :" puts "-I- argv 0 : [lindex $::argv 0]" puts "-I- argv 1 : [linde..." (file "/home/koan/Scrivania/SAM-BA/linux/sam-ba_cdc_cdc_linux/sam-ba/lib/tkcon.tcl" line 4892) invoked from within "source [file join $starkit::topdir lib/tkcon.tcl]" (file "/home/koan/Scrivania/SAM-BA/linux/sam-ba_cdc_cdc_linux/sam-ba/main.tcl" line 7) Any help would be greatly appreciated. TIA |
|
| Author: | koan [ Wed Feb 01, 2012 6:16 pm ] |
| Post subject: | Re: Error running SAM-BA CDC 2.11 on Ubuntu linux |
Anybody in the Atmel staff who cares about this? |
|
| Author: | Need4Speed [ Sun Apr 08, 2012 10:11 am ] |
| Post subject: | Re: Error running SAM-BA CDC 2.11 on Ubuntu linux |
If I were to hazard a guess I would say your tcl interpreter was built without proper termcap support. I've seen something similar on embedded systems where the mode parameter in Quote: "fconfigure $fd -mode "115200,n,8,1" was disabled (not compiled in). BTW fconfigure is a tcl command to (among other things) set the serial port baud rate. Check your tcl package, or update to Ubuntu 11.04. I've got a working setup with Ubuntu 11.04 running tcl 8.4.16-2 |
|
| Page 1 of 1 | All times are UTC + 1 hour [ DST ] |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|



Forum