EmbeddedRelated.com
Memfault Beyond the Launch

Bootloader doubts

Started by in LPC200016 years ago 2 replies

Hello, I am starting to develop a bootloader for the LPC 2366 processor. The=20 IDE is the KEIL RealView. The bootloader framework is: 1)...

Hello, I am starting to develop a bootloader for the LPC 2366 processor. The=20 IDE is the KEIL RealView. The bootloader framework is: 1) Place the bootloader code on a proctected area at sector 0 of the=20 ARM flash. The bootloader (main()) will always run after a reset=20 interrupt. 2) Use the VIC and remap IRQ/FIQ ISR address at bootloader and=20 firmware startup. 3) The firmwa...


LPC2000 startup code - bootloader

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

Hello, I have an LPC2148 board that comes preloaded with a USB bootloader. The bootloader checks if a binary file is located on a uSD card,...

Hello, I have an LPC2148 board that comes preloaded with a USB bootloader. The bootloader checks if a binary file is located on a uSD card, and if the file exists, it burns its content to flash. If no file exists, the bootloader invokes the user application at address 0x10000 in flash. For those familiar with it, this is the SFE USB bootloader. This bootloader works great and I have been a...


USB Bootloader problems - Bootloader from Flash

Started by a6o4o in LPC200017 years ago 3 replies

Hi A buddy of mine is using an LPC2148. He is using USB and is trying since days to implement an USB bootloader but with no success. His...

Hi A buddy of mine is using an LPC2148. He is using USB and is trying since days to implement an USB bootloader but with no success. His bootloader is on the Flash, NOT the RAM. He is using the IAP function to start the bootloader. This seems to work so far. He can delete sectors BUT as soon as he wants to write to the Flash the Flash is unlocked and he can't write to it. Is the reaso...


LPC2000 bootloader

Started by drproton2003 in LPC200017 years ago 14 replies

Hello everyone, I'm working on a project for which we will need a bootloader for the LPC2368 and possibly the LPC214X. The on-chip bootloader...

Hello everyone, I'm working on a project for which we will need a bootloader for the LPC2368 and possibly the LPC214X. The on-chip bootloader is insufficient in a few ways: requires jumper and reset to enter bootloader mode (not a big deal) Flash magic/philips ISP utility will probably confuse many customers Code is highly sensitive, we need a way to use encrypted files. Can someone ...


Crossworks linker offset (Bootloader).

Started by theborg2006 in LPC200018 years ago 4 replies

Hello Group I am using the LPC2214, where i would like to have my own bootloader=20 (Second stage, not erasing the philips bootloder). What...

Hello Group I am using the LPC2214, where i would like to have my own bootloader=20 (Second stage, not erasing the philips bootloder). What i want to do is: 0x00000000 - 0x00003FFF: My bootloader 0x00004000 - 0x0007FFFF: My Application. I guees there should be no problem with the bootloader, but how to a=20 setup the Crossworks compiler to link to start adresss 0x00004000 for=20 the ...


FreeRTOS and Bootloader

Started by "Alvarez, Daniel" in LPC200015 years ago 8 replies

Hello: I'm using an USB Bootloader and want to run a FreeRTOS application which works standalone (with no bootloader in flash). However, if I...

Hello: I'm using an USB Bootloader and want to run a FreeRTOS application which works standalone (with no bootloader in flash). However, if I burn the bootloader onto my LPC2148 and then load the FreeRTOS app (linked in the starting address 0x2000) it will eventually provoke a Data Abort exception. I tried to trace it with the JTAG but I think that I might be breaking the normal behavio...


corrupted bootloader LPC2103

Started by mkoniarz in LPC200017 years ago 3 replies

Hi all!. I think that my chip has corrupted bootloader. I programmed it several times, but now it only can be programmed via JTAG, Philips...

Hi all!. I think that my chip has corrupted bootloader. I programmed it several times, but now it only can be programmed via JTAG, Philips flash utility says: "cannot communicate with test board". Is any way to upgrade or fix bootloader? I found on net bootloader hex file for 2104, but no for LPC2103. Thanks in advance. Mariusz


Bootloader problems on LPC175x

Started by Tim Mitchell in LPC200013 years ago 11 replies

I am trying to create a bootloader on an LPC1754 using the IAP commands. I have placed my bootloader code at 0x00000400 with the main code...

I am trying to create a bootloader on an LPC1754 using the IAP commands. I have placed my bootloader code at 0x00000400 with the main code starting at 0x00002000. The bootloader cannot change any flash below 0x00002000. I can get the flash to program and verify correctly, however when the device is restarted it doesn't run. I think this may be something to do with the valid code signature i...


LPC2470 BOOTLOADER

Started by "dan.bendavid" in LPC200014 years ago 2 replies

Hi, I'm trying to use the LPC2470 bootloader and from reading the user manual it said that "the data stream is in UU-encode format". I don't...

Hi, I'm trying to use the LPC2470 bootloader and from reading the user manual it said that "the data stream is in UU-encode format". I don't really know what it means but my question is if I write to the bootloader ASCII codes will it be ok? If someone has an example code it will be great. Thanks. Dan. ------------------------------------


Bootloader not always invoked after reset with P0.14 low

Started by Guillermo Prandi in LPC200018 years ago 23 replies

Hi, I wonder if anyone has seen this before. While developing the firmware for my LPC2138-featured board, I noticed that the bootloader is...

Hi, I wonder if anyone has seen this before. While developing the firmware for my LPC2138-featured board, I noticed that the bootloader is not always invoked after a reset with P0.14 low. Even when the bootloader is not invoked, the device still responds to reset. I tested with the Philips bootloader utility, which, measured at the reset and P0.14 pins, gives me: 1) At T+0, P0.14


LPC CAN bootloader

Started by ualbe in LPC200018 years ago 2 replies

Dear LPC group, has someone any experience on LPC bootloader? On my application I'd develop a CAN bootloader on LPC2194. Is it possible? ...

Dear LPC group, has someone any experience on LPC bootloader? On my application I'd develop a CAN bootloader on LPC2194. Is it possible? thanks in advance. Alberto Uebrtelli


BootLoader and application code location suggestions?

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


Problem getting out of built-in bootloader

Started by acetoel in LPC200014 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 ...


call bootloader in lpc2148

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


USB programming bootloader

Started by CeDeROM in LPC200016 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 LPC200018 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 LPC200017 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



Memfault Beyond the Launch