BootLoader and application code location suggestions?

Started by bobtransformer in LPC200012 years ago 10 replies

OK, I've got bootloader/IAP code for the user to update the main application code. (IAR EWARM, LPC2144) I am wondering if there is a good...

OK, I've got bootloader/IAP code for the user to update the main application code. (IAR EWARM, LPC2144) I am wondering if there is a good reason to put the bootloader in one place in memory vs. another spot in memory... i.e. top or bottom ?? I could locate the code protected bootloader (and INTVECtors) at 000000 and during a normal boot, pass execution to the application code at, sa...


Serial Bootloader code

Started by ostehaps01 in LPC200010 years ago 5 replies

Hallo Is there any available serial bootloader I could use? Im making my own custom bootloader, because I need to implement a custom...

Hallo Is there any available serial bootloader I could use? Im making my own custom bootloader, because I need to implement a custom protocol. So I cant use the ISP. Is there any sample out there I could use as a starting point? Is there some where I can bye one? Thomas ------------------------------------


LPC2292 Bootloader maximal autobaudrate?

Started by alipowsky in LPC200012 years ago 5 replies

I understood, that the LPC2292 bootloader autodetects the Baudrate of the connected terminal. Does anybody has some info, how this is done in...

I understood, that the LPC2292 bootloader autodetects the Baudrate of the connected terminal. Does anybody has some info, how this is done in details, and which is the maximum available baudrate, which can be detected by the bootloader. My system runs on a 10 MHz xtal. Thanks Andreas


LPC2478 or LPC 2468 Bootloader Options / Questions

Started by robinsm123 in LPC200010 years ago 1 reply

I'm thinking of getting a developement board for either LPC2478 or LPC 2468. I just have a few questions regarding a bootloader. 1. Is it...

I'm thinking of getting a developement board for either LPC2478 or LPC 2468. I just have a few questions regarding a bootloader. 1. Is it possible to completely remove the Phillips boot loader and just use my own? 2. If not, Do I have to jump to sections of the phillips bootloader in order to write to flash, or can my bootloader be completely independant? 3. What are some good refer...


Re: Bootloader initializations ?

Started by aust...@boardsailor.com in LPC200012 years ago

I have been trying to get my LPC2294 eval board from Olimex working with interrupts, and I am having quite a bit of trouble. Could I see some...

I have been trying to get my LPC2294 eval board from Olimex working with interrupts, and I am having quite a bit of trouble. Could I see some code that would reset the vector mapping in the main function after the bootloader has had a chance to mess it up? I believe that that the bootloader changing the vector table is my biggest problem. I can get the processor to produce an interrupt when UAR...


Bootloader update for LPC211x/22xx

Started by xray450 in LPC200013 years ago

Hi! I have some older prototyping boards with LPC2292 (bootloader 1.63). Recently I received some new units from our manufacturer. Those LPCs...

Hi! I have some older prototyping boards with LPC2292 (bootloader 1.63). Recently I received some new units from our manufacturer. Those LPCs already contain bootloader 1.64. Is there any newer update than that I found on philips' website, which is somewhat old (July 2004)? greets Rainer


LPC2013 UART1 bootloader

Started by Hanns Tappeiner in LPC200010 years ago

Hi, for several reasons I need a boot loader which talks to UART1 and also uses a diferent protocol than the LPC2103 bootloader sitting in...

Hi, for several reasons I need a boot loader which talks to UART1 and also uses a diferent protocol than the LPC2103 bootloader sitting in ROM. Does anyone have an example of a secondary bootloader for the LPC2103, which can program the rest of the controllers flash? Or is there a reason why that woudlnt work? Thanks alot, Tappo ------------------------------------


Bootloader tips - cont'd

Started by Sutton Mehaffey in LPC20009 years ago 15 replies

As I'm debugging my secondary bootloader for LPC2148, is there a mechanism in Keil that will tell me if I'm executing code that is not in 'my...

As I'm debugging my secondary bootloader for LPC2148, is there a mechanism in Keil that will tell me if I'm executing code that is not in 'my bootloader sector'? I'm trying to make sure ALL my routines needed to load the SD card into the CPU Flash are contained in my bootload sector. Also, what is the command to do a software reset? Isn't it something like asm("ljmp 0")? I can't find...


Problem getting out of built-in bootloader

Started by acetoel in LPC20009 years ago 18 replies

Hello, I have two LPC2138, I'm using a MAX2323 for programming them using FlashMagic with the built-in bootloader. I can program them without...

Hello, I have two LPC2138, I'm using a MAX2323 for programming them using FlashMagic with the built-in bootloader. I can program them without errors, and at any baudrate, they are programmed very well. But I cannot exit the bootloader. Even If I put P0.14 to VCC using a 10KOhm (or 22KOhm) resistor, and "press" reset several times. If then I go to FlashMagic and read the Device signature, it is ...


customized bootloader for lpc2148

Started by mynk...@yahoo.com in LPC20008 years ago 1 reply

I am working with LPC2148 and trying to design a customized bootloader. The issue is i am having problem understanding the memory remapping...

I am working with LPC2148 and trying to design a customized bootloader. The issue is i am having problem understanding the memory remapping thing. can anyone suggest me a good reference.. If anyone has tried customizing bootloader for LPC2148, please share source code or some sample codes that could help me. ------------------------------------


