![](images/circuitco.png)
circuitco BeagleBone Board Support Package
This package contains project templates, system files and example programs for the circuitco BeagleBone.
CrossWorks Version 4 Installation Instructions
This package can only be installed if you have the following CrossWorks license bolt-ons:
- ARM License
- To install this support package
-
- Click the Tools > Package Manager menu option to open the package manager window.
- Right click on the circuitco BeagleBone Board Support Package entry and select Install Selected Packages.
- Click Next to take you to the summary page.
- Click Next to install the package.
- Click Finish to close the package manager window.
- Click the Tools > Show Installed Packages.
- Click on the circuitco BeagleBone Board Support Package link to view the package and its contents.
- To manually install this support package
-
- If you have not done so already, follow the CrossWorks Tasking Library Package and Texas Instruments Sitara CPU Support Package installation instructions.
- Download the file BeagleBone.hzq using your web browser.
- Click the Tools > Manually Install Packages menu option.
- Select the file you have just downloaded to install the package.
- Click the Tools > Show Installed Packages.
- Click on the circuitco BeagleBone Board Support Package link to view the package and its contents.
- To install this support package using other versions
Release Notes
3.0
- Initial release for CrossWorks V3.
Documentation
Creating Projects
To create a new BeagleBone project
- Select the File > New > New Project menu item.
- Select the appropriate BeagleBone from the Categories list.
- Select the required project template type from the Templates list.
- Set the required project name and location directory.
- Click OK.
To build and debug an application
- Select the project to work on by using the Project > Set Active Project menu option.
- Select the configuration you require by using the Build > Set Active Build Configuration menu option.
- Build the project by using the Build > Build Project menu option.
- Connect to the appropriate target in the target window.
- Download and start debugging the current project by using Debug > Start Debugging.
The project will be built to run in the SDRAM of the BeagleBone.
Project Specifics
Board Initialization
The SDRAM of the BeagleBone is initialized in the BeagleBone_Target.js target script by executing a program in the internal SRAM of the AM355x. This program requires the AM335x STARTERWARE software to be installed.
Board Support
The file BeagleBone_ctl_board.c implements the led output function.
AM335X STARTERWARE Projects
Install the STARTERWARE-AM335X code and set the CrossWorks global macro AM335X_STARTERWARE to point to the installation directory e.g. AM335X_STARTERWARE=c:/TI/AM335X_StarterWare_02_00_01_01.
You can build the AM335X STARTERWARE libraries and demo project using the following projects:
- AM335X STARTERWARE Libraries (click to load project) then double click on the BATCH_BUILDME project to select it, ensure the build configuration is set to ARM Debug and then right click on the project select Batch | Batch Build on the context menu.
-
AM335X STARTERWARE Demo (click to load project)
note that
you will need to edit the memory map file to place the IRAM_CODE and IRAM_DATA sections
<MemorySegment start="0x40300000" size="0x10000" name="OCM_RAM"> <ProgramSection load="Yes" name="IRAM_CODE"/> <ProgramSection load="No" name="IRAM_DATA"/> </MemorySegment>
and comment out the memcpy code in demoMain.c.