r/embedded • • 18h ago

When did you start altering Linux drivers?

40 Upvotes

I am around 5 years into my career as an embedded linux developer, but I program entirely in user space. The drivers for the boards are long standing and haven't been altered in years but any time I'm talking to recruiters they want to know if I've altered the bsp and worked essentially in kernel space for really entry level kind of jobs that are looking for someone who has 3+ years of experience or 5+ years of experience. Am I being stunted at my current job? When I joined the next newest guy on the team was around 10 years just at this company.


r/embedded • • 12h ago

Staying engaged with modern paradigms

9 Upvotes

I searched but didn't see anything involving this, sorry if it's kind of a repeat.

I wrote code before AI, even as a hobby growing up. I always enjoyed problem solving and coding, especially FW/embedded stuff. Doing this my days went by so fast.

I worked in FW for a few years before AI and I loved it. But I eventually went to do something else and realized I really had a passion for embedded. I return to FW not that long ago and integrated AI into my workflow. Initially it was pretty cool, I'd break features into chunks and discuss design/implementation, and then review changes and have claude implement them until I finished the feature.

But now it seems like there is pressure to move away from this because it's considered "slow". Instead I'm being told to get Claude to do it all at once then review it after. But this is resulting in a ton of changes that I have no context for. In one case we had 20+ files changed and 5 new files, with a bunch of refactoring because the code base is shit from a bunch of previous AI commits.

I keep being told FW engineering needs to review because they "own the code" but I don't even understand what this means at this point. I'm at the point I'm finding this incredibly boring and as a waste of time. Everyone always says coding wasn't the hard part, but it seems like most of the coding is bug fixes or small features that are just expected to be clauded. I'm not really solving any problems..only typing in a chat box. Days go by so slowly and it's always a drag.

I got into this field because I had a strong passion for electronics and programming but at this point, I think it's dead. I'm considering leaving embedded for good and getting out of tech altogether.

Before I make any decisions, I just am curious: has anyone actually figured out how to enjoy this or at least stay engaged with the job?


r/embedded • • 9h ago

WAP Browser on a Microcontroller

5 Upvotes

https://github.com/jabezwinston/MicroWAP-Browser/

Memory usage

Flash : 103 kB (Includes fonts, small T9 dictionary, HTTP stack without TLS)
RAM : 26 kB
Worst case stack usage : 2.5 kB

VSCode extension for WML and WMLScript

https://marketplace.visualstudio.com/items?itemName=jabezwinston.wap-toolkit

Examples from old (2002) Nokia Mobile Internet Toolkit
https://github.com/jabezwinston/NMIT-examples

No support for WAP 2.0

NOTE : AI was heavily used in development but it still took me 9 months to make it production ready.


r/embedded • • 14h ago

Help with HIL and Unit Testing

2 Upvotes

Basically the heading.I dont know how to write test scripts .how do you guys do it?I want to learn but alot of tutorials online kind of just assume i know stuff. can anyone help me?


r/embedded • • 19h ago

How do you see the SCADA Engineering market right now?

2 Upvotes

How do you see the SCADA Engineering market right now compared to CS traditional roles? Do you think we have a shortage of good engineers in that space?


r/embedded • • 4h ago

Learning basics: DIY Powerline Communication using 2 Arduinos & 12V transformers (no PLC IC)

1 Upvotes

Hey everyone,

I’m a beginner trying to understand how Powerline Communication (like Netgear wall adapters) works by building a super basic version from scratch. Instead of buying a dedicated PLC chip, I want to make it with simple parts to really learn the fundamentals.

Here is my plan:

• 2x Arduinos (to handle the signal in code)

• 2x 230V-to-12V AC step-down transformers (plugged into the same wall phase)

I heard zero crossing data can be send, does it possible.

Any beginners application notes, as I feel it's huge knowledge to understand these area as it test theory knowledge.


r/embedded • • 16h ago

Can anyone confirm the flash and UART connector pinout for the Gree 4MWB65VR / GRJW05-J8 (AmebaD)?

1 Upvotes

I'm working on a native Matter-over-Wi-Fi firmware prototype for the original Gree Wi-Fi board. This is a research thread while the GitHub project is being prepared. The appliance is still running stock firmware. Research and drafting were AI-assisted.

