izmit escort escort ankara adana escort

 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: ATSAMS7 Command line programming via USB
PostPosted: Thu Sep 08, 2016 10:29 pm 
Offline

Joined: Thu Sep 08, 2016 9:28 pm
Posts: 1
Processor: ATSAMS70Q19A
SAM-BA version: 3.1.3

Any idea's why this happens ?

It's present in "device-manager"...

I Erase it ...
I Reset it ...

When i try to Program the uCtrl using the SAM-BA command line (via USB) i get this error:

C:\Temp\sam-ba_3.1.3-win32\sam-ba_3.1.3>sam-ba.exe -x Test.qml
Opening serial port 'COM6'
Connection opened.
C:/Temp/sam-ba_3.1.3-win32/sam-ba_3.1.3/qml/SAMBA/Applet.qml:112: Error: Could not initialize applet lowlevel (status: undefined)
Connection closed.



Test.qml: (modified example file from the installation)

import SAMBA 3.1
import SAMBA.Connection.Serial 3.1
import SAMBA.Device.SAMV7 3.1

AppletLoader {
connection: SerialConnection { }

device: SAMV7 { }

onConnectionOpened: {
// load/init lowlevel applet
appletInitialize("lowlevel")

// load/init flash applet
appletInitialize("flash")

// erase all flash
appletFullErase()

// flash program
appletWrite(0, "mw-ctrl.bin")

// set GPNVM1 (boot from flash)
appletSetGpnvm(1)
}
}


Top
 Profile  
Reply with quote  
 Post subject: Re: ATSAMS7 Command line programming via USB
PostPosted: Wed Aug 30, 2017 11:47 am 
Offline

Joined: Mon Aug 15, 2016 3:43 pm
Posts: 1
Perhaps try the 3.2.0 release from Github:
https://github.com/atmelcorp/sam-ba/releases


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: