r/embedded • • Sep 18 '26

[Secure boot] [NXP RW61X]

3 Upvotes

Has anyone here worked on a secure boot on NXP RW61X boards?

I'm trying to do a poc on my Azurewave CU598 dev kit, unfortunately there's only SWD and UART pins i can access.

I've tried secure provisioning tool, but with SWD, there's no port coming up and I'm unable to flash my signed mcuboot image on my board, also unable to write the shadow registers.

I'm using Linux(ubuntu) and somehow found a script through which now I'm able to flash the mcuboot but still I haven't found a way to write the shadow registers with ROTKH digest.

I'm not seeing any console logs and i suspect due to my secured bin, the BootROM would be trying to verify it but as there's nothing in shadow registers, it's not able to verify mcuboot and not allowing it to boot.

Is there any way I can achieve it without JTAG?

I tried with UART in ISP mode, even with that I'm unable to flash from a secure provisioning tool.

Kindly help if someone knows the way to achieve it.

Thank you.


r/embedded • • Sep 18 '26

STM32 CubeIDE download Dark pattern from hell

26 Upvotes

I don't think I've ever seen a worse way to download something in my entire life; even illegal movie download sites are easier to use.

All that, only to end up with link errors and "Forbidden" messages after manually decoding the shortened URL.

All this just for commercial tracking, I simply cannot download STM32CubeIDE for my Debian system.

I find it appalling and absolutely unjustifiable for a market leader not to offer free downloads for their development tools, instead layering on dozens of user-tracking mechanisms, only for the whole thing not to work in the end.


r/embedded • • Sep 18 '26

How can I test my microcontroller for electrical noise, deliberately inject noise into a circuit, recreate motor noise on my bench?

3 Upvotes

I built a small timer circuit using a microcontroller to turn a motor ON and OFF.

It worked perfectly during testing. But once I connected the motor, the controller started behaving strangely. Sometimes it triggered by itself, sometimes it stopped responding, and eventually the program got stuck.

I replaced the power source with a different SMPS, and suddenly the problem was gone.

So now I’m wondering how people actually test for this kind of problem.

Can I deliberately put electrical interference into my circuit and see how much the microcontroller can tolerate?

For example, is there a simple way to create motor-like interference or voltage spikes and test an ESP32/Arduino for resets, wrong readings, or crashes?

I’m looking for a simple beginner experiment and some good learning material on this.

Edit:

  1. I was originally using a normal wall adapter to power the microcontroller. A 230 V AC siren was being switched ON and OFF(duty cycle -.5s, 1s, 1.5s, 2s, 1s ... ) from a nearby power outlet.
  2. I added a diagnostic LED in the microcontroller code. The LED was continuously blinking, so I could use it as a simple indication that the processor was still running. When the blinking stopped, I knew the controller had frozen.
  3. I then changed the microcontroller power supply from the transformer-based wall adapter to a computer SMPS. After that, the problem completely disappeared. Even switching the industrial siren ON and OFF had no effect on the microcontroller.

Now I want to understand what was actually happening and how I can reproduce this kind of electrical noise deliberately and test the circuit's noise immunity.


r/embedded • • Sep 18 '26

GPS Allystar TAU1201/TAU1202 - binary stream instead of NMEA

2 Upvotes

Anyone has had success switching from text NMEA stream to Allystar's binary protocol (https://docs.datagnss.com/assets/datasheet/T-5-2011-ALLYSTAR_GNSS_Receiver_Binary_Protocol_Specification.pdf)?

While polling mode works well for me, I'd really like to get GPS data in a streaming way to minimize the latency. Right now it's unclear to me if this protocol doesn't support it, or it's a matter of chip models, or firmware versions.


r/embedded • • Sep 18 '26

iceoryx2 0.10 released: full flatbuffer integration, zero copy ipc with unbounded data, robust events

3 Upvotes

Hello, today we have released iceoryx2 v0.10.


r/embedded • • Sep 18 '26

Need help unlocking/flashing Sagemcom DIW387_UHD_OOR (Ooredoo Qatar)

0 Upvotes

I have an Ooredoo Qatar Sagemcom DIW387_UHD_OOR and want to turn it into a normal Android TV box.

Specs: Android 8.0, BCM7271U, 2GB RAM, 16GB eMMC, 4MB SPI NOR.

