Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [bootloader]

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

0
votes
0answers
56 views

Is it possible to upload an arduino sketch through the serial port (RX) instead of USB [migrated]

In another words, is it possible to develop a custom bootloader so sketches can be uploaded via serial connection made using the RX/TX pins and not via the USB connector (I am using Pro Micro boards)? ...
1
vote
2answers
23 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
75 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
38 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
9 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
58 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
39 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
78 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
121 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
28 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
47 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
126 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
242 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
48 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
90 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
56 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
106 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 ...
0
votes
2answers
91 views

Atmega 8 on Arduino Uno

For a uni project I am tasked with programming embedded C onto an ATMEGA 8 uC, and there aren't enough development boards for everyone to use at uni, so I have an ingenious solution. I have several ...
0
votes
0answers
37 views

Embedded Linux Custom Boot Sequence

I’m working on a custom boot sequence for my Arria 10 SoC Demo Board. Rbf files and U-Boot should be in QSPI Flash, and Linux Kernel and RootFS are in SDMMC. I have no idea how to reach MMC memory ...
2
votes
1answer
149 views

Atmel Chip not recognized as USB device. How to troubleshoot

I've soldered the AT90USB1286 Chip on a PCB like on this circuit: Imgur If I measure the pins, caps, resistors etc. with a multimeter, everything seems to be powered and fine. Reset button pulls to ...
0
votes
0answers
64 views

Loading program on LPC1768 dev board

I recently purchased a rather inexpensive LPC1768 development board from dx.com. The board can supposedly be programmed via USB (in a similar fashion to the mbed). To open the device as a disk, you ...
0
votes
1answer
332 views

I can't flash my new ATMega328p with PL2303 USB-TTL converter

I've soldered my ATMega328p-au to a SMD to DIP board, and I've connected pins like this: USB | ATMega RX ---> TX TX ---> RX 5v ----> 5v GND -> GND and GND --> button --> RESET My USB-TTL converter ...
0
votes
1answer
48 views

bootloaders “reset memory mapping”

im looking into bootloaders and how they work this picture from application note by atmel for their SAM series bootloader "AP-Note_AT04189" so Stack pointer and reset? Stack pointer is an address of ...
1
vote
1answer
52 views

Analog Blackfin Processor Silicon Revision issue [closed]

Recently we got a large batch of ADSP-BF5346s that say they are Silicon Rev 3 but internally read as Rev 2. Is there a way for me to determine the Silicon Revision number on the rest of the shipment ...
0
votes
1answer
68 views

How to program ATmega8U2

I was given an ATmega8U2 chip by my friend and I have been doing a bit of research about it. It says it does not come with a pre-programmed with a boot loader, so I was just interested about how to ...
-4
votes
3answers
308 views
18
votes
4answers
5k views

How does factory reset work?

All embedded devices includes a "Factory reset" option that allows the user to reset his device if something is wrong. I am developing a Firmware on an STM32 board. The firmware includes a boot ...
2
votes
2answers
847 views

Upgrade user application using custom bootloader via UART (STM32)

I'm using an STM32L4 board and my flash memory looks like this: |______________ | | USER application | | |______________ |Vector table(UA) |______________ 0x8000 - 8000 | | ...
0
votes
0answers
63 views

ATMega2560 Bootloader help

I've got a board with an ATMega2560 that also has an SST25VF016B SPI flash memory. I'm trying to do an OTA bootloader. So what's happening is this: I'm hosting a new firmware binary in my server The ...
0
votes
1answer
122 views

FPGA and CPLD bootloader [closed]

Coming from the world of MCUs, I create bootloaders so that customers can update the firmware. Specifically, i'm talking about a USB bootloader to narrow down the many different mediums. How is this ...
1
vote
1answer
869 views

Remapping vector table in STM32F0 (no vector offset register)

I have written a bootloader before for a STM32 that had support for the vector offset and is easy peasy. For STM32F0xx using HAL I read I need to move the vector table to ram and copy from flash. I ...
1
vote
3answers
407 views

Combining a bootloader and user program into single flash-able binary

I want to flash the UF2 bootloader for SAMD21 MCUs together with a compiled binary of a user program onto a SAMD21 MCU. From what I understand how any bootloader works, the bootloader sits in a ...
0
votes
1answer
216 views

atmega32u4 reset, bootloader and fuses

I have a atmega32u4 from factory with dfu inside. The HWB is pull down, and RESET pin is pull up. The first USB plug, dfu programmer appears on my Linux box. I upload the firmware without problem. ...
0
votes
0answers
695 views

