Questions tagged [bootloader]
Bootloader is a program that loads the operating system into the computer's memory and set it into execution. When a computer is powered-up or restarted, the basic input/output system (BIOS) performs some initial tests, and then transfers control to the Bootloader.
bootloader
1,821
questions
-3
votes
0
answers
21
views
Redmi Note 8 Pro stuck in flash all [closed]
flash all bat file
My redmi note 8 pro got bricked so I downloaded the factory image and executed the flash all bat file and it got stuck here
tried all things but the it is still not working
I saw ...
0
votes
0
answers
45
views
Bootloader randomly jumping to address
For some reason here I'm very confused why its jumping to putsc16 after returning from puts32_done? I Tried investigating this heavily but so far no bite, would appreciate some guidance. All code is ...
1
vote
0
answers
21
views
EFI application - LoadImage fails with EFI_NOT_FOUND for mtftp downloaded file
I'm using EDK2 and C for this application. I'm doing PXE over IPv6. I have a UEFI application that downloads the file "bootmgfw.efi" which is the Windows EFI boot loader. I don't call mtftp()...
1
vote
0
answers
30
views
GD32 BootLoader
When I use the GD32 microcontroller which is same like stm32 for IAP upgrade operation, the APP program can only execute partial code after jumping to the APP program from BootLoader.The Flash ...
0
votes
1
answer
16
views
Error jumping from bootloader to application with STM32F412
I have an issue with jumping from the bootloader to the application.
If I make the jump before entering the infinite loop, everything works, but if I do it from inside the loop, it doesn't work.
I ...
1
vote
1
answer
51
views
My bootloader isn't printing after switching to Protected Mode
I'm trying to print the character "C" after switching to the Protected Mode, but it isn't working, and I don't know why. I'm using Assembly AT&T/GAS syntax
Here is the code:
.code16
....
22
votes
2
answers
2k
views
How to prepare stack pointer for bare metal Rust?
I'm trying to write an x86 bootloader and operating system completely in Rust (no separate assembly files, only inline assembly within Rust).
My bootloader works completely as intended within the QEMU ...
0
votes
0
answers
30
views
jumping from bootloader to application HardFault error STM32F103C8
i write bootloader in 0x8000000 to flash data of new code in address 0x800D000 by this function :
void flash_jump_to_app(void)
{
HAL_RCC_DeInit();
HAL_DeInit();
__disable_irq();
SCB-&...
0
votes
0
answers
58
views
Falling to switch from 16-bit real mode to 32-bit protected mode
I am new to low level programming and I am writing a bootloader in assembly that switches from 16-bit real mode to 32-bit protected mode and loads a kernel. However, my bootloader stops working after ...
0
votes
0
answers
64
views
VESA 24bpp using QEMU from WSL (blue channel not working)
I am currently struggling with VESA graphics.
I am switching to VESA using this assembly code below
Note: At this point I am still in 16 bit real-mode
Note 2: video_info is a label in the 32 bit area ...
1
vote
1
answer
47
views
MCUboot loses pending update image in slot 1 after reset
Update:
I got MCUboot logging working and found the error: mcuboot: Image in the secondary slot is not valid!
It isn't obvious to me why the image isn't valid.
[00:00:10.516,021] ␛[0m<dbg> ...
0
votes
0
answers
61
views
Renesas EK-RA8M1 (Cortex-M85) dev board -- no longer connects via J-Link, possible to recover?
I recently bought an EK-RA8M1 board. I was able to generate a project for it, compile, flash, debug, receive data via SEGGER RTT, etc. Everything was working absolutely perfectly.
However, all of this ...
0
votes
1
answer
85
views
What does the bitmask "0x2FFE0000" mean in context to the STM32 UART IAP Bootloader?
I am trying to understand the firmware update code for STM32 microcontrollers. I came across this example code for IAP over UART repository. I understand the high-level view of what the code does as ...
2
votes
2
answers
340
views
STM32 Bootloader
I am a real newbie in the field of micro controllers. So I am sorry if I missed something or mess up terminology.
There are many really specific questions to specific problems on that topic, but I ...
0
votes
0
answers
52
views
STM32 USB DFU bootloader
Is there a USB DFU bootloader for STM32F103R8?
I checked the documentation for "USB DFU protocol used in the STM32 bootloader". The applicable products table(Table 1) shows up that STM32F1 ...