Questions tagged [firmware]
Firmware is one of the most often used terms to denote the fixed programs and/or data structures that internally control an electronic device.
650
questions
0
votes
0
answers
10
views
Firmware of DWR-M921 (dlink) not upgraded
i buy Dlink (dwr-m921 A2 ) modem , and i wana update it, the installed firmware version on modem was 1.1.51 and i download from dlinkmea.com accidentally version 1.1.36 and install it on the modem,
...
3
votes
0
answers
51
views
What are the Steps after activating Position Independ Code (PIC) for A/B Swaping?
ECU: S32K146,
GCC Compiler
I'm trying to perform the A/B Firmware Update procedure described in Application Note AN12323.
I successfully managed to perform the flashing from Firmware A to Firmware B ...
0
votes
0
answers
37
views
(ESP-IDF) AWS IOT Provisoning Example doesn't work
I'm testing aws iot provision emxample.
i used esp-aws-iot(https://github.com/espressif/esp-aws-iot/tree/master/examples/fleet_provisioning/fleet_provisioning_with_csr)
but it occured error below, ...
1
vote
0
answers
66
views
Inconsistent Execution in Bootloader-Only vs. Bootloader and Firmware Scenario
I'm working with an embedded system where I have two separate ELF files: bootloader.elf and firmware.elf. I've set up my debugger to first flash bootloader.elf and then firmware.elf. When this ...
-1
votes
0
answers
20
views
I need a wide range of experiments with Intel/AMD CPU microcode for different machine types. Does any real hardware cluster exist for such a purpose?
I would like to check how some versions of Linux kernel work on different platform using some Intel or AMD CPU. Some kernel patches need the certain microcode to be loaded into the CPU.
I think QEMU ...
0
votes
2
answers
84
views
breaking out of an infinite while loop by getting inputs from the user
I'm trying to have an infinite loop run forever and continuously send data. but when the user presses a button on his keyboard it will break out of it. I tried the code below, but it will send data ...
0
votes
0
answers
14
views
there is some bug in the androidbox firmwere,andbox rockchip rk3228a,in this bug there is a alert dialog box is open when we restart the android box?
I Have a android box in which I run my tv Appliction that are live running but there is some bug in the androidbox firmwere, model number of andbox is rockchip rk3228a,in this bug there is a alert ...
0
votes
0
answers
19
views
How to set mikrobus gpio pin in PIC16F1526 to connect PCA9685 via I2C in mikroC Pro for pic compiler
I want to control servo motor using microcontrollar(PIC16F1526). The microcontrollar is connected to PCA9685 module via I2C. I have used servo library in mikroC pro for PIC compiler but is not working ...
0
votes
0
answers
9
views
How to handle firmware if schematic changes in StmCubeIDE
I am working with STMCubeIDE on an embedded project.
I have 2 different versions of our PCB. The difference between the 2 versions is that, there are 3 MCU pins which are routed differently.
A1, A2, ...
0
votes
3
answers
266
views
Converting big endian to little endian or vice versa
Update: The implementation is in C
I am trying to write a endianess conversion function
My understanding is that the endianess conversion in both ways uses the same function as it is a byte reversal.
...
0
votes
0
answers
92
views
Failed to extract system.img Android
I have a system.img file which seems to be an Android image. The image is recent (2022).
I can't extract it with sim2img or parsex .
simg2img system.img system.img.raw
Invalid sparse file format at ...
0
votes
0
answers
80
views
Setting the X/Y Offset for Ender 3 S1 Plus
I recently did a Restore All Settings & updated the firmware on my Creality Ender 3 S1 Plus, and now when attempting to do the leveling the corners are not correctly aligned (for example, the ...
0
votes
0
answers
32
views
Detect model name and firmware version of CCTV Camera
The script try to detect camera model name and firmware version of dahua camera but therse is som issue I couldn't fix it?
It seems the script indicates that the Dahua camera at the specified IP ...
0
votes
0
answers
20
views
Lenovo E10 how to know the model if it's x104f ,x104x or x104l in fastboot mode
I've been flashing rom on my friend's Lenovo Tab E10 with different tool but the tab now is restarting continuasly i think we're flashing a wrong firmware because we don't know the model if the tab is ...
0
votes
0
answers
52
views
Will IAR complier optimization causing trouble on code running?
the code is using IAR High Level optimization with STM8L151G3, and I observed some problems on the production unit.
In each loop, the code will execute the code below:
__IO uint8_t ColorSwapFlag = 0;
...
0
votes
2
answers
89
views
How to detect If a digital pin is blinking (from high to low) in C?
I am writing a firmware application. I must read a GPIO pin connected to a smart battery, which communicates the state of the battery. A high value in the pin means the battery is in an unknow state, ...
0
votes
1
answer
34
views
UART1 in NRF52840 board with VSCode (nrf connect sdk)
everyone~
I'm using NRF52840 board for getting location data(latitude, longitude, satellites) from RYS8330.
Currently uart0 is used to another function. So I should use uart1 with another pins.
How ...
2
votes
1
answer
81
views
Smooth movement of Pick and drop robot with stepper motor
I am building a pick and drop robot which has 3 stepper motors. I am using NUCLEO-F746ZG microcontroller and C++ programming to control it.
Now the problem is the arm moves with jerks in start and end ...
0
votes
1
answer
60
views
Is it possible to Flash firmware in nrf51/nRF52 from another MCU (like STM32) over UART interface?
I need to flash nrf51 firmware from STM32. STM32 connected to nrf51, which will receive binary for nrf51 also and then it should be able to flash that in nrf51.
Is there any existing sample code for ...
0
votes
0
answers
33
views
lsm6ds3tr IMU for XIAO BLE Sense in Nordic Connect SDK
I am very new to Nordic SDK and currently having a really hard time with Zephyr. I want to use the inbuilt IMU i.e., lsm6ds3tr_c. Zephyr does not have a driver for the sensor but so far all I could ...
0
votes
0
answers
155
views
Accidently Deleted a file of Huawei b310s-927 How to recover I did Telnet by using putty
I wanted to unlock a router (huawei b310s-927 21.333). when I login to the router by using putty software I use the rm -r command a delete a folder under the system folder (bin).
I that Folder there ...
1
vote
1
answer
71
views
Any ideas why initializing a `WebPAnimDecoderNew` would cause a PlatformIO upload failure?
Some Context
I am trying to use libwebp to decode animated images and display them on an RGB LED Matrix driven by an Adafruit MatrixPortal. My development environment is as follows:
Mac M2 running ...
0
votes
0
answers
824
views
Raspi Camera not detected
My camera is not being detected by my raspi. When running:
vcgencmd get_camera
in the terminal it outputs:
supported=0 detected=0, libcamera interfaces=0
I am pretty confident it is plugged in ...
0
votes
0
answers
38
views
Can I open OP-TEE using QEMU-KVM instead of TCG
Can I open OP-TEE using QEMU-KVM without trustzone CPU emulation instead of TCG?
I add enable-kvm option and turn off trustzone CPU emulation in QEMU command (Since KVM doesn't support trustzone)
As ...
0
votes
2
answers
96
views
STM32F446 Booting
The arm.developer.com states that "At Reset, Cortex-M3 and Cortex-M4 processors always boot from a vector table at address zero". How is it possible that f.e. STM32F446 has the vector table ...
0
votes
0
answers
478
views
Marlin firmware - integrating touchscreen on ender 3
I am struggling to integrate the touchscreen in custom edited marlin firmware
The display is already flashed with DWIN and I've got this far:
built the bin file and flashed it on the printer board (4....
1
vote
0
answers
162
views
DMA Buffer Index with Multi-Channel ADC
I am using the CortexM4 coprocesor on the STM32MP157F-DK2 to measure multiple ADC channels and update a control loop based on the values. I have set up ADC1 using the DMA2 in circular mode to read ...
0
votes
0
answers
714
views
Is there any way to flash a raspberry Pi Pico with a firmware contained in a pointer inside it?
I'm using a raspberry Pi Pico for a personnal project (written in C language) and my problem is that my Pico is unreachable once it's installed so I have to take it out everytime I want to update my ...
0
votes
0
answers
44
views
Do I need to modify my smartwatch firmware to modify its OS?
I recently bought a smartwatch on AliExpress and wanted to know as tech-passionate if I could modify its OS. Throughout my research on the web, I have learnt about firmware in cpu and OS. As stated in ...
0
votes
0
answers
68
views
How to validate SSL certificates to complete handshake process on AWS S3 URL?
I have some IoT devices in the market with the end customers. The customers are using those devices via an Android/iOS mobile app.
Here is the real problem and it is my question:
The devices use HTTPS ...
0
votes
0
answers
48
views
Graphics stop working after calling ExitBootServices()
I'm trying to write a printf function to use after exiting uefi boot services, and of course to do it i have to access the frame buffer. Now.. as you can see from the code below, i save the gop frame ...
0
votes
1
answer
380
views
SPI TFT LCD on Arduino Uno - blank white screen
I am using a 2.4 inch SPI TFT LCD with Arduino Uno, using Arduino IDE.
After uploading the code it is showing only white screen.
Power supply connections:
VCC - 5V
Gnd - gnd
Led - 3.3v
I have ...
0
votes
0
answers
273
views
Why I get permission denied when trying to read ROM from a device in sysfs?
reading the docs for sysfs on https://mjmwired.net/kernel/Documentation/filesystems/sysfs-pci.txt
The 'rom' file is special in that it provides read-only access to the device's
ROM file, if available....
0
votes
0
answers
25
views
Firmware ENC28J60: Transmit Length Check Error
I am working on writing my own firmware to control the ENC28J60 to add an extra ethernet port to an Odroid.
When I am writing my transmit packet firmware, the transmit status vector is giving me a ...
0
votes
0
answers
54
views
ESP8266 boot message but no response to any AT commands (newest AT Firmware)
I´m trying to talk to my ESP8266-12F with a USB-Serial-adapter. I successfully flashed the newest firmware from Espressiv to the board using ESPTool. The flash and debug commands of esptool like ...
0
votes
1
answer
32
views
Avoiding inter-module dependencies, avoiding event as a global variable - What should be given more importance? why?
Approach 1 ->
module A
a.c
#include <os_wrapper.h>
event* a;
createEventFlag(a); - RTOS function
OS wrapper
os_wrapper.h
extern event* a;
module B
b.c
#include <os_wrapper.h>
.
.
...
0
votes
0
answers
70
views
How to find for how many second a push button pressed attached to microcontroller
I am new on the controller. I want to interface a microcontroller with push button. How I find the time of button is pressed. when we press button for one second it one LED is glow and similar for two ...
0
votes
0
answers
21
views
Raspberry slow boot when a usb rfid reader is connected
my raspberry works properly but when I connect a usb rfid reader the system takes 4 minutes to boot up. It only behaves this way when that device is connected. I originally thought it was a voltage ...
-1
votes
1
answer
229
views
how to unbrick my ONN TVbox 100026240 (dopinder)
my ONN TVbox 100026240 dopinder got bricked after blackout.
my ONN TVbox 100026240 dopinder got bricked after blackout. I conected the equipment succesfully using amlogic USB burning tool but seems to ...
0
votes
0
answers
35
views
I can't unpack the android firmware system.new.dat.br
I want to change some apk files in the firmware. I can't unpack it. It turned out to be unpacked by third-party services, but then, after the assembly, the firmware was not installed on the device. ...
0
votes
0
answers
216
views
remove micropython from esp and install esp32 firmwae
i have a esp32 and afew month ago i installed micropython on it , now after erase_flash it with
python3 esptool.py erase_flash
and now when i want to run a simple
Serial.print("hellow world"...
0
votes
1
answer
100
views
mcumgr_flutter, does not move to a successful state reaching 100% firmware transfer
I am trying to move to mcumgr_flutter, from mcumgr plugin, I am having a problem where when reaching 100% transfer of the firmware I am not getting the state steam observer to send me the success ...
2
votes
1
answer
309
views
OTA data partition
I would like to better understand how OTA works on ESP32. I have read the datasheet but I still have some questions about the OTA data partition: it has a size of 0x2000 bytes being 2 sectors of 4K, ...
1
vote
2
answers
64
views
Behavior of C bug: passing pointer to array instead of array into function
I recently came across a bug in my C firmware, in which I passed the wrong type into the function. It raises a warning, but I want to understand what could happen in this scenario. During debugging, ...
0
votes
1
answer
160
views
dsPIC: Reading timer registers and get wrong value
On a dsPIC33CK512MP608 I set up SCCP1 Timer so it increments every 1 us.
My goal is to mimic the millis() function of Arduino. I'm aware it's not a super-precise way to measure time, but it's accurate ...
0
votes
2
answers
310
views
Does anyone know what "HF-LPBX300 Image" is?
I have a Deye Sun 600 Inverter and I am not very satisfied with the monitoring capabilities. It seems like there are a fairly high delay for measurements written to the registers. Anyway I want to ...
0
votes
2
answers
35
views
On Code::Blocks, I couldn't compile a source file. (Ubuntu)
I'm a new learning how to code Firmware on Linux.
English is my second language so please excuse me if you are feeling like difficult to get what I'm saying.
Finding means about them, I've known the ...
1
vote
0
answers
110
views
-sh command not found on linux os [closed]
when i flash my elf file in Ingenic t31 board in mnt directory then i give to excute command
chmod +x elf file nname then I check the permission of my file
ls -lcommand
-rwxr-xr-x 1 root ...
0
votes
1
answer
118
views
How can i restart the node server in electron application?
I have an electron application that runs fine, but the node server get crash due to some errors so I want to restart the node in electron without relaunching the electron application.
Is there any way ...
1
vote
0
answers
136
views
How can I open a file in the SD card of a Marlin 3d printer and read its contents to a cha*?
I need to write a custom function to add it to the Marlin (2.x.x) Firmware with the cardreader.h library (Anycubic Kobra max firmare) in order to read a gcode file and extract the comments in the ...