Questions tagged [firmware]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
18 views

TI Sitara Pass Variables from Application to Bootloader

How can I pass some hardcoded variables from application to bootloader to check whether the firmware is OK or NOK?
user avatar
0 votes
0 answers
15 views

Write over USB using the printer_basic example for SAM E54

I was trying to use the SAM E54 Xplained dev board to achieve printer communication using this example from Microchip https://github.com/Microchip-MPLAB-Harmony/usb_apps_device/tree/master/apps/...
user avatar
  • 285
2 votes
1 answer
268 views

Do ASCII or Unicode Bit-Level Anagrams exist? [closed]

Is there such a thing as a bit-level ASCII anagram, that forms a natural language word when the bits are interpreted as ASCII from left to right, but a different natural language word when interpreted ...
user avatar
  • 2,935
0 votes
2 answers
90 views

Embedded firmware and app? [closed]

I am in Hardware Design trying to get into Embedded Systems, so please pardon me for lame questions. So, Scenario 1 : I upload an Arduino Sketch into Arduino with the help of Arduino Bootloader . ...
user avatar
0 votes
2 answers
45 views

Has anyone ever used an AZ Displays LCD?

I have a character LCD that I'm trying to get working. It's an AZ Displays 16x4 character LCD. The backlight works perfectly, but there is no display (not even those little boxes that you expect on ...
user avatar
  • 47
1 vote
0 answers
47 views

NAND read returns 0 blocks

I need to perform a firmware extraction, so I extrcted the NAND TSOP48 chip from the board. Chip part no: S34MS01G200TFI00 Link to chip: link to chip I then mounted it on a NAND reader Link to NAND ...
user avatar
1 vote
2 answers
132 views

STM32 and ESP8266EX Flash Programming

I'm a complete beginner to electronics, I have done few projects using different modules, it's so easy to do with modules. Now I want to learn and do some advanced hobby projects. So I decided to ...
user avatar
0 votes
1 answer
54 views

External Memory and Booting

I am trying to use external memory on my stm32h750. I've tutorial information about the these proccess. I decide to use below methods to use external flash Write the code in 0x80000 address and ...
user avatar
  • 283
0 votes
0 answers
38 views

Swapping the SSD controller without data loss possible?

Does swapping the controller chip within some ssd always imply data loss, or is it possible that for some SSDs all the relevant information (like translation layer parameters) is stored on the NAND ...
user avatar
  • 101
0 votes
1 answer
140 views

STM32G030: more smaller and simpler library for software development than HAL/LL/libopencm3/tinygo?

I'm quite a fan of the STM32G030x6/x8 "line" since it is small and fits most of (my) needs as a more modern replacement to the Arduino platform built ...
user avatar
  • 157
0 votes
0 answers
91 views

Flashing PCA10040 NRF52 using J-link and Segger Embedded Studio

I encountered a problem while trying to flash my PCA10040 nrf52 development kit. I am able to compile my code in Segger Embedded Studio without a problem. The chip has 512kB of flash and 24kB which ...
user avatar
-8 votes
1 answer
155 views

How to run Linux on a custom PCB [closed]

If I could design a PCB, with all PC ics (e.g. ARM CPU, DDR3, flash nand, etc). How to tell Linux about devices connected to it? In other words, how to deal with devices connected to the CPU from a ...
user avatar
0 votes
1 answer
651 views

STM32 timer output compare interrupt all interrupt flags set at once

I'm trying to set up the output compare channels of TIM3 of an STM32F103RB MCU. For now I only enabled channel 1, but later I'll need CH2 and CH3 as well. When CH1 triggers, the TIM3->SR register ...
user avatar
3 votes
0 answers
1k views

ST-Link V2 - Firmware Update Error

I purchased a few ST-LINK V2 debuggers / programmers and they were all clones as expected but I was only able to update a single one past V2.J17.S4. For the rest, I just get the error attached. ...
user avatar
1 vote
0 answers
123 views

Is it possible to flash an Arduino Due via its RX/TX pins?

I've got a BeagleBone Black (UART1) connected to an Arduino Due (RX0 / TX0) and I'm trying to upload a new firmware via bossac: ...
user avatar
  • 131
-1 votes
1 answer
89 views

Which approach is mostly used to create an electronic device? [closed]

I am very new to electronics, what I know so far (which may be wrong) is that there are two approaches to create an electronic device (examples of electronic device: pocket calculator, TV remote ...
user avatar
  • 1
1 vote
1 answer
548 views

VL805-Q6 USB 3.0 Host Controller - Windows Freezing Problem

I have designed a PCB that converts from PCIE to USB 3.0 using VL805 - Super Speed USB 3.0 Host Controller. here you can find my OrCad Design. My PCB works perfectly on Ubunto 20.10 and it has a ...
user avatar
  • 583
0 votes
2 answers
153 views

Grinding on PI/PID controller at specific PWM

I've modified a previous PI controller of a design team on that is working on high speed motor applications to include the D, which didn't solve this issue. The PID loop takes actual speed, and ...
user avatar
0 votes
2 answers
71 views

Handling of complementary errors in embedded software

I've to design a firmware for an embedded device which may be in different error conditions at the same time. Each error condition requires to set the hardware components of the system into different ...
user avatar
  • 125
0 votes
1 answer
145 views

PC recognizes keyboard pcb only as FT232R usb UART but doesnt see atmega32a behind it

I made my own pcb design for mechanical keyboard. When I wanted to test it, both mac and windows system recognize only FTDI ft232rl chip on pcb but not atmega32a behind it that controls whole keyboard....
user avatar
0 votes
3 answers
443 views

Program FPGA without JTAG?

I write embedded software that runs on a single board computer running Linux and talking to FPGAs. I do not do FPGA design, so I'm at the edge of my knowledge with this question: how do I program an ...
user avatar
  • 852
0 votes
1 answer
45 views

What technique is more suitable for multiple (10+) simultanious bluetooth communications? CC2564

I am developing an industrial hardware that communicates via BLE 5.0. The design is this: multiple devices: (10, 20 devices) communicates with an high bitrate (around 20 bytes every 50 ms, so around ...
user avatar
  • 31
0 votes
1 answer
21 views

Does CSR1012 need an external non-volatile memory for this application?

I am building a IoT device in which data is fed from I2C to CSR1012 BLE IC and the CSR1012 then transmits the data. CSR1012 is programmed as a master MCU. I need over-the-air update capability to ...
user avatar
  • 3
1 vote
4 answers
354 views

What is the distinction between software & firmware? [duplicate]

I've started learning about embedded coding. The words 'firmware' and 'software' are a bit ambiguous to me still. My understanding is that software is high level language tailored for user interaction,...
user avatar
1 vote
0 answers
41 views

Understand how to integrate STM32F407VG MCU on custom PCB and program it

I have been messing around with the STMF407VG for a few weeks now using a discovery board. Been the steep learning curve but I think I have made significant progress on learning firmware development ...
user avatar
  • 121
0 votes
0 answers
64 views

Teensy 3.6 programming DAC

I'm trying to code the DACs in the Teensy 3.6 to a synthesizer. The problem is that when I write in any of the registers to control the DAC module, the Teensy just stops responding! Does anyone know ...
user avatar
1 vote
1 answer
108 views

Are there fewer firmware chips in a mobile device compared with a laptop or a desktop?

For a conventional laptop or desktop computer, there appear to be many firmware chips in which malware might hide: internal drives network card graphics card sound card embedded controller BIOS ...
user avatar
0 votes
0 answers
279 views

Cannot flash Wemos D1 using NodeMCU

I am trying to flash Wemos D1 mini (ESP8266) using NodeMCU according to this video. Pins NodeMCU → Wemos: RX → RX TX → TX D3 → D3 RST → RST 3.3V → 3.3V GND → GND EN → GND When flashing Wemos LED is ...
user avatar
  • 101
1 vote
2 answers
77 views

Firmware not embedded on the device?

Recently reading about Linux and its folder /lib/firmware, I read that firmware is not needed to "live" on the device, that some network devices dont have any ROM to store a firmware. How is ...
user avatar
1 vote
0 answers
346 views

Problem SAMD21 : ASF4 USB CDC Echo example cdcdf_acm_write() doesn't allow to send data to usb port

I'm using the USB_CDC Echo Example for Atmel start, for ATSAMD21G18A. the code example runs Ok, but when I try to modify the code in order to send data "Hello World" in the infinity while ...
user avatar
  • 11
0 votes
0 answers
149 views

Unable to flash stm32f103c8t6 after erasure, device shows 0 bytes flash size (custom bootloader)

I have flashed a dfu bootloader from https://github.com/davidgfnet/stm32-dfu-bootloader onto a fresh stm32f103c8t6 and it was working fine. After I uploaded my binary with dfu-util the device would no ...
user avatar
1 vote
0 answers
106 views

Winbond v/s ITE chip

My ASUS motherboard has both a winbond 25q64fvsig and a it8995e-128 chip. In a repair shop in a country I was at the time, they flashed the wrong ASUS BIOS version. I tried flashing the right version ...
user avatar
  • 11
0 votes
1 answer
295 views

ESP32 WROOM switching back from MicroPython to Arduino framework

I have recently switched my ESP32's firmware to work with Python (using Thonny IDE) and I want to switch back to work with C++ and the Arduino IDE, but I remember flashing that bin file on the device. ...
user avatar
1 vote
2 answers
570 views

firmware testing methods

This is my first question here from the community :) So I have inherited some bad embedded code, the whole firmware is a messy spaghetti state-machine that has an infinite number of states! and it is ...
user avatar
2 votes
2 answers
408 views

Interrupts using member function

I am trying to use a member function in an interrupt. The function uses member variables so I created a global instance of that class to use it in a static function. The problem is that I created a ...
user avatar
  • 23
0 votes
1 answer
346 views

What is the value present at the first address of flash memory of stm32 for every firmware?

Every firmware of Stm32 microcontrollers, the first value is starting with 0x2XXXXXXX, while working with custom bootloaders, I found that this is an address on SRAM, 1)What is actually present at ...
user avatar
0 votes
1 answer
94 views

Upload firmware to many controller ICs at once

I have some 100 Atmega328 IC boards. I want to upload firmware in all of them at one go and I have the final firmware code. Is there any method by which this can be done? I was reading somewhere that ...
user avatar
0 votes
0 answers
163 views

Modifying Option Bytes at compile time

I need to modify the option bytes at compile time for STM32L0xx controller and generate the binaries i.e. .hex, .bin. could you please suggest a solution for the same. I amusing STM32Cube IDE for ...
user avatar
7 votes
1 answer
1k views

How to get rid of shift and logical operations

I am trying to upgrade an old firmware of a 32-bit MCU. The fw has many macros in it which uses various operations eg., logical shift etc. I want to replace these shift and logical operations. An ...
user avatar
  • 139
0 votes
0 answers
657 views

STM32 - Fastest way to change ADC channels after each conversion

I'm using the STSPIN32F0 (edit: I'm using the STPIN32F0 6-step control evaluation board from ST called STEVAL-SPIN3202) to develop a 6-step speed controller for brushless DC motors. The STSPIN has an ...
user avatar
-1 votes
1 answer
71 views

