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

learn more… | top users | synonyms

0
votes
0answers
38 views

How to bootload a atmega328-pu using arduino uno? [migrated]

I have some Atmega328-Pu micro-controllers without boot-loader program. Now I need to burn boot-loader to them all. I have two arduino uno boards having Atmega328 P-Pu micro-controllers on board. I ...
0
votes
0answers
6 views

Burning bootloader with Arduino as ISP when clock frequencies differ [migrated]

I've made a board with Atmega328, and I put there 6Mhz quartz (the reason to have 6MHz was to reduce power consumption). I need to burn Arduino bootloader to it, and I want to use Arduino Uno (16MHz) ...
0
votes
2answers
151 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
0answers
22 views

Appropriate conditions to use the various boot modes in stm32f0 [duplicate]

I am reading the datasheet of STM32F0. 3 boot modes were mentioned; boot from User Flash memory boot from System Memory boot from embedded SRAM I am confused when should one use which mode. Under ...
0
votes
1answer
65 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 ...
-6
votes
1answer
44 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 ?
0
votes
0answers
35 views

ESP8266 using LOW-Level with GPIO0

as you know to put ESP8266 into bootmode GPIO0 should be connected to the ground. That works perfectly, but the problem I don't ...
10
votes
6answers
1k views

What is the purpose of a microcontroller bootloader? [duplicate]

From my understanding, for a common microcontroller (e.g. AVR, PIC), there are generally two methods of programming its flash memory. Using a programmer: In-Circuit Serial Programming (or some ...
0
votes
1answer
68 views

Precision timing using arduino and external clock

I'm working on a very time limited project (8 weeks). Basically I need to perform measurements and save to memory. 2 identical boxes, 4 hours and no wireless or wired connection. Each box is ...
1
vote
0answers
28 views

How to increase the boot timeout to send commands to flash hex in a AVR Atmega2560 controller?

I am working with the Peter Fleury boot loader STK500v2. My idea to implement is boot loading via a bluetooth module at UART1. Now I have modified the existing code to make boot loading possible via a ...
3
votes
2answers
97 views

Can I Relocate Code on ARM Microcontroller?

I am working on a project which includes an ARM microcontroller. At runtime, I want to load code from an SD card into program flash and then execute that code. My question is, since ARM code seems to ...
0
votes
2answers
181 views

Is a boot-loader needed to dump the flash memory to RAM? Why?

When a micro-controller is booting, does it fetch the instructions directly from the flash memory? But sometimes a boot-loader is used. If so why do we use a boot-loader to dump the flash memory data ...
2
votes
1answer
205 views

Regarding STM32f103 bootloader

It is given in STM32 system memory boot mode APP note that bootloader stored in the internal boot system memory is programmed by ST during production. Does this mean that if I buy a new STM32 ...
-2
votes
1answer
80 views

What is a startup code how it is related to bootloader or bootloader code?

I am doing a project on building a bootloader for a kinetis E series controller (MKE02Z64VLD2). My mentor told me to have a thorough knowledge about Startup code and linker files before starting the ...
0
votes
1answer
82 views

I have to design a bootloader for Kinetis E series controller. What are the prerequisites to write a general bootloader code ? [closed]

To write a C code, the priori knowledge about main function, function declaration and definition, variable declaration and initialization is required, similarly to write a bootloader code what all ...
1
vote
1answer
92 views

NOR and NAND flash memory on the same chip

I've been researching booting and flash memory as found in embedded devices like smartphones, tablets, and boards. There are numerous schemes and an equally numerous amount of obscure terminology. I ...
2
votes
3answers
231 views

Trying to flash STM32f030f4 (ARM, Cortex M0) - what is proper wiring?

I've got STM32F030F4 chips from shop, made a small breadboard adapter for it and tried to connect to its built-in bootloader via USART1. I've failed and I'm somewhat bewildered about wiring. My ...
2
votes
2answers
130 views

How is the bootloader and firmware uploaded during production? [closed]

If there was a product with 5 MCUs (STM32303) and a main CPU being a AM5718, how would the bootloader be uploaded to each chip? The same question about the firmware how would the firmware be uploaded ...
1
vote
1answer
86 views

Burning bootloader on atmega1284 tqfp

Is the process of burning a bootloader (JChristensen's mighty-1284 to be precise), on an Atmega1284 microcontroller same for both DIP (Atmega1284p) and tqfp (Atmega1284-au)? While searching online ...
0
votes
1answer
29 views

Can a secondary or additional core be loaded and made active (powered on) without via user application or a boot loader

Using any multi core IC such as the Qualcomm Snapdragon SoC as the platform. Can a secondary or an additional core (such as core1 or core2 etc..) be powered on and made active without via some user ...
0
votes
2answers
78 views

Merging 2 Hex files

My MSP430 program consists of serial bootloader and application hex files. While programming I load bootloader program using JTAG and then load application program using bootloader. I am looking for ...
2
votes
1answer
59 views

Help me debug: flash programming successful and verified; program does not run

I am trying to put together a simple bootloader in the high end of the flash of an atmega8. The loader communicates with minicom via the XMODEM protocol, checks for errors, writes the corresponding ...
3
votes
2answers
102 views

It appears that I need two main() functions

I am putting together a simple bootloader for the atmega8, mostly using code examples form libc's documentation. The bootloader is supposed to be located in the bootloader section of the flash. An ...
-2
votes
1answer
56 views

SoC Multi Cores and Boot Loaders

I have discovered that a typical SoC or MCU (multi core) have a boot loader which loads the bootstrap core. Could anyone tell me does each core require its own dedicated boot loader ? Is it possible ...
1
vote
0answers
33 views

Does the Atmel Serial Bootloader support atmega8?

There seems to be a problem with my understanding of the Atmel Serial Bootloader User Guide. It only lists 9 suported microcontrollers (Table 1-1). The mega8, for example, has uart and ...
3
votes
1answer
266 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 ...
3
votes
1answer
338 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
397 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
391 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
240 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
117 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
211 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
253 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
697 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
1answer
1k 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
709 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 ...
1
vote
2answers
2k 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
180 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
1answer
311 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
465 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
400 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
2k 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
86 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
373 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
2k 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
138 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
144 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
400 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
495 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
191 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 ...