Questions tagged [firmware]
Firmware refers to software running on an embedded system or microcontroller to control hardware directly.
269 questions
1 vote
1 answer
89 views
CM6533 USB-codec internal 8051 MCU
According to the DS CM6533, it has the following specifications: The CM6533 is a USB 2.0 audio chip built-in 8051 for flexible applications. Embedded 1T 8051 with 32K Byte SRAM and 512K Byte flash(...
0 votes
0 answers
62 views
OpenOCD CMSIS-DAP: swd not supported
Does anyone know what I am having the problem described below?: MCU (CYTVII-B-E-1M-SK) is running and was programmed successfully before OpenOCD/Infineon Auto Flash Utility(AFU) failed with error(s) ...
-2 votes
1 answer
83 views
AC Voltage measurement for stabilizer
I’m working on a voltage stabilizer project using a Nuvoton MS51FB9AE microcontroller, and I’m confused about how my input voltage measurement circuit handles a range of 240V AC to 300V AC, 50 Hz. The ...
2 votes
2 answers
147 views
How to unlock the Wait state enable register (FMC_WSEN) in GD32F103C8T6 MCU?
For programming a GD32F103C8T6 MCU, I was going through the GD32F10x-User-Manual-Rev2.9. While going through the Flash memory controller (FMC) section, it states that to write to "Wait state ...
1 vote
1 answer
130 views
Secure Firmware Updates on constrained IoT devices/ Microcontroller
I am currently trying to find out how secure firmware updates are done on microcontrollers nowadays. Many authors refer to SUIT (Secure Updates for Internet of Things) in their papers. Most ...
0 votes
1 answer
67 views
Parallel BMS ID Conflict – Need Better Logic for Dynamic ID Assignment
I’m working on a parallel BMS system where multiple BMS units communicate over a CAN bus. Since there is no master-slave configuration, each BMS must dynamically assign itself a unique CAN ID. The ...
1 vote
3 answers
158 views
Could a CRC-15 CAN be transformed into 8 bytes in an embedded system?
I am analyzing calibration binary files of an embedded system (BMS) that likely uses a CRC-15 CAN checksum. From my firmware analysis, I have found a PECLookup table, which suggests that a CRC-15 CAN ...
0 votes
0 answers
52 views
STM32F429 USB communication problem on EPIN
I'm developing a firmware on STM32F429 to have a USB composite device composed of a custom device and a CDC port, on the OTG_FS device. The hw device is connected with a PC; it correctly shows 3 ...
1 vote
1 answer
632 views
How to auto boot and auto reset ESP32 Native USB (CDC)?
I'm trying to design a custom board with ESP32-C6 and don't want to use BOOT or RESET buttons. Can someone point me to a reference schematic that shows how to enable auto boot / auto reset without ...
-1 votes
1 answer
142 views
Sony CXD5605 Datasheet & Reference Schematic
I'm trying to find a proper datasheet with a reference schematic for the Sony CXD5605 or CXD5610 GNSS IC. They don't have anything published on their website.
-1 votes
1 answer
115 views
Want to build ESP project with a specific (Is there something like a multi-stage compiler?? XD) [closed]
I am working on a project with ESP32 and I use ESP-IDF to compile to compile the project. Some files in my project cannot be shared with the whole team due to security reasons, so I want to have a ...
0 votes
0 answers
296 views
Booting from Cortex-M33 on STM32MP2
We have a significant portion of our application written with STMCubeIDE and running on a Cortex-M4. We would like to migrate to an STM32MP2 microprocessor, which features A35 and M33 cores. However, ...
6 votes
9 answers
2k views
Is it a good idea to perform I2C Communication in the ISR?
I am working with an I2C based sensor. The requirement is that whenever some new data is ready, it generates an interrupt (hey, new data is ready, aka RDY.) What I have implemented currently is, I ...
1 vote
1 answer
272 views
Remote update firmware for MCU
I am planning to implement a remote firmware update for my MCU and seek recommendations on the necessary features for the MCU. Specifically, I would like to understand the requirements regarding ...
1 vote
1 answer
58 views
Strange behaviour of the gain register on image sensor OV7251 (with graphs!)
I am working with the OV7251 image sensor from Omnivision (sorry, the datasheet is not public, so I can't link to it). According to the datasheet, the gain and exposure can be set. The datasheet ...