Skip to main content

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 vote
0 answers
18 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()...
BVintila's user avatar
  • 163
1 vote
0 answers
27 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 ...
zhangkai's user avatar
0 votes
1 answer
13 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 ...
Stefano's user avatar
  • 23
1 vote
1 answer
50 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 ....
user avatar
20 votes
2 answers
1k 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 ...
suman's user avatar
  • 305
0 votes
0 answers
29 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-&...
Abdelrhman Kaamal's user avatar
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 ...
estera's user avatar
  • 1
0 votes
0 answers
63 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 ...
FearXenon's user avatar
1 vote
1 answer
39 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> ...
Voxorin's user avatar
  • 109
0 votes
0 answers
57 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 ...
swineone's user avatar
  • 2,684
0 votes
1 answer
84 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 ...
thatbaddude's user avatar
2 votes
2 answers
320 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 ...
FordPrefect's user avatar
0 votes
0 answers
49 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 ...
user24280045's user avatar
0 votes
1 answer
43 views

LBA 24-Bit Read Issue with I/O Port 0x1F0 : QEMU [UPDATED - SOLVED -CONTINUOUS THREAD]

General Backstory: I am utilizing NASM 2.15.05 real-mode instructions with qemu-system-x86_64 as my current virtual machine for software debugging and serial output. I have generated a disk image of ...
EchoXTeknology's user avatar
3 votes
1 answer
62 views

x86-16: INT 13h does not read file correctly from the disk

I tried to load kernel stored on a floppy disk formatted to FAT12. When I try to read sectors where the kernel is located, I don't have any errors (carry flag is not set), but the memory where I try ...
Grigaror's user avatar

15 30 50 per page
1
2 3 4 5
122