EmbeddedRelated.com

Secondary Bootloader Jump

Started by asvi...@yahoo.co.in in LPC200015 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


Second Stage bootloader

Started by drproton2003 in LPC200017 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...


LPC2138 Bootloader

Started by thos_fernando in LPC200016 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...


LPC23xx : Re-config of UART1 is not working

Started by nourson54 in LPC200016 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...


an10711 USB Bootloader

Started by eremitic193 in LPC200016 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...


LPC2138 Bootloader Issue

Started by tah2k in LPC200018 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 LPC200017 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 LPC200019 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


USB Bootloader for internal and external flash memory. LPC2478

Started by eremitic193 in LPC200015 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 LPC200017 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 ...


LPC2387 USB Host / bootloader

Started by Thom...@lnt-automation.de in LPC200015 years ago 1 reply

Hello, I want to write a bootloader to update my aplication via usb stick. Is there any reference, example, code or even a link? Can't find...

Hello, I want to write a bootloader to update my aplication via usb stick. Is there any reference, example, code or even a link? Can't find something about bootloader for LPC2387. And especially not for usb host?!? Additionaly I'm a little bit confused: In the docs for the LPC2387 (LPC2387_3.pdf from oct.08) I can read: "The LPC2387 USB interface includes a device, Host, and OTG Controlle...


Secondary bootloader - code won't execute

Started by ajellisuk in LPC200015 years ago 12 replies

Hi I'm trying to implement a secondary bootloader. I have examined the application note AN10711_2 provided on NXPs website, and I...

Hi I'm trying to implement a secondary bootloader. I have examined the application note AN10711_2 provided on NXPs website, and I can sucessfully copy an executable from external flash memory device to the internal flash memory in the processor. However I cannot get the code to execute. My code to try an execute the user code from the bootloader is: void (*user_code_entry)(void); ...


Crossworks and the "LPC1700 secondary USB bootloader"

Started by normnet2003 in LPC200013 years ago 5 replies

Re-post of dead thread. Where would I find the interface to the "LPC1700 secondary USB bootloader" in Crossworks? I have Blinky.c compiling...

Re-post of dead thread. Where would I find the interface to the "LPC1700 secondary USB bootloader" in Crossworks? I have Blinky.c compiling and building. I have read the bootloader pdf found at: http://www.nxp.com/documents/application_note/AN10866.pdf I have my "Blueboard LPC1768" pulled low on reset on both pins P2.12 and P1.2 to enter secondary bootload mode. Both pins are pulled...


Switch to bootloader (ISP mode) on LPC2368

Started by "Jorge S." in LPC200016 years ago 3 replies

Hi all, Is there any example on how to switch to bootloader from user code on the LPC2368? Googling around i've only found some examples...

Hi all, Is there any example on how to switch to bootloader from user code on the LPC2368? Googling around i've only found some examples for the LPC21xx family. Thanks in advance, Regards, Jorge. ------------------------------------


interface to the "LPC1700 secondary USB bootloader"

Started by normnet2003 in LPC200013 years ago 9 replies

Where would I find the interface to the "LPC1700 secondary USB bootloader" in Crossworks? I have Blinky.c compiling and building. I have...

Where would I find the interface to the "LPC1700 secondary USB bootloader" in Crossworks? I have Blinky.c compiling and building. I have read the bootloader pdf found at: http://www.nxp.com/documents/application_note/AN10866.pdf I have my "Blueboard LPC1768" pulled low on reset on both pins P2.12 and P1.2 to enter secondary bootload mode. Both pins are pulled low as they both are refer...


Programming external Flash with bootloader LPC2290 and LPC2294

Started by gfaurie1 in LPC200019 years ago 1 reply

Hi, I 'd like to know if it's possible to program an external flash on CS0 with the integrated bootloader on UART0. The bootloader...

Hi, I 'd like to know if it's possible to program an external flash on CS0 with the integrated bootloader on UART0. The bootloader commands give the possibity to copy on-chip-RAM to on- chip FLASH in LPC2294. Is it possible to copy on external FLASH? because LPC2290 haven't on chip memory does any-body have already programed external


LPC11Cxx CAN bootloader utility

Started by Kevin in LPC200012 years ago 4 replies

Hello, Can anyone point me at a PC utility to program the LPC11Cxx parts via CAN (and optionally UART) using the built-in ISP...

Hello, Can anyone point me at a PC utility to program the LPC11Cxx parts via CAN (and optionally UART) using the built-in ISP bootloader? Only the CAN port is accessible in my hardware, so I would like to be able to use this as a fallback if the device somehow gets bricked during IAP. Thanks, Kevin. ------------------------------------


FreeRTOS + SFE Logomatic (LPC2148 based, running USB bootloader) with demo code for Rowley's Crosswork and Winarm

Started by Jean-Sebastien Stoezel in LPC200014 years ago 3 replies

Hello, A few weeks ago I asked the list whether or not anybody had attempted to run freeRTOS on SFE's logomatic V2 board. This is an LPC2148...

Hello, A few weeks ago I asked the list whether or not anybody had attempted to run freeRTOS on SFE's logomatic V2 board. This is an LPC2148 based data logging board, running an USB bootloader. I was having troubles getting the application code and interrupts relocated in flash, to take advantage of the USB bootloader. I eventually got the combination to work (with lots of help from Rowle...


Writing your own Bootloader - tips needed

Started by Sutton Mehaffey in LPC200015 years ago 12 replies

I have never written my own bootloader, but I've just about finished writing all the code I need. I need to make sure I'm not missing anything. ...

I have never written my own bootloader, but I've just about finished writing all the code I need. I need to make sure I'm not missing anything. So, any tips from others who have done this is greatly appreciated. My application is for a 'dumb' user to be able to upload new firmware via SD card to a LPC2148 as new features to our product become available. I have an intermediary serial flash th...


Re: Trashing bootloader [was: LPC2148 identifyed as a LPC2138 ?]

Started by Stuart Wallace in LPC200018 years ago 2 replies

Hi, I'm interested to know exactly how you and your students have managed to trash the bootloader on LPC devices. Please don't read...

Hi, I'm interested to know exactly how you and your students have managed to trash the bootloader on LPC devices. Please don't read this as meaning that I'm denying that you've done it, or suggesting that it involves extraordinary effort -- I'm simply interested, as it sounds like you've managed to do it more than once. Apologies if it's all bee