Error running SAM-BA CDC 2.12 on fedora 19

This forum is for users of Microchip MPUs and who are interested in using Linux OS.

Moderator: nferre

Sam-ba newbie
Posts: 1
Joined: Wed Apr 10, 2013 4:32 pm

Error running SAM-BA CDC 2.12 on fedora 19

Wed Apr 10, 2013 5:47 pm

Hello all ,

I am new to linuxstamp. I am trying to load the boot file to at91sam9g20-ek processor using sam-ba. When I execute sam-ba I get the following error,

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/sienna/Documents/sam-ba_cdc_cdc_linux/sam-ba/lib/tkcon.tcl" line 4924)
invoked from within
"source [file join $starkit::topdir lib/tkcon.tcl]"
(file "/home/sienna/Documents/sam-ba_cdc_cdc_linux/sam-ba/main.tcl" line 7)

I think it is because tcl doesn't recognize the serial port. Could anyone please help me to solve this issue?

Return to “LINUX”

Who is online

Users browsing this forum: No registered users and 5 guests