Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [firmware]

Firmware refers to software running on an embedded system or microcontroller to control hardware directly.

3
votes
2answers
132 views

Multiple(five) alarm time setting in stm32f0 mcu

I am working on my hobbyist project and need to develop the alarm timings. And RTC and Timer are new for me and I am confused in RTC Alarm time setting. I need to make alarm with RTC for five ...
0
votes
1answer
107 views

STM32L011 jump to bootloader from user code

I'm trying to make it so that my STM32L011 can jump from user code to the ST bootloader that allows flash to be reprogrammed over USART2. This is hypothetically the same question as STM32F091 Jump to ...
1
vote
3answers
118 views

Embedded Firmware Question - Memory dump

Ok so the back story is this. I landed an online code interview with a company that shall remain nameless. I know I am not ready for a job there but I was basically given the chance by an insider. ...
0
votes
1answer
43 views

What physical tool to use to quickly dump firmware?

Recently, I managed to take a dump of the firmware and write a modified one using the pins that I marked with red by soldering 4 thin wires to those points. Now, I needed to perform this more than 50 ...
-1
votes
0answers
25 views

How to read print statements from nRF51822 chip over ST-link V2?

I hope this is the right board for this. If it would be more appropriate elsewhere please let me know. I have a PCB I designed with a Waveshare core nRF51822 B soldered to it. I'm working on writing ...
1
vote
0answers
37 views

Flashing firmware using RPi3

I have been trying to flash firmware onto the PC Engines APU2 platform. I'm using an SPI interface. RPi3's SPI is hooked up to the three-state quad buffer SN74LV125AD. For now, it is just a proof of ...
0
votes
1answer
97 views

Single Board Computer with no hardware memory for firmware [closed]

Im looking for a SBC that has Completely no hardware memory for the firmware (e.g BIOS, ,etc.), i think raspberry pi has that, except the bootloader which is ROM OR All firmware memory on the ...
3
votes
3answers
195 views

C to C++ How do I make h/w initialization look neat? [closed]

Doing an experimental conversion of some firmware from C to C++ to try and get a better structure in it, since the C code "evolved" in line with experiments across a 2 year period. The question is ...
0
votes
4answers
131 views

How firmware [like BIOS] gets added to hardware

I am reading about BIOS, which is a piece of non-volatile Firmware. Wikipedia says of firmware: Common reasons for updating firmware include fixing bugs or adding features to the device. This may ...
16
votes
5answers
2k views

Possibilities for allocating memory for modular firmware design in C

modular approaches are pretty handy in general (portable and clean), so I try to program modules as independent of any other modules as possible. Most of my approaches are based on a struct that ...
1
vote
0answers
53 views

LED-Monitor-Firmware reverse engineering / disassembly => replace manufacturer startup logo

I have a display from a disassembled led-monitor (Wortmann Terra 2446W), that I want to use for a SmartMirror-project. Unfortunately, the monitor shows a big manufacturer logo when connected to power, ...
0
votes
0answers
45 views

Read data from MB85RS2MT using bus pirate

edit: I guess I'm targeting the wrong chip in the first place... FRAM chips doesn't seemed to be storing firmware. But I'm still willing to learn more about the question I asked. Original post: Hi! ...
1
vote
1answer
39 views

Serial protocol and connector choice for tethered firmware distribution project

I am designing a system in which a central host controller that has a cellular internet connection is going to be used to query/control/flash intermittently tethered (wired) nodes. The central host ...
0
votes
0answers
46 views

How to combine uBoot, uImage and rootfs to flash them into EEPROM?

So, I'm trying to restore an IP camera that uses HiSillicon 3518EV200 SoC, after I accidentally overwrote the original firmware. Using a buildroot fork that includes all the necessary bits from the ...
18
votes
4answers
5k views

How does factory reset work?

All embedded devices includes a "Factory reset" option that allows the user to reset his device if something is wrong. I am developing a Firmware on an STM32 board. The firmware includes a boot ...
0
votes
1answer
46 views

ESP8266 12F doesn't work when programmed with arduino, but works fine with AT commands

So, I got this webserver running using: http://arduino.esp8266.com/stable/package_esp8266com_index.json V2.4.1 ...
10
votes
4answers
1k views

Encoding version or configuration on PCB

I need to encode information about either version or configuration on the board/electrically, so the firmware can detect which board layout is used. What options are possible and what are their pro/...
0
votes
1answer
85 views