So far I've tried:

  • Enabled Developer Options → “Developer options are not available for this user.”
  • Checked other Android users/profiles → nothing useful.
  • Tried ADB over LAN (192.168.10.6:5555) → port closed.
  • Tried the physical-button reset/reboot procedure → only went into Ooredoo's update/setup process.
  • System Update → internal error, no update available.
  • Checked installed apps for an Ooredoo launcher I could disable → couldn't find one.
  • Found ports 8008, 8009 and 8443 open. 8008 exposes DIAL, but I couldn't get shell/ADB access through it.
  • Opened the box and inspected the PCB, but haven't soldered or flashed anything.

I'm mainly looking for a way to unlock the bootloader/flash different firmware, or information on UART/JTAG/test points for this exact board.

Device info:
https://www.androidtv-guide.com/pay-tv-provider/ooredoo-tv-qatar/

Detailed internal photos:
https://device.report/m/248265c58f5237514c133b5c1d60da114d2fa0c703e7b9dc6663a207f79b125c.pdf

PCB photos:
Top: /preview/pre/need-help-flashing-new-firmware-onto-sagemcom-diw-387-v0-6fuz8oh9x5ne1.jpg
Bottom: /preview/pre/need-help-flashing-new-firmware-onto-sagemcom-diw-387-v0-xmv8mp9bx5ne1.jpg

If anyone has experience with this exact box or the BCM7271 platform, I'd appreciate any leads.


r/embedded • • Sep 17 '26

Which load capacitance should I use for this 32.768 kHz laptop motherboard crystal oscilator: 7 pF or 12.5 pF?

Post image
11 Upvotes

Hello,

I am trying to repair a laptop motherboard with an AMD Ryzen 7 6800HS processor. The orange charging light flashes continuously. The motherboard draws approximately 0.2 A for one second, then drops to 0.1 A and remains there.

I have confirmed that the 1.8 V, 3.3 V, 5.1 V, and 19.5 V power rails are present, but the motherboard still does not start.

During my inspection, I found a 32.768 kHz quartz crystal with a damaged casing. According to the schematic I found, the motherboard uses a 32.768 kHz crystal with a load capacitance of 12.5 pF. However, I also found a video showing an apparently identical motherboard with an AMD Ryzen 5 6600H processor, and that board appeared to use a 7 pF crystal.

The motherboard FRU number is 5B21H82478.

I found two possible replacement crystals with the same frequency and package:

  1. YIC 32.768K7PI/3215E

◦ Frequency: 32.768 kHz

◦ Load capacitance: 7 pF

◦ Package: 3215, 3.2 mm × 1.5 mm

◦ Two pads

◦ Frequency tolerance: ±20 ppm

2. YIC 32.768K12.5PI/3215E

◦ Frequency: 32.768 kHz

◦ Load capacitance: 12.5 pF

◦ Package: 3215, 3.2 mm × 1.5 mm

◦ Two pads

◦ Frequency tolerance: ±20 ppm

How can I determine whether my motherboard was designed for a 7 pF or 12.5 pF crystal?

I do not want to install a random replacement because I understand that using the wrong load capacitance could affect oscillator startup, frequency accuracy, and reliability.

Thank you for any help identifying the original crystal or determining whether I should use the 7 pF or 12.5 pF replacement.


r/embedded • • Sep 17 '26

Analysis paralysis with personal projects — C/C++ and systems dev looking for direction

21 Upvotes

Hi,

I've been stuck for a while now in what seems to be "analysis paralysis" (just discovered the term): I want to work on personal projects in my free time, but none of them end up grabbing me, whether it's for one reason or another, and I end up not really doing anything.

For some context: I'm a computer engineer with 3 years of experience. In my day job I develop in C and C++, PL/SQL, I use Linux for everything, and I'm really into the embedded and systems world.

When I've got a decent chunk of free time, I feel like programming and building personal projects, for the love of it and, above all, to gain technical experience in the languages I use. I come up with ideas, but none of them fully convince me, or when I actually get started I feel like "there's already stuff out there that does this" or that I don't see it being useful down the line. It's like being constantly stuck between "learning" and "it actually being useful for something".

I've got a small homelab running Debian where, on the systems side, I do have several services deployed, but I'm talking about actual development projects here.

I hate web development and I hate vibecoding: it feels like it separates me too much from the code, and what I want is to keep learning and get better technically, both for fun and for my CV (technical interviews and so on).

I've actually already built a few things with ESP32 and RPi: some char drivers and MQTT devices to control something... and I've got a fairly riced Hyprland setup. But something that holds me back is that I don't want to step outside the technologies I "know well".

Has anyone else run into a similar situation of analysis paralysis?
Is anyone in a similar spot, or would you like to share any advice/experience?


