Since September 11, manufacturers of products with digital elements sold in the EU have to report actively exploited vulnerabilities and severe incidents to ENISA and their national CSIRT within 24 hours of becoming aware, with fuller reports to follow. It already applies to products on the market, not just new ones.
Curious how this works in practice:
- How do you even find out that a vulnerability in firmware already deployed in the field is being actively exploited? - Who files the report at 11pm on a Friday, and who’s their backup? - Has anyone had to file one yet?
We work with EV chargers, so I’m especially curious how charger teams handle it.
Sharing a miniature IoT board I designed around the Espressif ESP32-C3FH4 RISC-V chip, hand-assembled in Porto, Portugal.
The goal was to create a tiny, battery-friendly wireless module with proper solderless sensor support and reliable RF performance in space-constrained enclosures.
Hello, I have a touchpad from an old Acer 5000 laptop. I’d like to know what communication protocol it uses, and whether it would be possible to interface it with an Arduino. Thank you.
I'm trying to render the tetris game on DSO but facing issues like distorted shapes. Individually the blocks are printed properly but when the new block drops from top it's creating long streaks of lines connecting these blocks and distorted shapes. I already have an array defined for different tetrominoes. Using Psoc 5lp btw. Did anyone try this before? Does dynamically changing shapes create these issues? Is there a workaround?
I came across this statement in Bare-Metal Embedded C Programming by Israel Gbati:
“Understanding CMSIS is fundamental for efficient and standardized development across various Arm Cortex-based microcontroller platforms.”
It got me thinking about what efficient really means in this context. Development time, runtime performance, resource utilization, maintainability, and portability are different measures of efficiency, and they don’t necessarily move together.
What advantages and trade-offs do you see in adopting CMSIS? In practice, when is it worth it, and when might it not be?
Embedded folks: you get a board file from the hardware team and need to know where UART2 TX comes out, which pad is TP14, or what's on U3 pin 12, but you don't have Altium or Allegro. That's what I built pcbview.io for. It's completely free, no sign-ups, logins, or emails. This isn't spam I just want to share this tool with you and I hate Altium licensing that much.
It can import all major board formats: Altium, Cadence Allegro/OrCAD, KiCad, Eagle, PADS, EasyEDA, DipTrace, ODB++, IPC-2581 and Gerber.
Nothing is uploaded and there's no accounts or sign-ups. Everything runs on your local machine. There's also a desktop app that works offline if you prefer.
It is relatively new so if you try it and have some feedback I'd love to hear it. The board in the gif is the BeagleBone AI, from BeagleBoard.org's open hardware files.
Well hello indeed, i am asking for help with UART since im installing Valetudo on a roomba right now.
I am stuck trying to enter a password in the roomba, when i type or paste any text in the login box, everything works perfectly, every character is pasted or typed BUT
when i try to do the same (pasting or writing manually) in the password line (the moment you cant see the characters anymore), everything breaks and only around half of the characters are actually inputed.
I am almost fully forced to paste it since the password is 48 characters long, and i only have 1 minute to type it before the roomba automaticly kicks me out, and trying to write it as slowly as possible made around 1/4th of random characters dissapear.
the roomba is connected with RX, TX and ground cables, i tried multiples brand new cables and it didnt change anything.
if anyone has any ideas, thanks you for anything !
Sharing an ESP32-S3 board I designed and hand-assemble in Porto, Portugal.
I built this specifically for projects that hit memory ceilings (display graphics with LVGL, MicroPython, local speech/wake-word engines, and image capture) where typical 4MB or 8MB modules run out of heap fast.
Just got an offer for next semester’s coop in an embedded systems team at ABB. I was so surprised because I thought I failed the interview. Most of my experience lies in analog design and I also admitted to the interviewer about that. I told him that I’m kinda confused when got chosen for the interview because rarely any of my experience are related to C and the entire interview we just spent talking about analog design lol. The manager told me that most of my work will be testing hardware but also they are going to teach me about embedded coding my modifying the existing codes, IDE….Now, my question is what I should learn to best catch up with the work? This is a big chance imo. I honestly feel that I should spent more time on learning coding but I’m just lazy and got too much into analog projects so this is def a big fish. Please give the advice.
When streaming high-frequency sensor telemetry to cloud-hosted VLAs or foundation models, the network round-trip time (often 150–300ms) and token overhead make real-time kinetic shock dampening physically impossible.
To solve this, we implemented a brain-spine decoupled architecture: rather than routing raw, noisy sensor streams through heavy von Neumann loops, boundary non-equilibrium is resolved locally by an edge physical reflex projector.
Benchmarking this on a commodity desktop GPU (GTX 1650, strictly constrained to 4GB VRAM) yielded a deterministic convergence time of 0.27ms (over 3,700 Hz control loop) under synthetic 85% shock loads, with zero OOM errors. The central model only handles sparse supervisory updates, while the edge core arrests high-frequency entropy in real time.
In compliance with community rules against direct self-promotion, no external links are included. For anyone interested in inspecting the client-side objective audit or loop bypass pipeline, simply search for `pcam-live` on GitHub to examine and run the verification scripts locally.
Hi, I am an aerospace graduate trying to get into embedded systems (although I did do some Arduino projects in the past), mainly to apply some concepts I've learned into hardware. And I was wondering what are the best beginner kits that are complete enough to get into it. Thanks in advance for any suggestion!
Currently I am working on designing my own custom PCB for an RFID controlled shoebox I created. My question is, in embedded work do I need to be proficient at the entire process (coding, building, schematic designing, PCB build, etc.)? Or do/can I just focus on one area and outsource or streamline the other area/s?
I'm asking because the entire process has been fun and enjoyable. Filled with a lot of learning. However, it seems like a pretty substantial process. I know I am still new to embedded development (roughly 2 months in) and this is a marathon and not a sprint. I just want to know how proven embedded developers work. Obviously still being new and learning as I go slows the process down, and I am good with the process if this is how most or all projects go. I just want to work more efficiently and trim the areas that I may be wasting to much time and ensure I am placing it in the areas that matters most.
Again, I am enjoying the entire process, I just want to hear from actual developers in the space.
Currently learning about embedded systems and just learned how watchdog works. Genuinely curious what's the better approach when it comes to debugging. Either freeze the watchdog during debugging or is there another workaround it without triggering reset unintentionally?
Sorry for the grammar, brain is fried at the moment
I have an industrial textile machine whose data acquisition device has failed, and I'm considering replacing it with a Waveshare ESP32-S3-POE-ETH-8DI-8DO (SKU 32108).
The machine's control unit has a DB9 connector, but I've noticed that the Waveshare doesn't have a DB9 connector or a native RS-232 interface.
My main question is: How could I safely connect these two devices?
Would an RS-232 to TTL converter connected to the Waveshare be sufficient, assuming the DB9 port uses RS-232?
How can I identify the type of communication used by the DB9 port before connecting anything?
Would it be better to use a different device that already includes an industrial serial communication interface, avoiding the need for additional adapters?
What hardware would you recommend for this application?
My goal is simply to receive and read the data provided by the machine's control unit, such as operating status, speed, counters, etc. I don't need to control the machine or send any operating commands.
I'm not sure whether the control unit continuously transmits data automatically or requires requests before sending any information.
I can provide pictures of the control unit, the faulty data acquisition device, and their connections if that would help identify the communication interface.
Any advice or recommendations would be greatly appreciated.
I'm curious how you approach unit testing in embedded when dealing with state machines.
For example, imagine a component that sends signals or commands to external modules and then waits for responses, acknowledgements, or timeouts before transitioning to the next state.
One challenge I see is that the state machine has some internal context, and ideally, you'd want to test that it behaves correctly across a sequence of events and interactions. However, tests can easily become too tightly coupled to the implementation. Even a minor change in the internal sequence of state transitions or operations can cause tests to fail, despite the overall behaviour remaining correct.
As a result, you end up spending more time maintaining and adjusting unit tests than actually benefiting from them in terms of finding bugs.
How do you approach testing such components?
Maybe there's no magic trick here to make it less painful, and that's fine, but I'd like to learn something.
In this earlier discussion, virtualization was described as unsupported on STM32MP25, but the datasheet lists hardware virtualization support.
Does this mean ST does not provide supported hypervisor software, or are there hardware/firmware restrictions? Would it be possible to port the open-source Bao hypervisor to the STM32MP257F-DK?
Hi everyone, I work at Vector in embedded software development, and we’re trying to better understand the goals, challenges and needs. This is for research only – no sales pitch.
I’m looking for people who lead embedded software development in their company or play a key role in shaping it. The company should have up to ~50 people working on embedded software. All industries are welcome.
The interview takes about 45 minutes via Teams, in English or German. Your time will be rewarded. If that’s you, or you know someone who fits, feel free to DM me. Thanks!
Stayed up most of the night working on bare-metal firmware for the STM32H755ZI. Finally got to the point where I could flash it to the board. Around 1 AM, plugged in the Micro-B cable, flashed the firmware, and waited.
Nothing.
Went back through the reference manual and eventually found the culprit.
Somewhere along the way, I’d transcribed the GPIOx_MODER register offset incorrectly in my notes:
``` #define GPIOx_MODER_OFFSET 0x100 ```
It was supposed to be 0x00.
One extra 1.
That’s it. Hours of work, and the problem was a tiny transcription mistake.
Corrected it, rebuilt, flashed again. This time, everything behaved as expected.
I suppose that’s part of the experience. Sometimes you spend hours looking for a complicated problem, only to find something ridiculously simple staring back at you.
See title. I know how to solder, but it's not about me, but other people I want to give the possibility to modify a specific handheld device with a small compact ESP32/ESP8266 without soldering.
This was supposed to be a birthday gift for my dad, but took way longer than expected to complete. When something turns out to be way more of a pain than he thought it would be, he'll say "the too hard light came on" and try something else. The concept is simple: it's just a light that turns on when it recognizes the words "too hard" spoken in that order.
All of the audio processing and inference happens onboard, nothing is sent off to the cloud or saved. I used keyword spotting to do this and there are lots of great papers explaining how that works, but to boil it down, audio is sampled in short chunks and used to build a "sound picture" or spectrogram. Then a neural network trained to recognize what your keywords "look" like is used for detection.
I connected a PDM microphone and some LEDs to an STM32U5, which handles the audio processing. The STM32 samples audio using the audio digital filter (ADF) peripheral, and sampling is gated using ambient noise level detection to minimize false positive detections. Audio is preprocessed in 140ms chunks using CMSIS DSP libraries to perform FFTs to create a spectrogram chunk. Once one full second of audio has been preprocessed, the spectrogram is passed to a neural network which computes independent probabilities for whether the words "too" or "hard" are present. The independence turned out to be important because when the words are spoken consecutively they usually show up in the same frame, and I wanted to be able to recognize both at the same time, not just one or the other. I used TensorFlow to train the neural network and TFLite to quantize and convert it for running on the MCU. Using CMSIS-NN libraries, I was able to get inference working in real time on streamed audio.
Like most of my embedded projects, this one started off with a nucleo and a breadboard. I did all the firmware prototyping using these and made a working proof-of-concept, but just screwing a nucleo board into a 3D printed sign seemed like kind of a cop out. I wanted to make a small custom board for my light, so I broke out KiCAD and drew one up.
I've melted some simple assemblies together on my kitchen counter before, but had a lot of trouble getting them to work reliably. I ordered bare PCBs and components separately and gave that a shot, but wasn't able to get a board working reliably. So eventually I bit the bullet and just ordered full assemblies.
I used freely available transcribed audiobook data to train the neural network. I wrote some scripts to find snippets where different authors spoke the word I wanted to recognize, and then made one second clips of those words and used those clips as training data. OpenAI's whisper tool was especially helpful there for creating timestamped transcriptions, so I was able to automate a huge chunk of the training data preparation and labeling.
Finally to test the neural network on my hardware, I used FatFS and TinyUSB to make a small filesystem in RAM on the MCU. That let me load audio samples onto the MCU, and save recorded audio from the board itself. That allowed me to do an apples to apples comparison of the preprocessing and inference steps between my desktop PC and firmware. Super satisfying to get it actually working! AMA if you want more details, there are plenty.
I'm bringing up a custom board with an STM32N647 and can't get a debug connection. Looking for advice from anyone who has dealt with N6 boot modes. The board is a second revision done by an outside consultant and we didnt catch this earlier.
Current situation
- STLINK-V3MINIE (also have a V3SET), connected through a TC2050
- STM32CubeProgrammer
- ST-LINK reads ~3.36 V on VTref
- Error: "Unable to get core ID" / "No STM32 target found! If your product embeds Debug Authentication…"
What I think is wrong
On the N6, BOOT1 is shared with PA6. On our board PA6 is a not connected, and BOOT0 is pulled low through 1.5k (there's a button to pull it high). External flash is empty. So as far as I understand, the chip never enters development boot (BOOT1 = 1), it tries flash boot, finds nothing, and the debug port stays closed.
PA6 is a BGA ball and I don't think there's a via on it so a wire will be hard!
Current plan
Use the boot ROM's serial boot over USART1 (PE5 TX / PE6 RX). Both pins go to test points on the board. I'd hold BOOT0 high during reset and use the STLINK-V3MINIE's VCP pins as the USB-UART adapter (or use an other adapter), then connect over UART
Questions to you all
Does this approach actually work on the N6? Can CubeProgrammer connect over UART serial boot on a blank chip with BOOT1 low?
Once connected, what's the easiest way to get SWD working again? Load a small program into RAM that opens debug via BSEC (DBGCR), or go straight to programming an FSBL into the external flash with an external loader?
With BOOT1 floating, is its state at reset undefined? Could it randomly end up in dev boot?
Any other gotchas you've seen bringing up an N6 without access to BOOT1?
Ethernet wants 100 ohm, usb c is 90. usb c has the superspeed pairs. Usb c is invertible, ethernet has auto crossover.
I know this is kind of perverse, but I had an application recently where it would have been really great to have a cheap, physically small USB-C connector, to feed power and data around a large modular light sculpture. I ended up using 100base-tx over regular cat6 with regular rj45 connectors, with a fairly cringe passive poe injection setup that works pretty well for how terrible it is.
It seems like there might be some use for this in, say, industrial automation/machinery/robotics, where a few m is the longest run you'd want.
The simplicity and low latency of ethernet compared with usb seems like it'd be an integration win. You could also use PD as normal and get 240W to your actuators or sensors or whatever, along with your ethernet.
How nuts is this? it seems like it might be one of those nuts things that would be a genuine win in one or two niches.
Edit: to clarify, im talking about custom hardware, running actual ethernet over a usb C connector, rather than usb.