Questions tagged [bootloader]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
56 views

STM32 Unwanted Bootloader on first power-up

According to this, seems like stm32 boot process is as follows: Check if FLASH is blank. if yes, goto bootloader mode Check if BOOT0 pin is asserted. if yes, goto bootloader mode goto Program mode ...
0
votes
0answers
19 views

Why wouldn't windows load the WCID driver?

I'm developing an embedded device with a DFU compatible bootloader. Right now I can hold a button and enter the bootloader and download new binaries, but I thought I would make it more convenient for ...
0
votes
1answer
44 views

What is the value present at the first address of flash memory of stm32 for every firmware?

Every firmware of Stm32 microcontrollers, the first value is starting with 0x2XXXXXXX, while working with custom bootloaders, I found that this is an address on SRAM, 1)What is actually present at ...
0
votes
0answers
9 views

Issues with ISP Mode LPC 17XX

I have custom board utilising an LPC 1778 and I'm having issues entering ISP mode, or at least I think I am. I am using the ISP pin and the reset in to enter ISP mode. By holding the ISP pin low and ...
1
vote
1answer
64 views

Unable to find COM for STM32

I developed a PCB for a project using STM32WB55 and after getting it manufactured I am trying to connect it to the computer using a Micro USB cable in order to run the code on it. However, when I ...
0
votes
3answers
61 views

Custom made PCB problem after lost power supply

I have 2 custom PCB which need to communicate via Spi. Communication works fine when I flash code and MCUs have stable power supply. After disconnecting from power supply and then reconnecting slave ...
0
votes
0answers
31 views

Trying to write u-boot to router flash “Connection closed by foreign host”

I am trying to write a .bin file to the flash memory of my router. I am following the steps as outlined here as I am using the exact same router and a raspberry pi as well. However, although I am ...
0
votes
0answers
52 views

How do you use a EZP2019+ programmer with an ATTINY85 with avrdude?

I need to burn micronucleus on the ATtiny and only have an EZP2019+ programmer and I also need to set the ATtiny to 16MHz clock speed, how do I do that?
0
votes
1answer
33 views

Arduino Mega 2560 Bootloader Question

I'm building a specific PCB around the Arduino Mega 2560 platform. Based on the official Mega 2560 schematic, there is two microcontroller; the 16U2 and 2560-15AU. Both of them have their own ICSP pin ...
1
vote
1answer
74 views

Saving a variable between reboots on a microcontroller without using flash memory

I am developing a bootloader and have some trouble jumping from the bootloader to the application. As far as I can see the problem is because I am doing certain initializations in the bootloader which ...
1
vote
0answers
82 views

Arduino Bootloader for ATmega168PA

I have burned an arduino bootloader to an ATmega168PA. I want to use the internal 8MHz oscillator for the ATmega, and I used an arduino Uno as an ISP. For that, I did the following: Created the ...
0
votes
2answers
55 views

Can an ATMega328p be bricked such that it cannot be programmed but still works?

I cannot update the program on my ATMega328p-AU (with the old version of the Arduino nano bootloader burnt to it). Oddly enough I can still talk to the program running on the uC (query and read out ...
0
votes
0answers
72 views

Programming issue when uploading bootloader to samd11 via OpenOCD on RPI

I'm attempting to flash a bootloader on to an atsamd11c14a using openocd on an rpi model 3b+ but encountering some trouble. No issues on installing openocd (following adafruit's guide) and I believe ...
2
votes
1answer
76 views

Stack error when jumping from bootloader to application

I have been trying to jump from my bootloader to an application for a while now but I can not figure out what is going wrong. I am hoping someone here might be able to help me. I am using Texas ...
1
vote
0answers
54 views

Imprecise bus error when setting Vector Table Offset Register. TI CC2652

I am developing a bootloader and want to jump to the application. I am new to this so I am not entirely sure I am doing it right, but as far as I know I have to change the value stored in the VTOR (...
0
votes
0answers
39 views

Speed up OTA time for MCU

I'm trying to update the code on a STM32F407vgt06 mcu using OTA. Using python code, the new program is sent in packets of 128 bytes through MQTT and the bootloader on the mcu checks the crc and then ...
1
vote
0answers
32 views

Relocation in MPLAB IDE X

I'm writing a bootloader for ATXMEGA256A3U. At page 14, Table 7.1 of the datasheet I know the bootloader address start at 0x20000. Using AtmelStudio I set in the linker option the following ...
0
votes
0answers
34 views

ATSAMC21N18A xplained board Boot/App reprogramming issue

I am using ATSAMC21N18A xplained board for a project. I created a bootloader partition. I was able to run and flash it on the target. Then started working on application. It has correct start ...
3
votes
0answers
50 views

How can I setup a shared library between a bootloader and an application?

I am in the process of implementing over-the-air updates on a CC2652 microcontroller using the OpenThread stack. As far as I know a bootloader has to be able to operate independently from the ...
0
votes
0answers
38 views

Application doesn't work normally after initializing I2C in the bootloader

I am working on STM32F756ZG. I have a bootloader at 0x08000000 and application at 0x08040000. The bootloader and the application both use I2C protocol to store a few configurable parameters to the ...
0
votes
1answer
64 views

Flash memory to hold flags

I'm trying to write bootloader code and I needed to be able to use an address in flash memory as a flag to the bootloader to let it know if it should enter bootloader or the application. I'm able to ...
1
vote
1answer
216 views

STM32 Custom Bootloader Jump to Application

I wrote a custom bootloader for the STM32F4 microcontroller and I'm able to write an application to the flash memory at the address of 0x08008000. The issue I have is when I use the jump function the ...
0
votes
0answers
103 views

stm32f4 bootloader and vector table relocation

I have implemented bootloader but for some reason any interrupt which occurs after jump to application leads to unhandled exception function. Here is my setup: Bootloader is placed at 0x08000000. ...
0
votes
1answer
63 views

STM32 Bootloader config. and datasheet discrepency

I have 4 quick questions regarding the bootloader/programming the STM32L0 chip series. Q1&2 I'm considering a STM32 project coming from ATMEGA chips. From my understanding, the chips come with a ...
2
votes
2answers
94 views

Getting started with AVR programming concepts

I am trying to get started with programming the AVR. I have chosen to use Atmega328P (which is in my Arduino Uno). When I did web search regarding the initial steps for learning the AVR programming, I ...
1
vote
0answers
216 views

STM32 standard method for remote firmware update

My question is about a special case for Bootloader sequence for The Discovery kit for STM32F0 series with STM32F072RBT6 MCU that we currently have implemented in some of our products in the field. I ...
0
votes
0answers
79 views

understanding bootloader with linker

I'm using chip SAMD21G18 SAM-BA bootloader Bossac code I'm looking at how bootloader works. but found some questions that i cant get an answer for: looking into source code of PC client software (...
0
votes
1answer
118 views

Why did my Atmega328p chips stop working?

I am fairly new to embedded programming. I bought some Atmega328P U chips (not Atmega328P-PU). I have two Arduino boards and the chips worked just fine, and were letting me upload sketches. One of ...
0
votes
1answer
87 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
37 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
3answers
425 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
225 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
59 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
72 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
65 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
221 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
553 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
452 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
32 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
128 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
324 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
134 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 ...
29
votes
8answers
6k 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 ...
1
vote
0answers
74 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
189 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
125 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
411 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
1answer
114 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
162 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 ...

1
2 3 4 5