We’re rewarding the question askers & reputations are being recalculated! Read more.

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
0answers
102 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
541 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
78 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
59 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
96 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
522 views
18
votes
4answers
6k 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
1k 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
1answer
202 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
2k 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
881 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
427 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
1k 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
86 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
191 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 ...
3
votes
3answers
2k 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. ...
1
vote
3answers
2k 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
159 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
2k 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
80 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 ...
7
votes
3answers
8k 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
520 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
415 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
760 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
221 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 ...
-4
votes
2answers
105 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
1answer
129 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: ...
0
votes
1answer
160 views

Anyone knows how X86 platform set the PCIe bifurcation at boot up?

I got a question about the PCIe bifurcation setting when booting up in X86 system. Normally, we can set the PCIe controller to be X16, two X8, or four X4 in the UEFI shell menu. However, there is an ...
3
votes
2answers
6k views

STM32F091 Jump to Bootloader from application

I'm trying to implement a jump to the STM32F091 USART1 bootloader from my application. I'm using the following function(based on https://community.st.com/thread/40238-stm32l476rg-jump-to-bootloader-...
2
votes
3answers
408 views

Bootloader for PIC24EP?

I am working on pic24EP bootloader. My bootloader has it's own packet format to communicate with a python script to update the firmware of the microcontroller. The bootloader resides at the first free ...
0
votes
1answer
260 views

RTOS and OS working side by side in cooperative work

I would like to use use a RTOS and OS side by side to implement a cooperative work. The RTOS would perform time critical (real-time) task and the OS will perform the other non-critical ...
0
votes
2answers
1k views

Can I run my Nios II from program in SRAM or SDRAM, how?

Is there a "standard" (Altera supported) method to run my Nios II from off chip memory like SRAM or SDRAM? Since the design is in prototype stages, it means that I am using JTAG for configuration and ...
1
vote
1answer
875 views

Can the firmware on STM32F4 be updated through USB without toggling Boot0?

I've designed a device using a STM32F439 and would like to have a PC application where the user can update the firmware of the device. My firmware developer has told me the we would need to give the ...
1
vote
1answer
140 views

Behavior of AVR microcontroller only containing bootloader

I'm working on an implementation of AVR109, where the bootloader times out after two seconds if a given series of bytes aren't received on the serial port, and then starts the main application using a ...
2
votes
3answers
7k views

Programming STM32: JTAG/SWD vs bootloader

I'm making a PCB for a personal project using the STM32L031K6T7 microcontroller. It looks like this uC has a bootloader that can be used to reprogram the flash program mem through UART or SPI. It also ...
1
vote
1answer
727 views

Stock (factory) bootloader in ATmega16U2

I have an issue with ATmega16U2 which includes hardware USB support. As the datasheet describes: The 8bits mega AVR with USB interface devices are factory configured with a USB bootloader ...
3
votes
1answer
777 views

How to write a bootloader and drivers for ATtiny167

I am using an ATtiny167 Atmel chip on a custom PCB board I’ve designed. I prototyped the board with the sensors and a Digispark (Getting started, Upload Bootloader) as the ADC and serial connection. ...
0
votes
1answer
6k views

STM32F7 Bootloader unable to jump to application

My problem is that my bootloader is not jumping to the application, or maybe it is but then jumps back to the bootloader because of an interrupt. To give you something to work with here are some info: ...
0
votes
2answers
910 views

Flash/obtain ROM code for Sitara on BeagleBone Black

How is the ROM code loaded/provided on the BeagleBone Black? I see a few possibilities: It is loaded on in TI's factory and is immutable [unlikely] It is flashed on during manufacture of BeagleBone [...
5
votes
0answers
560 views

How would one clone a BeagleBone? [closed]

tl;dr: Assuming I'd had a BeagleBone perfectly manufactured from the open-source schematics+layouts, what would be necessary to get it to the same level of functionality as a newly-unboxed BeagleBone? ...
0
votes
1answer
843 views

.elf or .bin file to be download as application code in ARM cortex M4

I am using a MCU with ARM Cortex M4 processor. I Have written a bootloader on it. Using USB CDC ACM class, i am writting the application code in memory address 0x002000. I have generated both .elf ...
5
votes
3answers
1k views

bootloader application on arm controller

I am using a micro-controller with ARM Cortex M4 processor and developing a bootloader application on it. Compiler : GCC- GNU ARM compiler Code flash size : 1MB Interface for application code ...
0
votes
2answers
373 views

How Relocate Interrupt Vectors MSP430FR5969

I can't find the correct way to relocate Interrputs Vectors with CCS6.2 for MSP430FR5969. The blink led application use TIMER_A0 : ...
-2
votes
2answers
181 views

What makes a circuit bootable or capable of runnning an OS? [closed]

I posted this on StackOverflow for the premise that any programmer (not an HTML coder, who does not, strictly speaking, do programming, though HTML does require a lot of specific knowledge and bears a ...
3
votes
1answer
3k views

STM32: Minimal USB bootloader circuit

I would like to use the builtin USB DFU bootloader of STM32F107 chip. My MCU is powered by the device, I don't need to use 5V from the USB. So far I have connected pins PA11, PA12 and GND directly to ...
1
vote
1answer
2k views

Bootloader jump to main application problem using STM32 with Keil Uvision

I am developing for the STM32F0 using Keil uVision. I have a custom bootloader loaded running at address 0x08000000. I need the bootloader to jump to my main application which I flash at address ...
4
votes
2answers
655 views

ARM Cortex M3 firmware

First some background information. There is one product (a sensor) bought from a far eastern manufacturer, bless their white cotton socks, that uses the STM32F103V microcontroller. The firmware that ...
2
votes
2answers
4k views

Make my own microcontroller ARM M0 board: do I need bootloader?

I did buy one of these cheap all in one microcontroller, but instead of using a standard Atmel, like the ones on the Arduino boards, it uses a more powerful ARM M0 chip. Now, I would like to buy my ...
0
votes
1answer
809 views

Which boot mode does the STM32F0 discovery kit use?

I am using the STM32F0 discovery kit which looks like this; In the MCU datasheet, it mentioned about 3 boot modes; boot from User Flash memory boot from System Memory boot from embedded SRAM Which ...
-7
votes
1answer
151 views

Intel Skylake CPU How does the primary or default core get powered on anyone? [closed]

Would it be by way of some hard coded cpu bootrom or by way of some ROM boot loader or some embedded firmware ? Anyone ?