AM335x Software Design Guide

Software Hierarchy Providing specific for AM335x
TI provides the following software development packages specific for AM335x

HLOS Support for AM335x


 * Linux Software Development Kit for Sitara EVMs
 * AM389x Android Gingerbread Development Kit for Sitara EVMs

More topics related to the Linux EZSDK can be found at Category:EZSDK and more general Linux topics (which may apply as well) can be found at Category:Linux and Category:Sitara Linux

Non-OS Examples for AM335x


 * StarterWare

For a list of all TI Provided API's specific to the AM335x please visit the


 * AM335x Software and Development Tools

Software Development Platforms for AM335x
The following development kits are recommended by TI for the AM335x:  AM335x Evaluation Module

AM335xx Specific Code Development Guides
Sitara ARM MPU Software &amp; Tools Overview

Understanding how the AM335x Boot Sequence Works
An brief overview of the ROM Boot Loader sequence for the AM335x can be found in the device Datasheet:


 * AM335x Datasheet

Refer to the ROM Code Memory and Peripheral Booting chapter of the device TRM for additional details:


 * AM335x Technical Reference Manual

Generating the Boot Image
The AM335x PSP User's Guide provides a good overview of the steps needed to rebuild the software.

Programming the Image into non-volatile memory
Once a bootable image has been created, there are utilities provided by TI to flash your image into non-volatile memory that run on top of your Host PC.

Serial Flashing Utility
The flash-writers are a part of the PSP package. Instructions on how to use the flash-writers in CCSv4/v5 can be found in AM335x PSP Flashing Tools Guide

Benefits:


 * Fast Flashing Time
 * No Connection is required to CCS or to JTAG via an Emulator

Limitations:


 * The Serial Flash Utility only supports flashing EVMs without code modifications for user specific boards.
 * The build environment needs to be downloaded to there user PC.

Flashing via JTAG using CCS
Various CCS Projects have been developed to flash non-volatile memory via the JTAG connection using Code Composer Studio. These projects can be found in the Software Development Kit for NAND, NOR, or SPI Flash.

Benefits:


 * Source Code is easy to modify
 * No additional build environment tools to install

Drawbacks:


 * Slow flashing times
 * Requires a JTAG connection

Serial Port Boot Utility
When debugging, it is often useful to boot over the serial port rather than reflashing the image each time a modification is made. The UART Boot Host enables this using the flash-writers utility included as part of the PSP package.