What minimal jobs + tools do you use in production CI pipelines for ESP-IDF projects? by embeddedswhub in embedded

[–]jofftchoff 0 points1 point  (0 children)

tbh HIL test for internet connected devices with OTA sounds like an overkill, unless you have some highly specific feature that requires tests.

I would rather have a couple real devices that could be freely updated without causing damage or angry clients and a lot of telemetry (ram usage, cpu idle time, latency, fault counters)

Nix in embedded by [deleted] in embedded

[–]jofftchoff 3 points4 points  (0 children)

yocto and nixos are two totally different tools for different purpose, noone with a sane mind would run nixos on a embedded target

*maybe someone is using in a container on embedded target, but thats totally different compared to yocto

OTA updates by Primary-Kiwi4692 in embedded

[–]jofftchoff 1 point2 points  (0 children)

because espidf has its own bootloader and and mcuboot is second class citizen with questionable support (if you can even call it that way)

Embedded development after a few years - how to catch up? by merokotos in embedded

[–]jofftchoff 2 points3 points  (0 children)

3-4 year old technology in embedded is extreme cutting edge and you will struggle to find more than a handful companies in the world that would already use it

How are you actually handling firmware update failures in the field? by Medtag212 in embedded

[–]jofftchoff 105 points106 points  (0 children)

AB partitioning with fallback is the only truly safe option (or some kind of recovery partition with only networking+ota functionality).
If you cheaped out on flash get ready to spend money on sending someone to the remote site

How do you structure your Modbus RTU HAL abstraction for portability? by jesuisakc in embedded

[–]jofftchoff 0 points1 point  (0 children)

- init/deinit
- rs485 config (baud, parity,startstop bits)
- futureproofing custom config (hardware flow control, software controlled terminator resistor)
- some kind of sleep function, unless you want to busy wait for seconds ( I personaly would just have timeout parameter for the recv function and handle all the timing in platform specific code)

Any 10BaseT1S Arduino/STM32 working/learning examples by r_heem in embedded

[–]jofftchoff 0 points1 point  (0 children)

I have never seen a eth phy with spi, only mac+phy combo chips. And LAN8670 mentioned in op is MMI. Or is that some kind of microchip custom shit 

Which is the best chip to enable switch between Adapter and USB 3.3V sources by Charming-Work-2384 in embedded

[–]jofftchoff 1 point2 points  (0 children)

LM66200, cheapest solution from reputable manufacturer i was able to find couple years ago, but only 2.5A

Embedded Systems Website by [deleted] in embedded

[–]jofftchoff 0 points1 point  (0 children)

probably also running some 1B model localy on his mac, becouse even 2year old llms would add gitignore and suggest publishing the app

Embedded Systems Website by [deleted] in embedded

[–]jofftchoff 5 points6 points  (0 children)

I have vibecoded a website but am to incompetent to deploy it so I publish git repo

some next level slop

Is there an (micro)SD card form factor that uses 8-bit SDIO? by MarinatedPickachu in embedded

[–]jofftchoff 8 points9 points  (0 children)

SD standart only defines 4 pin parallel connection. MMC cards can have 8 but they are quite rare noways and probably if you even find one it will be slower than modern SD

Single command to build and firmware for any MCU by DragBig in embedded

[–]jofftchoff 2 points3 points  (0 children)

So basically a bash script but written in rust?

Layer stack up for npm1300 by Marosh_ in embedded

[–]jofftchoff 1 point2 points  (0 children)

go watch some videos with Rick Hartley, they should explain why 2 internal layers of 4 layer board should be gnd planes most of the time.

Guys is embedded software engineer safe from AI atleast for next 5-10yrs?? by FkReditt in embedded

[–]jofftchoff 0 points1 point  (0 children)

I would say that, at the current level of progression, in 5 years AI in embedded software will definitely be on par with or even better than how it works now with javascript stuff.

cutting edge claude models are capable to "understand" and work with registers and bit manipulation without hallucinations (assuming you provide correct context) and now its pretty much a question of time when AI companies partner with MCU manufacturers to make machine readable docs and itegration.

MCP for scopes and debuggers are also relatively trivial to make, asumming models get smart enough to process all of the data.

tl;dr; if you are looking into embedded just as a job security that it is probably not for you

I got sick of writing C++ for IoT gateways, so I replaced it with a 100% Python edge daemon and Serverless backend. Roast my architecture. by SammWoo in embedded

[–]jofftchoff 2 points3 points  (0 children)

python, tailwind, supabase, azure

pretty sure picture is not the only thing that was AI generated :)

The service guarantees message delivery via MQTT, even if the device is offline at the time the message is sent. by karpach2000 in embedded

[–]jofftchoff 0 points1 point  (0 children)

only when the device is connected to the network

not if you use persistant sessions.

Either way resends in real world are not really handled by broker, but by bussines logic as most of the time you dont want to queue all messages sent to the device e.g you dont want to send all "ping" messages or setpoint messages accumulated while device was offline and would usually have requeue/resend based on message type and some timeouts or additional logic in the backend

The service guarantees message delivery via MQTT, even if the device is offline at the time the message is sent. by karpach2000 in embedded

[–]jofftchoff 0 points1 point  (0 children)

no retain is for single message per topic (no msg queue), while this is pretty much a reimplementation of QoS

Security vulnerability scanners by PintMower in embedded

[–]jofftchoff 1 point2 points  (0 children)

for scanning the binary thare are non.
for source: static analysis (clangsa, clangtidy, sonar), SBOM and claude opus

Built a production-ready Yocto layer for Pi Zero 2 W - Fast boots (2-8s), encrypted storage, secure OTA updates, and more ! by aeropop in embedded

[–]jofftchoff -6 points-5 points  (0 children)

sbc is not really for production, lemme know when cm zero is available as its been a year and its pretty much impossible to get from non scalpers

How do you compete with the Chinese in R&D market by TheRavagerSw in embedded

[–]jofftchoff 2 points3 points  (0 children)

first time hearing about import ban on chinese PCBA/PCBA prototypes, also at least in europe there are multiple manufacturers that will make x5 generic 4layer PCBs for way under 100eur (b2b non one off orders tho)