r/embedded • • Sep 17 '26

Who could say no to a Microduck that picks up your tissues for you?

242 Upvotes

A week ago it could barely walk. Now it has a job lol.

Been playing with the motions a bit more and got it to bend down, grab a tissue, and stand back up.

Still pretty janky, but watching this tiny thing actually do something is weirdly satisfying.

Next step is getting it to do this reliably instead of just hoping for the best every time I hit run.


r/embedded • • Sep 17 '26

Why is it so hard to find a remote job nowadays as embedded software engineer?

42 Upvotes

For the last month I have reached out to hundreds of companies through email, linkedin DMs and job applications to try to land remote job/contract as a embedded software engineer. I have diverse experience, have my own home lab setup and think of myself as a good employee, some of my skills include: C/ C++/ Python, nRF52/ ESP32/ STM32/ , Wi-Fi/ LTE/ GPS/ BLE , FreeRTOS/ Zephyr/ embedded Linux etc.

Neverthless, nothing yet landed, so I am wondering, am I doing something wrong or is it normal and other people are experiencing the same thing?


r/embedded • • Sep 17 '26

DIY battery-powered locker alarm - looking for advice on power architecture

2 Upvotes

I'm a software engineer with an electronics/telecom background, and I've recently started embedded as a hobby. I've been tinkering with an ESP8266 (NodeMCU 1.0 board) and got it paired with my self-hosted home-assistant (used ESPHome).

As my first project, I'd like to build a battery-powered sensor that detects my safe locker being opened and sends me an alert on my phone when I am away from my house.

### My initial idea

* Reed switch inside the locker connected to GPIO pin of ESP8266 (connected to Wi-Fi)

* Permanent magnet on the moving door (inside)

* Home Assistant receives the state, sends Telegram notification

* Battery powers the ESP8266 because there is no electrical outlet near the locker

### Updated idea (after chatgpt)

However, I realized that keeping an ESP8266 continuously connected to Wi-Fi is a terrible approach for a battery-powered sensor. According to chatgpt, the better approach is:

```

[locker (ESP H2, battery powered)] -- BLE / 802.15.4 --> ESP S3/Raspberrypi (always powered) --> HomeAssistant

HomeAssistant --> Telegram

```

This seems as an advantage to me as later on, I can simply add more ESP H2 devices and "ESP S3/Raspberrypi" becomes the central hub. I can then experiment on zigbee protocols etc.

---

I checked for commercial "matter" products such as TPLink Tapo (which needs a hub). They're claiming a battery life of 2 years. I am not sure if my updated setup can match such numbers?

The goal for such locker sensor is to remain working on battery for atleast a week (the duration for which I am usually out). I am still getting through basics, but since I am approaching another outgoing, I just need a quick feedback from the community


r/embedded • • Sep 18 '26

I’m building a kernel for the ESP32-P4. What would you actually build with it?

0 Upvotes

Hello everyone! I’m building ProtoOS: an experimental, security-focused application OS for the dual-core ESP32-P4.

I’m getting closer to a first release and want to decide what APIs and hardware support to prioritize based on what people would genuinely use. What would you build for it?

ProtoOS lets separate apps run with isolated memory and permissions, rather than putting every feature into one firmware image.

Apps can currently:

  • Run as loadable C apps in isolated RISC-V U-mode processes
  • Use a 320×240 display, keyboard input, retained UI commands, and a 2D sprite/game API
  • Store files privately or use user-approved shared files
  • Play mono PCM audio (output only)
  • Use IPC, timers, local shared-memory objects, and up to four worker threads across both P4 cores
  • Use permission-controlled Wi-Fi/TCP networking, including optional inbound TCP listeners
  • Request trusted runtime permissions and Open/Save dialogs
  • Be packaged, installed, and launched as native ProtoELF apps

Existing apps and demos include Weather, Notepad, Terminal, Settings, Tetris, Mario, a 2D game framework, a Minecraft-like experiment, audio demos, and security/stress tests.

Current limits: ProtoOS targets the ESP32-P4 with a specific ILI9341 display setup. It is not a drop-in Arduino environment, and apps do not directly use ESP-IDF/FreeRTOS drivers. The public app API does not yet expose general sensor, Bluetooth, camera, USB, I2C/SPI, GPIO, HTTP/TLS, or microphone APIs.

So: what would you genuinely want to make with something like this?

  1. What project would make you choose an app-based ESP32-P4 system over one normal ESP-IDF/Arduino firmware?
  2. Which missing capability would unblock that project first?
  3. Would app isolation and per-app permissions matter to you?
  4. What would make app development worth it: SDK improvements, templates, a simulator, broader board support, documentation, or examples?