Is it possible to hack/edit a camera's software to add custom features? [closed]

I am not a programmer but I am curious if it's possible to hack my Canon camera to be able to work in sync with a custom gimbal that I'm thinking of building. I want to add an object tracking feature ...
user avatar
0 votes
1 answer
67 views

Can I use WP(Write Protect) pin of a USB flash memory controller to prevent tampering with its firmware/stored data?

I want to have an USB stick that I can make it read-only and insert it in any untrusted PC without risking a silent BadUSB infection. I was thinking about finding an USB stick that has this WP pin in ...
user avatar
0 votes
1 answer
49 views

Do I need to use OpenSDA to program and debug MKL46Z256VLL4?

I am a novice to uC programming, though I have made simple circuits with the AVR ATMEGA series. For the AVRs, I used an ISP programming header along with the ATMEL-ICE. From what I am reading for the ...
user avatar
  • 121
0 votes
7 answers
2k views

In what languages can firmware be written?

Is there a restriction that firmware can be written only in compiled languages or Assembly languages or Machine code? Can Interpreted languages or Just In Time Compiled languages be used?
user avatar
  • 2,411
0 votes
2 answers
229 views

Firmware coding - applicable standards

I would like to know if there are any applicable standards when coding microcontroller firmware (ARM) in order to achieve a specific quality level. In my case, I would like to code firmware for a ...
user avatar
1 vote
0 answers
62 views