Confirmed over the local network: a Gree indoor unit reports HID 362001068254+U-4MWB65VRV2.11.bin, protocol V3.2.M and logical model 16752730. A separate hardware report associates that firmware code with the GRJW05-J8 board and Gree part 300018060384. Exact hardware reference

Flash and boot evidence: the stock 2.11 archive matches SHA-256 40f85264c8f450acd9e329a25fb9731b89940aa20cc38bd085c764495b5edf27. It targets Realtek AmebaD (KM0/KM4). Its OTA header targets 0x08006000. The image also contains the pair 0x08006000 and 0x08206000, matching Realtek's 4 MiB OTA example. RTL8721CSM is the leading chip candidate given the package and radio. The chip marking and installed flash capacity still need confirmation. Gree board photos

UART evidence from stock 2.11: the initialization routine around file offset 0x70270 configures 4800 8E1. The serial-open call at 0x84E00 passes pin IDs 0x21 and 0x22, which map to UART3 TX PB_1 and RX PB_2 in the Realtek SDK. The frame check around 0x70474 expects 7E 7E, a length byte and a byte-sum checksum. A standalone validator passed its tests. The prototype currently performs no hardware I/O.

Evidence that would help:

  • A readable chip and flash marking or a JEDEC ID for GRJW05-J8 / 4MWB65VR, ideally with the board revision and part number.
  • A boot map identifying loader, RF calibration and factory regions, or a redacted normal boot log from this exact module. The OTA application only exposes part of the layout.
  • The display-board connector pinout and signal levels, or passive UART captures from this module and logical model 16752730. A capture of power-on and a single remote-control change would help match the frame format to state and temperature fields.
  • A public, checksum-verifiable stock 2.12 archive for comparison. 2.12 model reference

The prototype adapts Realtek's Room Air Conditioner example. Next is replaying captures to verify the read path. Hardware writes and a bootable image depend on confirming the board and startup layout.

Thanks to bskrobek, cmroche, maxim-smirnov, bekmansurov, piotrva, tomikaa87, peterfiabigron and the Realtek SDK contributors for their work. If you have evidence for this board, a comment with the revision and a public source or redacted capture would help.


r/embedded • • 3h ago

Same Arduino firmware, two targets: an ESP32 robot and a host simulator with 49 regression tests

Post image
0 Upvotes

My ESP32 maze robot's firmware builds two ways: for the board with arduino-cli, and for the host with g++ against stand-in Arduino headers. The host build runs the whole firmware, unchanged, on a model of the robot. Looking for critique of the setup.

How it's split

  • test/stub/ has host versions of Arduino.h, Wire.h, WiFi.h, WebServer.h, Preferences.h and esp_system.h. Compiled with -include Arduino.h, so the firmware sources need no #ifdef SIM.
  • Pure logic (path.* for the turn list and dead-end removal, captive_dns.*) has no Arduino dependency and gets plain unit tests.
  • robot_sim_test.cpp links every .cpp and drives a physics model: two skid-steered sides with a dead band, the L298N EN/IN pins, 5 IR sensors over tape, an HC-SR04, the servo read back from its pulse, and an SSD1306 model where every I2C message takes its real time.
  • Each scenario runs in its own process with fork(), so one crash doesn't take the rest down.

What the 49 scenarios check

  • Random mazes in every mode, mazes laid across table seams, a power dip and restart
  • Battery current per side from applied voltage minus back-EMF: the soft start must keep it near half the stall current
  • The servo's 50 Hz PWM never shares an LEDC timer with the motors
  • Pushing a face frame over I2C never starves steering: max ~7 ms between line reads against a 4 ms control step
  • The https server's task runs as a separate thread, like core 0 on the real chip

CI: GitHub Actions builds the host tests with -Wall -Wextra -Werror -fsanitize=address,undefined, runs everything, then compiles for real ESP32 cores with arduino-cli.

What it doesn't catch: tuning. PD gains and timings for a given floor are still set on the robot from the phone.

Demo of a simulated run attached. Code: https://github.com/akeanti/nuri (sim runs in Codespaces: https://codespaces.new/akeanti/nuri?quickstart=1)

Questions for people who do this professionally: is stubbing at the Arduino header level reasonable, or would you put a HAL interface in the firmware itself? And how do you model timing (I2C, ISRs) in host tests without it becoming a second firmware?

If you like it, a star on the repo helps a first-year student a lot.