CTL (tasks) + bootloader

Started by Jakub Szumacher in LPC20009 years ago 4 replies

Hello, I'm using LPC2366 on CrossStudio with CTL library. When program (with threads, using ctl) is placed at the begining of memory...

Hello, I'm using LPC2366 on CrossStudio with CTL library. When program (with threads, using ctl) is placed at the begining of memory everything works fine. However, I must use bootloader so I've moved program by modify MemoryMap file. I've placed empty program at the beginig (something like while(1); - only for test, planing place bootloader there) and placed my program over 0x4000 adress. Now...


new LPC2103 board bootloader problem

Started by Richard Wimmer in LPC200012 years ago

Hello, A new and blank LPC2103 chip is on my new board. I use the IAR with the jLink debugger. For the bootloader I used the given example...

Hello, A new and blank LPC2103 chip is on my new board. I use the IAR with the jLink debugger. For the bootloader I used the given example IAR_LPC210xRomMon. I can step with the JTAG through a simple LED toggle program, but I don't see any output. What is a correct bootloader for the IAR tool on LPC2103? Thanks for the help in advance. ..richard Yahoo! Groups Links


Second Stage bootloader

Started by drproton2003 in LPC200011 years ago 3 replies

Hello everyone, In the past few days I've been doing some research on bootloaders for the LPC. I think that for my application the most...

Hello everyone, In the past few days I've been doing some research on bootloaders for the LPC. I think that for my application the most effective approach would be to use a "second-stage" bootloader that can be executed from the main program. My basic idea is this: The main bootloader code would reside in flash near the top end. In this way the code in the lower region of flash can be...


Simple IAP bootloader

Started by ostehaps01 in LPC20009 years ago 1 reply

Hi Im about to implement a bootloader for my LPS2103 device. The firmware is send with RS232 communication. I have thought of this...

Hi Im about to implement a bootloader for my LPS2103 device. The firmware is send with RS232 communication. I have thought of this implementation. 1. On request (via the RS232) the application calls a IAP bootloader function wich is located in RAM 2. This function disable all interrupt 3. Then the function waits for data on UART0 4. When 4 kB is received (I have 4 kB sectors), the ...


LPC2138 Bootloader

Started by thos_fernando in LPC200010 years ago 2 replies

Hello , I was testing out H-JTAG on my LPC2138 system, and loaded one of my working hex files using H-JTAG. I think I must have over written...

Hello , I was testing out H-JTAG on my LPC2138 system, and loaded one of my working hex files using H-JTAG. I think I must have over written the Philips bootloader in the process.Now I cannot flash using the WinARM or philips ISP tool. Is it possible to get the bootloader going again ? I read one thread of klemen_dovrtel on this issue which ended abruptly. Are the bootimage files uploade...


Does SDRAM contents survive a reboot ???

Started by Herbert Demmel in LPC200010 years ago 2 replies

Hi, we use a secondary bootloader ( < 16kB size, executing in RAM) for updating the application itself. As we now will switch to a LPC24xx...

Hi, we use a secondary bootloader ( < 16kB size, executing in RAM) for updating the application itself. As we now will switch to a LPC24xx chip, we want to be able to update the app via e.g. TCP/IP as well. To avoid becoming the bootloader larger and larger, we would like to copy the new application to the SDRAM (via the app itself) and let the bootloader make it's job then by program


LPC23xx : Re-config of UART1 is not working

Started by nourson54 in LPC200010 years ago 5 replies

Hi, I made a SDCard bootloader that works well . But if I activate the UART1 in the bootloader to print some debug informations AND my...

Hi, I made a SDCard bootloader that works well . But if I activate the UART1 in the bootloader to print some debug informations AND my application firmware use the UART1, the firmware is blocking ... After some debug , it seems the second configuration of the UART1 (firt is when used in the bootloader) doesn't work. In fact the baud registers are 0 and the LPC blocks when transmitting a...


Placing variable at known location

Started by drproton2003 in LPC20008 years ago 6 replies

Hello everyone, I would like to know how I can place a string at a fixed location in flash. In my application the bootloader resides from...

Hello everyone, I would like to know how I can place a string at a fixed location in flash. In my application the bootloader resides from 0x0000 to 0x8000 in the LPC2366. I have a few hundred bytes left for the bootloader so I would like to place a string containing the bootloader version at 0x7FF0 or so. The main program could then set a pointer to that fixed address and read back the bootl...


Further issues with bootloader

Started by ajellisuk in LPC20009 years ago 1 reply

Hi, A few weeks ago I placed a couple of posts about issues wimth implementing a secondary bootloader. I'm pleased to say that they are now...

Hi, A few weeks ago I placed a couple of posts about issues wimth implementing a secondary bootloader. I'm pleased to say that they are now fully resolved. Is it possible to jump from the main application code back to the bootloader code? And if so how do I do it? I want to do this as a way of implementing a self reset, or is the a better way of implementing a self reset? Thanks Andrew...


Re: What-R-Others-Doing? Sharing/Re-Using USB driver located in BootLoader

Started by Robert Adsett in LPC200010 years ago

At 11:52 PM 9/23/2007 +0000, bobtransformer wrote: > OK, So my bootloader is working via USB (Thank you Bertrik !!!) > And I can run my...

