EmbeddedRelated.com

Software reset

Started by Moses McKnight in LPC200012 years ago 5 replies

Hi, Is there a way to do a software reset in the LPC17xx chips? I wrote a USB bootloader and I would like a way to enter the bootloader from...

Hi, Is there a way to do a software reset in the LPC17xx chips? I wrote a USB bootloader and I would like a way to enter the bootloader from the main firmware without the user having to manually do something on the board. I guess one option might be to simply reset the program counter back to 0x00? Thanks, Moses ------------------------------------


Help for USB Secondary ISP Bootloader for lpc2148

Started by thonguyen02 in LPC200013 years ago 3 replies

Hi, I download the USB Secondary ISP Bootloader example for LPC2148 to use for Keil MCB2140 board...

Hi, I download the USB Secondary ISP Bootloader example for LPC2148 to use for Keil MCB2140 board at http://www.standardics.nxp.com/support/documents/microcontrollers/zip/an10711.zip The bootloader works as an USB Mass Storage to upload the user application into flash by copy and replace the firmware.bin. It works fine on window PC when I copy my binary file to replace firmware.bin. Aft...


lpc213x bootloader / FW upgrade sample code?

Started by jaybrinkmeyer in LPC200018 years ago 6 replies

Can someone point me at sample /open source code for lpc213x bootloader that branches to FW update or normal C main at startup? I found lots of...

Can someone point me at sample /open source code for lpc213x bootloader that branches to FW update or normal C main at startup? I found lots of discussion in the archives, but no example code. Thanks, Jay


USB Bootloader - MCB2140 - LPC2148

Started by forumjnky in LPC200017 years ago 16 replies

Does anybody know if there's any existing USB Bootloader for LPC2148 devices or similar to it? Basically, I want to download/update firmware...

Does anybody know if there's any existing USB Bootloader for LPC2148 devices or similar to it? Basically, I want to download/update firmware via USB instead of ISP or JTAG. I already tried TNKernel "Firmware Upgrader", but didn't work as expected. Any help is much appreciated. Thanks in advance.


LPC2220 - Bootloader and Application

Started by wiosna_grosella in LPC200015 years ago 1 reply

Hello, I am so newbie in this world, that I have read many post related to bootloader and I have an idea about how to solve my problem but I do...

Hello, I am so newbie in this world, that I have read many post related to bootloader and I have an idea about how to solve my problem but I do not have clear how to implement it. I am using a LPC2220, Keil compiler and a JTAG. I have the program "Mybootloader" at 0x80000000. This program at certain time jumps to another program "Application", which is at 0x80010000. Both are independent, an...


Moving from flash based to flashless chips?

Started by kermitvi2 in LPC200016 years ago

Hello, I am just starting work on an LPC2468 based board and wanted to know how I could best develop for a future flashless design. I want...

Hello, I am just starting work on an LPC2468 based board and wanted to know how I could best develop for a future flashless design. I want to use the 2460 when I go to my end system. I realize that the onboard bootloader will behave different because of this. So on my internal flash if I had a secondary bootloader that jumped to my external memory bank1, would this mirror the effect ...


Virtual com port bootloader on Olime LPC2148 board?

Started by lpcarmed in LPC200017 years ago 5 replies

I wonder how to use the Olimex LPC2148 board - it only has USB connector and no RS232. A virtual com port based bootloader would be nice. I'm...

I wonder how to use the Olimex LPC2148 board - it only has USB connector and no RS232. A virtual com port based bootloader would be nice. I'm not considering JTAG.


Bootloader - main apllication shared variables

Started by John van Beurden in LPC200016 years ago 2 replies

Hi, I'm working with an LPC2131 in the Keil compiler. I've made two projects, a bootloader project and a main application. I want to make use...

Hi, I'm working with an LPC2131 in the Keil compiler. I've made two projects, a bootloader project and a main application. I want to make use of a shared variables to have the two apps communicate with each other. I'm able to create a variable on a fixed address using the following code: TE_SHARED shared __attribute__((section(".ARM.__at_0x40000000"))); So both applications read an...


LPC bootloader interface tools for linux

Started by cerfinker in LPC200020 years ago

Hello all, I just posted (in the files area: lpc_host_tools.tar.gz) some code I wrote to support file upload and bootloader...

Hello all, I just posted (in the files area: lpc_host_tools.tar.gz) some code I wrote to support file upload and bootloader interface to the LPC on linux. I did this stuff a few months ago so I don't totally remember everything about it, but its pretty simple and should be able to be


Bootloader / CRP summary update

Started by philips_apps in LPC200018 years ago 19 replies

For reference the posting we did on Dec 22 ---- 1) Am I right in assuming LPC2000 CRP is a software fence implemented in the supplied...

For reference the posting we did on Dec 22 ---- 1) Am I right in assuming LPC2000 CRP is a software fence implemented in the supplied boot loader code? Partially. It is a combination of Hardware and Software supplied in the bootloader code. Application running in micro has full access to the entire memory space. 2) I am going to replace


bootloader sill

Started by mayotte_d in LPC200017 years ago 4 replies

I am trying to use the sill bootloader program with a usb dongle on com4 and step 4 of the instructions seems ok except the board is a...

