Skip to main content

All Questions

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

Weird android recovery/fastboot countdown timer

I have a device running Android 10. The bootloader is unlocked. I was able to flash TWRP but there's something strange happening. I guess it's because the manufacturer has enabled boot time USB stick ...
Nick G.'s user avatar
3 votes
1 answer
120 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 ...
Ojav's user avatar
  • 960
1 vote
0 answers
86 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 ...
Ojav's user avatar
  • 960
0 votes
0 answers
109 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 ...
cam0347's user avatar
  • 23
0 votes
0 answers
46 views

how does the program gets loaded in memory when you have several memory region?

Let's say I have SOC that have different processors (embedded SOC) and different memory regions. let's say it has internal ram for 3 different processors it has and an external ddr ram, let's call ...
Amir's user avatar
  • 1
0 votes
3 answers
221 views

When doing an embedded software update, should you wipe the entire application code, or only update the application partially?

When a company updates a product's embedded C code application firmware (via a bootloader on the microcontroller, or JTAG, etc.), do they normally flash a whole new .hex/.bin file that contains the ...
Nathan's user avatar
  • 3
0 votes
0 answers
2k views

How to Flash / Repair Soft-Bricked Huawei P30 Lite

Hello Guys I had a little mistake and accidentally Soft-Bricked my Huawei Device. The device keeps on Boot looping. I've already done a SD-Card Update and an Update via DC-Phoenix. The Update was ...
WizardPlays's user avatar
0 votes
1 answer
455 views

ARM Assembly First Stage Bootloading Concept

I'm going to write a first stage bootloader that will directly load the firmware into RAM from flash, using ARM Assembly on a Cortex A7 based processor. I have a basic idea of how I could do it, but I'...
DashNode's user avatar
0 votes
0 answers
428 views

HardFault during erasing Flash in debug mode

I've written a custom bootloader using C to run on ARM cortex_M4 but I had a HardFault exception when using the debug mode. This exception appears just in debug mode, when I use release mode ...
Ayo_ub's user avatar
  • 1
1 vote
1 answer
704 views

How to inject data in a .bin file in a post compilation script?

Purpose I want my build system to produce one binary file that includes: The bootloader The application binary The application header (for the bootloader) Here's a small overview of the memory ...
gberth's user avatar
  • 744
0 votes
1 answer
648 views

Bootloader and main application to share common code/functionalities

I'm struggling with a question in which I would like to get some help... I have a Bootloader which can upload another application into my chip. In my case the Bootloader and the main application ...
colin.diez's user avatar
-2 votes
1 answer
469 views

Do I need a bootloader for ATtiny1617

First of all I am new in this domain, so excuse me if I ask dumb questions. I have worked in the past with AVR microcontrollers and used arduino's bootloaders. Here I need to work with ATtiny16/17, ...
FF504's user avatar
  • 1
1 vote
1 answer
297 views

What is the programatically way of upgrading (discovery) stm32's firmware? (replacing the ST loader util)

