Questions tagged [bootloader]
A bootloader is a utility program used to load an application program into memory.
330
questions
0
votes
0
answers
8
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. ...
1
vote
1
answer
34
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 ...
0
votes
0
answers
25
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 ...
1
vote
1
answer
31
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 (...
0
votes
1
answer
39
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 ...
0
votes
1
answer
119
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 ...
1
vote
0
answers
36
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 ...
1
vote
0
answers
23
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 ...
0
votes
2
answers
54
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 ...
0
votes
3
answers
43
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 ...
1
vote
2
answers
83
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 ...
3
votes
1
answer
71
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 ...
0
votes
1
answer
109
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 ...
1
vote
2
answers
63
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 ...
0
votes
1
answer
29
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 ...
1
vote
4
answers
241
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 ...
0
votes
1
answer
160
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 ...
2
votes
2
answers
111
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
...
0
votes
0
answers
45
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 ...
0
votes
0
answers
49
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 ...
0
votes
0
answers
105
views
PIC32 UART Bootloader Address Problem
I have a PIC32 MC00 Curiosity Nano Board and I am trying to set up a UART bootloader on it.
I have created two separate projects, and for the main application, I have followed all the instructions ...
0
votes
0
answers
61
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 ...
0
votes
1
answer
112
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 ...
0
votes
0
answers
300
views
Starting ESP32-C3-Mini-1 Module in Boot Mode
I'm designing a PCB around the ESP32 C3 Mini-1 Module but have been having some problems flashing firmware. I want to flash the AT command firmware so I can use a STM32 MCU to talk to it. The first ...
0
votes
1
answer
295
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:
...
0
votes
0
answers
36
views
Diy development board troubleshoot
i have designed arduino compatible diy board with Atmega328p-Pu.
,i have burned the bootloader for first time and the upload blink example to board and it didn't get any error. After that when i ...
0
votes
3
answers
181
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, ...
3
votes
1
answer
76
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 ...
1
vote
1
answer
254
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 ...
1
vote
1
answer
110
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.
...
0
votes
0
answers
85
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 ...
1
vote
0
answers
51
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-...
0
votes
0
answers
51
views
Programming with AVRDUDESS without response
I am trying to program an ATmega64 which has a bootloader on it but the RS485 transceiver has been designed with the D, !RE, and Tx pins shorted to GND so it can never respond.
AVRDUDESS never ...
2
votes
2
answers
238
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 ...
0
votes
0
answers
140
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 ...
-1
votes
1
answer
98
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?
1
vote
0
answers
98
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 ...
4
votes
2
answers
1k
views
STM32 applications hardfault after jumping from the bootloader
I am attempting to write a custom bootloader for a STM32F103C8Tx (64k Flash, 20k RAM variant) on a bluepill board.
When the jump from the bootloader occurs the application immediately hardfaults on ...
0
votes
1
answer
122
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 ...
1
vote
3
answers
2k
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 ...
0
votes
0
answers
87
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 ...
2
votes
1
answer
110
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 ...
0
votes
0
answers
208
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 ...
0
votes
0
answers
160
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 ...
1
vote
1
answer
275
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 ...
3
votes
1
answer
1k
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 ...
1
vote
1
answer
69
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 ...
2
votes
3
answers
888
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 ...
1
vote
2
answers
738
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 ...
3
votes
0
answers
72
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 ...