Share code between bootloader and application

Started by pozz in comp.arch.embedded3 years ago 18 replies

I will use one MCU with integrated USB OTG peripheral for two purposes: - bootloader for firmware upgrade from USB pendrive - USB connection...

I will use one MCU with integrated USB OTG peripheral for two purposes: - bootloader for firmware upgrade from USB pendrive - USB connection to an Android smartphone during application As you know, USB Host stack is a complex piece of code that has a high Flash size. In my scenario, I need two different USB Host: one for bootloader and one for application. Is there a possibility to ...


XIP - Execute in Place (For Bootloader)

Started by karthikbg in comp.arch.embedded13 years ago 1 reply

Hi, I was trying to bypass Boot ROM and Branch to Bootloader's entry point by some form of RESET configurations in OMAP. I did not get...

Hi, I was trying to bypass Boot ROM and Branch to Bootloader's entry point by some form of RESET configurations in OMAP. I did not get any specific RESET mode/configurations for this. Further, I find that it is not possible to bypass Boot ROM as it plays a very important role . I find that if i design by bypassing the boot ROM, then the bootloader will not get copied to the RAM from the Flas...


Atmel T89C51CC01 PSEN pin, bootloader

Started by Paul Smith in comp.arch.embedded16 years ago 3 replies

Part data sheet and CAN bootloader documentation recommend "releasing" PSEN before the end of RESET when using PSEN=0 as the "hardware...

Part data sheet and CAN bootloader documentation recommend "releasing" PSEN before the end of RESET when using PSEN=0 as the "hardware condition" forcing the on chip CAN bootloader to execute. The Atmel Demo board just has a DIP switch to ground to force PSEN=0; it doesn't "release". Even though the Demo board doesn't use PSEN as an output, shorting this pin to ground must not be a g...


how can I burn bootloader into Flash?Thanks

Started by Lee in comp.arch.embedded15 years ago 6 replies

Dear all, If I did the PCB by myself and put all components onto the board by myself, how can I burn bootloader into Flash?JTAG hardware is...

Dear all, If I did the PCB by myself and put all components onto the board by myself, how can I burn bootloader into Flash?JTAG hardware is enough? Thanks,


Atmel mega 16 bootloader q's

Started by Nedward in comp.arch.embedded12 years ago 1 reply

Hi all, new here. i have been looking at getting a bootloader to work. all i want to do at this stage is write something to flash so i know...

Hi all, new here. i have been looking at getting a bootloader to work. all i want to do at this stage is write something to flash so i know it's working and even that isnt working. i got some help from a good friend, who wrote some code for me for his dev board but it was a mega 64. now, that shouldn't really matter, as it had nothing in it that i couldn't use on my 16 other then the registe...


Good Free Bootloader for ATMEGA162 AVR?

Started by Al Borowski in comp.arch.embedded14 years ago 1 reply

Hi all, I'm after a bootloader to install on an ATMEGA162. Ideally it should be royalty-free and build with free tools. I don't really need...

Hi all, I'm after a bootloader to install on an ATMEGA162. Ideally it should be royalty-free and build with free tools. I don't really need encryption. The loader should accept new firmware via RS232. Does anyone have any recommendations? Thanks! Al


bootloader in C

Started by Thomas Baier in comp.arch.embedded15 years ago 15 replies

Hi there, I've got a little problem while working on a bootloader for a C164 microcontroller. The microcontroller gets the data over the...

Hi there, I've got a little problem while working on a bootloader for a C164 microcontroller. The microcontroller gets the data over the serial port. I've already implemented some functions that transmit some vmc and hex files to the controller while there is a OS running on it. But now I'd like to transmit my one bootstrap loader and I've got some problems with the serial communication in...


BIOS vs bootloader

Started by shani in comp.arch.embedded10 years ago 4 replies

Hi I am trying to understand the difference between a BIOS and bootloader from an embedded system's perspective. In particular, the system we...

Hi I am trying to understand the difference between a BIOS and bootloader from an embedded system's perspective. In particular, the system we are designing will have no hard disk and uses a NAND flash as a storage medium. The processor is likely to be an Atom core, running on a WinCE platform. I would appreciate if anybody could provide feedback on the following: 1. I am led to understand B...


SAMM7 + Bootloader

Started by Herbert Demmel in comp.arch.embedded13 years ago 2 replies

Hi everybody, I have 2 questions regarding AT91SAM7S64: (1) Bootloader is the BL in some ROM-area or is it located in FLASH like in Atmel...

Hi everybody, I have 2 questions regarding AT91SAM7S64: (1) Bootloader is the BL in some ROM-area or is it located in FLASH like in Atmel AVR controllers? (2) Selfprogramming of flash is it possible to re-program (part of) the FLASH while some other part of the program is still running (something like continous readout of port pins with communication to a host)? Thanks in advan...


Microchip CAN BUS Bootloader?

Started by DIV_SQRT in comp.arch.embedded13 years ago 1 reply

HI All, Has anybody C codes for an Microchip 18FXXX CAN BUS Bootloader? Thanks in Advance..

HI All, Has anybody C codes for an Microchip 18FXXX CAN BUS Bootloader? Thanks in Advance..


Tiny Bootloader

Started by JohnT in comp.arch.embedded13 years ago 22 replies

Hi All, Has anyone manged to get the tiny bootloader from http://www.etc.ugal.ro/cchiculita/software/picbootloader.htm working? I have a...

