Questions tagged [bootloader]

A bootloader is a utility program used to load an application program into memory.

Filter by
Sorted by
Tagged with
2
votes
0answers
35 views

Cannot flash Arduino Bootloader on SAMD21G with STLink via SWD programming and openOCD [migrated]

I'm trying to flash the Arduino Bootloader on a bare ATSAMD21G with STLink via SWD programming and OpenOCD. These are the steps that I took: Create *.hex file to ...
0
votes
1answer
82 views

How to enter bootloader on a Embedded Linux System with no keyboard? [closed]

I am trying to reflash a microcontroller. An instruction in the manual states that: Power up the owa4x and press the space bar to enter the bootloader prompt Insert the uSD card with the ...
0
votes
0answers
30 views

STM32F030CCT6 BOOT

Im doing my first schematic with STM32. I want to use STM32F030CCT6. However im not really sure what to do it's BOOT0. I have googled STM32 schematics and they all have BOOT0 and BOOT1. Mine have only ...
0
votes
2answers
104 views

bootloader jump to application address problem

I have written a bootloader for my board, but it generates a hard fault when it jumps to the application code. My error is like this question: Bootloader jump to main application problem using STM32 ...
0
votes
2answers
59 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
1answer
49 views

Why can't the bootloader save and log messages for us to view later [closed]

I have a problem whereby a remote BeagleBone device is taking hours to boot up. When it does, I don't see any problems in the kernel boot logs such as journalctl -b or journalctl -b -1 Without having ...
1
vote
2answers
64 views

Linker script and data allocation

I know that .data will be in the RAM, but I came across article that says during boot of an micro-controller the initial value of variables is stored in the ROM and ...
1
vote
1answer
46 views

SAMG55 - bootloader tools

I'm trying to use the ROM bootloader on the SAMG55 as described in AT09002. The application note describes using a tool 'hex2fw.py'. Where can I get that and the config files it uses? I found this ...
1
vote
1answer
116 views

Use STM32 BOOT0 to boot custom bootloader instead of ST bootlaoder

I have read AN2606 about the native ST bootloader, but for various reasons decided to write my own bootloader to update the firmware on my application running on a STM32F412. My bootloader is able to ...
1
vote
2answers
176 views

Bootloader and Vector Table on STM32F051

I'm going through my company's code for a Bluetooth remote that uses a bootloader to download the main application over Bluetooth. The remote is pre-programmed with the bootloader application. Once ...
0
votes
0answers
196 views

STM32F0 programming through system bootloader using UART

I am writing a python script similar to STM32Loader that can write a hex formatted program to the flash of an STM32F0. I have managed to use the system boot-loader to write the hex file to the chip ...
0
votes
0answers
26 views

HC08 Bootloader

Can someone explain the basic process of flashing a bootloader to an HC08 based MCU? Specifically the MC908QB8. If I understand it correctly, the firmware can be updated via serial while the chip is ...
2
votes
1answer
65 views

STM32F411VE Custom bootloader USB de-Init issue causing Jump to app fail

I'm developing a custom a bootloader on STM32F411VE MCU which must download a .bin file from USB key and flash it into the application sectors of flash memory. Following the examples provided with ...
1
vote
0answers
20 views

USB transceiver or Boot loader [duplicate]

I am doing one hobby project, using STM32F103R8T6 Micro controller for my project, now I am using JTAG pins to program the controller. I will keep on modifying the firmware for my project, in this ...
0
votes
2answers
92 views

Custom bootloader passing control to application code in STM32

I am trying to understand that if for STM32F405 MCU a custom bootloader is used on the MCU then each of the two projects for the custom bootloader and the application code will have their own 'startup....
0
votes
0answers
71 views

Error executing Application from BootLoader in STM32L475 (IoT Board)

The bootloader should jump to the Application after some verification. For now lets assume it straightaway jumps there. I am working on B-L475E-IOT01A2 device, which uses ARM M4 Cortex. I am using ...
28
votes
8answers
5k views

Why do we need a bootloader separate from our application program in microcontrollers?

Why do we need a separate program in the same flash program memory of a microcontroller, specifically STM32F103, which is called a bootloader? What is special about it to keep it separate from the ...
0
votes
0answers
23 views

AT328 + CP2102(firmware update) + control

