EmbeddedRelated.com
The 2024 Embedded Online Conference

LPC hex file

Started by Nishant Agrawal in LPC200016 years ago 2 replies

Hello, I am trying to work on designing a bootloader. For this I was trying to understand the hex file for LPC. I understood...

Hello, I am trying to work on designing a bootloader. For this I was trying to understand the hex file for LPC. I understood quite a lot through the link http://www.keil.com/support/docs/1584.htm. But I could not understand this first line from the hex file itself. :0400000500000000F7 :020000040000FA :1000000018F09FE518F09FE518F09FE518F09FE5C0 :1000100018F09FE500...


Killing MCU by watching memory below 0x4000'0000 !?!

Started by xray450 in LPC200018 years ago 21 replies

Recently I searched a bug in my software. Doing so I observed a=20 unexplainable behaviour of the LPC. Some background information first: I'm...

Recently I searched a bug in my software. Doing so I observed a=20 unexplainable behaviour of the LPC. Some background information first: I'm working on a LPC2292 (Rev. A,=20 Bootloader 1.64).=20 Only internal Flash / SRAM is used (external bus interface=20 disabled). Program is running from flash.=20 Debugger: Lauterbach Trace32 on PowerTrace device. Flash programming and debugging over ...


LPC2478 IAR Bootloader/IAP

Started by mike_schwarzer in LPC200014 years ago 3 replies

Dear Group, I hope someone could help me with following troubles: I'm trying to implement a Firmware Update Funktion to my Application. I use...

Dear Group, I hope someone could help me with following troubles: I'm trying to implement a Firmware Update Funktion to my Application. I use the LPC2478 and IAR Workbench. My first try was to use IAP direct withhin my application, of course, the IAP Functions themself where put to a 'special' Flash Region (Thanks to Mark for giving me the correct #pragma Option). On that way i could ...


Flashmagic and the EA LPC2103 Education Board 1.1

Started by Dennis Clark in LPC200015 years ago 8 replies

