Questions tagged [bootloader]

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

27 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
1answer
3k 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 ...
1
vote
0answers
66 views

How to specify in the project or firmware of the application, where to start writing the code?

I have a bootloader to PIC18F4550 that was written using Mikro C for PIC and I have two firmware applications, one was written using Mikro C for PIC and the other using MPLAB X with XC8 compiler. With ...
1
vote
1answer
203 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 ...
1
vote
0answers
54 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)...
1
vote
1answer
110 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
0answers
488 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 ...
1
vote
0answers
697 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
0answers
427 views

Intel hex file to UU-encode format for LPC2148

I'm writing the application for OSX which needs to send a new program (compiled lpc code) via Wifi to microcontroller and there i will use built in ...
0
votes
0answers
30 views

STM32F030CCT6 BOOT

Im doing my first schematic with STM32. I want to use STM32F030CCT6. However im not really sure what to do it's BOOT0. I have googled STM32 schematics and they all have BOOT0 and BOOT1. Mine have only ...
0
votes
0answers
204 views

STM32F0 programming through system bootloader using UART

I am writing a python script similar to STM32Loader that can write a hex formatted program to the flash of an STM32F0. I have managed to use the system boot-loader to write the hex file to the chip ...
0
votes
0answers
26 views

HC08 Bootloader

Can someone explain the basic process of flashing a bootloader to an HC08 based MCU? Specifically the MC908QB8. If I understand it correctly, the firmware can be updated via serial while the chip is ...
0
votes
0answers
71 views

Error executing Application from BootLoader in STM32L475 (IoT Board)

The bootloader should jump to the Application after some verification. For now lets assume it straightaway jumps there. I am working on B-L475E-IOT01A2 device, which uses ARM M4 Cortex. I am using ...
0
votes
0answers
23 views

AT328 + CP2102(firmware update) + control

we used the AT328 be a microcontroller to control relays. But we want to use CP2102 to update the firmware, before we used the NANO be a bootloader to update the firmware to AT328. Is it possible to ...
0
votes
0answers
34 views

What configuration is needed to use an ATMega328p micro-controller on a breadboard

I previously bought an Arduino Uno that came with a store bought/prebuilt PCB and ATMega328p to program it and use the pins. I also have a second ATMega328p that was bought by itself and I ...
0
votes
0answers
31 views

Simple relocatable image format options

I am writing firmware for an ARM platform in which I want to have the main bootloader relocatable in memory rather than always loaded at a fixed address during boot. This means that I need a ...
0
votes
1answer
52 views

Separate Vector Table for USB Bootloader (Infineon 4400-CortexM4F)

I am developing a USB bootloader for Infineon XMC 4400 micro . I have modified linker_Script.ld file and have allocated 32K for flash. MEMORY { ...
0
votes
1answer
96 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
38 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
194 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
86 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 ...
0
votes
1answer
942 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 ...
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
450 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
88 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
130 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
0answers
508 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 ...