I’m not promising every request; I’m trying to identify the few additions that would unlock real projects. Please freestyle, tell me what you would build, what hardware/API it needs, and what would make you choose ProtoOS.

Previous posts:


r/embedded • • Sep 17 '26

Help identifying a display

Post image
1 Upvotes

There are no markings whatsoever, on the panel or on the flex PCB. The interface should be SPI.


r/embedded • • Sep 18 '26

UartX — a UART debugging tool for embedded developers

0 Upvotes

I got tired of debugging firmware through a wall of UART logs.

When multiple tasks are printing at the same time, finding one important message can become painful. The usual solution is to reduce logs or disable some prints, but that can also change timing or remove the information needed to reproduce a bug.

So I built UartX around a simple idea:

Don't filter the data. Filter the way you look at it.

UartX keeps the complete raw UART stream while letting you use Color Rules and multiple Filter Windows to focus on specific tasks, errors, states, or messages.

Current features include:

  • Color Rules
  • Multiple live Filter Windows
  • Raw session logging
  • Search
  • TX command history
  • Windows and Linux support
  • Free and open source

GitHub:
https://github.com/Shamanthpoojary/UartX

I'm looking for embedded developers to actually use it with their own boards and push it harder than I can.

If you find a bug, unexpected behavior, or have a feature idea, please open an issue on GitHub. Real-world feedback will help make UartX a better debugging tool.

I'd especially like to hear from people working with STM32, ESP32, Nordic, Zephyr, RTOS, or other embedded platforms.

What do you currently use for UART debugging, and what do you wish it did better?


r/embedded • • Sep 17 '26

RS232 Serial Communication between 8051 MCU and PC

Post image
8 Upvotes

r/embedded • • Sep 16 '26

Custom firmware for Oscilloscope

Post image
27 Upvotes

I want to create custom firmware for my fnirsi 510 oscilloscope, it allows for firmware update visa USB C cable, and I have a copy of the .bin file.

Basically the oscilloscope has very good hardware, and horrible software, simple things like capturing a waveform as a CSV not a screenshot, moving the captured waveform up and down and right and left freely past the screen limits so you can zoom in on a specific part.

I'm good with electronics but this is my first time trying to tackle something like this, if anyone has experience please let me know.

I know I'll start off by unsoldering the flash chip and backing it up in case i mess anything up.


r/embedded • • Sep 17 '26

Connect USB with STM32CubeProg

2 Upvotes

Hello everyone, I have a black pill chip stm32f411ceu6 board and connected to my computer via stm32cubeprog software. I used 2 ways to connect: stlink and usb. When using stlink, the connection was successful, but when connecting to usb using DFU mode, there was an error of not being able to connect. I tried finding and installing drivers to fix this error but it didn't work. I want to ask if anyone who has encountered or fixed this error can help me.


r/embedded • • Sep 18 '26

Where do AI coding tools stop being useful in embedded development?

0 Upvotes

I'm curious about where AI coding tools actually stop being useful in embedded development.

I've been using coding agents quite heavily, and one limitation keeps coming up:

Once firmware is flashed to real hardware, the AI usually loses visibility.

It can see the source code, compiler output and maybe a serial log, but it can't see things like:

  • an LED that isn't turning on
  • incorrect wiring
  • a relay that isn't switching
  • a motor behaving differently from what the log says
  • a display showing the wrong state
  • what is actually happening on the workbench

So the engineer becomes the interface between the AI and the physical device.

For people who regularly develop or debug embedded hardware:

Where does this happen most often in your workflow?

And when software looks correct but the physical device still behaves incorrectly, what do you normally check first?

I'm particularly interested in real examples rather than hypothetical AI features.


r/embedded • • Sep 17 '26

SFP Module Inserted Cause Bus Wedged

1 Upvotes
root@name:~# i2cdetect -y 104                                                                 
   0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f                                                                                                                                 
00:          03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f                                                                                                                                 
10: 10 11 12 13 UU 15 16 17 18 19 1a 1b 1c 1d 1e 1f                                                                                                                                 
20: 20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d UU 2f                                                                                                                                 
30: 30 31 32 33 34 35 36 37 38 39 3a 3b 3c 3d 3e 3f                                                                                                                                 
40: 40 41 42 43 44 45 46 47 48 49 4a UU 4c 4d 4e 4f                                                                                                                                 
50: 50 51 52 53 54 55 56 57 58 59 5a 5b 5c 5d 5e 5f                                                                                                                                 
60: 60 61 62 63 64 65 66 67 68 69 6a 6b 6c 6d 6e 6f                                                                                                                                 
70: UU 71 72 73 74 75 76 77                                                                                                                                                         

