On Mon, Oct 20, 2014 at 9:23 AM, <reinharddae...@gmail.com> wrote:

> Hello,
>
> after nearly 2 weeks of struggling my first LED blinking works under the
> following constitution:
> -) Beaglebone black, Element14, rev.C
> -) no OS --> holding "boot" button, when powering
> -) Code Composure Studio v6
> -) Starterware (without BBB patch:
>
> http://software-dl.ti.com/dsps/dsps_public_sw/am_bu/starterware/latest/index_FDS.html
> (DOES NOT WORK AT THE MOMENT)
> -) XDS100v2 emulator
>
> 1.)
> The maximum frequency for toggling the pin is 1.6 MHz,
> but I need maximum speed.
> In my understanding there is still a speed decrease as the system is
> running in *emulation *mode.
> Correct?
>

I don't think emulation should slow you down if you are using hardware
breakpoints. The recommendations on using the PRUs would certainly result
in improved switching times, but I'm confident you could optimize your ARM
Cortex-A8 code quite a bit as well. Care to share your source and your
compilation options? Did you use "-O3" for example? Are you going through a
non-optimal library? Would you consider optimizing at the
cache/assembly/etc levels?


>
> 2.)
> From the build process of CCS I have got a .out file.
> *What are the next steps to get the program running from the SD card?*
> Please be very precise - I have already heard of MOL, u-boot, GEL
> file,....,
> but there does not seem to be a step-by-step tutorial.
>

The StarterWare boot instructions as mentioned elsewhere should help. I
thought those instructions were fairly step-by-step. U-boot SPL (MLO) seems
like it would provide the most open and extensible examples. I suggest you
try writing the step-by-step.


>
> 3.)
> *What are the next steps to get the program running from the eMMC?*
>
>
> You see, I want to do bare-metal C programming, without linux or any other
> OS,
> as I must operate (pin toggling, computations,...) as fast as possible.
>

The eMMC looks just like an SD card to the processor. You simply need to
flash your code onto the eMMC the same way you would an SD card---except
that you can't remove it. You could boot over USB if you want to program
the eMMC without doing it from an existing system booted off of the eMMC or
SD ports. See https://github.com/ungureanuvladvictor/BBBlfs.


>
>
> Your help is very appreciated!
>
> Reinhard
>
>  --
> 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 beagleboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to