I am trying to upgrade the firmware on a STM32F407G (Discovery board). I am already able to run the bootloader on the board (as checked with the st utility to upgrade the firmware using the dfu ...
Mariano Koremblum's user avatar
2 votes
2 answers
1k views

Cortex M3 jump from application back to bootloader and back to application

I have a bootloader and a firmware where the initial jump from bootloader to firmware works like a charme but when I have the scenario jumping back from application, make some stuff and jump back to ...
Stephan's user avatar
  • 23
5 votes
2 answers
387 views

Why are flash sectors of ROM smaller at the starting address?

Recently been working a lot with flash ROM, and I've found consistently within both within the internal flash of a chip and even with external SPI flash devices, that sectors are usually sized in a ...
Capn Jack's user avatar
  • 1,241
2 votes
0 answers
904 views

stk500_recv() programmer is not responding

Intro Yesterday we were trying to update the firmware of our 3D-printer a Tevo Tarantula i3 The printer was running Marlin 3D Printer Firmware. We installed a new module a TL-Touch Sensor, a chinese ...
Jeroen Smink's user avatar
-1 votes
1 answer
3k views

Bootloader code stm32 controller

I am trying to develop the Firmware Over The Air(FOTA) for the STM32(L4-Series) controller as IoT application. I have little bit confused in below topic/section that how it work & goes: How to ...
SACHIN RAJPUT's user avatar
1 vote
0 answers
1k views

Android firmware image components explanation

Consider unpacking an android firmware image made for a Media box using for example the C code in this post or by 'Amlogic customization tool'. When I use the compiled C code with an android 7.1 ...
Saleh's user avatar
  • 1,931
0 votes
1 answer
309 views

Linking to a bootloader callback function from firmware

I'm trying to achieve something similar as in this quesition. I'm compiling a firmware file written in C, and the code needs to call a function in the bootloader. My firmware file looks like this: ...
jarmokivekas's user avatar
4 votes
1 answer
3k views

Advantage for hex formats like SREC or Intel HEX

I want to ask if someone can explain me the benefit for using hex formats (e.g. by Motorola S-Record or Intel HEX) over using direct binary images like for firmware or memory dumps? I understand that ...
Andreas's user avatar
  • 342
0 votes
1 answer
137 views

How to ensure bootloader is started

I am working with openmote-cc2538 for the project: https://github.com/cetic/6lbr/wiki Here when I was trying to flash openmote with this command sudo make TARGET=cc2538dk BOARD=openmote-CC2538 ...
NTP's user avatar
  • 91
2 votes
1 answer
2k views

Can I accidentally destroy an ESP8266 ESP-12F module's bootloader?

I'm new to these devices and even if they are very cheap, I don't unnecessarily want to brick them. I've used esptool to flash the NodeMCU firmware onto my modules. When doing so, I need to specify ...
Rob's user avatar
  • 11.8k
8 votes
1 answer
9k views

Remotely Updating Raspberry Pi Software 'over the air' [closed]

We use a Raspberry Pi embedded computer to connect IP cameras on a customers network to our cloud based recording service. We are using Raspbian and about 50% are Wheezy and 50% are Jessie. The ...
dopey's user avatar
  • 516
4 votes
2 answers
2k views

It is possible to combine Linux (one core) and bare-bone firmware (second core) on one dual core computer?

I was checking project Embedded ECG data acquisition system from instructables and there is mension a TODO: Combining the OS and bare-bone firmware UNDER CONSTRUCTION ** Since the bootloader only ...
Tomas Kubes's user avatar
0 votes
1 answer
735 views

Arduino is dead? Error avrdude

I have a problem with my Arduino. When I try to upload a sketch any, I get the following error: avrdude: Version 6.0.1, compiled on Apr 14 2015 at 16:30:25 Copyright (c) 2000-2005 Brian Dean, ...
antia's user avatar
  • 83
2 votes
2 answers
190 views

Firmware metthod to detect on board external RAM Size and its vendor

I am looking for a firmware solution, In the product I am working it is expected to work for at least 15 years, so there is a scope for external RAM extension in hardware, now as a firmware engineer I ...
V Krishna Rao Racharla's user avatar
0 votes
1 answer
185 views

DLL in microprocessors?

After several months reading and learning from stackoverflow I have decided to post a question I cannot solve. I would like to add program code (some kind of .dll) to a microprocessor in real time. I ...
carlosm's user avatar
1 vote
0 answers
645 views

Focaltech ft5206 firmware

I brought a strip of FT5206 chips from Aliexpress, but I have not been able to communicate with the ones I've tried so far. I receive no Ack or response from the I2C bus and nothing from the SPI ...
Matt Ault's user avatar
0 votes
1 answer
423 views

Finding ImageHandle of an uefi shell app. or module

I have a uefi shell app and a uefi module, providing similar functionality, I am trying to merge them into a single entity that can be executed either as a module from Boot Menu or from uefi shell. Is ...
user28264's user avatar
  • 249
1 vote
1 answer
1k views

tftp an application using uefi shell

I want to flash and upgrade my tianocore boot loader from the uefi shell. Is it possible in this manner ? download the tianocore firmware image from a server using tftpboot on uefi shell. Erasing the ...
user28264's user avatar
  • 249
4 votes
3 answers
2k views

Bootloader and Firmware Common Usage and Firmware Upgrade

There are two case when working on an embedded system. Embedded system have limited resources like as ARM Cortex M0 Microcontroller with 12 K Flash. Case 1 : Common function/module usage for ...
maxadamcamb's user avatar