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
0 answers
20 views

TI Sitara Pass Variables from Application to Bootloader

How can I pass some hardcoded variables from application to bootloader to check whether the firmware is OK or NOK?
user avatar
0 votes
1 answer
23 views

Microchip CanBus Bootloader J1939 - Multiple devices programmed in parallel [closed]

Bonjour, I have a project where I need a canbus bootloader. The device will be wired on a J1939 bus. Multiple of my devices can be on the same bus. Now Microchip gives an application note (AN247) but ...
user avatar
  • 131
0 votes
0 answers
35 views

Enter Bootloader Mode from Software

Hello I have a gigadevice microcontroller from this family: GD32F10x I would like to select the boot source as Main Flash Memory or Boot loader. So I can programm it with SWD and also with USART. On ...
user avatar
0 votes
0 answers
46 views

Problem with old tutorial on thingsboard site about ESP32 OTA update [closed]

I'm trying to do the OTA update on boot-loader of esp32 using thingsboard platform. I read this link and also I saw a YouTube video from the official page of thingsboard. I figured out how to do part ...
user avatar
0 votes
3 answers
71 views

ESP32 boot strapping pins problem (GPIO15 and GPIO5)

I am desiging a PCB that includes an ESP32. I have question about strapping pins of the ESP32-WROOM-32E. My design is suitable below picture only for GPIO 0,GPIO 12,GPIO2 pins. Unfortunately, I have ...
user avatar
  • 21
0 votes
0 answers
26 views

Attiny85 reprogramming without unplugging and replugging the USB cable

Is it possible to reprogram this version of Attiny85 without needing to unplug the USB cable? The board version below is running micronucleus bootloader and has the REST pin enabled. But resetting the ...
user avatar
2 votes
1 answer
44 views

USART stop bit not pulled high during nRF update

I am using an STM32L4 chip that sends an update to the nRF52832 on a ublox module over USART. I assume the nordic chip is in the bootloader during the update. We get a UART error: 4 and when we ...
user avatar
0 votes
0 answers
48 views

How to program a Nucleo board (L053R8) using UART?

I went through all possible data sheets I could find did all the required things but my Nucleo still won’t be programmed with uart. I have put boot0 on VDD pin next to it. For confirmation I also put ...
user avatar
0 votes
0 answers
38 views

Arduino Mbed bootloader on nrf52840

I use a PCB that I designed on which is mounted the E73-2G4M08S1C from Ebyte (nrf52840). I flashed the Arduino Mbed bootloader with SWD and a J-Link (J-Flash) probe with no problem. My computer then ...
user avatar
1 vote
1 answer
54 views

Can DTR be replaced with GPIO0 in this USB to UART auto-program circuit?

These auto-program circuits have been popular for a long time. They replace the need to press boot and reset physically to put the MCU into programming mode. Some USB to UART converters do not have a ...
user avatar
3 votes
1 answer
541 views

STM32 won't enter bootloader

I am trying to enter the bootloader of an STM32F103 to flash it via USB. I am pulling BOOT0 high and have pulled B00T1 to low. Based on AN2606, this should get me into the bootloader. However, I am ...
user avatar
  • 97
1 vote
1 answer
43 views

How to connect JTAGICE3/Cortex Debug Connector to PC?

I am designign an custom PCB, that uses an ATSAMD21G18A-AU as the main Chip. Because it comes from the factory it needs a bootloader or another way to add software, so I need a JTAGICE3 connector or ...
user avatar
  • 83
2 votes
3 answers
275 views

How to flash a bootloader to an ARM MCU from the factory?

I want to build a custom PCB with an ATSAMD21G18A-AU microcontroller, which has an ARM® Cortex®-M0+ processor. I will get it from LCSC, so it doesn't have any bootloader preinstalled. Right? In the ...
user avatar
  • 83
1 vote
2 answers
187 views

Attiny85 Burn Bootloader Error [Device signature = 0x000000] [SOLVED]

I had read in different forums about similar issues and double-check the connections and datasheet. But it's still not working for me. First of all, I will share my build and my configuration. Later ...
user avatar
  • 21
2 votes
0 answers
52 views

Problem with bootloader application for PIC18F452

I want to program my PIC18F452 from long distances using a SIM808. By searching on the net I found out that I should write two different programs: a bootloader program and the main program. For the ...
user avatar
0 votes
1 answer
39 views

COM port not recognised by bootloader application PIC18F452

I want to program my PIC18F452 from long distances using a SIM808. by searching in the net I found out that I should follow this procedure: I should write two different programs in the micro: a ...
user avatar
-5 votes
3 answers
124 views

What is the bootloader function in Microcontrollers? [closed]

In PC Bootloader is necessary to show where BIOS is located in memory, and then BIOS starts actual operating system etc. But how is situation in embedded, where MCUs actually usually don't have ...
user avatar
  • 175
