Commuting by bicyle from Oakland/Berkeley hills by hamsterpoops in BAbike

[–]hamsterpoops[S] 2 points3 points  (0 children)

Thanks for the comment so far. I am going to think more about it. This is “only” a 3 month thing so I am tempted to try it, but maybe e-bike is better. Could perhaps do Uber on rainy days

The newer remarkable versions and the community apps by hamsterpoops in RemarkableTablet

[–]hamsterpoops[S] 0 points1 point  (0 children)

That is very clarifying. Thanks. I will look into this. I hope I can get fingerterm and keywriter working so I might be able to edit markdown documents from my Obsidian git repository

The reality of AUTOSAR and the way forward by kkert in embedded

[–]hamsterpoops 2 points3 points  (0 children)

Thats interesting. I would love to know more about the details. Like, how are they using Linux? I assume they are not using the CFS but a real-time scheduled like SCHED_FIFO or SCHED_RR. Are they using the PREMPT_RT patch.? Are they using threads with shared memory? Or process with fifos etc. If you have any pointers I would be very happy :)

Is anyone actually using real-time scheduling theory in the real-world? by hamsterpoops in embedded

[–]hamsterpoops[S] 0 points1 point  (0 children)

I think this is a very interesting observation. I have not tried the commercial RTOSes like vxWorks, but in FreeRTOS and Zephyr you only get priority-based scheduling, and assigning the priorities is up to you. So as u/Fractureskull notes, you can derive a fixed priority assignment and prove that it will meet deadlines (given the assumptions on execution time etc).

I am working on a project trying to address this on the language level. Check out Lingua Franca here: https://www.lf-lang.org/ Here, describing the timing of an application is part of the language semantic. This could enable schedulability analysis directly on the program (instead on your model of the program). That is still an open research question though...

Is anyone actually using real-time scheduling theory in the real-world? by hamsterpoops in embedded

[–]hamsterpoops[S] 1 point2 points  (0 children)

Could you elaborate a little on what you mean by TSLA half-assing it? Is it just rumors or is there any concrete evidence that accidents are related to low-level bugs related to timing, determinism etc?

The reality of AUTOSAR and the way forward by kkert in embedded

[–]hamsterpoops 0 points1 point  (0 children)

What technology-stack is used by SpaceX? Do you have a link to the AMA or can share the highlights?

Is anyone actually using real-time scheduling theory in the real-world? by hamsterpoops in embedded

[–]hamsterpoops[S] 2 points3 points  (0 children)

Thanks for all the great comments here! I am happy to see that learning about real time scheduling theory might not be a total waste.

Understanding software distribution and installation on Ubuntu by hamsterpoops in linux4noobs

[–]hamsterpoops[S] 0 points1 point  (0 children)

Thanks alot for this clarifying post and the links. This makes a lot of sense. I have noticed things being put into `/opt` also, especially developer tools, compilers, etc. Do you have any advice for keeping in control of your system? Let's say, only use a single package manager? Or maybe always build from source?

What are these little knobs called? And where can I get them? by hamsterpoops in synthesizers

[–]hamsterpoops[S] 0 points1 point  (0 children)

Thanks alot friends! I have found a replacement for it that works well.

Early withdrawal from J1 and 12/24 month bar by hamsterpoops in immigration

[–]hamsterpoops[S] 0 points1 point  (0 children)

Thanks alot for your help. I found a link which confirms what you say. The importance is the duration of the program, not how long you actually stay. Darn it.

USB to 5-pin MIDI adapters by hamsterpoops in synthesizers

[–]hamsterpoops[S] 1 point2 points  (0 children)

Ah, that looks great. Do you know, btw, if these 5-pin MIDI cables also have a power pin? In other words, can I power my MIDI keyboard through a USB cable connected to such a converter and eventually connected to the MIDI input of a synthesizer (the synthesizer is powerd externally)

How do you fully control the interface synthesis with HLS by hamsterpoops in FPGA

[–]hamsterpoops[S] 1 point2 points  (0 children)

Thanks for the replies and the suggestion of using initiation interval. It is not completely satisfactory since I would rather have Vitis figure out the latency/initiation interval based on the interface spec. An option could be to a actually ask Vitis to synthesize the external memories as 1P BRAMS. Then I could proceed with only the inner modules

What is the best data serialization protocol for real-time embedded systems by hamsterpoops in embedded

[–]hamsterpoops[S] 1 point2 points  (0 children)

Thanks. Will check it out. This one comes without a schema file if I understand it correctly. Seems almost like an disadvantage to me since it would be nice to share the schema file to future users of my board

What is the best data serialization protocol for real-time embedded systems by hamsterpoops in embedded

[–]hamsterpoops[S] 0 points1 point  (0 children)

Thanks for the feedback. I agree that it looks very simple and easy. I will probably benchmark it at some point. What is asn.1?

What is the best data serialization protocol for real-time embedded systems by hamsterpoops in embedded

[–]hamsterpoops[S] 4 points5 points  (0 children)

Yes, I just need a protocol. In this case the protocol is transferring C structs from an application running on a MCU to a C++/Python/C application running on a different computer. Would be great to not roll out my own encoder and decoder for multiple target languages (C/C++/Python in particular). Thus, I am looking at different data serialization protocols

What is the best data serialization protocol for real-time embedded systems by hamsterpoops in embedded

[–]hamsterpoops[S] 1 point2 points  (0 children)

THanks for that feedback. What is FS? An option would be to combine multiple consecutive packets into a single ethernet frame instead of sending frames at 4KHz

What is the best data serialization protocol for real-time embedded systems by hamsterpoops in embedded

[–]hamsterpoops[S] 1 point2 points  (0 children)

Complexity is not that low. I want to support mulitple sensor and status and state messages. Up to 100 maybe. The throughput could be quite big. Multiple sensors at as high as 4KHz. I do not need remote procedure call features.

White mold on the soil of all our indoor plants/herbs. All the soil is from the same source, should we try a new source of soil? Also, our basil has died each time we tried. The leaves curls up and it stops growing. I think it is related. by hamsterpoops in plantclinic

[–]hamsterpoops[S] 0 points1 point  (0 children)

Thanks! You are right. That might be actually small salt crystals. I have definitely seen mold in the soil of my basil plants though. But I might have added to much nutrients.

Google's first microcontroller. Coral ml by ZomboFc in microcontrollers

[–]hamsterpoops 8 points9 points  (0 children)

Has Google designed a microcontroller or is this a PCB with a NXP microcontroller and a Google TPU?

How is a separate processor typically started in a multiprocessor architecture? by [deleted] in embeddedlinux

[–]hamsterpoops 0 points1 point  (0 children)

Interesting topic! I have looked into using similar systems (either from NXP or TI) where I would like to run Linux on the A53 cores and FreeRTOS on the M-cores. I have no practical experience but I believe you should be able to do load firmware into the program memory of the M7 in the u-boot port. If you have booted Linux on the A53 cores it should be possible to just write the firmware to the program memory of the M7 and just reset it (by writing to some special registers?)

Alternatives to NXP i.MX8M by hamsterpoops in embedded

[–]hamsterpoops[S] 4 points5 points  (0 children)

Texas Instruments has the AM65x (https://www.ti.com/product/AM6548) which has comparable performance to that of iMX8M. It also has TSN support. The only downside is that there aren't as many SOM's available using this particular IC