At 11:52 PM 9/23/2007 +0000, bobtransformer wrote: > OK, So my bootloader is working via USB (Thank you Bertrik !!!) > And I can run my application code by jumping to it. > > I would like to re-use this USB driver resource in my main > application, located just above the bootloader which starts > at 0000000000.... I can specify segments/sections so > they stay the same, but what else do I


LPC2294 - Bootloader by CAN interface

Started by "alessandro.berinucci" in LPC20008 years ago 2 replies

Hi, I'd like to know if is possible to do the bootloader by CAN inteface. I'd like to copy a firmware in the on chip Flash by CAN inerface...

Hi, I'd like to know if is possible to do the bootloader by CAN inteface. I'd like to copy a firmware in the on chip Flash by CAN inerface with another processor. Is this possible? Tank in advance, Alessandro. ------------------------------------


What-R-Others-Doing? Sharing/Re-Using USB driver located in BootLoader

Started by bobtransformer in LPC200010 years ago

OK, So my bootloader is working via USB (Thank you Bertrik !!!) And I can run my application code by jumping to it. I would like to re-use...

OK, So my bootloader is working via USB (Thank you Bertrik !!!) And I can run my application code by jumping to it. I would like to re-use this USB driver resource in my main application, located just above the bootloader which starts at 0000000000.... I can specify segments/sections so they stay the same, but what else do I have to deal with ?? IAR EWARM 4.42a LPC2144 I delete ...


an10711 USB Bootloader

Started by eremitic193 in LPC20009 years ago 2 replies

Hello, I am trying to get an10711 bootloader working on MCB2140 for my application. I am linking my application at 0x00002000 and my...

Hello, I am trying to get an10711 bootloader working on MCB2140 for my application. I am linking my application at 0x00002000 and my bootloader is at 0x00000000-0x00002000. My application downloads correctly and starts to run in my main function but stops when it hits os_sys_init function for RTX. At which point it goes to assembly sitting on: 0x00000040 EAFFFFFE B 0x00...


Bootloader start help

Started by in LPC200010 years ago 6 replies

Hello, I am starting to write a bootloader for my application using IAP=20 commands. Any help (source code, docs...) will be of...

Hello, I am starting to write a bootloader for my application using IAP=20 commands. Any help (source code, docs...) will be of interest. Thanks in Advance, Andr=E9 Moutinho =20 =20


LPC2138 Bootloader Issue

Started by tah2k in LPC200012 years ago 6 replies

Hi All- I'm currently experiencing a very frustrating issue with the LPC2138 bootloader. I can successfully and reliably use the Philips...

Hi All- I'm currently experiencing a very frustrating issue with the LPC2138 bootloader. I can successfully and reliably use the Philips flash utility to download an image to a blank LPC2138 once and only once. After that, the flash utility is never able to communicate with the LPC2138. I have been monitoring the recent bootloader thread that was resolved by manipulating the watchdog


LPC2138 will not come out of bootloader mode

Started by kennytrussell in LPC200011 years ago 3 replies

I have a board containing an LPC2138. I cannot get the chip to come out of bootloader mode or at least that is what I think is happening. I...

I have a board containing an LPC2138. I cannot get the chip to come out of bootloader mode or at least that is what I think is happening. I can load programs with no errors through a Keil ULINK but when I go into debug, the code I see starting at address 0 is not my code but instead is a mirror of the bootloader. I can also use the LPC2000 Flash Utility to load the chip, examine the buf...


Half Duplex Bootloader Firmware

Started by mhoneywill in LPC200012 years ago 1 reply

Hello, Does anyone know if it is possible to modify the philips bootloader code for the LPC chips to allow the bootloader to work in a...

Hello, Does anyone know if it is possible to modify the philips bootloader code for the LPC chips to allow the bootloader to work in a half duplex RS485 mode? I am building a board who's primary form of communication will be a 2Wire half duplex RS485 link. To upload new firware at the PC end I can easily use an RS232 to RS485 converter that ha


Strange behaviour of bootloader

Started by Herbert Demmel in LPC200011 years ago 2 replies

Hi,, I've a very strange behaviour of the bootloader (LPC2148): * I can download a program via ULINK from Keil * I can run the ISP routines...

Hi,, I've a very strange behaviour of the bootloader (LPC2148): * I can download a program via ULINK from Keil * I can run the ISP routines via my program and they do what I expect from them * I can not enter the bootloader anymore (either via the Philips flash utility or via Flash Magic) Obviously pin P0.14 is not scanned anymore at startup (yes, I have checked that it is applied) ...


USB Bootloader for internal and external flash memory. LPC2478

Started by eremitic193 in LPC20008 years ago 4 replies

Hello I have implimented a USB Bootloader based on NXP AN10764. I am attempting to expand this bootloader to flash an application into internal...

Hello I have implimented a USB Bootloader based on NXP AN10764. I am attempting to expand this bootloader to flash an application into internal and external flash memory. I am using an LPC2478 cpu and Spansion S29GL128N Flash memory. I have an application for my device which does use the external and internal flash. (But does not use the Bootloader) So I have verified that my hardware functions...


Bootloader for LPC2210 and LPC2294

Started by Ori Idan in LPC200011 years ago 1 reply

I am writing a software to program our external flash using the resident bootloader. The PC side is working and I can use any of the resident...

I am writing a software to program our external flash using the resident bootloader. The PC side is working and I can use any of the resident bootloader command (W command not tested) I need the LPC program side. However I have no idea how to make it. I found several software examples on the net but non of them could compile and run under Linux. Can someone point me to a software ...