we used the AT328 be a microcontroller to control relays. But we want to use CP2102 to update the firmware, before we used the NANO be a bootloader to update the firmware to AT328. Is it possible to ...
1
vote
0answers
66 views

How to specify in the project or firmware of the application, where to start writing the code?

I have a bootloader to PIC18F4550 that was written using Mikro C for PIC and I have two firmware applications, one was written using Mikro C for PIC and the other using MPLAB X with XC8 compiler. With ...
2
votes
3answers
145 views

Problems with understanding memory map STM32F446RE

I have a problem with the understanding of the memory map of the STM32F446RE. In the Datasheet is the system memory (0x1FFF0000 - 0x1FFF7A0F) 30,51kb big. But in the AN2606 the system memory is ...
0
votes
1answer
79 views

Application and bootloader written in different tools can not be compatible?

I have a bootloader to PIC18F4550 that was written using Mikro C for PIC and I have two firmware applications, one was written using Mikro C for PIC and the other using MPLAB X with XC8 compiler. ...
0
votes
2answers
165 views

atmega328pb mcu gets bricked after uploading bootloader

i have a strange problem, maybe this post will be long, but i try to give all the details: i’ve designed a pcb with smd components, around the atmega328pb mcu. it uses an external 16mhz clock and has ...
0
votes
0answers
34 views

What configuration is needed to use an ATMega328p micro-controller on a breadboard

I previously bought an Arduino Uno that came with a store bought/prebuilt PCB and ATMega328p to program it and use the pins. I also have a second ATMega328p that was bought by itself and I ...
0
votes
1answer
69 views

Problem to update firmware using bootloader to PIC18F4550

I followed the documentation on the Diolan's web site . I changed the project to be programmed to an PIC18F4550 and not a PIC18F4455 as it was originally written. The compilation succeed and I was ...
0
votes
2answers
99 views

Updating PIC18F4550 through its USB?

I would like to be able to program and update the PIC18F4550 through USB. The PIC18F4550 already has USB, so, I don't need a USB to serial converter. On the microchip forum, I found this reference ...
0
votes
1answer
53 views

ATTiny167 USB Programming

On Aliexpress I am finding many cheap development boards with ATtiny167 and a USB connector. From what I can gather these boards permit USB programming through USB emulation. Can anybody point me to ...
0
votes
0answers
31 views

Simple relocatable image format options

I am writing firmware for an ARM platform in which I want to have the main bootloader relocatable in memory rather than always loaded at a fixed address during boot. This means that I need a ...
0
votes
1answer
153 views

STM32 bootloader protocol

I am attempting to update the application code on an STM32 chip programatically from another chip. I have an Intel format hex file generated from the build process and I would like to use the ...
2
votes
2answers
665 views

STM32 programming and BOOT0 pin

I am developing a STM32H7 board which will be programmed via SWD. I am curious, is there any reason why I should connect BOOT0 pin to GND via resistor and not directly to GND? I won't be using the ...
1
vote
2answers
546 views

STM32 Bootloader: How to ensure only uncorrupted firmware boots

I have a custom board with an STM32F407 on it. As SWD is not available, I have to program the microcontroller through the UART bootloader. Imagine that the folllowing sequence of events takes place. ...
2
votes
1answer
594 views

STM32WB55 Nucleo bluetooth stack firmware binary in bootloader mode

I want to upgrade the firmware for the bluetooth stack on the STM32WB. It requires the device to be in boot loader mode and power from the user USB not ST-LINK usb. However I've not programmed a ...
1
vote
1answer
143 views

ATMEGA328p-AU BootLoader

I have ATMEGA328P-AU chip, to burn the bootloader I used ARDUINO Uno Board as "ARDUINO as ISP" with setup Board: Nanno. I'm getting the following error. While looking for the solution I got ...
0
votes
1answer
52 views

Separate Vector Table for USB Bootloader (Infineon 4400-CortexM4F)

