Skip to main content

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
33 views

Running Teensy41 on battery

I'm trying to get my Teensy41 project to run on battery. The docs at the link below seem to indicate that connecting 5v across VIN and GND pins should be enough to run on battery. Initially I am just ...
Hubert B's user avatar
3 votes
2 answers
82 views

Are there any flash (or other non-volatile) memories with page erase sizes that are not a power of two?

Are there any flash (or other non-volatile) memories with page erase sizes (in terms of address space) that are not a power of two? I am not interested in old (retro-computing / out of production / ...
user4574's user avatar
  • 12.3k
0 votes
0 answers
100 views

STM32 Bootloading issues on custom PCB

I designed a gas sensor board around the STM32F030F4P6, and have been having issues boot loading. I am using the ST-Link V2 bought from Digikey, and 6 pin tag connect, and it seems that regardless of ...
dreece2498's user avatar
0 votes
0 answers
17 views

STM32MP157D-DK1 OS building

I am trying to flash binaries that I have generated with Yocto, intended for an STM32MP157D-DK1 board. However, during the process, I am encountering the following error: 'Partition 0xBB not found in ...
SADALI Mohand's user avatar
0 votes
0 answers
30 views

ESP32 Boot Mode

I am using ESP32-S3-WROOM-1-N16R2 in my design. In ESP32-S3 development board schematic they connect boot pin GPIO0 with external switch. The reference image of dev board link is below: https://dl....
Kuralmozhi's user avatar
0 votes
0 answers
55 views

System Memory (Internal Boot ROM) of STM32F446XX

The datasheet and this article refer to an internal boot ROM that stores the bootloader on the STM32 MCU. The memory map (for the STM32F446RE) shows it to be at ...
NeedToKnow's user avatar
1 vote
2 answers
152 views

16 MHz crystal not oscillating

I recently designed a custom board in KiCAD using an ATMEGA32U4, I had JLCPCB solder on the USB-C connector and MCU, however I can't get it to boot load. I referenced another design that works (I made ...
dreece2498's user avatar
1 vote
2 answers
92 views

STM32F417 DFU bootloader fails to start HSE crystal

I have a problem with a custom STM32F417 board. On some boards the DFU bootloader works fine, while on other ones it fails to connect by USB. In my custom firmware all boards connect fine by USB. ...
jpa's user avatar
  • 8,733
0 votes
0 answers
107 views

Role of RTS and DTR With CH340X, STM32WLE5, STM32CubeProgrammer

I am trying to (design a PCB where I will) program a STM32WLE5C8U6 via UART from my laptop using a CH340X in between. The CH340X shows this application circuit in the datasheet: I understand what the ...
nothing's user avatar
0 votes
0 answers
20 views

Dual Linux Images on a single partitioned eMMC for OTA updates on SAMA5D27 ARM based MPU

To be able to support OTA updates I want to load the new update image to one partition and have the current running image on the other partition. Then switch partition to run from the new image at ...
CaptainMJ's user avatar
2 votes
1 answer
101 views

My custom ESP32 PCB disconnects from USB

I made a custom ESP32-S3-N8 PCB board. I want to flash via USB. When I switch the power on and then press the button connected to the EN (GPIO45) pin my ESP stays connected for like 5 seconds. When i ...
1cedsoda's user avatar
  • 141
0 votes
1 answer
56 views

STM32F4 Bootloader to talk to SWIO

Is there a way for our custom bootloader to communicate with SWD pins. I am asking this because if we want to put the code into a particular memory space while using SWD then we will need to use a ...
Sheikh Muhammad Junaid Aslam's user avatar
0 votes
0 answers
248 views

Replacing broken CSR8670CG on BOSE soundlink color 2

Injecting 4V DC directly on the PCB as shown in the following image I got the CSR8670CG IC becoming very hot. I suspect that the IC is broken and I am wondering if changing it is a feasible option. ...
stenio's user avatar
  • 319
0 votes
1 answer
73 views

How to program a new STM32F103C8T6 on custom PCB via USB to serial converter?

I puchased some STM32F103C8T6 from AliExpress which I soldered to my homemade PCB via a reflow oven. But, the problem is my program uploaded, but it did not run. To confirm that it's not the pcbs, I ...
bquark's user avatar
  • 3
0 votes
1 answer
86 views

I had a custom Arduino Board fabricated, and I can't load it with a bootloader

I've made a custom circuit board from Arduino UNO as a base, had the board fabricated, and now I'm trying to burn a bootloader. I have ICSP headers for both the ATmega32p and the 16U2 Here is my ...
Joseph Hoffman's user avatar
1 vote
1 answer
81 views

Silabs bootloader for new devices

Can anybody help in my question? I have got EFM8BB3 MCU (new one from EFM8) and I suppose that it has an internal hardware bootloader, according datasheet on it on UART0 interface. But AN945: EFM8 ...
Addi_G De's user avatar
1 vote
0 answers
35 views

Flashing Atmega328p bootloader with connected SPI device in parallel

I'm designing a PCB with an ATmega328P (SMD) and two ADS1118 ADCs (also SMD) that will be connected to the ICSP pins of the ATmega328P. Will these two ADCs, in parallel with the MCU, pose a problem ...
electronics's user avatar
0 votes
0 answers
30 views

TI DM368 access via JTAG with openocd or jlink commander

I have a board with a TI DaVinci TMS320DM368 processor. It users a NAND to boot from for its Linux operating system. The bootloader in the NAND appears to have become corrupt and can no longer boot. ...
bozmanx's user avatar
1 vote
1 answer
92 views

DTR pin in the FT232RL working confusion

I have seen one of the schematics of the Arduino Nano where I have the DTR pin of the FT232RL connected to the capacitor and then to the reset of the Arduino. As far as I have understood, when the USB ...
kam1212's user avatar
  • 605
0 votes
0 answers
73 views

How to enable boot mode?

I am currently working with the Allwinner T113-I EVB SoC, and I'm encountering an issue related to the BOOT-SEL0 and BOOT-SEL1 pins. In the user manual for this SoC, it's mentioned that to boot from ...
savin poster's user avatar
1 vote
1 answer
135 views

Disable peripheral interface via STM32 Memory Boot Mode remotely

Here's the current scenario: There's a remote STM32 MCU F746ZG that is prohibitively expensive to retrieve or access, and only has an I2C1 connection. The USART peripheral interface is causing issues (...
UberChio's user avatar
0 votes
1 answer
61 views

How to find BOOT-SEL GPIO PIN?

I'm new to embedded linux and trying to explore it using Allwiner T113-i EVB. Right now I'm struggling with boot process. According to user manual BROM of SoC will try fetch boot code from SD card if ...
savin poster's user avatar
0 votes
1 answer
731 views

How to enable Secure Boot v2 AND Flash Encryption (+ NVS encryption) on the ESP32-S3 with user-generated keys?

General issue report I am trying to figure out how to enable both security features on my ESP32-S3 (N8R8). I bought 5x boards, but I have burned through 4 of them. I have ONE fresh board left, which I ...
Harit's user avatar
  • 83
1 vote
0 answers
42 views

What throughput should I theoretically expect when reading sequentially from parallel NOR flash?

Background: I'm trying to minimize the boot time of a u-Boot+Linux system running on a fairly powerful T4240rdb powerpc development board. Once in U-boot the process is as follows: A linux kernel ...
mortelsson's user avatar
1 vote
0 answers
40 views

Bootloading : PC to USB to [MSP430 with USB] to I2C to [MSP430 without USB]

If I have a pair of MSP430s on a system, one with USB functionality and one without, is there an easy means to program the MSP430 without USB via the ...
kando's user avatar
  • 437
0 votes
2 answers
60 views

burning the code to atmega328p

I am a bit confused regarding the code uploading process to the atmega328p. I have read a site where usb-ttl was used to upload the code. There is not bootloader uploaded on the atmega328p and the ...
kam1212's user avatar
  • 605
0 votes
3 answers
49 views

Making a custom Arduino

I am working on making a custom Arduino board but I have some confusions regarding that. I have seen all the documentations but am confused regarding the ICSP pins and the communication through the ...
kam1212's user avatar
  • 605
2 votes
2 answers
195 views

ATmega328P bootloader

I have read the complete datasheet of the ATmega328P but have a few confusions regarding the chip. In the datasheet in a section I have found that there is no specific bootloader section and also the ...
kam1212's user avatar
  • 605
3 votes
1 answer
173 views

STM32F103 custom boot loader hardfaults

I'm contributing to a project that was developed in Coocox CoIDE 2.0.6 for STM32F103RB (128Kb flash). I have to write a custom boot loader using CoIDE that can upgrade the application to the flash via ...
Otto's user avatar
  • 31
0 votes
1 answer
702 views

Difference between firmware, bootloader, and the code memory

I am new to microcontrollers and am facing a problem regarding the understanding of the terms firmware, bootloader and the actual code of a microcontroller. In some places I have read that the ...
user avatar
2 votes
2 answers
327 views

Load bootloader on ESP32

I'm trying to load the bootloader to my esp32 or that's what I think I need, because when I connect it with USB to TTL, and I connect TX with RX, Rx with TX and GND with GND and I reset the micro by ...
Maxpower5859's user avatar
0 votes
1 answer
50 views

Connecting TTL-232R-5V-PCB to STM32F103C8T6A bluepill via OTG and installing boot to this STM32 microcontroller

I have TTL-232R-5V-PCB and STM32F103C8T6A bluepill board. I am working on installing bootloader to this bluepill board on that way, I have searched on the web about it but all people connected them ...
serkanhelvacioglu's user avatar
1 vote
4 answers
442 views

How to get some advantages of dynamic loading on embedded systems?

Some experiential context: The majority of my professional coding is on either baremetal or RTOS embedded systems, while most of my teaching has to do with Linux hosted code. One thing I deeply miss ...
Aaron Linnell's user avatar
0 votes
1 answer
541 views

STM32F103 programming using a USB port and CubeProgrammer

I created a custom board with an STM32F103C8T6 microprocessor and Iwant to use the USB to program the board using the STM32CubeProgrammer. I found out thanks to a user on Stack Exchange that it is not ...
Y-E-Quit's user avatar
  • 121
2 votes
2 answers
252 views

Programming STM32F103C using USB

What's the Problem? I created a Custom 'Development/Discovery'-Board and want to program it using USB. I saw in the Datasheet AN2606 that it is not possible to flash the program via USB. What I tried ...
Y-E-Quit's user avatar
  • 121
0 votes
0 answers
58 views

Can I use STM32 boot mode and SD card at the same time?

The ST32 boot pins are: Boot0 Boot1: Pin PB2 And the SDIO pins are: SDIO_CK: PB2 SDIO_D0: PC8 SDIO_CMD: PD2 I want to have both SD card feature and boot options at the same time. Here, the pin PB2 ...
ar2015's user avatar
  • 213
0 votes
0 answers
56 views

Factory 32U4 burning bootloader problem

I have a design utilizing the 32U4 and when I burn the bootloader on a factory fresh chip, it reports success but a problem occurs when I try to connect via a USB cable. My Win10 machine reports ...
Andrew Pratt's user avatar
0 votes
0 answers
116 views

ST ROM Bootloader boot0 pin

How is the boot0 pin is intended to be used by ST chip designers in real world applications? Once the boot0 pin is set high, the chip executes the bootloader section in memory and it will not go back ...
KoS's user avatar
  • 1
-1 votes
1 answer
259 views

Allwinner V3s boot conditions

We've made our own SBC as part of a student project based on the Allwinner V3s, but it's not booting (no output on UART0, and it doesn't enter USB device mode (FEL) either). What are all of the ...
Nejcraft's user avatar
0 votes
1 answer
505 views

The microcontroller (STM32G0 Series) does not work after seting FLASH read protection

I am using STM32G030F6P6 microcontroller. I tried to make flash read protection: ...
red15530's user avatar
0 votes
3 answers
350 views

How to do an ICSP for an ATtiny 85 [closed]

I know that we can simply buy one of those ICSPs on the web, but my problem is that I am already going to buy a good quantity of hardware on the web and in my country those chips are quite expensive, ...
Bitenco's user avatar
3 votes
1 answer
92 views

How to start the user firmware after the bootloader firmware has finished in a Cortex-M3?

I'm trying to figure out the sequence of booting between bootloader and user firmware in the Cortex-M3. The Cortex-M3 design supports basic examples such as "Hello". Here is the snippet for ...
Carter's user avatar
  • 607
1 vote
1 answer
437 views

STM32 ROM Bootloader

I am designing a PCB-Shield that uses the STM32L412CBU6 (without external crystal). This PCB is connected to another STM32 platform. I want to be able to flash the STM32L412CBU6 from within the other ...
STeVe's user avatar
  • 13
1 vote
1 answer
191 views

Programming PIC18F24K50 over USB

I want to make a keyboard PCB with the PIC18F24K50. I could've sworn I saw a program that allows to program this microcontroller using only the USB and MCLR (reset) pins, but I can't find it anymore. ...
eigenwertnotfound's user avatar
0 votes
0 answers
140 views

ESP32 bootloader circuit exchange with MOSFET:s

I was looking at ESP32 documentation typical application setup, I researched the schematic below which has been referenced and discussed as a time sensistive circuit using the capacitor to delay en to ...
Xavanteex's user avatar
1 vote
0 answers
53 views

HowTo: Bootloader Jump-Mark

I am currently thinkering on bootloaders for embedded applications. In particular, i am stuck on how to provide a reliable "Jump Mark". What i mean with Jump-Mark: The basic bootloader-...
ElectronicsStudent's user avatar
2 votes
2 answers
418 views

ATmega328P flash address order

I'm currently attending a basic course on real-time embedded systems. Recently, we have been talking about embedded systems memory architecture. When doing some extra studying on memory maps, I came ...
user294957's user avatar
0 votes
0 answers
156 views

Is it possible to program from I2C to SRAM and boot from SRAM on STM32G0?

In one of our projects, we want to program SRAM of STM32G0 slaves by using I2C from a master STM32G0 and boot them from SRAM. Is this possible? If possible, how can I do it? I could not find enough ...
devscg's user avatar
  • 153
-1 votes
1 answer
124 views

STM microcontroller: Is there a way to reset and reprogram read-only memory?

I have an STM32F427VIT6 embedded microcontroler. It has a protected-memory bootloader. Is there a way to reset it and modify that bootloader?
RootInit's user avatar
  • 109
1 vote
0 answers
115 views

STM32F407 powering via tlink but not USB and ST-LINK not working

Some background first. I have a custom STM32 board using a F407 MCU. The board takes 12 V and regulates to 5V then to 3.3V to feed the processor. That feed is directly connected to a SWD header using ...
dj_nexxus's user avatar

1
2 3 4 5
7