SAM 70E support in SAM-BA

Go To Last Post
7 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi everyone !

 

SAM-BA tool is listed on SAM70E tools page, but the tools itself does not list this family as being supported.

How about this family support ?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

That is really great...

 

Well, after finding all the information scattered all over the documentation, I wrote my own tool in Java that does device flashing.

It's not complete yet, but at least I can upload program to the device and run it there. So if anyone needs it, please contact me.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hey,

 

I'm having the same problem. Really trying to figure out if I can program a SAM E70 device using SAM-BA.

 

Do you have any updates on this?

 

I'll message you to get the Java code you used to program the device.

 

Thanks!

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

http://www.atmel.com/Images/Atme...

 

 

Refer the above link. It helps you to customise the SAM-BA Tool..

 

I wonder if there is a tool to erase the flash once the control transferred to Flash.

 

 

Last Edited: Thu. Aug 4, 2016 - 06:03 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello everybody,

 

I'm facing the same issues regarding this tool (sam-ba) with this kit (same70).

It is suposed to work but I can't go beyond  this point using the 3.14 version:

 

C:\Users\1033\Desktop\sam-ba_3.1.4>sam-ba -x flash-usb.qml
Opening serial port 'COM4'
Error: Could not switch monitor on port 'COM4' to binary mode
Connection closed.

 

I have erased the flash and I'm using the TARGET_USB (connected to the COM4) port in my computer but can't get past this point.

Am I missing something? Some important step? All I did was erasing the Flash memory (used the Atmel Studio tool to do it), restarted the development kit and tried to run the sam-ba via command line (in windows).

I tried to connect to the UART0 pins (PA9 and PA10) to programm the Flash(serial programming instead of USB), but no luck. My External clock is 12Mhz so USB should work.

I also tried to use the sam-ba version 2.16 and select the "at91same70-xplained" option but I'm getting  the error:

 

Invalid chip ID - Can´t connect at91same70-xplained

 

Can somebody help me with this? Anyone got similar problems?

Best regards

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

make sure the tcl file contains the correct chip ID

looks like the communication is ok but it fails on the chip identification step

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

judgedredd wrote:
SAM-BA tool is listed on SAM70E tools page, but the tools itself does not list this family as being supported.

How about this family support ?

The FOSS (GPL2) Micro SAM-BA has SAM E70 :

https://github.com/atmelcorp/micro-sam-ba

Micro SAM-BA

...

This simple tool can be used to program the internal flash of the following microcontrollers:

  • Atmel SAME70/S70/V70/V71

Communication with SAM-BA bootloader is only supported through USB.

...

 

"Dare to be naïve." - Buckminster Fuller