Questions tagged [firmware]

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

Filter by
Sorted by
Tagged with
-1
votes
1answer
87 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 ...
0
votes
1answer
161 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 ...
0
votes
2answers
124 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 ...
0
votes
2answers
62 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 ...
0
votes
1answer
72 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....
0
votes
3answers
169 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 ...
0
votes
1answer
32 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 ...
0
votes
1answer
19 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 ...
0
votes
4answers
175 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,...
0
votes
0answers
35 views

Anyone here working with the Cypress PSoC6? Having trouble running the blinky program

I have a PSoC 6.3 Pioneer Kit (HW REV 11) and am having trouble running any of my own (or example) programs on the PSoC. I have the latest PSoC Creator (V4.4) installed with PDL V3.1.4 and the latest ...
1
vote
0answers
30 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 ...
0
votes
0answers
38 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 ...
1
vote
1answer
101 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 ...
0
votes
0answers
56 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 ...
1
vote
2answers
71 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 ...
0
votes
0answers
29 views

CYBT-343026 Firmware upgrade issues

I'm a Beginner, So I don't know much about this. Please correct me if I'm wrong. I have downloaded platform files and firmware files. I'm using ChipLoad to flash. This is the output I get when using ...
1
vote
0answers
177 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 ...
0
votes
0answers
102 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 ...
1
vote
0answers
77 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 ...
0
votes
1answer
96 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 Arduino IDE, but I remmember flashing that bin file on the device. Is ...
1
vote
2answers
275 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 ...
2
votes
2answers
177 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 ...
0
votes
1answer
202 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 ...
0
votes
0answers
24 views

Program multiple arduinos simultaneously [duplicate]

I have a 10 port USB extender hub and connected to it are 10 arduinos. Is there a way by which I can send the same program to all of them at one go and not program them one by one?
0
votes
1answer
74 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 ...
0
votes
0answers
86 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 ...
6
votes
1answer
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 ...
0
votes
0answers
332 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 ...
-1
votes
1answer
66 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 ...
0
votes
1answer
42 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 ...
0
votes
1answer
34 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 ...
0
votes
7answers
958 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?
0
votes
2answers
109 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 ...
1
vote
0answers
48 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 ...
0
votes
2answers
67 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 ...
0
votes
1answer
80 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 ...
0
votes
1answer
49 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 ...
0
votes
0answers
65 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 ...
1
vote
1answer
69 views

When does the stack pointer get copied from flash to SP on startup?

I'm trying to track down a problem on a MKV31F256 micro. The firmware immediately jumps to the hard fault handler on startup. I'm able to set a breakpoint on the first assembly instruction in the ...
6
votes
3answers
2k views

How to extend a microcontroller GPIO to ~300 inputs?

I need to find out the address of buttons pushed. Say I need about 300 Input port required dedicated for individual buttons. Then I would need 300 I/O pins to read the address of a pushed button which ...
2
votes
1answer
132 views

DIY laser cutter - laser is turning off at various places while cutting [closed]

I converted my Monoprice Maker Select IIIp 3d-printer into a laser cutter by mounting a 4W diode laser to the printhead, and using the cooling fan leads to control the laser beam, via a simple ...
21
votes
7answers
6k views

C - wrapping globals in a struct?

A firmware style question concerning C. I have some legacy code I am tidying up. One of the nasty features is global variables being scattered through the source files. I can make a few of them ...
0
votes
2answers
121 views

Data send only in MCU based I2C Slave

I want to know that is it possible that a Slave I2C device which is a 32-bit MCU, for example STM32F407, I write its I2C data send function and send data through it after every 1 sec? I am asking this ...
1
vote
2answers
859 views

DAPLink firmware doesn't operate with OpenOCD

  Why this is not a duplicate Some people seem to think this question is a duplicate, but there is an important difference: The How to update the SWDAP firmware? question is all about how to ...
-1
votes
1answer
866 views

How to update firmware over DFU on read protected STM32 microcontroller with command line tool?

STM32 microcontrollers have bootloader in system memory which is write-protected. This can be booted with right sequence, that I don't cover here. ST provide more tools to upgrade firmware from ...
0
votes
0answers
41 views

How to select the compatible USB to SPI IC Programmer?

I built an image of Coreboot (open source firmware) and wanted to flash it on the Minnowboard Max. SF100 is compatible to do the job (as described in this article). However, I want to be clear on the ...
0
votes
2answers
483 views

IAP bootloader not jumping to the application address

I am working on IAP in STM32F4. I received .bin file using uart and flash it in 0x08004000 address successfully and disable irq , set msp , set vector, deinit hal , reset the systick registers but the ...
1
vote
2answers
3k views

STM32 firmware upgrade (In-System Programming) over USB?

There are many ways to program an STM32 chip (in my case STM32L4R5): USB DFU mode (using DFuSe utility from ST) UART Serial Port (through something like FTDI chip)...
0
votes
1answer
59 views

Smart vs Intelligent vs Adaptive vs Advance (etc) Embedded Devices [closed]

I hope my question is not off-topic here. I am asking it here because it is directly related to the hardware devices which are primarily based on MCU's. These Embedded System devices are used every ...
0
votes
0answers
27 views

Regenerate IRK for NXP QN9020 Bluetooth Low Energy Peripheral

According to Bridging the GAP: Bluetooth LE Security Part 3, IRK Re-generation Each time you clear your peripheral’s bonds, and open it up to a new pairing, you should re-generate your IRK. Why? iOS ...

1
2 3 4 5