r/embedded • • 7d ago

Where do AI coding skills/agents fall short for hardware/software development work?

I am an embedded engineer works on hardware and software, and I've been been exploring Claude for firmware. The generic embedded skills I've found two: jeffallan embedded systems [skills](https://github.com/Jeffallan/claude-skills/tree/main/plugin/skills/embedded-systems) and general inspiration from [voltagent](https://github.com/VoltAgent/awesome-claude-code-subagents) which are decent starting points, but in my opinion, then fall short in a quite many places as project grow. for example:

  1. Hardware-specific details
  2. Debugging
  3. Context cost
  4. Project structure

So I started my own [Plugin](https://github.com/00thirdeye00/Claude-Skills-Embedded), with a shared core plus per-platform pieces (STM32 first), and I'm still unsure about several design choices:

  1. Does splitting by platform make sense, or is one all-in-one skill set easier to maintain?
  2. At what point does a skill set be over-engineered?
  3. How to benchmark a embedded system development specific claude skill?
0 Upvotes

8 comments sorted by

2

u/DustUpDustOff 6d ago

It would be cool if I could give the agent a schematic of my system and it would create software emulation of external hardware.

1

u/NotBoolean 6d ago

It can basically do that, at least mock and emulate drivers for you. Then you can hook it up to real hardware to verify.

1

u/allo37 6d ago

That would actually be a super interesting use case: Hook it up to the real hardware and ask it to excersise as many features as it can using the datasheet as a reference and create a software test-double that is as errata/latency accurate as possible. It probably wouldn't be 100% but maybe good enough.

1

u/pillowmite 6d ago

It would be neat. So, I ran into a situation where on my STM32F7 based platform fiddling with clock speeds - cranking up peripheral speeds and so on - and for the speed constrained peripherals using dividers to return to the original speed.

One of the I2C lines has an optical coupler (two ground planes, ac mains and battery) and it quit working. Optical couplers use internal fiber optics, basically, to blink a light inside and return the signal to ttl.

Lower overall clock, smaller divisor - worked. Reference waveform captured on Tektronix scope.

Higher overall clock,.bigger divisor, no work. Capture on scope matches, precisely, the input waveform but nothing out the other side of the coupler.

Traced it down to noise in the signal - it perturbed the optical coupler in the odd way it did preventing it from working.

What gets my goat is that I started from a lower speed and had no issues. So I knew it worked. But had I started at the higher, non-working frequency, I ask myself would I ever have tried a different master clock speed or would I have spent forever at the optical coupler?

Now tell me AI would have thought of this? Hell no.

1

u/Enlightenment777 6d ago edited 6d ago

Where do AI coding skills/agents fall short for hardware?

AI is retarded when it comes to schematic drawings:

0

u/swdee 6d ago

I find AI tends to output based on how well you prompt it - so if your getting retarded output, then you should have a think about where the input is coming from ;)

1

u/ActBrokeToStayRich 5d ago

As generation gets easy, validation is where people sill put more and more tooling energy.

0

u/nickeh23 6d ago

Other than connecting hardware, the current AI models can do almost everything.