BBB, Eclipse and GNU arm-none-eabi

Skip to first unread message

Paul Van den Bergh

Jun 9, 2015, 9:58:15 AM6/9/15

Hi all,

I'm new to beaglebone black development.  I have experience with Atmel SAM arm development in C/C++.  I upgrade to the BeagleBone platform for performance reasons (and because I think it is a lot of fun ;) )

I started with compiling the Starterware code in CCS, and now I'm switching to Eclipse & GNU ARM-none-eabi because I'm using a Segger J_Link JTag and that debugger is only supported by CCS for 90 days (evaluation).

I have the following question : How can I specify that my bare metal C/C++ code will load into the DDR3 address space ?  AKAIK I need to write my own .ld linker script specifying MEMORY and SECTIONS, But I have no idea how to figure out which sections the compiler generates.  I have to tell the bootloader where to jump into the C/C++ startup code, which will further call my main function.  For the later, I think I'm able to modify the MLO code (from StarterWare).

Any suggestions are welcome !

Thanks in advance,

Reply all
Reply to author
0 new messages