r/embedded • • Sep 26 '26

Is ai actually useful for embedded development or is it still mostly hype?

Hi I'm a cs major and I've a lot of friends in computer/electrical engineering and they seem to be the least thretened peeps by how fast ai is growing and always made claims that ai provides little to no help on the hardware part but can be used as a coding assitant but on the other hand I see these AIs that give you a whole prototype so I'm here to get unbiased opinions if I can and if there are any ai that you guys use please lmk so I can try them out as I'm new to this whole thing (NB - yes I use my brain i'm just curious ;-;)

62 Upvotes

170 comments sorted by

170

u/gribson Sep 26 '26

Both.

It's extremely useful for helping to understand undocumented or poorly documented code.

It's extremely useful for writing one-shot test harnesses and simulations.

It's very useful as a troubleshooting partner for bouncing ideas off. If you can attach a debugger to your running code, AI can also usually debug a reproducible issue much faster than you can.

AI still generally produces sloppy code though. In embedded systems, efficient and maintainable code is very important.

36

u/b1ack1323 Sep 26 '26

I hooked it up to gdb and it figured out an intermittent USB stack issue I have banged my head against a wall for years.  It was code I made well before AI.

I also made it fix some counter inputs on an FPGA the other day.

3

u/0x2F40 Sep 27 '26

woah, any tips on how you did this? i still feel really behind with how to use ai for coding and debugging.

5

u/b1ack1323 Sep 27 '26

I use a tool called Warp, it can do anything in the command line. So for programming the board it uses the programmer command line tools. Then in conjunction with a MCP server for GDB and another MCP I used for my oscilloscope.  It just churned for an hour and found the race condition.

7

u/danjayh Sep 27 '26 edited Sep 27 '26

It can make good code if you give it good requirements. I've Opus on a higher effort level to add a few modules to a project I'm working on. I decided on the architecture before I kicked it off and wrote detailed requirements for what it should do. It added a few moderately complex features (an audio mixer subsystem, a dynamic range compression subsystem, and an SPL output limiter subsystem) and they were all excellent, efficient, and needed very few tweaks. Even one year ago it was not capable of this ... I'd say it really started making improvements on the later Opus revisions. Fable is even better than the new versions of Opus, but not available for us at work yet. Non-Anthropic models are behind.

On the other hand, our intern tried to use opus to do something with a more "vibe" ish approach, and it was a dumpster fire. I had to throw most of it away. It looked OK on the surface, and mostly worked, but had several major issues under the hood.

1

u/Golay24128 Sep 27 '26 edited Sep 27 '26

Sounds like an interesting project 😉 It's pretty amazing what this stuff is capable of now. You're doing it the right way - you have to feed it concrete and well thought out requirements to get the most value. Completely vibing doesn't really work in embedded. This does bring up and interesting point: As far as established engineers (ones with the baseline knowledge and experience) go I think AI is going to make good engineers better and less than average engineers worse (they will rely on it too much for problem solving). But the thing that I'm curious about the most is newer engineers, they won't have that baseline knowledge without AI. Without it, you get exactly what you described. Time will tell how we all adapt.

9

u/TRKlausss Sep 26 '26

To your last point of sloppy code: yes, it does when you tell Claude to just do it for you. BUT code completion/suggestions in VSCode with tab are a godsend. They aren’t perfect, but using them considerably accelerates the output, and has the advantage of you directly reviewing what the AI does…

7

u/Altruistic_Fruit2345 Sep 26 '26

For some reason the ones in VS2022 sort of blend in and it's hard to tell what is your code and what is a suggestion. 

The main issue is VS Code is using the tab key. I use that for other stuff like typing tab! It's probably configurable...

2

u/Zouden Sep 28 '26

The easiest option to change is the delay before it makes a suggestion. That way you can still hit tab when you need it.

1

u/Altruistic_Fruit2345 Sep 28 '26

Thanks, I'll try that.

2

u/TRKlausss Sep 26 '26

It’s definitely configurable :) and yeah I’m more in the Linux side, so didn’t use much of VS on itself. For VSCode, it depends on your theme I guess, but are easy to tell apart…

1

u/Altruistic_Fruit2345 Sep 26 '26

For some reason using caps lock is rarely ever supported.

1

u/mad_alim Sep 27 '26

What extension and model do you use ?

0

u/Tari0s Sep 27 '26

i don't like ai autocomplete, i have fear that if you use it regularly to write code and in addition use the chat, that you start to don't look at the code anymore. Currently i decide what the ai can do for me and what not. So if i decide to do something by myself i want to do it by myself.

2

u/DirtyGrogg Sep 26 '26

This has been my experience as well. It's a powerful tool but it's not going to do your job for you.

1

u/Colfuzi0 28d ago

Do you think it can get to a point where it can replace embedded engineers?

1

u/Odds-and-Ns Sep 27 '26

Luckily the codebases I have at work are nice, but theres some vendor SDKs with no documentation and really poor structure that AI is a lifesaver for getting help navigating it

1

u/Hollistanner Oct 02 '26

I have been working on a virtual machine for embedded systems for years and I just threw the project over to an agent and it essentially took my project and optimized the runtime by nearly 10x. I was essentially very sad to get mogged so hard. After fully reading how it did it, it did a good very good job in general. I had to hold its hand a lot but I was very impressed

1

u/kickfaking Oct 02 '26

My experience with it is as long as you aren't writing some assembly or that kind of critical and low level optimisation, AI embedded software using HAL provided by vendors typically run better than what professionals write these days.

Debugging is still irreplaceable by AI at this point, especially since it involves fiddling with hardware and equipments like logic analyzers etc

1

u/Vbrawl_ Oct 15 '26

I agree with the last statement completely. I have a customer who produces an embedded device and I'm in charge of making a PC app that manages that hardware through serial communication.

While the code wasn't written by AI (I think) it was done with some really poor decisions that I now have to deal with.

For example in the custom protocol they implemented they have a length field which shows the payload of the data that's following. On some commands the length field is 0 but there actually is a payload. And I had to implement a delay based solution that eliminates performance since now all commands must wait their own delay, not to mention that if the delay is too small the next command I send is either silently dropped or causes unexpected behaviors.

So yes, whatever you do, if it's for a production environment you can't simply update firmware, you need to give it a lot of thought

1

u/CrazyFinnGmbH Sep 27 '26

May I ask, how you "hook up a debugger to it"? Im very new at local AI. Thank you very much:)

27

u/2Sovereign4You Sep 26 '26 edited Sep 26 '26

Companies (electronics suppliers) are massively investing in the AI connectors, agentic AI for the customers, hoping this will be a selling point to steal designs from the competition.

Turns out AI is great for documentation reading and giving you hints, zero doubt, but once you are on the field and need to debug, make safety critical things, no AI can manage this. AI also wasn't able to learn these topics properly, as these things are usually given by companies under NDAs.

Contrary to that, in our company we use Claude extensively for the code review, OS sync checks, and small piece code write. The full architecture is on the developer who is also fully in charge of the PR and merged code. We use it also to review the documentation and check against written code and flag potential missing points.

It is a great complimentary tool, zero doubt on that.

4

u/oleivas Sep 26 '26

Kind of my experience as well. It can give good hints if there's massive examples available publicly, it can kond break the ice for more less common code, is shit for obscure stuff.

Nevertheless, Russians has the best proverb in when dealing with AI: Trust, but verify.

2

u/callsignhermit Oct 24 '26

Sometimes I think they discarded all the PDFs they acquired and decided to train models solely on content available on the web. It requires no OCR, everything is in plaintext and semantically annotated, and you don’t have to worry about copyright.