2 votes
1 answer
219 views

STM32 bootloader break at address issue

I am writing a small application to start a bootloader that checks simple conditions and then jumps to the application memory. The application seems to crash and I am unable to figure out the reason ...
user avatar
1 vote
1 answer
150 views

STM32F103: Custom bootloader weird behaviour with stack pointer

So, I am trying to use this USB mass storage bootloader for the STM32F103C8 (64kB flash): https://github.com/sfyip/STM32F103_MSD_BOOTLOADER To compile .hex files for it, I've already set the flash ...
user avatar
  • 773
2 votes
0 answers
64 views

New ATSAMD21 chip, flashed Bootloader OK, but USB Device doesn't show up

I'm trying to build my own custom PCB based on an ATSAMD21E chip. I made a PCB breakout for the ATSAMD21E that just supports the reset button, a 3.3V voltage regulator, and a couple of capacitors. ...
user avatar
1 vote
0 answers
90 views

Teensy++ 2.0 doesn't jump into bootloader using software

I have a Teensy++ 2.0 with 90USB1286 CPU running QMK. I'm trying to make it jump into the bootloader using the QMK software. I tried two approaches: Mapping a RESET...
user avatar
2 votes
1 answer
101 views

Roll out software update to multiple STM32s from a TCP/IP connection to PC

This is more of an "is this possible" kind of question, I'm not looking for a detailed step by step, more of a go ahead before I pull the trigger on all of the parts. I am in the design ...
user avatar
  • 45
1 vote
1 answer
47 views

FT230XS is not in sync when trying to burn bootloader

I want to use FT230XS IC to translate UART to USB, as a cheaper alternative to FT232RL, which I use for years now. The MCU I use is an Atmega328p-au (so the same configuration as an arduino), and I ...
user avatar
1 vote
0 answers
307 views

Sometimes can't leave USB DFU bootloader

I have an STM32F072 and am using the built-in bootloader (see AN3156) to flash it via DFU over USB. Flashing works fine, but often it fails to leave the bootloader afterwards. I am using ...
user avatar
  • 299
0 votes
1 answer
138 views

Where is the BOOT1 pin on the STM32F030C8 microcontroller?

The datasheet and reference manual for the 'STM32F030x4 STM32F030x6 STM32F030x8' series states that both BOOT0 and BOOT1 pins control the boot mode: However, neither the reference manual nor the ...
user avatar
3 votes
3 answers
687 views

How we can share a function between main application and bootloader?

I am using STM32F4(ARM-Cortex M4). I want to share a function between main application and bootloader without redefine that function, for example imagine that i wrote a print function in main ...
user avatar
0 votes
1 answer
110 views

Running Giant Gecko (EFM32GG11) bootloader-uart-xmodem software example

I'm new to Silicon Labs products and Simplicity Studio and was wondering if someone would walk through some basic steps to running the example serial UART bootloader on a Giant Gecko using the ...
user avatar
0 votes
0 answers
60 views

DDR3 configuration on custom board

I have a custom board with a new platform which does not have any tool to configure the DDR setup( I asked). I have the Source code for the uboot.config (CONFIG_DDR.c, CONFIG_DDR.h etc). So I have to ...
user avatar
  • 67
-1 votes
1 answer
76 views

Serial AVR programming and doubts

