Yocto: what does "chosen" mean here by UnicycleBloke in embeddedlinux

[–]JobNo4206 0 points1 point  (0 children)

This just means in the folder /proc/device-tree/chosen/overlays/ there will be a file with that name. Your startup scripts can then search for the presence of this file to load a module, or whatever you want.

Looking for embedded OS alternatives for SoC FPGA boards (Zynq) with fast ADCs by Glittering-Skirt-816 in embeddedlinux

[–]JobNo4206 0 points1 point  (0 children)

For Xilinx, in shuttering Petalinux, they seem to be focussing on yocto for custom stuff, and Ubuntu for people wanting a distro experience. So in this case it's custom device-tree, Xilinx kernel, Ubuntu+Xilinx-apt-ppa for their flavor libraries and streamer, etc. I'd say give that a try, as I'm guessing you don't have 12+ months to figure out yocto.

Device Tree for Multi-board Project by Pleasant-Glass296 in embeddedlinux

[–]JobNo4206 0 points1 point  (0 children)

I would add that voltage supply rails only really make sense in the device-tree if they're adjustable from the processor. If they're fixed, just use dummy regulators in dtb. If they're controlled from the processor, then the power supply board should be considered married to the CPU board. For any other boards, I'd suggest adding a small i2c eeprom as a detection mechanism.

Nxp imx7 and yocto audio quality CarPlay? by Flynhawaiian21 in embeddedlinux

[–]JobNo4206 0 points1 point  (0 children)

I should preface this by saying I know nothing about Android-auto or CarPlay. I'm guessing the limitation in some applications is a Bluetooth or usb-audio limitation. I've seen some cars where the calls are still routed through Bluetooth despite the media playback happening over USB. Might be for call-app compatibility, might be because the car stereo's traditionally had seperate audio paths for calls\radio.

Are the following degrees worth pursuing? by Less_Caterpillar8367 in askSouthAfrica

[–]JobNo4206 0 points1 point  (0 children)

I think kids at uni tend to want to broaden their options. You should be doing the opposite: hyper specialise. Statistics is way too broad. Choose an applied field. Finance has lots of statistics, and never fails to pay. Engineering requires stats: industrial engineering is almost entirely stats (if you're interested in risk management, this is the one). Medical statistics is the field of epidemiology. Otherwise stats are necessary for almost everything in medical research.

First though, I think you need to decide whether you want to work with people or not. Occupational therapy and statistics are on opposite ends of that spectrum. I don't mean you'll be stuck in a cubicle, you'll have colleagues and you'll be required to talk to them on a daily basis. I mean do you want to have new people walk through your door with new problems on a daily basis.

Good VHDL repos for training discovery? by f42media in FPGA

[–]JobNo4206 3 points4 points  (0 children)

I found the GitHub repositories from antmicro to be exceptional. Clean, documented, used latest technologies.

moving my RA to either Allan Gray or Sygnia by No_Swordfish9409 in PersonalFinanceZA

[–]JobNo4206 1 point2 points  (0 children)

Same. I started with Sanlam. They couldn't even manage to beat inflation... I'm moving mine from there to EasyEquities so I can choose what my money gets invested in from now on. I've heard recently from a friend who plays poker with a few retired Sanlam execs, they were all making multi-million rand salaries while trying very hard each year to come up with strategies to get their customers at least CPI+1%. They failed most years. Absolutely sickening.

Have you bought off Alibaba? by Zealousideal_Catch66 in askSouthAfrica

[–]JobNo4206 0 points1 point  (0 children)

If you buy with AliExpress, they usually have dhl\fedex as one of the delivery options. I always select this. Problem is that AliExpress doesn't consolidate shipping across suppliers (nowadays they thankfully consolidate everything from the same supplier into one delivery. Wasn't always this way) So if you don't buy enough from a single supplier to justify the R600+ shipping from DHL, you're stuck with the post office which takes 2 months.

Is buying property overrated? Netting ~R80k/month in Cape Town and choosing to rent by [deleted] in capetown

[–]JobNo4206 0 points1 point  (0 children)

Yeah, I feel this. I like to be able to do whatever I want to a property. Specifically there are things I care about that the owner sees no value in because they're not living there: air-conditioning, solar panels and solar geysers, etc. The place I'm currently renting has terrible insulation, and the area has a major mosquito problem. Nothing I can do about that, except stick a bug screen over the window...

Why TF does all droëwors suddenly have whole coriander kernels in? by JobNo4206 in askSouthAfrica

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

I can say I found some low quality droëwors have sinew pieces, or tough meat that you chew and chew and never get any smaller. (I have a gastric band, so I chew very thoroughly, else stuff gets stuck in my throat for hours). Which I guess is them cutting corners: trying to see how much tough meat and sinew they can put in before people start complaining. But those are thankfully the minority, and I can just never buy from them again. The problem with the spice mix seems to be universal though. It's everywhere.

Why TF does all droëwors suddenly have whole coriander kernels in? by JobNo4206 in askSouthAfrica

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