What is the Microcode in the Intel's Linux Microcode update?

I am a bit confused as to the use of the word microcode in the following links: https://downloadcenter.intel.com/download/27591/Linux-Processor-Microcode-Data-File?product=873 https://newsroom.intel....
0
votes
0answers
90 views

ESP8266 ESP-05 infinite reboot after attempted cloud update

I don't usually end up here asking anything, but now my research capabilities aren't good enough to save me this time. Here is the story: So I have old "ESP-05" module that I decided to update ...
0
votes
0answers
611 views

STM32L4 bootloader unable to enter application

I've been following bootloader guide here and trying to write a bootloader that simply turns an LED on when entering a pushbutton-induced performFirmwareUpdate(). I'm using the ARM GNU toolchain in ...
0
votes
2answers
958 views

Upgrading firmware of SIM800C

My SIM800C, feeded directly from a 4.0V Li-ion battery (or once, from a Delta bench PSU) through a 1500 µF capacitor, instantly turns off when it wants to join to my 2G+ European network (e.g. in <...
0
votes
0answers
68 views

nRF51822 bricked after faulty boot loader

I have a custom board (a chinese game pad) which uses a chip named n51802, which according to nordic is a “custom” nrf51822 - completely compatible with it though. I “accidentally” (fiddling around) ...
0
votes
0answers
229 views

HM10: central role, read/write characteristics

I'm playing with the well-known BLE module HM10. Here the datasheet. First I set it in peripheral role (i.e. "server") and I was able to connect my smartphone to it, read and write its own ...
0
votes
0answers
157 views

ida doesn't recognize STM32F103 firmware assembly

I am attempting to RE a specific firmware installed on an arm cortex m3 chip(STM32F103 to be specific).Using ida pro - i tried loading the firmware(bin file) and setting the processor to ARM,armv6-M(...
0
votes
0answers
257 views

Bus Pirate Flashrom OTP chip issue (Winbond W25Q128FV SPI flash)

So I have an embedded device with a Winbond W25Q128FV SPI flash chip on it and I am trying to extract the firmware by dumping the flash memory. So far I have used a Bus Pirate with Flashrom to do so. ...
0
votes
0answers
61 views

8051 Nested Init Functions In C Source Files

When programming in C, I usually like to adhere to the convention of keeping functions short and readable, especially main(). I'm updating some 8051 code, and I've noticed a previous engineer has ...
1
vote
2answers
97 views

Is there any advantage to use a PLL with unitary frequency gain?

I am not a very experienced firmware developer, so I came across this doubt when I was reading the datasheet of a microcontroller: In my application, I will use a crystal to generate a clock signal ...
0
votes
1answer
565 views

STM32 External Interrupt via GPIO cannot be triggered after waking up from STOP mode

I have a problem with a project based on an STM32L051. I want to use the stop mode and wake up on an external (GPIO based) IRQ. This all works great but after the MCU woke up once, no IRQs seem to ...
3
votes
0answers
231 views

How to develop for the NRF24LE1?

I found about the nRF24LE1 chips a while ago and they seem perfect for really small applications that require RF, since they are the same as the well known nRF 24L01, but include a 8051 MCU and memory....
1
vote
1answer
62 views

Project Collaboration Tools [closed]

I formed a startup business six months ago. The first product has been designed consisting of a PCB, some firmware, verification tests, and some supporting PC-based application software. The first ...
1
vote
1answer
96 views

Distinguish between hardware or firmware issue

I'm writing a firmware for CC3220SF from TI using a custom board I've designed. I'm facing a weird behavior and I'm not sure if it's hardware or firmware related. Here I'm looking for some hints ...
1
vote
2answers
100 views

Design decision for dynamic firmware loading?

I've noted that some device drivers in Linux have a dependency on the device firmware. The firmware is usually a binary that the driver loads on the device (like a USB wifi dongle). This question is ...
-4
votes
1answer
678 views

Problem using RFID RC522 with Arduino. Please help, Urgent need

I am using an RFID RC522 with Arduino but, Arduino is not detecting the RFID connected to it, its showing error. so for this, i ordered a new RFID reader and still, the problem remains the same, I ...
1
vote
2answers
182 views

ADS1234 and STM32L

I am attempting to use the SPI2 peripheral on the STM32L471RG microcontroller in order to communicate with the ADS1234 and wanted to run my thoughts past some of you more experienced firmware ...
0
votes
0answers
72 views

Problem with I2C and SPI interface using DA14681

We're working on a IoT device using the Dialog DA14681 MCU, LIS331HH accelerometer and MMC3416 magnetometer. everything connects up well and we get readings from both sensors (accel via SPI and ...
2
votes
1answer
70 views

On IAR's EWARM package, what is the difference between the built-in MISRA C checker and CSTAT's MISRA C checker?

A bit of background: Our team will be programming firmwares for ARM microprocessors. Programming codes should comply with the MISRA C standard. We have decided to check IAR's EWARM package: https://...
-1
votes
2answers
367 views

Is possible to update the firmware of the PN532 chip?

I want to know if is possible to update the firmware of the NFC chip PN532 from NXP. If it is, how can this be done? If this isn't the appropriate Stack exchange site please move the question.
0
votes
1answer
43 views

Cypress FX3 CyU3PToolChainInit Understanding help

I don't understand the purpose of the CyU3PToolChainInit function that is written in assembly source code for the FXE. As for as I know it clears the BSS area and enters the main function, but how is ...
3
votes
1answer
749 views

Is there a preferred encryption scheme for encrypting firmware builds on external flash?

I have a product that is going to be deployed in large numbers, and I want to maximize the trouble that someone is going to go through to reverse engineer it (a high level of security). It is an ...
0
votes
1answer
1k views

UART on PIC16F1829 - RCIF Interrupt for RX pin not working, cannot receive anything even with polling

Code is written in MPLABX v4.00 with XC8 compiler. I am new to writing firmware for 8-bit PICs and could use some help with my code. I am using a PIC16F1829 for an LED module which gets RX commands. ...
0
votes
1answer
80 views

Why does SendChar code of UART different between IRQ and Polling?

Now I'm trying to analyze STM32F103 Cortex-m3's UART code in IRQ and Polling mode. Ans I found 2 types example code such as the below. This is IRQ. ...
1
vote
2answers
112 views

Is that possible to know micro controller pin voltage and current without using multimeter?

So, the condition is there is a Photo Voltic (PV) module connected to a microcontroller (directly to pin 5 and assume that PV module is generating 3V, hypothetically!). I am wondering if I can some ...
0
votes
1answer
110 views

Anyone knows how X86 platform set the PCIe bifurcation at boot up?

I got a question about the PCIe bifurcation setting when booting up in X86 system. Normally, we can set the PCIe controller to be X16, two X8, or four X4 in the UEFI shell menu. However, there is an ...
0
votes
1answer
64 views

Communication between two Bluetooth devices

My supplier tells me that communication between 2 bluetooth devices requires authentication by an app. When reading online I believe it should be possible, but am not 100% sure. One article from EDN ...
1
vote
0answers
828 views

Speed up Vivado Implementation

In Vivado, implementation of my projects can take a while especially if I use debug cores. What can I do to make implementation faster? I tried the "RuntimeOptimized" constraint and it made no ...
1
vote
1answer
317 views

Does dual-bank read-while-write work properly in STM32L071?

I'm trying to reprogram the NVM (flash bank 2) while running code from flash bank 1 in the STM32L071CB microcontroller. As AN4808 and AN4767 states, "the memory interface is capable of reading both ...
4
votes
2answers
1k views

ESP8266-12E MicroPython Unable to access REPL (Python prompt)

I am trying to install MIcroPython Firmware on my ESP8266-12E chip. I am using esptool.py to flash the firmware. I have successfully uploaded the firmware ...
0
votes
1answer
77 views

Production programming: is there a practical size limit to serialization length? [closed]

This is a follow on question from the answers of these two: Is it practical for firmware to be uniquely identified in production How to verify hardware is legitimate I would like to be able to ...
0
votes
0answers
236 views

Help with ISO 14230 K-Line initialisation

I have an OBD-II scanner hardware built using STM32 and it is working fine with most vehicles.But I'm facing difficulty with ISO 14320 K-Line fast. Even though the firmware works fine when tested ...
11
votes
10answers
3k views

Is it practical for firmware to be uniquely identified in production

Are there systems available in large scale manufacturing that allow a unique serial number to be programmed into the firmware or some free memory space for each PCB that comes through? I've found ...