I currently have Attiny85 , attiny45 , atmega328 , 8051 MCU . I want to program them in a chipless method ( which doesn't use any intermediate chips to burn program or bootloader ) - this is like a ...
user avatar
0 votes
1 answer
185 views

Debug STM32 with Nucleo

Would it be possible to debug/program another PCB including an STM32 MCU with the debug connector provide on the Nucleo-G474RE? (I don't have an external programmer yet) What would you recommend for ...
user avatar
  • 73
1 vote
1 answer
231 views

Is factory burned bootloader required to communicate with ROM for NuvoTon w78E052D (8051)

This article on 8051 based NuvoTon w78E052D says: The nuvoTon w78E052D controller comes with UART boot-loader and can be directly programmed from the serial port. The block diagram on NuvoTon ...
user avatar
  • 145
0 votes
1 answer
75 views

ATmega 328p arduino bootloader factory reset cause

I am using an ATmega328p with an Arduino Nano bootloader on a custom board. We got recently an issue where the bootloader got reset. I need to return the bootloader and then the firmware in order to ...
user avatar
  • 285
2 votes
1 answer
127 views

Rewriting Code in Internal Flash in STM32F439 [closed]

I am using the STM32F439 and looking to find a way to write code in the internal flash. Is there a protected area for quality assurance and security? It's supposed to be used for company's ...
user avatar
1 vote
0 answers
94 views

STM32F101C8T6 Bootloader Application

I have my application bootloader appilication ...
user avatar
1 vote
1 answer
104 views

Changing Bootloader settings using HEX file in atmega328P

I am using atmega328P IC in my project. Currently my process to upload a code is to burn the bootloader according to my requirements and then upload using programmer USBasp . Now from what I read is ...
user avatar
  • 449
0 votes
1 answer
69 views

Strange behaviour Raspberry Pi 4

I am powering raspberry Pi using GPIO no 2, 4, and GND as recommended. The Pi only shows RED constantly ON led and does not boot. However, if I connect the USB power source it boots up. The power ...
user avatar
2 votes
3 answers
112 views

Bootloader for MCU

Is bootloader a must and should be required for flashing a program hexcode into MCU? If yes, how would a factory fresh MCU be loaded with a bootloader hexcode? Is it simply a memory write operation?
user avatar
0 votes
0 answers
146 views

STM32: Is it possible to write data to flash memory by using system bootloader when write protection is on?

When I try to program with STM32 flash loader and if the write protection is on, it want erase all of the memory. Probably because of program drop the security level so MCU erase all of the data. But ...
user avatar
  • 69
0 votes
0 answers
46 views

Programming a bare ATSAMD21E18A, no external oscillator

EDIT: I got this working, seems that the uC is sensitive to bypass caps. I had caps on my solderless breadboard and decided to solder on some surface caps right at the pins on the breakout board. That ...
user avatar
  • 207
0 votes
1 answer
726 views

Program STM32 MCU with SWD by default as alternate function

I want to use my first STM32 MCU in the project. The project involves a few peripherals (UART/SPI/I2C) and has a bit of math to do here and there, mainly bit shifting and/or integer computations, so I ...
user avatar
  • 3,318
0 votes
1 answer
60 views

Find the size of a certain code block

I have an application with a BLE stack and I'd like to figure out how much space that stack uses up (more or less) in order to figure out if I have enough flash available to write an additional BLE ...
user avatar
  • 2,445
0 votes
4 answers
249 views

Can I protect areas of a MCU's flash from reprogramming/reading by arbitrary code executing in that MCU?

Consider a microcontroller with self-programmable flash, for example some ATSAM MCU. I put a bootloader on it, which has the additional capabilities of receiving programs, ex. using USB, in whatever ...
user avatar
0 votes
1 answer
295 views

ATMega328P - How to protect application flash memory from reading by ISP

I created boot-loader code for reprogramming application section. I use Wiznet W5500 SPI to Ethernet chip, my goal is that only i can reprogram the device using LAN / WAN. The read write command is ...
user avatar
2 votes
2 answers
231 views

Booting multiple FPGAs using a single SPI Flash

I am using 3 Artix-7 FPGAs in my design. Is it possible to use single SPI configuration Flash to program 3 FPGA device. I have found information about multiple boots for one FPGA but not multiple FPGA ...
user avatar
  • 69
0 votes
0 answers
149 views

Unable to flash stm32f103c8t6 after erasure, device shows 0 bytes flash size (custom bootloader)

I have flashed a dfu bootloader from https://github.com/davidgfnet/stm32-dfu-bootloader onto a fresh stm32f103c8t6 and it was working fine. After I uploaded my binary with dfu-util the device would no ...
user avatar
0 votes
1 answer
785 views

STM32WB55 Nucleo - FUS_STATE_IMG_NOT_FOUND error

I'm beginner to electronics. I'm trying to flash stm32wb5x_BLE_HCILayer_fw.bin v1.6 using STM32CubeProgrammer but got an error "FUS_STATE_IMG_NOT_AUTHENTIC", I tried older version but got ...
user avatar
1 vote
1 answer
120 views

Where would be the best place to start looking for information on developing a bootloader using 2 microcontrollers for a CubeSat?

I am an engineering student who has just begun working on a CubeSat project for my design class. We are working on the OBC, specifically looking at developing a bootloader at this time. The OBC ...
user avatar
0 votes
1 answer
135 views

Do I need USART1 to program the bootloader with STM32 - Or could I use SWDIO & SWCLK?

I have heard that if I buy an empty factory made STM32, it will come with no bootloader at all. To program that STM32 with a bootloader, I need to do that through USART1. And later when I want to ...
user avatar
  • 775
0 votes
1 answer
242 views

How to program stm8s003f3p6 using UART?

I am new to stm8s series of microcontroller. I want to program stm8s003f3p6 via UART but there is no inbuilt bootloader in it. So is it possible to burn custom bootloader? How should I start? Is there ...
user avatar
1 vote
0 answers
201 views

STM32F105 bootloader: jump address problem, bootloader loops

Problem: The bootloader loops. I think there is a problem with the transfer address. The entry point of the main program is at: This is how the entry point to the main program looks like in the ...
user avatar
  • 81

1
2 3 4 5 6