On 10/19/2013 8:59 AM, Satz Klauer wrote:
> Hi,
> 
> I plan to do some bare-metal programming with the BBB (mainly for personal 
> reasons and to play with hard realtime environments, so please do not try 
> to soften me up to use Linux ;-)
> 
> As a first task and to get a feeling for the hardware I'd try to access the 
> LEDs (configure the GPIOs they are connected with as digital output and 
> write 0/1 to them).
> 
> My question: is there a getting-started-guide for this?
> 
> Or to go more in detail:
> 
> - I already found the CPU manual at TI's pages
> - I found a compiler arm-none-eabi-gcc - is it the correct one?
> - I still need header files where register addresses for the CPU are 
> predefined
> - I still need a description how to download my created binaries to the 
> board so that they are started immediately (instead of the Linux-Distro)
> 
> Any Ideas where I can find these things?

Unless you *REALLY* want to go totally bare metal and build your tools
and environment from the ground up as a learning exercise, you should
probably grab StarterWare from TI:

http://www.ti.com/tool/starterware-sitara

...and the compiler of your choice (likely TI's Code Composer Studio or
gcc setup for cross-compiling).

It has a build environment, (some) hardware abstraction, and a variety
of example code.

Once you get something running you can go as close to the bare metal as
you want, but getting a complex SoC like the AM3359 up and running
(low-level hardware initialized properly so you can do things like talk
to DRAM and send serial messages out the UART) is a non-trivial task.
I'd start with their examples and tweak the startup code if/when you
have the need.

-- 
Charles Steinkuehler
[email protected]

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to