I am trying to use the sill bootloader program with a usb dongle on com4 and step 4 of the instructions seems ok except the board is a IAR kickstart with 12.00 xtal and it says 11.67. If I try the time ./sill etc as shown below, it doesnt work. If I just enter time and enter, it does show the time. I am not sure how to proceed. I don't seem to be able to get the NITE program to run with m...


USB Bootloader MassStorage LPC1768

Started by "renan.biegel" in LPC200014 years ago 1 reply

Hi I'm trying to create a secondary usb bootloader in a LPC1768 based on CodeRed example for RDB1768. The difference is that my...

Hi I'm trying to create a secondary usb bootloader in a LPC1768 based on CodeRed example for RDB1768. The difference is that my version need to have 2 files. One file is the main program that is going to boot and the other is a user file, which contain only data. I've managed to create a FAT12 partition that shows me the 2 files, the problem is that when I try to delete the...


trashed 2148 bootloader

Started by dodge1955 in LPC200018 years ago 35 replies

I've apparently trashed by bootloader and am having a tough time getting back to where I can talk to my Keil 2140 board serially. I've been...

I've apparently trashed by bootloader and am having a tough time getting back to where I can talk to my Keil 2140 board serially. I've been playing around for a week now with sample Keil code examples getting familiar with how things work and connecting and uploading and downloading fine. It was going very well until I got brave and uploaded a sample piece of my own code. The board locked


new SD code transfer to LPC2148 not quite working

Started by Sutton Mehaffey in LPC200015 years ago 60 replies

I have 'successfully' uploaded new code from my SD card to CPU flash through my intermediate flash. I have my secondary bootloader at 0x00000000...

I have 'successfully' uploaded new code from my SD card to CPU flash through my intermediate flash. I have my secondary bootloader at 0x00000000 and my app at 0x00004000. Everything uploads and verifies correctly to 0x00004000. However, after the WDT trips, the transfer to 0x00004000 doesn't work like it did before. I erased sectors 4-23 on the CPU leaving the bootloader and the vector table. ...


LPC23xx P2.10 bootloader pin

Started by deliconn in LPC200017 years ago 1 reply

Can anyone offer some clarification on the bootloader pin on the LPC23xx. Pin P2.10 appears to have a pullup activated on reset. Do I need to...

Can anyone offer some clarification on the bootloader pin on the LPC23xx. Pin P2.10 appears to have a pullup activated on reset. Do I need to pull this up again? I see in the manual: Pin P2.10 that is used as hardware request for ISP requires special attention. Since P2.10 is in high impedance mode after reset, it is important that the user provides external hardware (a pull-up resistor ...


Calling application from bootloader

Started by drproton2003 in LPC200015 years ago 4 replies

Hello Everyone, I am working on porting my LPC2366 bootloader to the LPC1768. Right now I am having a problem when calling the main...

Hello Everyone, I am working on porting my LPC2366 bootloader to the LPC1768. Right now I am having a problem when calling the main application. First of all I check the vector checksum of the application. If the checksum is okay the main program is called. I managed to get the main application to build and run from 0x8000 when using the JTAG by offsetting the vector table and using differe...


isp using bootloader for lpc 2106

Started by kvr25 in LPC200016 years ago 1 reply

I know very little about the arm controller of lpc2000 series. can any one suggest idea for making use of in built boot loader available...

I know very little about the arm controller of lpc2000 series. can any one suggest idea for making use of in built boot loader available in lpc. I have studied that lpc 2000 series has got built in boot loader and it is activated when Port 0.14 will go low. I want your advice and the procedure to make use of bootloader for ISP. K.Venkateswara Rao -----------------------------------...


Setting Bootloader Mode Via Serial Port (LPC2458)

Started by boru2600 in LPC200012 years ago 3 replies

Hey guys I'm currently working with a 2458 and I'm running into some issues with setting the device into bootloader mode from a host machine...

Hey guys I'm currently working with a 2458 and I'm running into some issues with setting the device into bootloader mode from a host machine with both lpc21isp and Flash Magic. I've dropped in a jumper to allow the MCU to be reset via the serial port. I'm now seeing two issues; When I connect to the board via the serial port with either putty or minicom (The latter from a Linux guest VM on a...


Ethernet secondary ISP bootloader (lpc23xx / lpc24xx)

Started by Peter Kic in LPC200015 years ago 2 replies

Hi! I finded interesting Application note: Ethernet secondary ISP bootloader for lpc23xx and...

Hi! I finded interesting Application note: Ethernet secondary ISP bootloader for lpc23xx and lpc24xx. http://www.nxp.com/acrobat_download/applicationnotes/AN10744_1.pdf I didn't find any example or application that is mention in document. Did anybody find it? Bye Peter ------------------------------------


Free LPC2xxx bootloader update tool

Started by tildesign2 in LPC200019 years ago 5 replies

The earlier LPC2xxx ARM processors require a bootloader update in order to protect the code from being read through ISP. We created a free...

The earlier LPC2xxx ARM processors require a bootloader update in order to protect the code from being read through ISP. We created a free update tool that is suited to reprogram any number of LPC2xxx microprocessors quickly and fool proof. The update tool provided by Philips works just fine, but only for engineers and the update job is quite tedious.