STM32L4 bootloader unable to enter application

I've been following bootloader guide here and trying to write a bootloader that simply turns an LED on when entering a pushbutton-induced performFirmwareUpdate(). I'm using the ARM GNU toolchain in ...
0
votes
0answers
51 views

PSOC 4 Bootloader will not work when P4[0] and P4[1] Connected to I2C bus

I have been desparately juggling the pin allocations on this project in the hope of freeing up the VREF pin, and thought I had managed to do so. Previously my system was successfully transmitting over ...
0
votes
1answer
138 views

Using Arduino as an I2C PSOC Embedded Bootloader Host (ISP)

I am working on a project which involves using an Arduino alongside several PSOC-049-42xxx chips. I want to be able to update the firmware on the PSOCs just by updating the hex file on the Arduino ...
1
vote
0answers
212 views

Samd21g18a Bootloader upload with ST link V2

I was wondering if anyone had any success with uploading a bootloader with an ST Link V2 to a Samd21 chip using OpenOCD or any relevant IDE and was willing to send me in the right direction. I have ...
4
votes
3answers
718 views

Vector table relocation in bootloader application

I've written a bootloader application for NXP Kinetis microcontroller. Following are the things I did to do the same: 1. Created a bootloader application in CFlash addresses 0x0000 to 0x8000 2. ...
0
votes
0answers
57 views

Is it possible to bootloader PIC32 with 2400 baud rate?

I want to know if there is any software that can bootloader a PIC with 2400 baud rate, in the most cases i find the minimum is 9600 baud rate, the goal before using the minimum baud rate is that offer ...
0
votes
3answers
1k views

Atmega328 without bootloader [duplicate]

Atmega328 is available in market in two versions - With and without bootloader. All prefer the one with bootloader. What will be the advantages/disadvantages of Atmega328 without bootloader ? I read ...
0
votes
2answers
120 views

Programming PIC 18F4550 using Bootloader

I was looking for simple boot loader which can program my PIC 18F4550 using uart communication. What I saw in all serial port boot loader program is, they are changing configuration bits especially ...
0
votes
1answer
1k views

STM32F303 Readout Protection Level 1 - programs do not start at all

I never protect the FLASH memory but this time it is my client requirement. I have my own bootloader and the application ready. Everything works fine if the protection level is zero. But if I switch ...
0
votes
1answer
48 views

Firmware update and data exchange using ethernet

I use PIC18F97J60 because its built in ethernet controller to exchange data via lan cable. I want to update the firmware of the mcu using the same controller which means using bootloader for the ...
6
votes
3answers
4k views

Do I really need to put stm32 microcontroller into bootloader mode to program it?

I have started learning stm32 microcontroller for a while using a very small development board "stm32f103c8t6" (or blue pill). when I started, I learnt from some tutorials that I have to switch a ...
3
votes
1answer
423 views

STM32F4xx bootloader & interrupts

I'm trying to write a bootloader for an STM32F4xx (currently for the STM32F429 discovery board). My application should start at address 0x08020000 while the bootloader starts at 0x08000000 (start of ...
1
vote
1answer
286 views

STM32L07xxx boot problems

I have created a design with an STM32L07xxx and an ATtiny that communicate with each other through UART. Unfortunately I forgot to include a pulldown resistor to the BOOT0 pin of the STM. The result ...
1
vote
1answer
437 views

Bootloader for the 8051 MCU

First things first,I am a total newbie to the 8051 MCU. I want to get started with 8051 MCU (At89s52). I've got the compiler and all (sdcc),now all I need is a bootloader.However I can't find one,Do I ...
0
votes
1answer
165 views

Boot sequence Harvard arch. Vs Von neumenn arch.

From https://electronics.stackexchange.com/a/224160/150597 is it necessory that the code and data should be loaded in RAM before execution for Von neumenn architecture. While in harward arch. the code ...
-5
votes
2answers
98 views

How do I burn my C program onto my microcontroller (Atmega32) wirelessly? [closed]

My team-member is moving to a different city. So how can he upload his codes, when the board is with me, many kilometers away from him. Is there an option of burning the codes in a wireless-mode? If ...
0
votes
0answers
76 views

How is interaction with CDC device with no interface endpoints working?

I'm working on uploading to Digispark board. It uses micronucleus bootloader and i can see uploader code. I've modified it a bit to see interfaces and endpoints count: ...