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

learn more… | top users | synonyms

0
votes
0answers
38 views

ATmega32u4 bootloader [migrated]

Hey all this would be my first encounter needing to burn the Arduino IDE bootloader onto a blank ATMega32u4 that I bought from Digikey. What all do I need to buy in order to program the bootloader ...
1
vote
1answer
33 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 ...
0
votes
2answers
64 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
67 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 ...
0
votes
1answer
30 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
140 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
94 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
191 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
187 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
85 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 ...
0
votes
0answers
76 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
87 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
435 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
569 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
91 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
320 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
461 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
308 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
2k 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
241 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
36 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
154 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
204 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 ...
7
votes
0answers
439 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
66 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
228 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
238 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 ...
0
votes
2answers
406 views

STM32 custom bootloader: how to verify the firmware?

Using a custom SDIO/FAT in the application bootloader for a STM32 chip, is it possible to make the jump from the bootloader to the new firmware fail-safe? I would like to verify the new firmware ...
4
votes
3answers
1k views

How do I know I have the right Bootloader Installed on my ATMega328P-PU?

I got an ATMEGA328P-PU , already bootloaded , but when I tried to upload the program (a simple program for blinking the LED on pin 13 ) I'm getting an error as : avrdude: stk500_getsync(): not in ...
0
votes
2answers
259 views

How to flag Kinetis bootloader to load new fw?

I have a board that features a Freescale Kinetis K60 MCU and I want to write a bootloader for it but I don't have hardware in place to signal it after a reset to go into "load new firmware" mode vs. ...
3
votes
3answers
570 views

AVR and bootloaders - where to begin?

I have the need to write a bootloader program on an AVR microcontroller (Atmega32) in order to enable self-programming. I have read various resources on the topic of bootloaders and have come to the ...
1
vote
1answer
413 views

How to stop CodeVision from generating the interrupt vector

CodeVision has a lot of nice features, among them the automatic generation of the interrupt vector. However, now I'm working on a very small bootloader, and I can't afford any interrupts. CodeVision ...
0
votes
0answers
214 views

Arduino Atmega8noxtal on breadborad uploading sketch not in sync error

I have built Arduino with Atmega8A PU on Vero board. My problem is first when I Upload the firmware with my parallel port programmer into ATmega8 chip and then I try to upload sketch of arduino blink ...
2
votes
1answer
528 views

v-usb with default arduino bootloader on ATMega328

I've been trying to figure out how to use v-usb on an ATMega328P but pretty much all the tutorials I've found are for ATTiny or use the ATMega328P but use a modified bootloader. I don't actually care ...
2
votes
3answers
229 views

Continuing execution after ISP in LPC81x series

I am uploading software via serial ISP in to an LPC81x series microcontroller. This is a Cortex-M0+ chip. After software upload, I would like to start the execution of the uploaded software without ...
0
votes
0answers
597 views

Arduino mega bootloader with USBasp burning fails

Recently i bought an USBaps programmer. Following is the eBay link for the exact thing i bought. http://www.ebay.com/itm/130840810872?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1439.l2649 I bought ...
0
votes
1answer
488 views

Why do we need a preloader and a bootloader in many applications before even the main program

I have read the datasheet of Altera's new HPS. It shows a chart where it shows: Boot ROM -> Preloader -> Bootloader -> OS I am wondering, why do we need a "pre-loader" and than the "bootloader" and ...
0
votes
1answer
99 views

Reuse PIC serial pins

I'm building a board with a PIC microcontroller that uses the Microchip bootloader and it's connected to a FT232RL chip (USB to UART) with the RC7 and RC6 lines. Is it possibile reuse these two I/O ...
2
votes
2answers
269 views

just had an Arduino UNO bootloader replacement. Computer still won't recognize it

Before I get any thumb-downs, I would like to mention that I have read all the questions posted regarding the issue I have, but none of them had a working answer to my problem. Here's my problem: I ...
0
votes
2answers
638 views

Burn bootloader from Arduino Nano to Atmega chip

As seen from the above question, I need to know how to use an Arduino Nano to burn the bootloader onto an Atmega chip. The Arduino website only shows how to do it from an Arduino Uno chip ...
1
vote
0answers
210 views

How start running STM32 firmware from IROM2 in Keil Microvision?

I'm developing an embedded application using Keil MicroVision 4 & STM32F103RE I've splited Flash memory of device into two areas (IROM1 & IROM2) using IDE target options panel (Target tab, ...
1
vote
2answers
203 views

Still struggling with the STM32F051C8T6 bootloader

I've been reading the information available in ST.com about creating a bootloader for a STM32F0xxx microcontroller, and it says the following: "The bootloader is automatically activated by ...
0
votes
1answer
203 views

Creating a bootloader for STM32F051C8

I need to design the hardware to load my custom programs into a STM32F051C8T6 microcontroller and I'm not sure of which pins should be connected to what and I wouldn't like to do things wrong. I've ...
3
votes
3answers
1k views

How to program a BeagleBone board?

Until now I used Microchip PIC, to program this microprocessor there is MPLAB. I would like to make a step forward and learn about other microcontrollers. I found the BeagleBone Black quiet promising ...
1
vote
2answers
438 views

ARM Linux and UBoot - Can I make a read-only MTD writable?

I have several embedded Linux devices installed at customer sites. We have an updated Linux kernel we are prepared to deploy to these devices. The problem is that on these devices, the U-Boot ...
5
votes
2answers
2k views

ATTiny85 not working after burning bootloader

I am having a problem with my ATTiny85. I should mention I use Arduino as an ISP to program it. My ATTiny worked fine until I decided that I need to step up the clock speed from 1MHz to 20MHz so I ...
1
vote
1answer
82 views

Are there any disadvantages to look out for when using Optiboot?

Optiboot appears to be superior to the official Arduino bootloader in just about every way. Despite this, is there anything I need to look out for when using this bootloader? Common pitfalls? ...
9
votes
2answers
299 views

Reduce the size of the Arduino bootloader?

Is there any way of reducing the size of the preloaded Arduino bootloader, to save some bytes for the program?
2
votes
2answers
3k views

USB bootloader for the arduino DUE

I recently bought an Arduino DUE. I was going through the technical details and realized that the DUE acts a a virtual USB device (COM port). I was wondering whether I could upgrade the Board Support ...
5
votes
2answers
1k views

Can I write a bootloader to Atmega using serial port

There is a really grand price difference between an empty Atmega328 chip and the one with the Arduino bootloader installed. In my country, this difference is 1:3. This means that uploading bootloader ...