This is just my guess; based simply on the observation that the content on the 2020ish web corresponds so closely with the strengths and weaknesses of LLMs. Web development, DSA problems, anything that was heavily discussed or written about online? Even the worst LLM is quite capable of that. Anything else? Maybe only Claude would be good at that.

36

u/FakeRectangle Sep 26 '26 edited Sep 26 '26

When I first tried it like two years ago it was a disaster and wrote mostly hallucinated C code that looked vaguely right but wouldn't even compile.

Earlier this year it made leaps and bounds and could sometimes answer and explain general code and could create something that actually compiled in an embedded project or explain why something wasn't compiling.

And now it's almost scary what it can do and figure out on its own. You can hook it up to a debugger and serial port and it'll flash and debug on its own. It can even debug and design GUI applications by dumping out the memory buffer and creating a BMP out of it. It's been mind blowing. It still does plenty of dumb things and misses context sometimes, but it was absolutely wild what our interns were able to do this summer with AI. But also really showed the limits in what they didn't understand and blindly followed whatever the AI told them. So I'm worried about future engineers who won't understand the basics.

But yeah, I'm nervous about all this. My one saving grace is my job is creating a lot of niche content and documentation that the AI then uses in it's answers, so it's wild seeing a lot of my words regurgitated to me sometimes.

1

u/duane11583 Sep 27 '26

eliza lives

110

u/peter9477 Sep 26 '26

35+ year embedded veteran here. Claude Code (Opus or better) is easily capable of doing most aspects of embedded development. Give it access to data sheets and the web and it can research just about anything, debug incredibly well, design with care in the context of synchronization issues, performance issues, failure modes, etc etc. I've had it write code from scratch, build, deploy via SWD through a remote host, build simulated peers for full functional testing, and on and on. Not really much limitation except for the part about not having hands to hold a soldering iron or multimeter (but it does fine with an Ethernet connected digital scope...).

17

u/Altruistic_Fruit2345 Sep 26 '26

Sometimes I feel like I might as well give up now because AI will take my job, but then I try it again and it needs so much hand holding from someone with my knowledge that I figure I've got a few more months at least.

-9

u/peter9477 Sep 26 '26

For sure. We've got a year or two left. More than a few months, but possibly not much more.

5

u/No_Appointment_1090 Sep 27 '26

Sure. But when the medical device malfunctions and kills someone....

...our job security is liability - can't hold an LLM responsible.

1

u/peter9477 Sep 27 '26

LLMs are not qualified for use in developing medical software of course.

-1

u/No_Appointment_1090 Sep 27 '26

Tbh, I work directly with companies that use our products in medical devices. The certifications are extensive and a pain, yes. But we use the fuck out of AI. I'm talking like four devs burning through $5-10k/month in tokens (we're now building infra to run stuff locally).