I am developing a USB bootloader for Infineon XMC 4400 micro . I have modified linker_Script.ld file and have allocated 32K for flash. MEMORY { ...
2
votes
4answers
423 views

Cortex M3 reset handler with vector table relocation

I have a system with an STM32F103, which has a bootloader and a main app. Now, the main app is offset from the beginning of the flash to make room for the bootloader, and on cold boot the firmware is ...
1
vote
2answers
47 views

How to enter into ISP mode through 'reinvoke ISP' in LPC1759

In LPC1759, I entered ISP through "reinvoke ISP" with the following steps Disable PLL Reset timer 1 Re-map interrupt vectors Set watch dog timeout Reinvoke ISP After entering into ISP, What exactly ...
1
vote
1answer
158 views

Is it possible to replace STM32F407 Internal Bootloader

I am new to the STM32 world. I know that all STM32 MCUs come with an internal bootloader. Is it possible to replace it with custom boatloader?
0
votes
1answer
96 views

How to Update firmware of microcontroller using DALI lines of a DALI slave module?

I have developed a DALI slave module with PIC 16F18326 microcontroller. Now, I want to make a Bootloader for this PIC. But the problem is, I don't have a serial communication or USB connection with ...
0
votes
0answers
38 views

Debugging in the Code Composer Studio v6.2.0

I would like to ask you for an advice. I have a custom control board with TMS320F2808 dsp. The dsp contains in its flash memory custom bootloader and application. I need to debug the application in ...
0
votes
1answer
194 views

STM32L073xx Internal Bootloader - Disabling Read Protection bricks device

I would like to continue what I started here about internal bootloader. Now I would like to add read protection to my uC. Connect uC via UART2 to PC Trigger jumping to internal bootloader by ...
0
votes
1answer
84 views

AVR Bootloader write: How to write a bootloader page address and execute SPM instruction in C code

I want to write bootloader for avr atmega328p in C language. I want to perfom a page erase: So I have to write the address of the z pointer. // Don't know how to implement in c code; Then make SPMEN ...
1
vote
1answer
203 views

STM32L073xx Internal Bootloader - Get Flash Size issue

I tried recently to develop custom app flasher (based on stm32loader python module) for STM32L073xx microcontrollers but I stuck at one point. This lib tries to obtain flash size from micro because ...
2
votes
2answers
2k views

What's the difference between a generated hex file and a binary file in embedded systems?

I have an STM32 project (let's call it blinky). This project is developed using Keil IDE. It blinks an LED every 1 second. When I build it, a HEX file is generated. Let's say I want to upgrade the ...
1
vote
0answers
54 views

nRF52 Bootloader over ESP12E

I'm using nRF52 DK with 14.2.0 SDK. I created a LED blink project for testing and extract its HEX file. I uploaded the program to the nRF52 over USB (J-Link-Keil IDE) and the HEX file over ESP12E (SWD)...
0
votes
1answer
52 views

Voltage tolerance of STM32F3xx boot pin

I'm trying to understand the default voltage tolerance of the boot pin(s) used to power up into the system bootloader of an STM32F3xx. I want to power my whole ...
0
votes
2answers
694 views

Generate and flash a binary file for STM32

I created a bootloader image for my STM32 and I stored it in a specific area of the memory. I have a new Keil project which represents the application layer. By default, Keil generates a HEX file. ...
0
votes
1answer
941 views

STM32L011 jump to bootloader from user code

I'm trying to make it so that my STM32L011 can jump from user code to the ST bootloader that allows flash to be reprogrammed over USART2. This is hypothetically the same question as STM32F091 Jump to ...
1
vote
1answer
110 views

How to burn bootloader to ATmega 2560 using Atmel Studio and AVRISP mkII?

Although my question might come familiar to many Arduino developer including me, but, I am somehow lost burning bootloader to ATmega 2560. Many comments I found were related to AVRDude (never used ...
1
vote
1answer
217 views

What are the possible boot modes in the S32K146 (NXP S32K Series MCU)

I have been investigating S32K146 MCU boot modes and possible mode selection options. I am interested to know the possible boot modes and how it can be set up. From datasheet (Page -92): It can be ...
0
votes
1answer
94 views

dsPIC33: Bootloader is flashing but resets when GOTO firmware

So I'm working on a bootloader for a dsPIC33EP32MC504 with a CAN-Bus and the Bootloader flashes the firmware correctly. I verified that by reading out the program memory at the location I flashed it ...
0
votes
2answers
196 views

Booting from SD card in SPI mode

I want to boot an ARM Linux board (Allwinner H3 for example) from a generic (micro) SD card through an SPI interface. Can an SD card accept SPI communication right away or is there any "SPI mode ...