Firmware self update MCU level support: MK20DX256VLH7 or MIMXRT1062DVL6A

I've been reading MK20DX256VLH7 datasheet for a day and still didn't find any description about built-in mechanisms for intrinsic firmware update. I mean stuff that helps (allows) currently running ...
user avatar
  • 111
0 votes
2 answers
74 views

How to go from specs/requirements to design, architecture, code, tests, documentation for embedded systems? [closed]

How do professional embedded systems engineers design, architect, code, test, document systems? Any good examples, libraries, resources that showcase the process of going from specs/requirements to ...
user avatar
0 votes
1 answer
104 views

Incorporating RTOS into a simple sensor interfacing project for learning purpose

I am trying to switch to embedded from a software test role, and been working on learning about STM32, and almost finishing up writing drivers for I2C which I used for interfacing with a sensor. I ...
user avatar
  • 183
0 votes
1 answer
83 views

ESP8266 / ESP-01 - Customize the NonOS "at" firmware of SDK?

I am using an ESP-01 this way: MCU <-> UART <-> ESP-01, using AT firmware/NonOS on ESP-01. I have my own encryption functions, and I would like to implement them both on MCU and ESP-01 sides at ...
user avatar
0 votes
0 answers
97 views

Keyboard libraries or simple code?

I am in research for building a custom keyboard using an Arduino or Teensy microcontroller. Concerning the programming of the M/C I have come across firmware libraries such as tmk or qmk. Yet I ...
user avatar

1
2 3 4 5