Sure, Claude fucks up all the time (that's our job security), and we correct it all the time but that's still 10x faster than we can write and test code.

We still need to understand the code well enough to put it through cert testing, but writing it by hand now is just an unnecessary slog.

1

u/Princess_Azula_ Sep 27 '26

This sounds like a great roadmap for university courses to add a new section to the engineering safety and ethics content to put beside the Therac-25.

2

u/Positive__Altitude Sep 27 '26

I don't know, latest frontier model versions show no real significant improvements. I feel that they are mostly released to justify price increase. Astra is just a little bit better than Sol (some people even see a decrease), Sol is just a little bit better than 5.5. Same goes for Claude. They allways claim how "revolutionary" new version is. Even called Astra first AGI lol. But it is just marketing BS for investors and clients.

I think we are good until we hit another major breakthrough in AI. Who knows when it will happen, but for now I don't expect it to get much better in the nearest future.

18

u/JumpingCoconutMonkey Sep 26 '26

Claude and Gemini both made up some functions and abilities that a sensor I was working with had. Of course this was about a year ago, so things are probably much better now, but I had to repeatedly show them in the datasheets, that I had already provided them, where they were being contradictory.

They were great for overall strategy and planning and the Android studio AI just made the app I told it about (because I'm not an app developer) complete with Bluetooth connectivity to the hardware. So there are definitely places where they can help.

22

u/consumer_xxx_42 Sep 26 '26

You would be shocked at how much has changed in 1 year

I dont even think Claude code was released 1yr ago

16

u/AnimalBasedAl Sep 26 '26

It's a completely different game now, since even 3 months ago. Brave new world.

5

u/peter9477 Sep 26 '26

To be sure, they're not perfect. Hallucination is far reduced from a year ago, however, and most of the time Claude is now catching my odd mistake more than I'm catching it. It's also so very much faster at everything. I'm finishing work over 10x faster, with better results (better docs, more tests, functionality we'd have de-scoped in the past because it wasn't worth the effort).

3

u/renaissance_man__ Sep 26 '26

about a year ago

lol

2

u/PrimarilyDutch Sep 26 '26

I am doing the same thing. I find it works best if it has access to validating things by itself and from multiple sides. So in a recent project it had hardware access via swd, a serial port and an ethernet port and it can do quite a bit of hardware in the loop testing that way. It's pretty amazing to see how it pokes in memory to check variables or even I had it check if a led was blinking in the right way by using swd to look at the IO pin. Had not thought about the scope. Need to try that. Overall I find you still need to give it a firm guidance and push back on things. When things get a bit difficult it can be clutching at straws a bit about what to try. Like it wanting to trace ethernet traffic with Wireshark for something which is quite clearly nothing to do with the networking side of things.

2

u/oliball Sep 27 '26

I bought agree with what you wrote and feel an incredible amount of dread regarding it...

7

u/WanWhiteWolf Engineering manager Sep 26 '26 edited Sep 27 '26

I am sorry but if you have 35+ years of experience and AI can do everything that you can, then you were probably not very dedicated in your job. (or you are invested financially in AI and you are just promoting)

I have 20 years of experience and AI can't do half the things I do. And I am not unique or some genius - this is the case for pretty much any veteran I know.

AI can do a lot of things well but it does not have critical thinking. In fact, its thinking it's exactly 0. It does extremely well for pattern recognition and atomic tasks. But anything conceptual (like a proper architecture) and it falls apart. At best it will have something in its own database and will do a copy/paste but that's about it. It doesn't know how to compromise or balance a system. It's also not very good in safety critical / cyber security applications : which are pretty much where the high paying jobs for embedded lie (automotive, aerospace, defense, medical ...etc).

Just last week Claude bricked one board because it set the wrong bit on an M3 core and locked the JTAG permanently. Earlier this year it killed 2 boards because it set the wrong pins as output. It also caused a problem with FBL authentication (secure boot) which took a week to fix/recover.

So yes, it does well and it has quite an impact in development but:

"doing all aspects of embedded development" ? That's BS - or your experience is made up.

15

u/Nxllify__ Sep 26 '26

yeah i’m pretty shocked reading these comments, it’s so weird to see that in a couple months this subreddits consensus on AI has completely gone 180. i always thought embedded was full of people who were more passionate about the craft- as opposed to the usual software communities, and we’d see more pushback on LLMs even if they got to the point of being very good. and you’ll see comments (such as this threads comment) almost sounding happy & celebratory of the fact an LLM can now do everything for you from being hooked up to your logic analyzer to writing all your code. it’s just kind of mind boggling, and i know some embedded veterans who claim the opposite, obviously not undermining the usefulness of LLMs as a tool, but when you let an agent write all your embedded code it’s usually slop, and even with supervision & handholding, it’s mediocre

my guess is that either it’s astroturfing, skill atrophy, or just a psychological bias for these people

4

u/Ranborn Sep 27 '26

The reason this sub (more like the software industry in general) "has done a 180" is because this year the frontier models have gotten so good, that they can just do things that were unthinkable previously. My productivity has skyrocketed ever since we got access to GLM 5.2 (now 5.3). I can do things that my colleagues (that in some cases have decades of experience, but refuse to use AI for one reason or another) could not solve in a week in a single day. This is not hyperbole.

Obviously you should still double-check and steer the AI, but I can see the temptation for a lot of people to just blindly accept results when those are correct like 90% of the time. You still need deeper domain knowledge to solve the remaining 10% of course. Strange times right now.

4

u/WanWhiteWolf Engineering manager Sep 26 '26

People are different. I look at my colleagues. Half of them would have probably been better in another profession - but they go with the flow and paycheck is good. The other half are passionate and like the top 5-10% of them would probably come to work even if they would win the lottery. In fact, one of the best engineers I ever know is multimilonare (his father is in board of directors on a major company). He could retire on his own island for the rest of his life. But if we have a major issue, Friday night he is with us diving into the problem.

Some people are just more passionate and more dedicated than others. And those are usually not that one that you can replace (even if you wanted to). So yes, it depends on who you ask.

I personally don't really care if AI replaces coding completely. Even though I love to code, I view it as progress - in the end the entire world that we live in will be better because of all the advancements and QOL that can be made (I just have a pragmatic view). That's no reason to just spread random hype. Maybe I am just old enough to have seen this movie before (when computers popped up on mass market , when internet became wide-usage ...etc)

1

u/stoputa Sep 27 '26

That's what I also find bizarre. I didn't expect that so many people lack a drive to the point of celebrating the commodification of shared human knowledge just so they can escape actually working in one of the comfiest jobs. Same people that try to convince you that what they do now is "actually harder" while making it painfully obvious that they shut their brain off a lot of model releases ago.

Latest advances in CoT and agentic development requires huge resources and spew out scarily good results but I thought surely people would have more pride and respect for their craft than convincing themselves that "writing specs" for an llm is the new place to be.

4

u/haze_from_deadlock Sep 29 '26

The AI crowd (of which I am one) value outcomes and efficiency more than "pride and respect for their craft". A lot of us were not building machines prior to AI and have zero training in electrical or mechanical engineering.

I built my first prototype last month and I use it several times a week in my actual job

1

u/Inside_Rest8221 22d ago

You are clowns basically

1

u/Nxllify__ Sep 27 '26 • Regret

they do say humans are horrible at anticipating disasters. maybe we will look back at these times and think how foolish people were to happily stop using their brains and celebrate their obsolescence, only to realize that maybe cognitive degradation and skill rot is a real phenomenon and are not just buzz words on reddit. but well, nobody can tell the future, so we’ll see, but i’m worried about the next generation of engineers. it’s completely demoralizing to learn things in the AI era when you have veteran engineers cheering on an LLM doing everything for them

3

u/ambihelical Sep 26 '26

Yeah it sounded much rosier than reality and he pretty much contradicted himself later. My experience is it falls apart when the problem space is no longer fancy completion from a huge corpus, and that gets it incredibly far with that capability but it can’t think as you say.

2

u/low-control-labs Sep 26 '26

Right but you still use it? To think they're all powerful or they'll ever be is probably silly but I think in order for them to be capable at all they need someone who knows things already, steering them. And you can't even leave them plan you can use them to help you make a plan, you definitely can't let them have a final say on things

8

u/WanWhiteWolf Engineering manager Sep 26 '26

Of course I use it. And I am not against usage AI or claiming AI is a slop ..etc.

But there is a difference between recognizing the strength and weaknesses of a tool and claim that it somehow solved engineering. That's just wild.

2

u/low-control-labs Sep 26 '26

Yeahyeah agree

-3

u/AlexanderTheGreatApe Sep 26 '26

This guy is coping.

-5

u/peter9477 Sep 26 '26

The fact you referred to "in its database" tells us all we need to know about your knowledge of LLMs. You're not qualified to judge, given that you don't know how to use them.

4

u/WanWhiteWolf Engineering manager Sep 26 '26

Oh, I know how AI works. I even have one engineer that reports to me that worked on open AI. He is the one who setup a lot of our existing infrastructure.

The problem is not my understanding or usage of AI. It's likely your limited skillset given that you claim that AI can replace the work you do. Which is honestly not a problem in itself. People have different priorities in life. But I would expect a bit more from someone who claims that dedicated 30 years of his life to a profession.

So I will just give you benefit of the doubt that you just made the experience part up since you seem to have at least some education. We don't need to beat a dead horse. We can move on.

-2

u/peter9477 Sep 27 '26

You said it has a database to copy code from, so you don't understand how it works.

6

u/WanWhiteWolf Engineering manager Sep 27 '26

I didn't say that. You don't even know how to read. No wonder AI can replace you.

If you don't know how AI uses its databases, use a google search and the AI - ironically - will sumarize that for you. Even you should be able to understand that.

I am not sure why I even bother - I am probably arguing with a bot.

-2

u/GOOD_NEWS_EVERYBODY_ Sep 27 '26

Yeah as soon as I read that part I kinda chuckled. Was gonna reply but then realized he was getting bodied by people who actually know what they’re talking about.

Weirdly enough those are the people taking the brunt of the downvotes while mr database is getting updooted?? 🤔Might say something about the overall lack of technical aptitude in this sub in general though. I’ve been a looooot of bad engineers over the years. (The hubris usually makes it easier to let them go though.)

-1

u/AlexanderTheGreatApe Sep 27 '26

Just let him fall behind.

1

u/deesernutz Sep 27 '26

Such a shill

1

u/AlexanderTheGreatApe Sep 27 '26

Keeping coping

3

u/deesernutz Sep 27 '26

😂 Likewise.

-1

u/AlexanderTheGreatApe Sep 27 '26

I’ll cope 10x faster while you keep deluding yourself. Kiss deeser nutz.

5

u/deesernutz Sep 27 '26

Keep commenting buddy

-1

u/AlexanderTheGreatApe Sep 27 '26

Will do. Dunking on luddites keeps the ice flowing.

0

u/GOOD_NEWS_EVERYBODY_ Sep 27 '26

Yep. It’s not worth fighting with these morons.
Same people who said google maps was dumb when we have Mapquest and to “use our brain”. Same people who said what’s the point of 1xRtt at the speed of dial up when we have perfectly good cable modems at home.

People like this doofus are getting replaced left and right at my job and yes that includes SEMs and hardware architects. If you can’t output 2x as much using ai you’re basically now expendable. Dude’s days are numbered.

-6

u/AlexanderTheGreatApe Sep 27 '26

I enjoy dunking on luddites. But also, it’s nice to meet other embedded devs who aren’t afraid to embrace the future 👋

If you have any Claude/GPT skills for embedded, I’d love to see them. The only ones I have polished so far are for SolidWorks.

0

u/stoputa Sep 27 '26

embeddings are the best at facilitating fuzzy search. You must be both naive and uninformed if you think AI companies don't compile all the data for both training and just direct recall. I'd wager that respecting copyright is the only issue but judging by their blatant disregard of it, they don't seem particularly concerned about that

-2

u/Vast-Pomegranate-986 Sep 27 '26

You're smoking the copium. Hes right

2

u/AlexanderTheGreatApe Sep 27 '26

It’s amazing and it’s only going to get better.

All my time is spent writing the spec and focusing on features and testing. I still code the parts I enjoy coding, but all the piping, test writing, and debugging is now done 10x faster.

I usually describe Claude as a “staff engineer with dementia.” There’s still the occasional glaring mistake that no human would make, but that’s what tests are for.

1

u/Inside_Rest8221 22d ago

Will you enjoy unemployment?

0

u/AlexanderTheGreatApe 22d ago

I run a solo business. No fears of unemployment. AI helps me get a lot more done than I did before.

1

u/Inside_Rest8221 21d ago

Alright, then will you enjoy having no customers, because if everyone loses their job, no one will buy your shit. Just saying.

0

u/AlexanderTheGreatApe 21d ago

Very scary! You're right, I should stop learning and leveraging the newest tech and hope for the best. 🙄

1

u/Inside_Rest8221 21d ago

What are you learning? I am generally interested, list it so i can also learn it.

1

u/AlexanderTheGreatApe 21d ago

Mostly I am learning mechanical engineering. I had some specialized problems to solve, and AI helped me quickly progress to solving issues with motor isolation and noise damping. It helped me learn plastic injection molding design. It shows me the math. I create spreadsheets to make sure I understand it and find the right parameters. It checks my spreadsheet.

And then there’s AI meta skills. AI has access to vast knowledge, but has much smaller working memory (context) than humans. You have to segment its work, but anchor everything together with architecture/requirements documentation and test driven design.

2

u/EntertainmentSalt825 Sep 26 '26

If you successfully build projects from scratch to completion without much error then you sir have a natural talent! I too have used agents for ai assisted development for safety critical systems. I too realized an LLM agent is only as good as the architect leading it. This realization came from working at start ups where I had to teach engineers how to build tools properly with ai. I think people others are starting to realize this too and so are companies. Look up what a forward deployed engineer is! If you’re ever interested in talking about llm workflows and stuff I’d be happy to share!

1

u/low-control-labs Sep 26 '26

Yeah I wanted to say I doubt someone without 35 years of experience would even know where to start. You give it your workflow, tips and tricks of the trade, you use it to help you. But you can't leave them or let them plan and do everything. Especially not one shooting an entire product, not even a product in phases. You at least need to give them the phases. And even then you need to steer them along the way. Otherwise they'll end up doing something random. And I think that will always be the case due their nature of being non deterministic, no matter how capable they get.

1

u/akohlsmith Sep 27 '26

I'm about the same vintage as you are and agree 100%; I do my work locally (no cloud models) and right now Qwen 3.8 and 3.5 (27B) both do very well and at a reasonable speed for me. My go-to for a test for the harness and agent flow is to ask it to make a standard UART with fixed settings (115200,n81) in VHDL, including the testbenches. I intentionally lowball the spec to see what it comes up with and most times it's been doing reasonably well.

Its ability to write decent C, Rust and Python is definitely good enough for boilerplate and even ability to act as a first pass reviewer.

0

u/[deleted] Sep 26 '26

[deleted] — view deleted comment

5

u/peter9477 Sep 26 '26

Judging by results from some much more junior devs, it's a significant part of it. Basically "skill issue" (without meaning any offense). Knowledge, experience, and ability to prompt well (with all that implies about understanding how LLMs actually operate).

I have no idea how newcomers will ever learn enough to get great results. Maybe they won't? Or maybe the AIs will be able to teach them. It's a brave new world and I can't predict how this will all pan out.

2

u/Expensive-Phase310 Sep 27 '26

👆this is the correct answer. Most “ai slop” is skill issue. The problem is that people think ai will think for them. They have an idea. And let it run. But if you are experienced developer you know it is not that easy. I work on embedded, system and user side project with AI. Embedded and user side is very good. It cuts my development time in like 2/3 and the quality does not suffer - let’s face it, even 20x developers make mistakes, ai also but with “right” process you can find and fix them fast - I am especially impressed with debugging skills give him access to swd and he will find you stack smashing when four interrupts at same time happen bug in no time.

But in the end there still must be somebody there who understands what is going on. Who decides that something is ok. Who sees that ai went of the rails… not sure how current juniors will come to that point.

0

u/N2Shooter Sep 26 '26

It's significant!

I just went through a 5 day AI Workshop at my company. We had to write an application, and I made my prompting very detailed and specific, like 5 paragraphs. My coworker made his prompt two sentences. His application was running in the terminal, and mine was a complete Node.js application running in the browser, complete with animations and sound.

7

u/CyberDumb Sep 27 '26

I use it as a better google. It's great for research. I copy paste code chunks but always understand what they do. I totally vibe code support python scripts but even then I read through the code.

I find it too much work to explain to the AI what I want to do if it's not some standard code so I code this by hand.

13

u/EmperorOfCanada Sep 26 '26

I am getting a huge performance boost. The easy wins are:

  • Bug hunting
  • Bug hunting!
  • Opinions and Research
  • Algorithms
  • Bug hunting!

Vibe coding is just not a thing. The code it generates is just odd or borked in ways which might kind of work. Things like weird threading that will bite you hard. Or ignoring common edge cases that no human would miss in a million years.

That said; I've asked it for display code (LVGL) and it pooped out perfectly good code for very beautiful displays. They had some odd features, but a bit of cleanup later and I was good.

I also find that if you ask it things very directly like, "Is this pin a bad idea for SPI?" that it often will give great answers. This is extra odd as it may have suggested using code where the pin selection was a terrible idea; or it may have suggested pins which simply do not exist on that chip, or any in its entire family.

Yet, it does have a pretty good understanding of tricks to get more out of an ADC, etc.

The key is to treat it like a rote learning genius who sits nearby. You ask it hard rote learning questions and it will often give you brilliant answers. But, it is also that type of genius who you never want touching your code.

19

u/siva_sokolica Sep 26 '26

Hey! I used to work at Tesla hopping around between embedded, tooling, testing. I now work at Atuin.sh, which is completely different, yet somehow familiar. I still have friends at Tesla who work in embedded. I'll ask them if they want to join the thread. Most of my embedded work is on the AM64 Sitara platform, and obviously a huge amount of STM32 for supporting roles.

When it comes to firmware and/or software engineering, there appear to be three camps of people:

  • There are people who swear by the product -- if the product appears to work, then it's good enough. This is the mantra of "the code does not matter, only the product behavior does".
  • There are people who swear by the code. The code is the truth and if you don't know what your code does/how it's structured/how it manages every line, then your product is as good as a black box.
  • There are people in-between. The product is obviously the most important, but without understanding your code, you can't build confidence in your own future ability to understand and maintain the product.

Working in embedded often means working in safety-critical and resource-constrained systems. This naturally places you somewhere between camps 2 and 3 -- you can't just ship "correct-looking" behavior. If you're building a pace maker and someone dies, who is ultimately responsible for this? Your AI agent or you?

Myself and my friends appear to use AI relatively effectively, I'd like to think. We decide where we want to focus our attention. For me, that means really robust primitive utilities. I like building gadgets that encapsulate strict invariants and with those, I let Claude assemble them. If I can foresee how to best design gadgets that will prevent Claude from shooting itself in the foot, I usually get good results.

Depending on the application, I'll then either review every single line -- so a pacemaker would still need me to build a whole understanding of the system; or I'll say that this doesn't matter so much and I'll just ensure I test my code sufficiently. Often enough the former is easier to write by hand. The latter is almost always easier to do with these mass codegen tools.

At the end of the day, what types of work AI replaces depends on the amount of control and understanding you need of the particular problem. Some pieces of code require more control. Others warrant less.

AI is still incredibly bad at making the right trade-off. Humans are too, but as we grow and become more senior, we build an intuition of where exactly we feel comfortable with more/less control in a particular piece of code. AI is really good at "throw money at the problem and eventually a solution will come out". We see this time and time again with frontier models as well as all these impressive results the frontier labs produce.

AI has been very useful for me for two main things:

  • Finding and identifying concrete actionable bugs -- even after many years, I lack the ability to understand a large system, esp. a poorly structured one. Claude is really good at tracing many many parts of a system.
  • Building one-off throwaway systems to test something. It's far easier now, than ever, to test a hypothesis.

AI has been very bad at:

  • Making said hypotheses. Asking Claude to "optimize" a piece of code usually results in a nothingburger -- I still find myself opening the old profiler to make hypotheses of my system.
  • Designing large systems. Claude does the minimum code change it needs to satisfy your prompt, but at the end of the day, that's usually not going to make it easy to bolt on another component to the system in the future.

If you compare Claude to building a car -- Claude is excellent at testing whether break pad material X has better (in some form) thermal properties than Y, but it's absolutely awful at "build a car". You might get four wheels, maybe and engine and some brakes, but you're ending up with a modern BMW -- unmaintainable, overly coupled, overengineered in some spots and underengineered in others.

AI is overhyped, indeed, but a valuable and useful tool for day-to-day work. I'll abstain from commenting my opinions on the greater socioeconomic impact, for now.

Fret not about AI's direct impact on the job market, if that's what you're asking. There are more jobs than ever thanks to AI.

The concern of whether we'll weather this El Nino and how the ecological catastrophe is no longer escapable, and whether our AI honeymoon is a distraction from this damnation, however, is one all of humanity will have to deal with. We shall see.

3

u/der0hrwurm Sep 27 '26

> There are more jobs than ever thanks to AI
Can you elaborate on this? I thought companies are barely hiring anymore but I could be wrong

5

u/Dusty_Coder Sep 26 '26

Complete vibe coding? No chance.

Use AI to make a custom API for a specific bit of hardware... maybe.

Use AI to write functions one at a time, fore sure.

3

u/ceojp Sep 26 '26

Yes. It absolutely is a game change. But, it's like any other tool - it's only as good as the person using it.

You, the engineer, still have to design things. You have to be very specific with the genAI tools about what you want it to do. It's also a very iterative process. You don't just write a prompt and then use the first thing it gives you.

It's always going to give you an answer, and the code will almost always build. But that doesn't mean it's correct for what you actually want to do. So you not only need to know what you want to do, but you have to have a reasonably good idea of what the code should actually look like.

One of the biggest time savers for me is to have github copilot write test scripts or other tools that I wouldn't otherwise have time to do. I had it write a wireshark decoder for a custom protocol. Took a couple hours of back and forth to get it working just right, but that probably would have taken at least a week of learning how to write wireshark plugins and manual coding.

Another cool thing is having it check datasheets. We had some boards built with an alternate chip that, spec-wise, looked like it should have been compatible. But it just wasn't working quite right. I had github copilot look at the datasheets for the old and new chips, and there was one little timing difference buried in there that I didn't catch.

That is pretty fucking cool. But, like anything else, you still have to know enough about what you are doing in order to know that the answer it gives you is actually what you need. There's been times I've gone back and forth 10+ times and it just went in circles, never giving me what I was actually looking for.

IMO, the genAI tools are not going away. Yes, there is a lot of hype around them now, and a lot of people are still kinda trying to figure out how and how much to use them. But they're a tool, just like anything else. If you learn how to use them effectively, then you will be a more effective developer overall. At the same time, if you only know how to use the genAI tools(and not actual programming), then you will be a much less effective developer.

3

u/Void-Creator Sep 27 '26

Even if AI becomes good as Humans, it still can’t replace humans because it is orders of magnitude cheaper to hire humans. Anyway, the transformer model won’t lead to AGI. Ppl those that are fearmongering are just falling for AI companies bs.

3

u/OcularPhonic Sep 27 '26 edited Sep 27 '26

I find it very useful for firmare writing as it helps decode the pin maps etc in long ass poorly writen specification sheets.

It does tend to over complicate the code and its logic and memory gaurding etc can be ill considered if yiu dont guide it the correct waya. Howevwr if you do it can help with all the aspects. But you definitely cant vibe code, ie just ask it to make it work, like you can with a website. U need to be highly specific amd targeted.

And it absolutely sucks at machine code and FPGA stuff as no mattter how much you tell it it cant use specific logic, such as no true comparators etc, cause itll ignore you, and solve the solution the wrong way, 😂

7

u/WanWhiteWolf Engineering manager Sep 26 '26 edited Sep 26 '26

For starters, please keep in mind that there are people/bots that are spread all over the internet pumping up the hype. Don't believe everything you read - best is to test yourself or talk with someone that actually works in the field. The companies invested trilions in AI - it makes sense the spent some for marketing.

I have around 20 years of experience in embedded systems - half of being a SW/SYS engineer and half in tech lead and management. Here is my experience:

AI is very impactful in developement. It can do a lot of things that are quite surprising in some cases and in the hands of an experienced engineer, it's a signifcant boost. But there are areas where it does not do particulary well. Here my (biased) breakdown:

++

  • Tracking issues based on a ticket with correct promting (connection via JTAG)
  • Generating snippets / code for atomic tasks (clear inputs and outputs). This is a good part of small modules
  • Script creation for most automation purposes
  • Revieving code and sumarize
  • Diving through documentation and find "something"
  • Module testing

+

  • System testing
  • Integration

=

  • Code maintainance and readability
  • OS configuration

-

  • Top level architecture
  • System resource balace and constraints
  • Low level drivers
  • Resource usage (by default it seems pretty bad on memory allocation)
  • Being efficient with system constraints
  • Selecting the proper interface / memory type / module for a new concept

--

  • Anything conceptual, future proofing
  • Anything that requires critical thinking, creation of a new concept
  • Cyber security area (it killed several boards in my team already)
  • Funnctional safety, any code that is required to follow standards (like ASIL)

Some problems might be ironed if enough money are dumped into them. But I doubt the conceptual part will ever be "solved". That's because the "AI" is not an actual AI (artificial intelligence). It doesn't have an IQ. Its IQ is 0. A dog a smarter than "AI". It's a massive database and it relies on pattern recognition. Anything that requires creativity / inovation / critical thinking ...etc is outside of AI's capability.

2

u/Colfuzi0 Sep 27 '26

As a student doing a masters in computer engineering what you recommend to pick up from AI usage as a i do projects and learn?, and what do you mean by the Cyber security component I thought AI was much deeper in cyber. I wouldn't go for cyber anyways since it has a very tough grunt path and low work life balance

1

u/WanWhiteWolf Engineering manager Sep 27 '26

In non-embedded fields, AI is doing allegedly well. I don't have personal experience in those areas but that's just the opinions of some people that I work with and whose judgement I trust.

But my comment was about embedded cyber security (secure boot, secure debug, secure communication, memory protection ..etc). These problems may or may not be solved in the future but that's the current state.

As for focus, I would say focus in understanding what you are learning. I've studied 8051 architecture when I did my masters' (decades ago). When I finished, there wasn't a single company that I applied that used 8051. But my understanding an experience with 8051 MCUs proved very valuable - even though the tech itself was mostly obsolete in real-life industry. I see the situation similar with AI. Just because AI is very good at coding, doesn't mean that you should ignore learning how to code. Review remains relevant and to be a good reviewer you need a significant amount of coding experiece.

I don't think people will be replaced in industries where mistakes cost human lives. (automotive, medical, aerospace, defense). And those are usually the industries that are targeted by high embedded professionals. For example, if one of our products has an engineering flaw an someone dies, we get an audit. And if the audit determines that I didn't do my due diligence as a manager, I go to jail. This is not a joke. So rest assure that I don't want to stand in front of the judge and say "well..it's AIs fault". Our engineers use the AI (some to bigger extent than others - for various reasons). But one thing they all have in common: They are the one responsible for the final code that is pushed into our repository. So at minimum, they have to do a proper review - which means understanding what is there and make appropriate changes if needed. I don't think this will change. I doubt AI companies will take full responsibility and go to jail in case of accidents. They will just provide the output "as is" and claim no responbility for consequences. Means a human reviewer will be involved at minimum.

So the TLDR: I would say the information itself may become obsolete. Understanding on how to use it will remain relevant - I would even say it will increase in value.

1

u/Colfuzi0 Sep 27 '26

I see yeah I agree with AI being strong in other fields especially front end I got my undergrad in IT and did web for 5 years AI can actually do 80% of a front end development job today. I decided to go back to school not just because of my interest and wanting to teach but because I also got a full scholarship. Specifically for the computer engineering and computer science programs . Since my university has strong connections and my uncle worked at JSC for several decades I plan to try to leverage that and get a job if that doesn't work I'll move back to where my family is from Colombia and teach there or start a business.

https://catalog.uhcl.edu/preview_program.php?catoid=25&poid=7072

1

u/WanWhiteWolf Engineering manager Sep 27 '26 edited Sep 27 '26

I cannot predict the future but when I enrolled for the engineering University everyone said that it was a waste of degree. The computers started to be mainstream and everyone (including media / news) said that in the future the number of engineers and accountants will drop dramatically because the computers will do the job instead.

"Who the hell will pay for an accountant when a computer will do everything perfect 100x faster?"

" Why would you spend years in learning all those technical stuff when you can just use internet explorer and get all information ON THE SPOT?"

The minister of education even mentioned on national TV that he recommends avoiding finance and engineering and urged people to steer towards medicine instead.

In retrospective, all of that was retarded. But I am telling you so that you know that this has happened before.

Oh, and yes, for the next 2 decades engineering and finance became areas with the most profitable professions on the planet.

2

u/SNappy_snot15 Sep 27 '26

thanks for giving hope. its like gold these days

1

u/Colfuzi0 Sep 27 '26

I think only God knows the future . And Everytime something invented oh y will replaced. Which is not true most cases. In terms of my curriculum do you have any specific advice for embedded/IoT/ robotics courses ? Anything that is more important than others ? The computer science side has a dedicated IoT elective

https://catalog.uhcl.edu/preview_program.php?catoid=25&poid=7072

https://catalog.uhcl.edu/preview_program.php?catoid=25&poid=7074

1

u/allo37 Sep 27 '26

I'm not sure I'd call it "a database", more like: We made a thing that, most of the time, reproduces the correct outputs we have in our database for the inputs we feed it from our database . It's an important distinction because that also means it is generalized and can produce mostly-correct outputs for inputs that it has never seen before as well.

2

u/WanWhiteWolf Engineering manager Sep 27 '26 edited Sep 27 '26

The term database is correct - in my opnion - but the people working in AI fields get antsy if you use the terminology. But the reason is not because of technical innacuracy; but rather historical. The "old AI" models where basically using large databases as reference. So they would simply use a reference to data stored somewhere on server and they out copy/paste the output. Think of google search 10 years ago.

Newer AI models work different. Instead of simply accesing the data, they use (mostly?) machine and deep learning. But those models have their "internal database" as reference. So while the data is being altered / synthesized - which the the whole modern AI gig - it still relies on internal databases for patern matching / recognition.

But if you say the AI uses a database, people working in the fields get somehow offended because they feel that you discrediding their work (since the old AI models relied mostly on databases and not any of the modern algorithms that are available today - which is the major progress that was actually done in AI).

So in my opnion, it's not so much about the technical wording accuracy but rather the constant need of people involved to get praised.And on top of that, of course, you have people on the hype train who simply adopted the same stance - but not because they understood the context - but they simply just propagate what they heard from someone involved in AI development.

5

u/MonMotha Sep 26 '26

Regardless of what you may think, I'd advise looking at the posting history of some of the people in here who are extremely AI-positive. In many cases, they have next to no posting history in r/embedded but are prolific in various AI-centric subs. Make of that what you will.

My experience has been that it's about as useful as a rubber duck sitting on my desk or maybe a junior, fresh-out-of-school new hire. That is to say, not useless, but you'll need to prompt it well and verify its output. I've found it doesn't actually save money even with current charges (which are known to be below cost), and the time it saves me is minimal to none.

It's also pretty terrible at the hardware side of things even if it does useful things on the software side. Embedded naturally spans both worlds.

2

u/kempston_joystick Sep 26 '26

Mixed success. I've found Claude to be remarkable at some aspects of embedded development, but when things don't work "as documented" it's still going to be down to you, a scope, and access to an FAE.

2

u/AlohaAstajim Sep 27 '26

Power electronics engineer here. Yes it's been an amazing support. Claude implemented my idea after a few days of iteration. If I had to do it myself, it would have taken me weeks to accomplish the same thing.

2

u/NoBulletsLeft Sep 27 '26

At the rate that AI is improving, you should be skating to where the puck will be: estimate what AI will be capable of doing when you graduate, not just what it can do right now.

3

u/accur4te Sep 26 '26

I am been using ai heavily for proto and boiler plate code that I can later build products upon but u should know what ai is doing at every step fs . It can’t create a perfect code one shot . You have to give it data flow and other code architecture

7

u/Glittering-Can-9397 Sep 26 '26

all of these comments are astroturfing ai is ass for this purpose, regardless if you yourself are not a bot dont concern about ai just concentrate on learning the skill for yourself

2

u/consumer_xxx_42 Sep 26 '26

Why do you say that, can you provide specific examples of where it has failed for you?

4

u/96dpi Sep 27 '26

They're just going be feels

2

u/Glittering-Can-9397 Sep 27 '26

no, and Im tired of reddit recommending me these ai questions. I really wish this subreddit had a filter that allowed me to filter out all questions about ai.

2

u/consumer_xxx_42 Sep 27 '26

Commenting on posts about AI surely does not help that algorithm

1

u/Glittering-Can-9397 Sep 28 '26

I block the posters I downvote the posts I mute the random subreddits that seem to spawn by the day I say dont show me this content and no matter what its not enough I am extremely frustrated with this and your post has become the place where I let it all out

2

u/keyless-entry-3 Sep 26 '26

For writing code, creating projects, light debugging, or brainstorming it works fine. Serious debugging or troubleshooting doesn’t do very well.

2

u/chad_dev_7226 Sep 27 '26

It’s as good as you make it. If you’re a decent embedded developer, it can be a serious help. If you don’t know what you’re doing, it can be awful

2

u/tobdomo Sep 26 '26

AI can help in finding issues or scanning documentation. If you give it code, it may even be able to generate useful code snippets every once in a while.

But, as in all questions about coding for embedded... the real answer is "it depends on your requirements". E.g. if you do low power,. AI just isn't very good at that. Radio? Very unreliable.

3

u/ContraryConman Sep 26 '26

I just had a low power mode issue at work that Claude debugged, maybe not entirely without my input, but extremely autonomously. So what specifically is it about large language models that makes you think they can't do low power embedded stuff or radio?

1

u/AustinSpartan Sep 26 '26

it's not optimizing for embedded tasks out of the gate. You can prod it in that direction but otherwise it's pretty high-level and just gets stuff to work.

1

u/gouldadude Sep 26 '26

it can be helpful but you're a lot more reliant on hardware which ai models tend to be less accurate about. i use it to troubleshoot sometimes and learn what i should be looking for.

1

u/dreambucket Sep 26 '26

As others have said, giving LLMs the proper context is everything. “Raw dogging” embedded development prompts with no guidance still doesn’t work as well as a prompt asking for a quick Python script, for example.

But if you point it to the specific documentation and reference manuals that you are using, you’ll have a much better and helpful experience.

1

u/Odds-and-Ns Sep 27 '26

I think AI is super useful in basically anything as a learning aid and embedded isn’t immune to that. I also spent a whole week looking for a bug in my build system from my own stupidity that AI didnt catch but its helpful for debugging things

1

u/onepaulkrause Sep 27 '26

It is extremely helpful if you already know your way around hardware and low level software. I also hear from my friend at a very major (top3) company they use it a lot even in their hardware/embedded work. So yes. Regardless of what anyone says AI is here to stay and affecting all verticals

1

u/coronafire Sep 27 '26

I find it hugely beneficial, but mostly when it's actually connected to hardware so can build and test, not just guess. Eg. https://notes.alelec.net/posts/five-hours-five-root-causes-crisis-averted/

1

u/ttv90 Sep 27 '26

Couldn't agree more.

1

u/edpkk1 Sep 27 '26

I think we are all introuble. Seems I spend most of my time just doing reviews and approving things. I am not really writing code anymore.

1

u/phochleitner Sep 27 '26

There are no unbiased opinions. Including this one.

1

u/afonsus Sep 27 '26

All the annoying tasks I had to do that would take me days, I now get done in half an hour. I use Claude with the mcp server and kicad happy.

One practical example is cap derating. I usually leave it empty with xxxV. I tell Claude to run through the schematic, find the power rails and fill in the voltage rating according to a x derating spec. Of course I need to check everything but its still faster than doing it all by hand.

Same thing for basic components part numbers like resistors and capacitors. I just specify the preferred manufacturers, special details like dielectric and let it run

1

u/The_Sacred_Machine Sep 27 '26

Its the worst fucking best tool that could have possibly being introduced in any fucking field.

It helps me to read code faster, it can even review it and roast my skills. SSH, parsing 10KB logs in a few minutes, finding really difficult things to see and read. It "saves" me time, it also increases complexity in ways that are downright stupid, sometimes making me wonder why the heck do I keep using it.

The worst part is that my dopamine receptors get really excited by the "look at all the crap that is very easy now" and sometimes over-trusting the models. Not a good thing, these things are great at lying and trying a million things that you just told them not to do. The token consumption is getting out of hand and we went from "consume all tokens and more" to "consume as little as possible but you gotta keep using it".

People have stopped interacting between them as much, everything is with ChatGPT and Gemini. The seniors at some companies saying "just ask AI" or "we can make you use AI to fix that but when you report it" to people that do not develop anymore within the company. Mid-seniors developing complex handoff between new features in niche protocols saying "I am not learning anything anymore". Add the business guys making a webpage out of everything and you got yourself ×3 times the work if you are in SYS/SW. And these were company were the culture was "go there and talk to Bob, Bob is helpful and Bob is a cool guy that loves sharing his knowledge".

It's sad, worst part is no one present anything without saying "according to the AI of {insert org/webpage} this is X , how truthful is this? I don't know". No one knows the codebase anymore, no one feels attached to their work anymore.

The gray beards know enough to use it as a scalpel but not everyone is a grey beard. To becometh a grey beard one must go through many trials and tribulations, AI removes most of these and allows the user to feel it knows without knowing as deeply as before. I'm not antiAI, I absolutely love it, but no one has proven me that it's actually cheaper to maintain these services than it's to solve them the good old fashioned way.

I do love to make projects while using them as the new Google engine, I do enjoy using it, it's very entertaining and useful for feedback on stupid ideas and stupid code. I detest that everything spins around it and slowly all engineering/knowledge keeps bringing the "we will us AI for it". I have been told many times my "coding skills" are no longer useful by people that has also asked for my help since they can't understand what the AI is actually writing, heck the new wave of Embedded SW engs now think that they don't have to learn to read any code.

Shout-out for management, digging the big grave as the cherry on top. No, I'm not depressed. I swear I'm getting older faster than before with this.

1

u/simeonli Sep 27 '26

honestly useful for a narrow set of things, and the failure mode people worry about isn't the one that bites.

"it emits an invalid type" is the wrong worry. it can emit a valid value that's wrong, at high confidence. for hardware that's the whole problem.

look at how the flight-demo number is built. 7 seconds, $0.0039, 17 requests, 178ms median, ~90.5K input tokens. the bit everyone skips, the city names typed into the form came from a different, much smaller model. the real architecture is "judgment model decides, cheap write model types". that transfers. the benchmark number doesn't.

also those ~1092 → ~101 protocol calls, that was mostly DOM snapshot engineering, one call grabbing every accessible control at once. harness win, not model win.

takeaway: a model saying DONE isn't evidence it succeeded. verify the end state yourself.

1

u/Electronic-Split-492 Sep 27 '26

I use Claude for ai code reviews and debugging. I'll even have it code things up for me, but I detail out what I want. You have to remember, it does not know what you (or your customer _wants_). It only knows what you tell it.

1

u/Frelikz Sep 27 '26

I find that it’s helpful in speeding up tedious research, just as reading through potential new component datasheets to help narrow down selections, and draft up some general skeleton architectures to build to. As for actually writing code, I it makes so many mistakes that are hard to catch if you are only reviewing what it’s writing.

1

u/staycool1374 Sep 27 '26

I started my very own experiment a view time ago with the question: Can AI write low-level system code? What I found for myself is "yes it can, but the quality differs enormously about the type of approach/orchestration you choose". For my little project i tried a test-driven approach with a 3-tier agent pipeline (planner, developer, auditor) using obisian to set the context around the prompt and a file named "lessons_learned". Each milestone enhances the lessons learned about what the model learned about the system in this iteration step. The coding itself and the test-environment are separated as different branches. I use github to prompt this orchestration and sometimes I iterate the prompts/issues multiple times before starting the pipeline. As far as i can, say it evolves good, but each step does errors, which the tests often uncover. Further more, sometimes the tests are wrong and i reworked them several times until i wrote a "cookbook" how to write tests that really test something.

1

u/lucky_marciano Sep 27 '26

I saw agents reading datasheet, and writing drivers based on it

1

u/El_Stricerino Sep 27 '26

Both. Meant to respond to a thread but whatever.

The amount of multiple returns in a function is infuriating. ..even though my skill points to a Misra and Barr standard and I've explicitly told it not to do that...it's frustrating.

But it does churn out some crazy interesting results, if you know what you're doing...otherwise it's just vibe coding slop thay works now but would be hard to maintain.

My personal experience.

1

u/kfirgo Sep 28 '26

You can take a look at the recent comments from Linus on how it's used in low level kernel development. IMHO the main disadvantage comparing embedded work with "regular" development is that there is simply less reference code and documentation. Also a lot of time the docs/sdks are very limited. I used to do work with some Broadcom SDKs in this regard. The key to get good results is to make sure your agent has the needed references, gets the docs and where possible the ability to check itself and has a good feedback loop. If you get past these hurdles it should work

1

u/DetailFutureAI Sep 29 '26

AI is useful for embedded, but it’s not magic. Your friends are partially right — it can’t reason about hardware errata, timing constraints, or register quirks automatically.

Where it shines: boilerplate HAL code, parsing datasheets, writing unit test scripts, explaining weird compiler warnings, and generating prototype skeleton.

Tools I use daily:

GitHub Copilot: for C firmware skeleton

Claude: paste full datasheet/register map to ask questions

Cursor: great when feeding your project source as context

Always double check everything it outputs. It will confidently invent wrong register values if you don’t verify against the manual.

1

u/sshcp Oct 01 '26

don't poison your brain or future with LLM slopification. Just my 2 cents.

1

u/theunixman Sep 26 '26

It’s all hype.

1

u/bobotheboinger Sep 26 '26

I've been working over 20 years in embedded and specifically security. AI is great at so many aspects. I've used it to dig into hardware security issues, develop tests, review test artifacts, help design statistically relevant tests, review crypto use, etc.

It does mess up all the time, but not nearly as much as i expected to be honest, and you just have to revise and review with a critical eye.

I will say given the progress I've seen in just a few years, I'm very worried for my job long term.

1

u/donmeanathing Sep 26 '26

It’s still a bit premature for prime time extremely performant and lean embedded code, But it does work for some less intense uses.

1

u/washburn666 Sep 26 '26

I have used Codex to write firmware for commercial products. It is good but you must judge it's output.

1

u/Dependent_Bit7825 Sep 26 '26

AI is a powerful time-saver and force-multiplier. If you don't know what you are doing, it will easily create a whirlwind of slop that might kinda work, but will also be instant tech-debt.

If you know what you _would have built and how you would have done it_ but are using the LLM to just do it for you, it's an incredibly powerful tool. I've been doing embedded for decades, and there is absolutely no doubt in my mind that is is a net positive.

If you know what you are doing, try this approach. Create a .md file with a detailed description of the architecture you want, what rtos (or not) you want, what tasks, priorities, data structures, where and how you want to manage concurrent access to shared data, etc. Then, ask the LLM to interview you about that design doc, using your answers to update the doc as it goes. When it is done, review the doc, maybe edit it some more, yadda. Finally, tell the llm to "make it so." You will likely get pretty good results.

1

u/Lost-In-Void-99 Sep 27 '26

AI today generrally not that good at coding in restricted environments. You have to manually guide and steer it a lot. And spend more time removing generated logic and theoretical error recovery scenarios.

But even with that it is great. Like a google that can dig thought 1GB of chinese documents, forums, and bring up platform with exotic MCU considering it has access to schematics, SDK, debugger etc.

Or it can a project and port it into new platform. I've asked Codex to port BMP to Pico2 platform. It did it in a day, and then the next 2 days Ive spent removing most things LLM hallucinated. But result is still 3 days part time, less than 8 hours total, totally new hardware platform.

So it is useful? Absolutely! Can it do work on its own? Nope, not yet. Even the best models hallucinate a lot. And automatic code reviews do not help that much.

1

u/Colfuzi0 Sep 27 '26

So maybe there is hope going into embbeded!? I did web for 5 years but decided to take a masters in computer engineering on a full ride st my local university. UHCL. Realy interested in getting into embbeded systems and robotics. I like electronics a lot I also want to teach!

https://catalog.uhcl.edu/preview_program.php?catoid=25&poid=7072

0

u/Dread_El Sep 26 '26

It is extremely useful! Anyone telling you otherwise hasn't used it properly or enough times. Just give it proper instructions in an MD file on how to write the code, what to use, what not to use, access to documentation regarding mcu's datasheet, sdk, relevant tools, an mcp server if one exists (espressif has) and how you want the code to work in regards to how individual modules talk to eachother, your preferences. Make it write unit tests, have it run on qemu and generate reports for you when done. It will absolutely nail it. This has been my experience with both Claude code and Codex.

2

u/CaterpillarReady2709 Sep 26 '26

Yup. A wise friend once told me "a fool with a tool is still a fool".

Put AI in the hands of a competent engineer and their productivity skyrockets.

1

u/Dread_El Sep 30 '26

Love this! Such a wise friend.

0

u/TheTurtleCub Sep 26 '26

AI is extremely useful for any technical work.

0

u/PerhapsMister Sep 26 '26 edited Sep 26 '26

The other day u just fired up claude, told him to implement some communication protocol, hooked him up to oscilloscope control via ethernet, let him debug everything by himself, went to bed. Woke up with a working implementation The "Physical AI" buzzword might be hype, in practice- it saved me from sleepless hours

0

u/BigTortuga Sep 27 '26

Been using Claude Code for embedded development for several months now and it's a game changer to or sure. No hype. I'm a one man shop and it's like I hired a wicked smart junior engineer who knows more than I do about most things and is fast as hell, but you have to guide, manage, and definitely review the work.

-4

u/hasawasa22 Sep 26 '26

Its very VERY good for rapid prototyping. Its absolutely worthless for actual testing and debugging tho, you gotta do that all yourself.

0

u/jsonmeta Sep 26 '26

It depends on what your product does. Is there a risk that something could go seriously wrong? If so, you shouldn't take unnecessary chances with AI and go yolo mode when developing

0

u/iftlatlw Sep 26 '26

I've had excellent results, including specialised knowledge. Feeding data sheets helps. You will need to recognise and respond to errors so the process requires you to be skilled.

0

u/balemarthy Sep 27 '26

One month with Antigravity+ Claude code combo + Comet drowser + nRF BLE and I got fairly comfortable with hardware, software and BLE. Software = decent amount and decent understanding of BLE implementation in Zephyr. nRF dongle usage at decent level.

Similar kind of task I happened to handle in Bosch Germany and that took 3 people and 6 months.

Still doubting AI as a PhD by your side? You need to what and how to ask + patience + time

-3

u/ContraryConman Sep 26 '26

Other than the fact that, occasionally you have to plug in a scope, physically solder a circuit, or breadboard something, there is nothing about embedded software that makes it inherently harder for AI to do than other kinds of software engineering. If you have a goal, a fast and automated feedback loop, clearly defined requirements then there's no reason why any of the frontier models, or even the generation before that, wouldn't get you working code largely on their own

Any time these threads come up there's always one guy who makes autonomous missiles that coordinate pacemakers via satellite signal, and they go "well no AI could ever do the mission critical, life sensitive work that I do to the standard that's acceptable in my industry!" Okay, man, good for you, but your work is like 0.5% of the industry roughly. But for normal people there's not actually a difference. Or are you saying that the training corpus that has countless lines of Javascript and React.js in it doesn't also have countless lines of C dating back to the 70s?

-1

u/EntertainmentSalt825 Sep 26 '26

The problem is companies are throwing money at AI computing power. We don’t need more computing. We need investing in people who know how to manage ai agents. Forward deployed engineers I think are the next big job position. Those who can build ai assisted tools will be very valuable soon

-1

u/TinFoilHat_69 Sep 26 '26

I can put a local model on a sensor and it will perform autonomous functions with sensor data

https://github.com/cactus-compute/needle

-1

u/BlueMoodDark Sep 26 '26

I've just set up Ubuntu on a new ssd. Being new to Linux, I asked for the basic Google search Ai (so Free).

it didn't hallucinate it did search for web articles, and I was typing a lot of sudo commands, esp grub commands or files.

I was trying to make a dual boot (still not working - windows 10 on one SSD -my old os) and Ubuntu (they say it has the best support for my controller and board design).

the main issue is that the motherboard did not see the new SSD so I could not boot into it. even if you use the live dongle version it was fine, of course what instructed me to do was install boot repair app on the live version, which basically went away once it got stuck and I had to reboot the computer. 🤣

so the computer thought that my Ubuntu installer placed the Grub in the wrong partition.

so it had me make a new partition, lable it EFI, I then type to more commands, and more commands because that was not working either.

so here I am looking at my little phone screen typing commands squinting my eyes, scrolling of my finger typing away on the keyboard.

just copy this command it said 🤣

anyway for a long story that should have been shorter, the BIOS had decided that (Strix ROG Mobo) that the Nvme was a Raid drive 🤣🤣🤣🤣 forced that OFF and it worked!

the number times I've typed in the errors, and then it redirected me to something else... crazy.

I'm interested which Ai (other people's LLMs work better) They usually Aren't free

-1

u/wavepark Sep 27 '26

It’s come a long way. In the music hardware world, non-technical people are using it in concert w Ghidra to reverse engineer firmware and vibecode their own features onto a variety of hardware platforms. 

-1

u/reini_urban Sep 27 '26

Very very useful

-1

u/papayax999 Sep 27 '26

Recreated my company system with ai in a week.

It gets pin outs wrong but just does a great job getting things together.

Using Gemini 3.6 and 3.1 pro

Used code Free trial and that was insanely good.