Hi All, Has anyone manged to get the tiny bootloader from http://www.etc.ugal.ro/cchiculita/software/picbootloader.htm working? I have a 16F877A with a 4MHz crystal. I modified the frequency in the software and downloaded it with no problem. Running the software it discovers the PIC with no problem. However, I tried to create a simple program in assembler that would turn on all the ...


Temporary call Atmel bootloader

Started by Juergen Loh in comp.arch.embedded15 years ago 6 replies

Hi, I'm using a AT89C51ED2. Sometimes the application needs to start the Atmel ISP bootloader, e.g. to enable re-programming the flash. ...

Hi, I'm using a AT89C51ED2. Sometimes the application needs to start the Atmel ISP bootloader, e.g. to enable re-programming the flash. Normally this is done by the following API procedure: void __api_start_bootloader (void) { __api_wr_BSB (0xFF); __api_wr_SBV (0xFC); // stop application peripherals T2CON=0x00; TL2=0x00; TH2=...


Learning about uCs (ARM7)

Started by Anonymous in comp.arch.embedded14 years ago 1 reply

Hi, I am looking to start learning about ARM uc. I have chosen as a developer platform this...

Hi, I am looking to start learning about ARM uc. I have chosen as a developer platform this board. http://embedinfo.com/English/Product/ax4510.asp The board has a flash loader software on CD and also a bootloader (w/o any Monitor, the bootloader is simple). The board has a 20 pin JTAG connector. Also, I would be using gnu tools. 1. Please suggest any JTAG ICE that is cheap and supp...


booting through NOR flash

Started by paddu in comp.arch.embedded10 years ago 1 reply

Hi, Is it possible to BOOT OMAP_L137 from 16bit NOR Flash? The bootloader document "SPRAB04B" states that "the bootloader configures EMIFA...

Hi, Is it possible to BOOT OMAP_L137 from 16bit NOR Flash? The bootloader document "SPRAB04B" states that "the bootloader configures EMIFA for 8-bit access and reads the first word from the NOR Flash" Does this require a different settings with DSP and Flash for the first 8 bit access? does anybody have documents or application notes for booting OMAP-L137 from NOR Flash and als


Invoke bootloader in ISP mode on LPC2368

Started by maximb in comp.arch.embedded9 years ago 2 replies

Hi, all. My custom board has a LPC2368 installed and runs FreeRTOS. What I am trying to do is to invoke bootloader in ISP mode from...

Hi, all. My custom board has a LPC2368 installed and runs FreeRTOS. What I am trying to do is to invoke bootloader in ISP mode from my application - to allow in-field firmware upgrade, when FlashMagic tool will be used. I referred the NXP appnote AN10356 to get a clue of how to do it. What I changed in the example given by the appnote, is the use of GPIO pin P0.14, since the silicon use...


Atmel AT89c51ed2 isp bootloader - no longer able to sync

Started by Anbeyon in comp.arch.embedded12 years ago 1 reply

Hi I am hoping somone out there may be able to point me in the right direction !! I have a board that has two AT89C51ED2's fitted to it. One...

Hi I am hoping somone out there may be able to point me in the right direction !! I have a board that has two AT89C51ED2's fitted to it. One is the 68pin plcc version (main) and the other the 44 pin plcc version (Slave). Also, I have written an application for a PC so that I can program both chips using the ISP bootloader. We can't use the ATMEL FLIP programer. The hardware is arra...


Creating multiple images (Boot & App) in a project (IDE: CCS/IAR/CrossWorks) ?

Started by an_anth in comp.arch.embedded4 years ago 7 replies

Hi, I am trying to create a Bootloader for MSP430F1611. Basically I want to separate Bootloader and Application images so that I can upgrade...

Hi, I am trying to create a Bootloader for MSP430F1611. Basically I want to separate Bootloader and Application images so that I can upgrade the Application image on demand. After reading through manuals, I only managed to understand how Code segments can be placed at any desired locations in the memory. However, I didn't find any information on creating two images meant to be placed at differe...


DES bootloader from atmel app note occasional corruption

Started by SioL in comp.arch.embedded14 years ago 3 replies

I've been using DES bootloader from atmel app note for a while. The problem is that occasionally my mega8 locks up. It will still accept and...

I've been using DES bootloader from atmel app note for a while. The problem is that occasionally my mega8 locks up. It will still accept and complete upgrade, but the application will simply not run any more. I have to re-program the boot loader to make it work again. Does anyone have experience with this kind of behaviour? Someone on avrfreaks hinted that there was a problem and linked...


Bootrom & Bootloader of OMAP 5912

Started by karthikbg in comp.arch.embedded13 years ago 1 reply

Hi, I am looking into an issue w.r.t Bootrom & bootloader of OMAP 5912. Unable to get any document/pdf for it it via Google. Kindly provide...

Hi, I am looking into an issue w.r.t Bootrom & bootloader of OMAP 5912. Unable to get any document/pdf for it it via Google. Kindly provide me with a link/pdf for Bootrom of OMAP 5912. Tonnes of Thx in advans, Karthik Balaguru


Linux and remap on ARM platforms

Started by Mark in comp.arch.embedded11 years ago

Hello I'm porting bootloader on ARM9-based board. This bootloader will eventually boot Linux; I'm curious does the kernel do remapping on ARM...

Hello I'm porting bootloader on ARM9-based board. This bootloader will eventually boot Linux; I'm curious does the kernel do remapping on ARM platforms, i.e. is it mandatory to place RAM at 0x0 to make kernel able to boot up? If it is so, then I don't need to worry about remapping in bootcode at all. Thanks. -- Mark