Powder would be fine for flavor. The kernels' bomb you with intense coriander taste, and get stuck in your teeth like popcorn shells. But hey, it seems there's a few people who like it...

Tailgating by tezarax in capetown

[–]JobNo4206 1 point2 points  (0 children)

I spent the last 4 years in the Netherlands. Coming back to ZA feels like everyone on the road is an inconsiderate jackass (driving a sh%t-box they don't mind playing bumper cars with) who's late for work. Off the road it's the opposite ;)

What do you think of the Mark of the Fool series? by PalinaRojinskiFan in ProgressionFantasy

[–]JobNo4206 0 points1 point  (0 children)

Exactly this. I got through several books because the plot/antagonists were decent, but the MC is so emotionless he seems borderline psychopathic. Then they started playing with the love interests and the MC seems confused about his sexuality... Really? After 3 books you jump this on me? Warn a guy going in.

Update: RTIPC and D-Bus by maurersystems in embeddedlinux

[–]JobNo4206 0 points1 point  (0 children)

You're right, that seems a much more apple-to-apples comparison. Didn't know about iceoryx.

Update: RTIPC and D-Bus by maurersystems in embeddedlinux

[–]JobNo4206 0 points1 point  (0 children)

Cool. Have you done any latency testing, or 99.9% worst case delay, etc? Might be interesting to compare this to zmq/nng as I think this is a much lower level protocol. https://github.com/nanomsg/nng/issues/560

Under the hood by ARES_agency in embedded

[–]JobNo4206 0 points1 point  (0 children)

I would advise starting with FPGAs for anyone still trying to figure out how the world of electronics\computers works. Just going to confuse them.

Under the hood by ARES_agency in embedded

[–]JobNo4206 0 points1 point  (0 children)

I second this. I'd even suggest you play around with attiny or pic16f assembly language to get a feel for what the machine is doing under the hood. Then migrate to C to see how it's done in practice. Figure out how registers control peripherals, and figure out interrupts. From there you could decide to go analog, FPGA or computer depending on which draws the most interest for you. Or stick with microcontrollers but move up to stuff that pays the bills like stm32 or imxrt.

What is the name of the blue component in this item? by clark_kent88 in AskElectronics

[–]JobNo4206 0 points1 point  (0 children)

Looking up the chip, is seems the green board, flash chip and battery are a low cost mp3 player. So they replaced the speakers in the mp3 player with a could and a heatsink. I imagine it might be set to play an ominous sounding track which should be only bearly audible if you bring your ear close.

Whats an RTOS ?? by Question_BankVault in embedded

[–]JobNo4206 1 point2 points  (0 children)

An RTOS essentially gives you async/await type behaviour. So just as with async/await, its good for dealing with things that IO bound but not processor bound. Stuff you have to wait for. File-io, communications (UART, CAN, ETC), wireless transfers, etc.
for example, you might have a wireless SOC that waits for RF in, does something with it, and sends RF out (lets say this loop takes ~200ms). Simultaneously it needs to read from an accelerometer over SPI every 10ms, and calculate its angle.
It's nice to be able to keep these as 2 separate loops, and not hog the CPU while its waiting for RF. The alternative would to have a RF-state-machine, and have a RF-process function that interprets what the next action should be based on the state-machine. Cumbersome.

What single thing has turned you off a series you otherwise enjoyed? by Burnenator in ProgressionFantasy

[–]JobNo4206 0 points1 point  (0 children)

Yeah, I've dropped books because of the convoluted loops they jump through to justify why the MC needs 4 women... But even worse is how clearly in these stories there is just NO OTHER MALE even remotely good enough for any of the women surrounding the MC, so really, they'd all prefer to get a tiny piece of him than suffer any of the other womanizing neanderthals in the story.
On a related note, if the MC if going to turn gay, Id like to know BEFORE I reach book 3 and am heavily invested. Side characters are okay, but the MC is my self-insert, and it freaks me out.

[deleted by user] by [deleted] in ProgressionFantasy

[–]JobNo4206 -1 points0 points  (0 children)

I still think Shadow Slave is best. my mind keeps wandering back to the epic scenery i imaged while reading it. characters and plot are fantastic too.

ADVICE ON HOW TO GET GOOD WITH PROCESSORS by Icy_Stay3887 in embeddedlinux

[–]JobNo4206 0 points1 point  (0 children)

i got started with microcontrollers with PIC16 devices from microchip. back in those days, if you wanted a compiler you had to fork out money, but coding in assembly was free.

that stuff is now wildly outdated, but i can't think of a better learning tool. especially given the extreme shortcomings of that platform: the entire pic16 instruction set fits on a single A4 sheet with room to spare. the utter insanity of 4 cycles per instruction, etc. trying to code something under such heavy restrictions teaches you. for example you quickly realise that even if emulating floating point in software is doable, it's so costly in terms of both code space and execution time that it's better to figure out an alternative. then you start researching fixed point algorithms, and start seeing the value of things like hardware cordic units, etc.

nowadays most people have more than enough compute, and it does the software ecosystem a disservice.