Hi all, I've just started out here. I'm trying to verify an ISP capability using the latest Flashmagic to my EA LPC2103 board (has a...

Hi all, I've just started out here. I'm trying to verify an ISP capability using the latest Flashmagic to my EA LPC2103 board (has a FTDI USB/serial chip on it) and all I get when I set it up for 115200 and tell it to use DTR/RTS for reset and bootloader is this: Operation failed (Failed to autobaud, step 1) ??? The board is working, it is talking on the COM port at the desired spee...


LPC-H2148

Started by p_m_bair in LPC200016 years ago 5 replies

I am very new to the microcontroller world. I have an LPC-H2148, but haven't yet received my JTAG dongle, so I've been attempting to set...

I am very new to the microcontroller world. I have an LPC-H2148, but haven't yet received my JTAG dongle, so I've been attempting to set up the serial port bootloader interface from Sparkfun (http://www.sparkfun.com/commerce/product_info.php?products_id=714) without success. I've tried using both the Phillips Flash Utility and FlashMagic. I've removed the Debug jumper from the LPC-H2148. ...


Flash Magic / LPC1114 with internal OSC

Started by Mukadder CEYHAN in LPC200013 years ago 1 reply

Dear Friends, I have a question about Flash Magic bootloader to use with LPC1114/302 devices. Is it possible to program LPC1114 with Flash...

Dear Friends, I have a question about Flash Magic bootloader to use with LPC1114/302 devices. Is it possible to program LPC1114 with Flash Magic loader without using any external crystal or using its internal Oscillator, 12MHz? Best Regards


[LPC2378] Is it possible to lose the bootloader?

Started by jdvoth in LPC200015 years ago 7 replies

Howdy, I've been parachuted into a project using an LPC2378 and I have to figure out why the micro will not program via the serial port or...

Howdy, I've been parachuted into a project using an LPC2378 and I have to figure out why the micro will not program via the serial port or via the JTAG port. I've been studying the user manual and the flash magic docs so have a running start. I have been able to prove that my setup works using flash magic and a Keil MCB2300 dev board. I know that DTR and RTS are controlling reset and...


How much should it cost to develop a secondary bootloader?

Started by tc_lawabider in LPC200012 years ago 22 replies

Hi, I'm writing regarding a job I posted at oDesk (I would have posted here, but was unsure of the etiquette for job postings in this...

Hi, I'm writing regarding a job I posted at oDesk (I would have posted here, but was unsure of the etiquette for job postings in this group). I'm working with an LPC2129 for a remote telematics project. I use a cell module with an encapsulated serial port that can cut in and out, but the module also has FTP commands (Telit GM862). The LPC2129 has a connected SD card running a FAT filesyst...


LPCUSB Serial Flow Control

Started by thirdshoedrops in LPC200016 years ago 4 replies

For Bertrik or anybody else who's familiar with LPCUSB: is there flow control built into USB and/or LPCUSB? I know a device can return "NAK" to...

For Bertrik or anybody else who's familiar with LPCUSB: is there flow control built into USB and/or LPCUSB? I know a device can return "NAK" to tell the host it can't accept/send data during a frame, so it seems like it would inherently handle buffer full, etc. I'm writing a USB bootloader for my Olimex LPC-H2148 board because it'll be installed in a system without an RS232 port. I have ...


LPC2148 Mam Timing

Started by cm296pip in LPC200015 years ago 6 replies

Hi, I'm just writing a new bootloader for the LPC2148 and was wondering what you guys recommend as far as the MAMTIM & MAMCR values should be...

Hi, I'm just writing a new bootloader for the LPC2148 and was wondering what you guys recommend as far as the MAMTIM & MAMCR values should be for best reliability/repeatability. The LPC2148 errata states the accelerator SHOULD be enabled but I'm a little confused at whether to use a partial or fully enabled accelerator. The errata first states it should be fully enable, then goes onto t...


write data to flash lpc2148

Started by stijn_de_beugher in LPC200015 years ago 3 replies

Hi, I'm working on a project with a lpc 2148. I've written a program which reads from the serial port a text file. I save the characters of...

Hi, I'm working on a project with a lpc 2148. I've written a program which reads from the serial port a text file. I save the characters of this file in an array: buff[2000]. Now I'd like to write this array to the flash of the lpc2148. But I've a few questions about this operation. - Is it possible to overwrite the bootloader of the lpc2148? When I write accidently to the wrong sector, I...


LPC2148 bulk/production programming

Started by Sutton Mehaffey in LPC200011 years ago 7 replies

I have Keil uVision software for development and a ULINK 2 for programming via a 20 pin JTAG on the circuit board (LPC2148). What is the...

I have Keil uVision software for development and a ULINK 2 for programming via a 20 pin JTAG on the circuit board (LPC2148). What is the easiest approach for initial production programming of these devices on circuit boards (we have SD card updates - but the board must be programmed with a bootloader and production code for the first time)? Meaning, I don't want to include the source f...


LPC2214 possible bootloader rev. 1.63 problem

Started by tsvetanusunov in LPC200019 years ago 4 replies

Hi, we have production run of boards with LPC2214 and LPC2294, these are our LPC+external memory header boards and...

Hi, we have production run of boards with LPC2214 and LPC2294, these are our LPC+external memory header boards and LPC+external memory+ethernet boards. On about 20% of the boards Philips ISP utility fail to program the code on speed above 19200. Everything seem


Copying interrupt vector table to RAM

Started by ajellisuk in LPC200015 years ago 4 replies

Hi In a previous thread: http://tech.groups.yahoo.com/group/lpc2000/message/40140 I mentioned that I am trying to implment a secondary...

Hi In a previous thread: http://tech.groups.yahoo.com/group/lpc2000/message/40140 I mentioned that I am trying to implment a secondary bootloader with an LPC2148 device. I'm having some problems with the interrupt vector table. I've set the register "MEMMAP" to 0x02 to remap interrupt vectors to RAM. Do I need to copy an interrupt vector table to RAM, and if so how do I do it? I'm u...


Questions about linker script with gnuarm and lpc2000

Started by Baldur Gislason in LPC200017 years ago 3 replies

I've noticed some sample lpc2000 linker scripts for the gnu tools I see on the internet have the memory defined something like this: MEMORY...

I've noticed some sample lpc2000 linker scripts for the gnu tools I see on the internet have the memory defined something like this: MEMORY { flash : ORIGIN = 0, LENGTH = 262143 /* FLASH ROM */ ram_isp_low(A) : ORIGIN = 0x40000120, LENGTH = 223 /* variables used by Philips ISP bootloader */ ram : ORIGIN = 0x40000200, LENGTH = 1...


LPC2148 ADC input and bootloader questions

Started by Aalt Lokhorst in LPC200017 years ago 12 replies

Dear Readers, I like to use the LPC2148 for a project but have some questions. --Question 1-- In the datasheets there is a note for...

Dear Readers, I like to use the LPC2148 for a project but have some questions. --Question 1-- In the datasheets there is a note for ADC-input regarding voltages above VDD (just in case the pins are used as 5V tolerant input) For instance if P0.5/ADC0.7 and P0.4/ADC0.6 are used as ADC input then a voltage greater than 3.3V on ADC0.7 will disturb a measurement of ADC0.6. Now the que...


LPC313x Linux SD-Card driver

Started by daniel_schwab3006 in LPC200014 years ago 1 reply

Hi I use the Board from Embedded Artists "LPC3131 Developer's Kit". I have compiled and installed the apex bootloader and the Linux which is...

Hi I use the Board from Embedded Artists "LPC3131 Developer's Kit". I have compiled and installed the apex bootloader and the Linux which is include as a demo. NXP wrote some drivers for this board. One of them is the lpc313x_mmc.c driver which can read from the SD-Card. But the write function isn't implemented. Has someone wrote the write function for this driver? Best thanks, Dani...


Issue with LPC2478 and EXternal NOR flash

Started by mythili chandrasekaran in LPC200013 years ago

Hi, ? I am working on the setting up the external flash for LPC2478. Currently I am facing the issue with executing the code from External NOR...

Hi, ? I am working on the setting up the external flash for LPC2478. Currently I am facing the issue with executing the code from External NOR flash. ? The size of the internal flash in LPC2478 is 512K. Since the application requires more memory than 512K, it has been decided to use the external NOR flash. I have set the MEMMAP to 3 in the cstartup.s file so that the bootloader remaps the ve...


USB Secondary boot loader for LPC2378

Started by pete...@esysr.com in LPC200015 years ago 2 replies

I have been trying to get a USB secondary boot loader to work on my Olimex LPC-P2378 using CrossWorks tools. Since I am new to debugging USB...

I have been trying to get a USB secondary boot loader to work on my Olimex LPC-P2378 using CrossWorks tools. Since I am new to debugging USB and fairly new to CrossWorks I have been going in circles. Anyone know of a USB Bootloader for the LPC2378 that builds under CrossWorks? ------------------------------------


Code Read Protection Feature : Flash Security issue ?

Started by croquettegnu in LPC200018 years ago 9 replies

Hi all, I would like to know what are the limitations of the CRP protection because this kind of protection is controlled by the onchip...

Hi all, I would like to know what are the limitations of the CRP protection because this kind of protection is controlled by the onchip bootloader so by software and I think that it is perhaps less efficient than a hardware code read protection feature ... In fact, what are the solutions to access the flash code content even if CRP is enabled ? I have seen that ATMEL proposes a flash ...



The 2024 Embedded Online Conference