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

learn more… | top users | synonyms

2
votes
1answer
92 views

Running code from RAM and not using FLASH (ARM)

I have an application for my ARM7 which is usually burned to FLASH, and then on execution it is copied to RAM (to run a little faster). But I remember that my professor once said that I should run my ...
0
votes
0answers
42 views

Linker File Problem [migrated]

I am dealing with a problem in my application with the linker file. What's happening is in the explorer tab it seems the linker file it's not "selected" I have to refer that I also have a ...
2
votes
0answers
27 views

PIC32MZ bootloader without development board

I would like to put a bootloader in a PIC32MZ2048ECG064. I found AN1388B, but in table 9 (available bootloader workspaces) it lists only PIC32MX devices as compatible. The datasheet doesn't mention ...
0
votes
1answer
42 views

Programming an ATmega32u4 through USB

I'm designing my first circuit with an ATmega 32u4 processor. Since I read about the BOOTRST and HWBE fuses I'm confused about the programming of the chip. If I use a brand new, untouched processor ...
0
votes
1answer
72 views

How do I get a firmware .hex running on a PIC18F2550?

I've been playing with this data logger board that's based on the Microchip PIC18F2550, but my application requires a lot of analog front-end signal conditioning. I would like to combine everything ...
0
votes
1answer
85 views

ATTiny85 Not responding to anything (Arduino UNO as programmer)

I'm trying to program 8 ATTiny85's I purchased from ebay but I can't seem to get any response from them. I have tried following several guides and even tried to use High Voltage Serial Programming ...
0
votes
4answers
78 views

automatic bootloader without PC software [closed]

I want to design a bootloader in AVR ATMEGA16 that when we reset the AVR, it receive hex file from some PC by serial port without run a program on PC for example when we reset the AVR, it load .hex ...
1
vote
1answer
95 views

Using the STM32 Nucleo L152RE with uVision

I've been messing around with the Nucleo with mbed for the last week or so, but I'm keen to get out of that and back into some lower level C to give me more flexbility. I have the problem, however, ...
4
votes
2answers
191 views

AVR Bootloader Protection?

Is it possible for an out-of-control (e.g. due to stack corruption) user application to inadvertently invoke the bootloader sector code in an AVR (e.g. ATmega1284p)? Said differently, is it possible ...
0
votes
1answer
197 views

ESP8266 “rom” boot code is overwritten when upgrade firmware?

You can flash the firmware using ESPTOOL with a command like ./esptool.py write_flash 0x00000 my_app.elf-0x00000.bin 0x40000 my_app.elf-0x40000.bin this will ...
0
votes
0answers
73 views

How does increasing core voltage increase the performance of the processor

Platform: Mobile Based on ARM Cortex A7 MP Core Observation: In a legacy code the author tries to increase the default voltage during boot time ...
0
votes
1answer
275 views

ARM Cortex M software update via bootloader

I wish to update the software running on a node having a ARM Cortex M4 MCU. to do so, I understand I will have to run a bootloader in my TI ARM Cortex M4 development board that can receive a binary ...
2
votes
2answers
221 views

Programming PIC from USB usign FT232

I have a PIC18F1330 which does not have native USB capabilities (see datasheet). I am planning to load it with a bootloader using my PICkit the first time and then programming from a USB port after ...
0
votes
1answer
371 views

Burn Micronucleus bootloader to use ATtiny85 via usb (avrdude)

I am working on an ATtiny85 usb development board, and I need to flash the Micronucleus bootloader on it. I have heard that this bootloader allows the ATtiny85 to be programmed via usb from the ...
1
vote
0answers
91 views

pic16f877A bootloader error

I have installed bootloader into my pic16f877A and now i am trying to write a program into pic.But after connecting to my computer it gives error as ...
0
votes
0answers
103 views

STM32 L1 Bootloader: What is needed after a full memory erase?

I am trying to program a STM32 L1(51C8Ux) via the standard bootloader. I have written a hex file to the memory locations the hex file specifies. After reset, the program doesn't execute. Prior to ...
0
votes
1answer
141 views

STM32 L1 Bootloader: how to set the reset vector