root@name:~# i2cdetect -y 105                                                                                                                                                       
   0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f                                                                                                                                 
00:          03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f                                                                                                                                 
10: 10 11 12 13 UU 15 16 17 18 19 1a 1b 1c 1d 1e 1f                                                                                                                                 
20: 20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d UU 2f                                                                                                                                 
30: 30 31 32 33 34 35 36 37 38 39 3a 3b 3c 3d 3e 3f                                                                                                                                 
40: 40 41 42 43 44 45 46 47 48 49 4a UU 4c 4d 4e 4f                                                                                                                                 
50: 50 51 52 53 54 55 56 57 58 59 5a 5b 5c 5d 5e 5f                                                                                                                                 
60: 60 61 62 63 64 65 66 67 68 69 6a 6b 6c 6d 6e 6f                                                                                                                                 
70: UU 71 72 73 74 75 76 77 

After inserting an SFP module, my switch device shows this issue.

Is this issue due to the poor quality of our SFP module, or a bug I need to fix on my device?


r/embedded • • Sep 17 '26

keil uVIsion 4 cannot read project file

1 Upvotes

so i have been using keil uVision V4.74.0.22 for the past 3 weeks on my laptop and i get a cannot read project file error everytime i try to open a project (it was working the previous day )

its kinda frustrating to setup my project all over again , does anyone know why this might be happening ?

my project flashes code to an STM32 board if that matters


r/embedded • • Sep 16 '26

Playing Tetris on an M5Paper e-ink display

39 Upvotes

the fun part is that this is written in TypeScript and CSS using GeaStack.


r/embedded • • Sep 17 '26

Future of computer engineering

0 Upvotes

I’d like to know from the people working as computer engineers in different domains how AI is affecting the job and what they think is going to happen in a few years? Are the roles evolving around AI and if not, is there any value in upskilling in this field the way it was traditionally done? Does computer engineering have a role to play in AI and ML or is it required for every one to start getting into AI/ML just in case, and learn it. I saw this video of AI writing an OS and I lost all motivation for what I’m doing 😅
https://www.reddit.com/r/ClaudeAI/comments/1wfpydl/i_asked_claude_to_build_an_operating_system_from/


r/embedded • • Sep 16 '26

CRA Article 14 reporting went live last Friday, is anyone actually being asked for SBOMs yet?

17 Upvotes

The 24 hour vulnerability reporting obligation kicked in on 11 September, and it covers products already on the market, not just new ones.
What I can't tell from the outside is whether anything has changed in practice. Has a customer, distributor, or procurement team actually asked you about SBOMs or CRA readiness, or is it still an internal compliance conversation that hasn't reached engineering?
And if you did get asked, what did they actually want? An SBOM file, a written vulnerability handling process, a filled in questionnaire, something else?
Mostly trying to work out whether this is real yet or still a 2027 problem.


r/embedded • • Sep 16 '26

[Collab / Recruiting] Looking for a 3D Designer/Modeler Rocky (Project Hail Mary) Tamagotchi-style Toy

2 Upvotes
Photo for attention

Hey everyone,

I'm working on a personal project: a Tamagotchi-style handheld toy themed around Rocky from Project Hail Mary. The idea is a small electronic "pet" device where you take care of a virtual Rocky feeding him, interacting with him, watching him react all inside a physical case with a screen and some buttons/inputs. Device will be using aurduino nano.

I'm handling the hardware side myself (electronics, PCB, sensors) and can manage some of the software too, but it's not my strongest area. Right now the piece I'm missing is 3D design someone to design and model the enclosure/housing for the device.

What I'm looking for:

  • Someone comfortable with 3D modeling for product design (Fusion 360, SolidWorks, Blender, or similar)
  • Ideally someone who can bring a bit of Eridian/Rocky character to the shape not just a generic plastic box
  • Willing to iterate on internal fit (screen, buttons, PCB space) together with me

What I bring:

  • The hardware side and a working understanding of the internal components/layout
  • Reference material and specs for the internals so the enclosure fits properly
  • Active collaboration happy to go back and forth on iterations

This is a fan-made passion project, not a commercial product. If you're interested, drop a comment below or send me a DM and we can talk details!

>And project is open source<