Microchip AT91RM9200 Manual de Usario

Lee a continuación 📖 el manual en español para Microchip AT91RM9200 (18 páginas) en la categoría No categorizado. Esta guía fue útil para 4 personas y fue valorada con 4.5 estrellas en promedio por 2 usuarios

Página 1/18
SMART ARM-based Microcontrollers
AT15004:Using SAM-BA for Linux on SAM
Devices
APPLICATION NOTE
Introduction
A few of the SAM devices are pre-loaded with the Atmel® SAM Boot
Assistant (Atmel SAM-BA®). This bootloader allows In-System Programming
(ISP) from USB host without using any other external programming interface.
SAM-BA has been validated on various Linux distributions such as Ubuntu,
Debian, Fedora, openSUSE, and Mint. However, it will work on other
distributions as well. Tested distributions are listed at www.at91.com/
linux4sam.
This application note describes the steps to install and use SAM-BA on
some popular Linux distributions to program Atmel ARM® based devices.
Features
Allows to program, verify, and secure an Atmel SAM device without
using a device programmer
Uses USB CDC class for communicating to the host
Use SAM-BA Command Line mode to program SAM devices
Source code for SAM-BA applet is available and can be customized to
user’s needs such as Encrypted loader and custom protocol
Atmel-42728A-Using-SAM-BA-for-Linux-on-SMART-ARM-based-Microcontrollers_AT15004_Application Note-08/2016
Table of Contents
Introduction......................................................................................................................1
Features.......................................................................................................................... 1
1. Introduction to SAM-BA............................................................................................. 3
2. Installing SAM-BA on Different Linux Distributions ...................................................4
2.1. Setup............................................................................................................................................ 4
2.2. Installing SAM-BA.........................................................................................................................4
3. Using SAM-BA ..........................................................................................................6
3.1. Understanding SAM-BA Architecture........................................................................................... 6
3.1.1. SAM-BA Monitor............................................................................................................ 6
3.1.2. Applet Workflow.............................................................................................................7
3.2. Connect device.............................................................................................................................8
3.3. Understanding SAM-BA GUI........................................................................................................9
3.3.1. Memory Display Area.................................................................................................. 10
3.3.1.1. Read Memory............................................................................................10
3.3.1.2. Edit Memory Content................................................................................. 11
3.3.2. Memory Download Area...............................................................................................11
3.3.2.1. Flashing Firmware..................................................................................... 11
3.3.2.2. Reading From Memory.............................................................................. 11
3.3.2.3. Compare Memory with a File.....................................................................12
3.3.3. Script File Functionality................................................................................................12
3.3.3.1. Start/Stop/Reset Recording.......................................................................12
3.3.3.2. Edit the Script File..................................................................................... 12
3.3.3.3. Execute the Script File...............................................................................12
3.4. SAM-BA in command line...........................................................................................................13
4. Tested Devices........................................................................................................ 14
5. FAQ..........................................................................................................................15
6. References.............................................................................................................. 16
7. Revision history....................................................................................................... 17
Atmel AT15004:Using SAM-BA for Linux on SAM Devices [APPLICATION NOTE]
Atmel-42728A-Using-SAM-BA-for-Linux-on-SMART-ARM-based-Microcontrollers_AT15004_Application Note-08/2016
2
1. Introduction to SAM-BA
The SAM-BA GUI tool provides a means to easily program various Atmel ARM ® processor based
microcontrollers.
The key features of SAM-BA GUI are:
performs In-System Programming through JTAG, RS232, or USB interfaces
on-chip and on-board memories programming solutions
can be used via a Graphical User Interface or started in batch mode from a command line
memories and peripheral register display content
user scripts executable from SAM-BA GUI or a shell
operates on both Windows or Linux OS
Note: 
1. SAM-BA for Linux supports only the USB interface.
2. Linux Mint 17.2 LTS and Fedora 23 will be used as the Linux distribution reference for the
application note.
Atmel AT15004:Using SAM-BA for Linux on SAM Devices [APPLICATION NOTE]
Atmel-42728A-Using-SAM-BA-for-Linux-on-SMART-ARM-based-Microcontrollers_AT15004_Application Note-08/2016
3

Especificaciones del producto

Marca: Microchip
Categoría: No categorizado
Modelo: AT91RM9200

¿Necesitas ayuda?

Si necesitas ayuda con Microchip AT91RM9200 haz una pregunta a continuación y otros usuarios te responderán




No categorizado Microchip Manuales

No categorizado Manuales

Últimos No categorizado Manuales