I am trying to program a STM32 L1(51C8Ux) via the standard bootloader and when I do the memory gets written to, but the code doesn't execute (after reset that is). I assume as part of the memory ...
2
votes
2answers
239 views

Best way to allocate boot loader memory space in the micro controller

I'm confused about how to allocate boot loader memory space in the pic18 micro controller and spend sometime researching on it and landed up here . I'll put my question : I have a controller whose ...
2
votes
1answer
206 views

MSP430 Programming BSL vs Spy-Bi_Wire

Does an MSP430 (Specifically the LaunchPad F5529) retain its code which was transferred via the Spy-Bi-Wire (SBW) Port? Or do I need to use the BSL to program the chip? In layman's terms what is the ...
3
votes
4answers
1k views

How does a microcontroller load and execute a bootloader?

I know that for a regular PC, BIOS executes its handler of interrupt 0x19 to search for a bootable device and if a device is found, first 512 bytes are loaded at ...
0
votes
1answer
73 views

The right vocabulary for everything related to booting a µC and loading a program

The more I learn about all the steps required for bringing a ┬ÁC to the phase of finally executing the program, the more I get the impression that there is no "golden path". It seems to me that the ...
1
vote
1answer
181 views

STM32L1 Bootloading from USART

I am trying to move an application from the STM32L1 discovery board (which has the STM32L152 chip) onto a PCB containing the STM32L151RC. On the discovery board, I was able to follow the application ...
0
votes
1answer
1k views

avrdude: initialization failed, rc=-1

when trying to program the fuses I get this known error message: $ sudo avrdude -c usbtiny -p m328p -U hfuse:w:0x05:m avrdude: initialization failed, rc=-1 ...
0
votes
1answer
104 views

Where to put Bootloader Key in Ram, what address is the last ram address?

I am programming a CDC Bootloader. What I want to do is to run the program, from there write a bootloader key to the ram at a specific address and watchdog reset the MCU. The Bootloader reads exactly ...
1
vote
1answer
86 views

What is the difference between write and flash

My apologies for my very naive question. I am trying to get some understanding of the STM32 bootloader, specifically I am looking at stm32flash where I read: write to flash/ram read from ...
1
vote
2answers
273 views

Can I run a program, on an ATtiny85 with micronucleus bootloader, without usb connected?

I have managed to put micronucleus bootloader on an ATtiny85. Using it, I can successfully upload programs to my ATtiny through USB and they run as they should, as long as they are connected to USB. ...
0
votes
1answer
306 views

XMega bootloader - How to make use of the functions in assembly source file

Its been two days I'm trying to write a Bootloader for ATXMega32E5. The Atmel studio doesn't have boot.h header file supporting XMega. As a result of searching and ...
1
vote
1answer
131 views

chip45 bootloader in Atmega32U4

Good morning. I am using the chip45 bootloader for an Atmega chip. The chip being used is the Atmega32U4 chip ("chip45boot2_atmega32u4_uart1_v2.9Q"). I am having a strange error. I burn the ...
2
votes
1answer
444 views

AVR simple bootloader - how to call application code?

I am using the atmega328. I want to create a simple test application using a bootloader. I want to: Blink an led at one speed in the bootloader section of flash, and then blink at another speed in ...
0
votes
0answers
193 views

STM32F2 code execution problem -solved

I just got into using STM32F2 microcontrollers. However, I am unable to get the micro work. I have a board designed by my own, with only the microcontroller, power supply capacitors, 2 leds and a UART ...
1
vote
2answers
202 views

What's the deal with a bootloader?

I am planning to buy an ATmega328 chip from Atmel, place it in my Arduino board, program it, detach it later, then solder onto a PCB. Can I just buy the chip and program it on the Arduino board, or ...
1
vote
1answer
703 views

AVR bootloader interrupt issue

For a quite while, I've been using an avr ATmega324PA controller and Atmel studio to write the programs. we wrote a TCP bootloader. It works fine without any interrupt. Later we did add an external ...
1
vote
1answer
96 views

TCP bootloader memory issue

I am trying to write a simple, stand-alone TCP bootloader for an AVR micro-controller. Right now, I have got a collection of APN that weigh almost 14KB memory. The application code will establish a ...
1
vote
0answers
146 views

OLinuXino iMX233 won't boot

