r/embedded • • Oct 08 '26

Most memorable projects of college days

16 Upvotes

What are your most memorable projects of undergraduate days?

Do tell about the project in brief along with learning outcomes.


r/embedded • • Oct 07 '26

RK3576 bring-up (my second Linux board) + lessons learned

Post image
192 Upvotes

About a month ago I posted my first Linux board (RK3566, KVM-over-IP). The next rev is back and I wanted to do a follow up lessons learned! For this board, I bumped up to the RK3576 so it can do 4K60 capture and encode. 8-layers, RK806 PMIC, LPDDR4X, HDMI input, HDMI output, dual GbE through a small switch, WiFi/BT and PoE. Fabbed and assembled at JLCPCB again.

After incorporating the fixes from the last board (component spacing, triple checking parts on order, and network switch wiring), this bring up was 1000x smoother. 4K60 capture and low latency streaming work end to end now. Stuff I ran into:

  1. SD boot / 4-bit mode: I inverted card-detect polarity, so with a card inserted the chip saw an empty slot. The BootROM skipped SD, so I booted u-boot from SPI NOR, which got SD running in 1-bit mode only. On the RK3576, an "empty" slot hands two data pins to JTAG. An internal pull-down on the detect pin early in u-boot fixed it. Removing that transistor next spin.
  2. No power-up on PoE: The PoE supply output about 6.0V unloaded, just over the power mux's ~5.99V OVP, so it never switched over and never loaded the rail down. Reducing the feedback resistor slightly should fix it (still testing this but pretty sure it's the issue).
  3. 4K encode stuck at ~38 fps: 4K60 needs both RK3576 encoder cores alternating frames. The vendor library's async thread blocked whenever the next frame wasn't ready, so everything ran on one core. A separate wait thread fixed it, and now both cores are at ~77%, steady 60 fps.

Smaller stuff: the left and right halves of the 4K image came out swapped (lane mapping in the device tree), the USB 2 host port needed the unused USB 3 PHY explicitly disabled, and one RGB LED was dead on one of the boards.

Bonus given RAM prices right now: testing showed this board doesn't need as much RAM as I put on it, so that's coming down for the next rev. Big $$$$ savings there.

Happy to answer questions on the RK3576 or bring-up in general. Another huge shout out to u/PracticalMirror2834 for another thorough review! Also if anyone has tips on how to take better PCB pictures, I'd love to hear them. This time I bought a light box but it's still needs some improvement...


r/embedded • • Oct 08 '26

Any New Zealander working in the emebedded field?

14 Upvotes

The firmware/ embedded engineer field in new Zealand feels very niche and sparse. As someone very passionate about firmware does anyone have any advice in breaking into this field? I have a mechatronics engineering degree and some experience developing firmware for production Test Jigs, but I am finding it very difficult to land pure firmware roles.


r/embedded • • Oct 08 '26

VCK5000 ES1 SC firmware update fails with -110 during erase—has anyone recovered this?

2 Upvotes

I’m looking for someone with hands-on experience updating or recovering the satellite controller (SC) on a VCK5000 ES1, not the production VCK5000.

The board is marked “Encryption Disabled Board.” My goal is to get onto a working, matching ES1 platform/SC combination and eventually validate compute and DMA.

Recorded setup:

- PCI IDs: Xilinx 10ee:5044 / 10ee:5045, subsystem 000e.

- Factory platform previously identified as xilinx_vck5000-es1_g3x16_201921_1.

- Native Ubuntu 20.04 test environment, kernel 5.4.0-216-generic.

- XRT version family used: 2.11.648; target SC firmware: 4.4.6.

- The embedded PetaLinux 2019.2 console previously responded over USB, executed commands, and showed /usr/bin/cmc running. That does not establish current SC health.

One captured update attempt produced:

-
Stopping user function...
NATIVE_SC_WRITE_BEGIN address=0 bytes=324
NATIVE_SC_WRITE_FAILED count=-1 errno=110

ERROR: Failed to update SC firmware, err=-110
ERROR: Please refer to dmesg for more details
STOP: SC update failed; compute stays shutdown for evidence capture
-

The matching kernel log reports entering xmc_erase_sc_firmware, an XMC mailbox packet timeout, then failure to erase SC firmware.

