BBB Guid
BBB Guid
Baremetal Development
Guide
Contents
1. Introduction...................................................................................................................................2
2. Installation of ti’s AM335X_StarterWare_02_00_01_01 Pa..........................................................2
2.1. c.................................................................................................................................................2
3. Installation of CCS tool...................................................................................................................2
3.1. Installation CCS tool...................................................................................................................2
4. Building Driver for Beagle Bone Black............................................................................................2
4.1. Building Drivers for Debug Mode...............................................................................................2
4.2. Building Drives for Release Mode............................................................................................10
5. Building Application.....................................................................................................................10
5.1. GPIO – LED Blink Application...................................................................................................10
5.2. USB Mass Storage Class – Host Mode......................................................................................10
6. Building Custom Application........................................................................................................10
6.1. New project Creaction.............................................................................................................10
6.2. Linker Command Information..................................................................................................13
6.3. Build Settings...........................................................................................................................13
6.3.1. Builder Setting.....................................................................................................................13
6.3.2. Post Build Setting.................................................................................................................14
6.3.3. Output File Specification......................................................................................................15
6.3.4. Adding driver, system, platform and utils libraries..............................................................16
6.4. Build Project / Rebuild.............................................................................................................18
7. Fsd...............................................................................................................................................20
7.1. S...............................................................................................................................................20
8. df.................................................................................................................................................20
1. Introduction
Build the projects [drivers, platform, system, utils] with build button as shown in below.
4.2. Building Drives for Release Mode
5. Building Application
"${CCS_INSTALL_ROOT}/utils/tiobj2bin/tiobj2bin.bat" "${Project_Path}/${ConfigName}/$
{ProjName}.out" "${Project_Path}/${ConfigName}/${ProjName}.bin"
"${CG_TOOL_ROOT}/bin/armofd.exe" "${CG_TOOL_ROOT}/bin/armhex.exe" "$
{CCS_INSTALL_ROOT}/utils/tiobj2bin/mkhex4bin.exe" &
"C:/ti/AM335X_StarterWare_02_00_01_01/tools/ti_image/tiimage.exe" "0x80000000" "NONE" "$
{Project_Path}/${ConfigName}/${ProjName}_ti.bin"
"${CCS_INSTALL_ROOT}/utils/tiobj2bin/tiobj2bin.bat"
"C:/Users/Chakrapani/ti/workspace_ccs/HelloWorld/${ConfigName}/${ProjName}.out"
"C:/Users/Chakrapani/ti/workspace_ccs/HelloWorld/${ConfigName}/${ProjNa