Is it possible to make work the BBB C program code without installing any operating systems?

In other words I’d like to make work the BeagleBone Black on the base C program code without any operating systems.
My task is simple enough - frequency meter 0…100 KHz, DI/DO simple logic and data exchange accross TCP/IP.

Yes, it is possible.
Also, probably extremely painful learning experience.
There are ARM processors that are designed to run with OS. They start with the letter A.
The processor in the Beaglebone is an A-8.

There are ARM processors that are designed to run without OS. They start with the letter M.

I would suggest that you look at one of the faster M series, like a 200 MHz M4F and see it that will do your job.

— Graham

On Thu, 16 Nov 2017 07:20:30 -0800 (PST), Graham
<graham@flex-radio.com> declaimed the following:

Yes, it is possible.
There are ARM processors that are designed to run without OS. They start
with the letter M.

I would suggest that you look at one of the faster M series, like a 200 MHz
M4F and see it that will do your job.

--- Graham

==

In other words I'd like to make work the BeagleBone Black on the base C
program code without any operating systems.
My task is simple enough - frequency meter 0...100 KHz, DI/DO simple logic
and data exchange accross TCP/IP.

  Haven't found a reference for one at that speed, but possibly of
interest would be the TIVA-C Launchpads: The TM4C123G (80MHz M4F, 256kB
Flash, 32kB RAM, and way too many timers [6@64bit, 6@32bit -- each of which
can be configured as two half-width timers]); TM4C1294 (120MHz M4F, 1MB
Flash, 256kB RAM, Ethernet, fewer timers [8@32bit, likely also splitable];
the TM4C129E is identical but adds some HW crypto support]). Supported by
TI Code Composer Studio, and TI-RTOS for tasking.

The one I was thinking of was the Freescale/NXP Kenitis K66 series.
180 MHz, ARM M4F
(I guess not 200 MHz, but close.)
Available on a maker board as the Teensy 3.6
https://www.sparkfun.com/products/14057

Ti, NXP, Stm, may also have fast M4F, but it would take some digging.

Microchip has PIC32MZ, 200 MHz, but is MIPS4 rather than ARM M4F.

— Graham

TI StarterWare is what you want

Thank you Graham, I completely forgot that I also need and exchange data on TCP/IP… in that case is it possible to realize programmatically TCP/IP without OS ?

There is a baremetal BeagleBone project here: http://www.baremetal.tech/index.html

Hi!

Oh thank you very very dear TJF! it is the new and useful idea for me

There are TCP/IP Ethernet stacks that are designed to run without on OS.
My personal experience is with the PIC32MX and PIC32MZ, using the Ethernet stack included in their ‘Harmony’ software support package.

There are likely Ethernet stacks for the high end ARM processors that have GMII interfaces, but I have not used them.

If you are going to be doing any sophisticated TCP/IP interaction, you may want to consider keeping the OS on the Sitara, and do a hardware design that isolates the realtime counter portion of the design from the OS timing issues.

As TJF suggested, use one or both PRUs for the real time stuff, and keep the OS for the things it does well.

Or use some of the counter capability in the Sitara peripherals.

— Graham

Thank you Graham! your suggestion is very interesting

Why don’t you consider the PRU for such kinds of works?

»ï¼º °¶·°½Ã ½º¸¶Æ®Æù¿¡¼­ º¸³Â½À´Ï´Ù.

-------- ¿øº» À̸ÞÀÏ --------
º¸³½ »ç¶÷: soul.est.soul.est@gmail.com
³¯Â¥: 17/11/17 ¿ÀÀü 4:54 (GMT+01:00)
¹ÞÀº »ç¶÷: BeagleBoard beagleboard@googlegroups.com
Á¦¸ñ: [beagleboard] Re: Is it possible to make work the BBB C program code without installing any operating systems?

There is a baremetal BeagleBone project here: http://www.baremetal.tech/index.html

Why don’t you consider the PRU for such kinds of works?

»ï¼º °¶·°½Ã ½º¸¶Æ®Æù¿¡¼­ º¸³Â½À´Ï´Ù.

-------- ¿øº» À̸ÞÀÏ --------
º¸³½ »ç¶÷: soul.est.soul.est@gmail.com
³¯Â¥: 17/11/17 ¿ÀÀü 4:54 (GMT+01:00)
¹ÞÀº »ç¶÷: BeagleBoard beagleboard@googlegroups.com
Á¦¸ñ: [beagleboard] Re: Is it possible to make work the BBB C program code without installing any operating systems?

There is a baremetal BeagleBone project here: http://www.baremetal.tech/index.html

thanks but just about using it and thinking

Check out StarterWare from TI (there is also a FreeStarterWare project available on sf.net which contains a lot of bugfixes and feature enhancements TI never managed to publish). It contains TCP/IP stack, USB stack, functions to read/write FatFS on SD-card and many things more - all as bare metal without the need to use an operating system and with a lot of useful examples.

Oh exactly! Very thank you dear Mike

I think you meant StarterWareFree

https://sourceforge.net/projects/starterwarefree/

Regards,
John