Bootloader caution

Started by Felipe de Andrade Neves Lavratti in LPC20005 years ago 2 replies

Hello! I'd like to report to the group a seemingly common and dangerous problem I've found when using a bootloader (badly configured) at the...

Hello! I'd like to report to the group a seemingly common and dangerous problem I've found when using a bootloader (badly configured) at the lpc2000 family. What happens is that the bootloader calls the main firmware after setting up the stack pointers for each mode which includes leaving the supervisor mode. Once this mode is left, the stacks will never be able to be reset again. In...


bootloader not trashed

Started by dodge1955 in LPC200013 years ago

Thanks to the Philips_apps team for responding to my 'trashed bootloader' post. It turns out the my WD was not refreshed fast enough at...

Thanks to the Philips_apps team for responding to my 'trashed bootloader' post. It turns out the my WD was not refreshed fast enough at startup, which caused the lockup. And, the P0.14 low while powering back on the board unlocked it without me having to go to Procomm. Therefore, no trashed bootloader, but user error.....


call bootloader in lpc2148

Started by thonguyen02 in LPC200010 years ago 2 replies

hi, I use usb bootloader for lpc214x which I download...

hi, I use usb bootloader for lpc214x which I download from http://www.standardics.nxp.com/support/documents/microcontrollers/zip/an10711.zip This bootloader store at address 0x0 - 0x2000 and user application at 0x2000- ... Inside my user application I want to call the bootloader by: typedef void (*GO)(void); go_entry = (GO) (start_adr); go_entry(); But it did not work. Can anyone s...


Bootloader initializations ?

Started by Gromann, Klaus in LPC200013 years ago 1 reply

Hi all, does anyone know which parts of the LPC2294 are initialized by the internal bootloader? I have strange differences when I start...

Hi all, does anyone know which parts of the LPC2294 are initialized by the internal bootloader? I have strange differences when I start with HW reset (includes the internal bootloader) and when I start my software from the debugger. Differences are : - timer speed is different - I have to do a vector remapping at the beginnig of the main


Q: Bootloader over RS-485 / Modify bootloader?

Started by ateichtmann in LPC200014 years ago

Hi, i want to update my application with the bootloader of the LPC2106 over a RS-485 bus. Unfortunately, it is only a...

Hi, i want to update my application with the bootloader of the LPC2106 over a RS-485 bus. Unfortunately, it is only a half-duplex bus and the RS-485 driver-ic has to be switched between rx and tx. So my questions: Does the ISP programs (Philips, other...) and the


LPC2129 bootloader 1.70 problems?

Started by Frank Fugledal - MicroNor in LPC20008 years ago

Hello, I have got a new batch of PCB where we are using the LPC2129/01 microcontroller. But after loading our application by ISP, the...

Hello, I have got a new batch of PCB where we are using the LPC2129/01 microcontroller. But after loading our application by ISP, the application is not starting. I noticed that the version of the bootloader has changed to 1.70. On previous batches of same product, the bootloader has been 1.68, and this has been working fine. Anyone else who has had problems with this 1.70 verion of boot...


USB programming bootloader

Started by CeDeROM in LPC200011 years ago 4 replies

Hello! I have read about many great bootloaders that users of this group have created. I will have to use or write my own bootloader that will...

Hello! I have read about many great bootloaders that users of this group have created. I will have to use or write my own bootloader that will allow to make firmware upgrade via USB. Is there any open standard of such protocol, to program via USB? Maybe someone have this bootloader already written, or documents how it works? Greetings! Tomek -- CeDeROM, http://www.tomek.cedro.info ...


How to change bootloader for LPC2138 ?

Started by r_bottleneck in LPC200013 years ago 3 replies

Hello, I think the problems I posted recently regarding JTAG problems of the LPC2138 mask A and B, are caused by the bootloader. The mask A...

Hello, I think the problems I posted recently regarding JTAG problems of the LPC2138 mask A and B, are caused by the bootloader. The mask A device has version 2.00 , the mask B device has 2.11 (B works perfectly). How can I change the bootloader in the mask A device ? I didn't find a tool which allows to change the bootloader for the LPC2138. For other members of the LPC21xx family there a


Bootloader on LPC2294

Started by elta...@gmail.com in LPC200011 years ago 1 reply

Dears, It is my first time in RTOS world i am try to load uClinux on my development board (LPC-E2294) the problem that faced me that i can't load...

Dears, It is my first time in RTOS world i am try to load uClinux on my development board (LPC-E2294) the problem that faced me that i can't load any bootloader on my board , i tried to load (u-boot & blob) but 2 solution was failed Which bootloader that can i use ? and how to load it in my board? Thanks in advance Tanahy


Secondary Bootloader Jump

Started by asvi...@yahoo.co.in in LPC20009 years ago 12 replies

Hello, I had question related to program startup. I am using LPC2106, when I press reset, Primary bootloader get called. Then my...

Hello, I had question related to program startup. I am using LPC2106, when I press reset, Primary bootloader get called. Then my secondary bootloader comes in picture. It will download the hex file from UART and burn the flash. Now I need to call new application. Whether I jump to main function of new downloaded code or to cstartup function. Thanks