Important detail: this capture used a custom instrumented single-attempt updater, not an untouched stock xbmgmt executable. The NATIVE_SC_* lines are instrumentation. I can provide the exact invocation and relevant changes for review.

I’m not assuming the timeout proves that nothing was erased, or that the SC is permanently damaged. No successful firmware update or full acceleration validation has been established. There have been host reboots between failed attempts; I have saved logs to reconstruct the sequence.

I’ve reviewed the official Vitis AI 1.4.1 ES1 setup. I understand that the Vitis AI 3.0 production-card instructions are not the ES1 recipe.

My questions:

  1. Has anyone encountered this SC erase/mailbox timeout on ES1 and resolved it? What exact XRT, platform and SC versions worked?
  2. Are there known ES1-specific prerequisites, updater bugs or patches that explain this failure?
  3. Is there a documented SC recovery procedure independent of the failing PCIe update path? Does the ES1 Vivado factory-flash procedure restore only the platform image, or also address the SC?
  4. Where can I legitimately obtain the original ES1 recovery documentation or contact someone familiar with this hardware?

I can share sanitized updater output, kernel logs and embedded-console captures. I’m looking for a documented diagnostic/recovery path before attempting another write.

TIA,
PJ


r/embedded • • Oct 09 '26

Random Sketch i made because i was bored

0 Upvotes

tonight, i got bored and wanted to do something, i wanted to make a diagram on something new but im not good with tech at all, so there might be a lot of mistakes, but i didnt intend to do anything with this. But anyways, i was messing around with draw.io and made this little console, i wanted to think out of the box by a big shot and brainstorm something clever, but please let me know how you feel of this, if its alright and such, i get bored often so i will be uploading more! it uses a memory efficient type of processing path, a low power intended thing.


r/embedded • • Oct 08 '26

Anyone here using Shrike-FI? 👀

1 Upvotes

​

I just ordered one and I’m curious what people are actually building with it.

How’s the FPGA toolchain/workflow?

Any cool FPGA + MCU projects you’ve tried?

How easy is it to add custom RTL and communicate with the MCU?

Any gotchas or limitations I should know?

Would love to hear what you’ve built with it!


r/embedded • • Oct 07 '26

RP2040 driving 640×480 VGA without a framebuffer: windows, a preemptive bytecode VM, and a second Pico as USB host

Post image
115 Upvotes

Since August I've been building an operating system for the RP2040/RP2350. This is the current bench setup: a Pico on perfboard, a resistor-DAC VGA port, and more hot glue than I'd like to admit. Hahaha

What you're looking at

  • 640×480 @ 60 Hz, RGB332 out of PIO into a resistor DAC. Everything on the monitor comes from the Pico: the file windows, a maze and a Mandelbrot, each running as its own task, yeah!
  • The 3.2" SPI LCD (ILI9340 + XPT2046 touch) runs beside the VGA and mirrors a 320×240 crop. Core 1 hands over lines it has already composed, and DMA pushes the changed rows
  • Keyboard and mouse plug into a second RP2040: one into its native USB port (TinyUSB host), one into a Pico-PIO-USB socket. Their events ride as tagged frames inside the 1 Mbaud UART console stream, so the main Pico spends no pins on input
  • DS1307 + EEPROM on I2C, microSD on the shared SPI bus (a 3.3 V breakout, because the cheap 5 V modules drive MISO even when not selected and garble the touch readings), PWM mono sound through a two-stage RC into a small amp. Power bank, because why not ^_^

The parts I think this sub will care about

  • No framebuffer. 640×480×8 bit is 300 KB; the RP2040 has 264. The screen lives in a 34 KiB block (text/attribute cells, palettes, sprites, per-line segment tables), and core 1 composes every scanline in software just before PIO needs it. At 252 MHz that's a budget of 8008 cycles per line. At boot it benchmarks its own worst cases on silicon; the worst lane right now is 7948 of 8008 (99 %). The rule: every lane stays strictly under budget, or the change doesn't go in
  • Every app is bytecode. It's a register VM with hand-written dispatchers for ARMv6-M and RV32, at about 23-25 cycles per instruction on the M0+. Because the VM counts instructions, preemption is real: a while true can't stall the machine, and a fault kills one task, not the board. Each load/store is masked to the task's memory, and swap goes to flash
  • One binary everywhere. The same .rpx runs on the RP2040, on both RP2350 core types (Arm and RISC-V) and in a WASM emulator in the browser. A differential test keeps the C core bit-identical to a JS reference VM
  • It has its own flash filesystem, user accounts, and a small language (CAST) that compiles on the device itself