After I get my OLinuXino I would like to try first boot up a sample system and look around, but looks like it's more difficult as I first think! I found a tutorial in the webshop and I prepared the ...
0
votes
1answer
168 views

STM32 not booting without J-link

I've got a device with STM32F439 microcontroller on it. I flashed the firmware using the J-Flash utitilty (flashed and read back data is same). Then started the application from J-flash: everyting ...
9
votes
2answers
610 views

PIC programming through FPGA

I would like to know if there is a way to program a PIC for the first time (write in Flash) through an FPGA card. The PIC is already soldered to the FPGA and I can't remove it. No bootloader exists ...
1
vote
3answers
2k views

Changing bootloader fuses - Arduino based ATmega32U4

I'd like to develop an Arduino board with the ATmega32U4 MCU but in a low power mode. I've been searching and I know I have to change the fuses to prevent the brown-out-reset (BOR) when the battery is ...
1
vote
1answer
167 views

How to update MCU bootloader?

I'm using a template USB HID bootloader from microchip\mla\v2013_12_20\apps\usb\device\bootloaders and have made some basic modifications. I don't have a strategy to be able to update the ...
4
votes
3answers
635 views

AVR- sending application program to bootloader

Now its time to send the application code to the bootloader, that's been programmed into an ATmega32A controller. It has to be sent in hex format, but I have no idea of "How to send it?" The hex file ...
1
vote
2answers
1k views

AVR- “Bootloader Main function and Application Main function”

I am just trying to build a custom bootloader for avr. I know that the bootloader functions can be shared with the application program. I am really confused with the main function though. Do ...
3
votes
1answer
905 views

Writing the bootloader program into ATmega32A

I am in a need of programming a bootloader code written in C into the boot section of AVR ATmega32A using a serial programmer. I can't write the code directly into the boot section from Atmel studio. ...
2
votes
1answer
3k views

Writing bootloader for STM32 by C language in Keil

I want to write a bootloader for my MCU. It's an STM32F103RET6. I searched for information about writing a bootloader for it, but I couldn't find anything. Now I have these questions: Where can I ...
1
vote
1answer
736 views

Do I need to install Bootloader on my new AtMega32? Can I do it with USBasp?

I had a Sparkfun Redboard for some time and I liked playing with it, blinking LEDs and writing to an LCD and such. Now I want to design my own similar development board for similar set of ...
1
vote
2answers
68 views

Can a bootloader modify the configure word when programming the user code into the MCU?

These days I was testing a bootloader (AN1157.PDF) on a pic24fj256gb110 The bootloader can download the user app code through the uart and it is running well! But there is a question: the bootloader ...
1
vote
1answer
436 views

Custom bootloader for ATmega328P

I am designing a board with the ATmega328P and have decided to write my own bootloader rather than use Optiboot or Arduino, etc. I understand the logic of writing the boot code. Also that it resides ...
1
vote
1answer
376 views

Why Linux doesn't get booted automatically only If I changed the BOOT.bin not the zImage, while in the first case it gets automatically booted

I have zynq board ( not the zedboard), it doesn't have all the peripherals of zedboard. I am facing some problem while booting the linux on zynq with my new BOOT.bin. When I used to put the sdcard in ...
12
votes
1answer
740 views

Unable to get bootloader working on custom PCB with AT32UC3L

I have designed a PCB for a client recently, everything is fine with the hardware and software (application is working as it is supposed to). Now we are facing the need to update the program inside ...
0
votes
1answer
92 views

how the CPU start by execution stored in motherboards flash memory chip [closed]

I had read that at start, the CPU program counter register is fill with F000. I though that: PC registers contain the next instruction address. This address is send to the address bus and value ...
1
vote
1answer
438 views

Arduino at 5V but 8MHz

Is there any reason not to load the Arduino Pro 8Mhz bootloader onto a 5V arduino (custom design, just a standard ATMega328p)? I'm doing some battery backup stuff with it that doesn't play nice with ...
0
votes
1answer
378 views

Boot loader for updating Firmware

I am using pic controller with USB HID boot loader which will do a firmware update via USB and i have tested it successfully.If i add a blue tooth device(UART) and tries for a firmware update I trust ...