:: Re: [DNG] Information request (mayb…
Forside
Slet denne besked
Besvar denne besked
Skribent: karl
Dato:  
Til: dng
Emne: Re: [DNG] Information request (maybe OT - - - dunno)
o1bigtenor:
> On Fri, May 12, 2023 at 10:03 PM <karl@???> wrote:

...
> Each station (initial idea is for 12 stations - - - round 2 anywhere
> from 50 odd
> to almost 200) will have its own weigh system.


If theese are fixed stations I'd use CAN-bus for a mcu solution and
ethernet for a embedded linux solution.
If there is vibration involved or if the stations are semimovable I'd
use CAN-bux and rubber cables or similar.

...
> > The step up to an os is needed when you need to have protection between
> > processes, for that you need a mmu (memory management unit) and the
> > your cpu can run in some priviliged mode which is usually reached via
> > some trap mechanism so that the user processes cannot interfere with
> > the supervising os.
> >
> A previous poster mentioned compiling in the RT_kernel options.
> I'm hoping that might make the change between .barebone and .os
> a lot smaller.


No, they use different classes of cpus. An os like linux needs a mmu and
different priviledge modes on the cpu, you don't have that on a cpu you
are doing barebone programming on.

Regards,
/Karl Hammar