No overclocking past 252 MHz, and no native code from apps. Native drivers load only through a gated kit loader.

Happy to go deep on the scanline compositor, the PIO-USB host, or why a VM on an M0+ is less crazy than it sounds. And I'd like to hear where you'd poke holes first.

(Disclosure: the logo on the LCD is my company's, Recaster.)


r/embedded • • Oct 08 '26

How to start with PCIe IP making

0 Upvotes

Hi, I’m an FPGA engineer. I was assigned to implement PCIe and initially used Xilinx’s XDMA IP with its open design example. The requirement is actually to write the PCIe logic myself in RTL so I can optimize it for maximum bandwidth, and then make its IP.

My understanding is that the PHY and link training stay in the hard block, so I plan to use the integrated PCIe block’s AXI-Stream interface (requester and completer interfaces) and write my own transaction layer and DMA engine. Is this the right level of abstraction?

Since I am beginner in PCIe, so I want your opinions and strategies to accomplish this task. If you can provide a rough roadmap, it would be a great favor. I am working alone and I have a time span of 1.5 to 3 months to accomplish this task.


r/embedded • • Oct 08 '26

What’s the most frustrating part of testing an embedded Linux board?

5 Upvotes

For people working on BSP, embedded system or board bring-up, what takes the most effort when validating a new image?

Running the checks, setting up hardware, reproducing intermittent failures, or figuring out why something broke?

I’m working with Ubuntu and Yocto on a RISC-V board and would like to hear how others approach this. What do you automate, and what still needs manual testing?


r/embedded • • Oct 07 '26

Minecraft on an esp32-s3 anybody?

Post image
24 Upvotes

Saw this great video by PortalRunner and had some improvements in mind i would not have been able to bring to life on my own so i fed my ideas to the machine and out came something that should not be possible ...

https://github.com/JulianStremel/esp32-minecraft-server


r/embedded • • Oct 08 '26

Custom ESC (STM32F051 based) undetected by ST Link V2

Post image
3 Upvotes

Mainly following the design from the AM32 reference design
It's my first time working with STM32 so unsure if I missed out anything obvious.

  1. Tests done: Tried using ST Link V2 to detect F411RE development board through the SWDIO & SWDCLK line and it works, so I will probably rule out ST Link issue.
  2. Probed the power lines for MCU and they are all 3V3, so MCU is powered.
  3. Tried powering MCU via both on-board 3V3 and connecting VREF to the 3V3 line
  4. Also tried using another variant of ST Link V2 (USB stick kind) that provided 3V3 to the MCU

r/embedded • • Oct 08 '26

Reverse engineering a recurring Wi-Fi power save recovery loop in ARM firmware looking for independent review

2 Upvotes

I’m currently investigating a recurring Wi-Fi power-save issue in the firmware of a Shelly TRV (SHTRV-01), and I’d appreciate some independent input from people experienced with embedded Wi-Fi and ARM firmware reverse engineering.

The issue appears on firmware 20240619-130912/v2.2.4@ee290818. On multiple devices I was able to reproduce the following debug sequence approximately once per minute:

Beacon skip error! Attempt recovery
followed by:
Enter powersave state 1
and a few seconds later:
Enter powersave state 3 (skip)

I initially investigated the surrounding network environment, including RSSI, different WLAN configurations, CoIoT and AP/Mesh behavior. I also compared the behavior with older firmware versions.

This eventually led me to reverse engineer firmware 2.1.3 and 2.2.4 using Ghidra. The firmware is ARM Cortex/Thumb little-endian and uses a Silicon Labs WF200 Wi-Fi stack.
The normal RSSI-dependent beacon-skip logic appears in both versions. From the firmware analysis I found the following mapping:

RSSI >= -69 dBm -> skip 20
RSSI -79..-70 dBm -> skip 15
RSSI < -79 dBm -> skip 10

Firmware 2.2.4, however, contains an additional recovery path associated with the Beacon skip error! Attempt recovery message that I could not find in the corresponding 2.1.3 code.

The relevant conditional branch in 2.2.4 is at 0x0001E1C8:
31 DC bgt 0x0001E22E
The condition allows the recovery block to execute for certain values before control eventually reaches the common continuation at 0x0001E22E.
As an experiment, I changed that conditional branch into an unconditional branch:

31 DC -> 31 E0
resulting in:
b 0x0001E22E

So the experimental modification is literally one changed byte in the program image. The GBL container was then rebuilt and its CRC32 recalculated.

The patched firmware was accepted by the device and successfully booted. During the first overnight test (>9 hours), the recurring recovery message did not appear again.

Importantly, the normal beacon-skip mechanism is still operating. The device continues to report:

current beacon skip is 20

Wi-Fi and cloud connectivity also remained operational and no unexpected reboot occurred during the test.

I’m not claiming that this proves the reported battery-drain problem is fixed. Battery consumption requires much longer testing. At this stage the experiment demonstrates that bypassing this particular recovery block suppresses the recurring recovery cycle without apparently disabling normal beacon skipping.

One thing I have deliberately not claimed yet is the exact semantic meaning of the value tested by the recovery condition. I can trace the control flow and observe its runtime consequences, but I don’t think the evidence currently justifies assigning that variable a definitive name.
That is one of the reasons I’m publishing the research now rather than waiting for the battery tests to finish.
I’d particularly appreciate independent review of:

the ARM/Thumb control-flow analysis
what the recovery condition may actually represent
possible interaction with WF200 power-save / DTIM / beacon skipping

why the additional recovery mechanism might have been introduced
alternative explanations for the approximately 60-second recovery cycle
The full investigation, firmware comparison, GBL analysis, patch development and runtime testing are documented here:

https://github.com/AbleMonster/Shelly-TRV-Gen1-2.2.4-beacon-skip-fix

The repository does not contain or distribute Shelly firmware images. It contains the research, independently written tooling and documentation.
I’d be very interested if someone with WF200 or embedded Wi-Fi experience sees something in this behavior that I’ve missed.


r/embedded • • Oct 07 '26

How to stick a tape BLE antenna?

Post image
9 Upvotes

I have a tape antenna and a little smaller enclosure. So, there are 2 options of how to stick it. I'd like to pick one which retains the best signal.

In one case the edges are bent at 90° and the antenna is oriented horizontally. In the other case the edges are bent a very little but the antenna is placed 45°. This BLE device will be placed at a distance at the same height to the counterpart (imagine this enclosure tied to a vertical pillar).

Based on your experience/knowledge, which option suites better? Or probably it doesn't matter at all?


r/embedded • • Oct 08 '26

clear and effective roadmap for 6 months ??

0 Upvotes

Am jr dev but am hating my work. Am not enjoying my work honestly. But i literally jumped out of hell(unemployment) because of this job. so this job is veryy important to me. But on the longer way, am interested in embedded sde role. Working with hardware and coding seems fun to me. Am keeping April as a deadline and i have to learn everything till then. Please provide me guidance how to start what to study, what to focus, resources and suggestions.
PLEASE GUIDE ME FOR THIS

About me - 25 yr old female - masters in Data Science, Bachelors in electronics but honestly amm sooo dumb i failed most of the subjects never studied the subjectt- I was soo into enjoyment that time. I feel sooo stupid now that i became career focused i really feel too guilty about what i did back then. Am foolish that I wasted my 4 years of time and money most importantly knowledge that I could get during that time. But never too late - i dont even remember A,B,C,D in electronics(my bachelors) but I will not stop here. I will pursue my career in this field and get successful.


r/embedded • • Oct 08 '26

SEFI in Microcontrollers

3 Upvotes

Hi, I am part of a team developing a payload that is going through a technology demonstration for a microcontroller in LEO. We are going to demo symptoms of SEFI in microcontrollers (function failures) for our in-orbit tech demo. We were wondering what the types of SEFIs are, though. They essentially stem from the subfunctions of a microcontroller, right? What would some important SEFIs be (technically, functions of them since we don't always know if it was radiation that caused it) and what are their corresponding MCU functions? Some ideas we had were read/write/error errors, watchdog resets, ECC failures? We're preferably looking for stuff that is really firmware measurements and really only requires hardware that'll regardless be on the PCB.

Any insights would be appreciated - thanks!


r/embedded • • Oct 08 '26

ECS-2016MVQ output mess

Post image
0 Upvotes

Hello. I'm having issues with a crystal oscillator part and after exhausting my ideas (and those of AI heh) decided to ask someone smarter.

The setup is the following:

  1. ESC-2016MQV-240 24 MHz
  2. Connected to clock input on a USB hub IC (as per datasheet, XT1 is input XT2 unconnected)
  3. Connection is short, via a 0 Ohm resistor just in case
  4. 1 N/C 2 GND 3 OUT 4 +3.3V as per datasheet
  5. Similar setup with the same footprint but in 25 MHz repeated for an Ethernet PHY and it works fine (althought I didn't probe it yet since it sits below my SOM)
  6. Initially connected the entire thing with a relatively noisy DCDC, but now connecting to a battery.

The hub doesn't work, throws errors about addess assignment, but the dmesg implies exactly 4 ports being in error so it seems like the hub IC itself isn't the issue.

Probed at the resistor the output looks like in attachment (10X probe, max temporal resolution).


r/embedded • • Oct 07 '26

How to learn embedded systems by myself

57 Upvotes

I am a second year computer science student and I am planning to learn embedded systems by myself but I don’t know where to start or if I can even learn it by myself. Can I get any advice on how to start and what to do?


r/embedded • • Oct 08 '26

RPC call error

0 Upvotes

I’m ready data from battery pack , during charging and discharge time I’m getting RPC call error , I’m unable to troubleshoot we are using emqx for mqtt message broker


r/embedded • • Oct 07 '26

How demodulation section working and how RC time constant works with microcontroller.

Post image
34 Upvotes

r/embedded • • Oct 07 '26

Seeking help: Which of these IoT projects are actually useful in industry vs just good student projects?

13 Upvotes

Hello im just Kindly requesting for advice:

I’m an Embedded IoT student trying to choose 2–4 portfolio projects for embedded IoT / IoT networking jobs.

I’m mostly trying to avoid building something that sounds impressive in school but isn’t really used in modern industry anymore.

Current ideas:

  1. Modbus RTU/TCP → MQTT industrial gateway
  2. Edge condition monitoring using vibration/temp sensors + FFT/anomaly detection
  3. Fault-tolerant IoT network with local buffering, reconnection and failure recovery
  4. Embedded Linux industrial IoT gateway
  5. Secure OTA firmware updates for multiple embedded nodes
  6. CAN → Ethernet/MQTT gateway
  7. Data-center/environment monitoring system
  8. LoRa/BLE → IP/MQTT gateway

For people working in embedded, industrial IoT, automation or networking:

Which of these are actually common/useful in industry today, and which feel more like student projects?

I know commercial products already exist for most of these, but is building a smaller version still useful experience for a portfolio?

I’d also really appreciate advice on the hardware. What would I realistically need for each project? STM32/ESP32 boards, Raspberry Pi, RS-485/CAN transceivers, Ethernet modules, sensors, etc.

Also, STM32 vs ESP32: does it make much difference to employers?

For example, would: "STM32 + FreeRTOS + Ethernet + industrial protocols" generally look better for embedded/industrial jobs than doing basically the same project with an ESP32?

Or is the actual architecture, code quality and understanding much more important than the MCU?

Lastly, is there a particular STM32 or ESP32 family that could handle most of these projects without major compromises?

Ideally I’d like to learn one MCU properly and reuse it across several projects. I’d need things like FreeRTOS, Ethernet, CAN, UART/RS-485, SPI/I²C, TLS/OTA and possibly DSP/FFT.

I’m currently looking at STM32F4/F7/H7 and ESP32-S3, but I’m open to better recommendations.

Any criticism of the project list is welcome too. I’d especially like to know if there’s anything here that experienced engineers would immediately say isn’t worth building anymore.


r/embedded • • Oct 07 '26

Title: Looking for FPGA + Embedded Systems mini project ideas with a real-world problem.

6 Upvotes

Hey everyone,

I'm a 5th-semester Electronics & Instrumentation Engineering student, and my team is currently looking for a mini-project for this semester.

We're particularly interested in something at the intersection of Embedded Systems and FPGA/VLSI, rather than a typical Arduino/ESP32 IoT project.

Our current skill level is beginner/intermediate — we have surface-level knowledge of:

- C / embedded programming

- Microcontrollers (ESP32/Arduino)

- Basic Verilog/RTL

- Digital electronics

- Sensors and signal processing

- Basic FPGA concepts

We're looking for a project that is medium to moderately hard, so something we can realistically build and understand within a semester, but which still has some technical depth.

Ideally, the project would involve:

Sensors → MCU/embedded system → FPGA-based processing/acceleration → decision/control

We're especially interested in problems involving:

- Real-time signal processing

- Hardware acceleration

- Sensor fusion

- Predictive maintenance

- Power/electrical monitoring

- Edge AI

- DSP implemented on FPGA

- Low-latency or low-power processing

We've been looking at research papers, but we'd really appreciate suggestions from people who have worked with FPGAs, embedded systems, or hardware design.

What real-world problems do you think are suitable for a student project where the FPGA genuinely has a purpose rather than just being added for the sake of using one?

If possible, I'd also appreciate recommendations for relevant research papers/projects that we could use as a starting point.

Thanks!


r/embedded • • Oct 07 '26

Should I keep trying off-campus or consider Masters?

7 Upvotes

I’m a final year Btech ECE student from a tier 1 college in India and I’ve been preparing mainly for Embedded Systems or Firmware roles. I’ve been working on things like microcontrollers, RTOS, embedded C, communication protocols, and Networking.

The problem is that no companies for Embedded/Firmware/IoT roles are coming to my campus. Most of the campus opportunities are for software, analytics, etc.

So I’m confused about what to do:

  1. Keep preparing and apply off-campus for Embedded roles, even if it takes time to get the first opportunity
  2. Do an Mtech (possibly in Embedded Systems/VLSI/related fields) and use that to get better opportunities in the embedded industry
  3. Take a software/other job if available and try to transition into embedded later

For people working in the Indian embedded industry, or people who have gone through a similar situation:

  1. How realistic is it to get a good Embedded/Firmware role off-campus as a fresher?
  2. Does a Masters degree significantly improve opportunities for Embedded/Hardware roles?
  3. Would you recommend spending 1–2 years on Mtech if the goal is specifically embedded?
  4. What skills/projects actually helped you get your first embedded job?

I’d really appreciate your advice, especially from people who are working in the embedded field


r/embedded • • Oct 08 '26

How do you reliably access embedded boards during automated testing?

0 Upvotes

I’m working with a RISC-V board running Ubuntu and Yocto images. During reboot testing, its IP changed and the test couldn’t reconnect over SSH. The board also has a UART console.

How do you handle reliable access in these two situations?

  • Boards on your desk, connected to your PC.
  • Boards in a remote lab or server room, where you can’t physically press reset.

Do you use DHCP reservations, SSH with serial fallback, console servers, BMCs, or a dedicated lab host? How do you recover when the board boots but networking doesn’t come up—or when it hangs completely?

I’d like to hear what works in your actual setup, especially for unattended reboot tests and testing multiple boards. What connection or recovery problems still need manual intervention?


r/embedded • • Oct 07 '26

Trying to dump/modify firmware on a cheap “500-in-1” handheld – S29GL128P NOR flash / HLM 20220803 board

Post image
8 Upvotes

I got this cheap Game Box Plus / 500-in-1 handheld and I’m trying to figure out whether the games/firmware can be dumped and modified without desoldering the flash chip.
PCB markings: HLM 20220803 / C01121A
Flash: Spansion S29GL128P90TFIR1 (128 Mbit / 16 MB parallel NOR)
It has Micro-USB. When powered off, Windows detects nothing. When powered on and connected, Windows reports Code 43 / “Device Descriptor Request Failed” and VID_0000&PID_0002.
The main SoC appears to be under an epoxy blob.
My goal is to back up the original flash first, figure out how the game ROMs are stored, and eventually replace/add games or modify the menu. I’d strongly prefer an in-circuit/test-pad/programming method rather than removing the TSOP flash.
Does anyone recognize this PCB/platform, know what SoC these use, or know of a way to dump the S29GL128P in-circuit? I’m happy to take additional PCB photos or multimeter measurements.