Page 1 of 1

Error running SAM-BA CDC 2.11 on Ubuntu 10.04

Posted: Wed Nov 23, 2011 1:37 pm
by koan
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