EmbeddedRelated.com

How to generate a LPC program residing in flash that relocates and runs in ram

Started by "c.barbaro" in LPC200017 years ago 4 replies

Hi to all, I'm developing a downloader for LPC2138 that loads the application image file from SPI port instead for serial, as Philips ISP...

Hi to all, I'm developing a downloader for LPC2138 that loads the application image file from SPI port instead for serial, as Philips ISP does. This downloader should be able not only to upgrade the application program but occasionally to upgrade itself. To do this, the downloader that resides in lower blocks of flash must relocate itself and run in ram. Here is the question: where can ...


[ANN] New ARM Cortex-M3 board in Arduino Format

Started by Tim Eccles in LPC200015 years ago 7 replies

We have developed a board which has an ARM Cortex-M3 micro (STM32 variant, 72MHz, up to 512KB Flash and 64KB SRAM) in the Arduino format. You...

We have developed a board which has an ARM Cortex-M3 micro (STM32 variant, 72MHz, up to 512KB Flash and 64KB SRAM) in the Arduino format. You can download the Flash, boot, etc, via USB. More details and pretty pictures at www.bugblat.com/products/cor.html And I would be happy to answer any technical questions. Tim ------------------------------------


Philips Flash Utility 2.2.1 *** FAO Philips Apps ***

Started by janehighland in LPC200019 years ago 3 replies

Hi Philips Apps: Been programming a batch of LPC2214 based development boards yesterday using the Philips Flash utility. ...

Hi Philips Apps: Been programming a batch of LPC2214 based development boards yesterday using the Philips Flash utility. Any chance of feeding this back to the authors of the utility: 1. Subsequent clicking of 'read chip ID' does not reset DTR (chip


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...


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...


LPC2000 flash utility v2.2.3 + Windows 7 => can't make them work together...

Started by dsourgen in LPC200013 years ago 9 replies

Hello, My new laptop at work came with Windows 7 professional 32 bits. I installed =B5Vision and LPC2000 flash utility v2.2.3. (I also...

Hello, My new laptop at work came with Windows 7 professional 32 bits. I installed =B5Vision and LPC2000 flash utility v2.2.3. (I also installed free trial version of Hyperterminal since it has disappea= red in Windows 7. I don't know if it has anything to do with my problem). Anyway, Hex file upload to MCB2130 kit via ISP does not work. (Actually, it= works sometimes but it is very rare)...


Linux and lpc21isp v1.24 (using for LPC2138) hangs

Started by drchlik in LPC200019 years ago 2 replies

Hello, I have problem with lpc21isp v1.24. I use it with development board MCB2130. This board have LPC2138 processor. Sometimes when...

Hello, I have problem with lpc21isp v1.24. I use it with development board MCB2130. This board have LPC2138 processor. Sometimes when I want to flash new sotware I will get ioctl get failed ioctl set failed at the end of flashing cycle. (After lpc21isp prompt "Now lauching the rand new code". After that I'm not able to flash anything. When


Switch interrupt vector from flash to RAM

Started by kd7vn in LPC200016 years ago 7 replies

Is there any advantage to switching the interrupt vectors from flash memory to RAM (lpc 2378)? Is it needed if I plan to run my program out of...

Is there any advantage to switching the interrupt vectors from flash memory to RAM (lpc 2378)? Is it needed if I plan to run my program out of RAM memory? This question arose when I came across the following in the user manual. "Re-mapped memory areas, including the Boot ROM and interrupt vectors, continue to appear in their original locations, in addition to the remapped addresses" ...


Making a custom "firmware update" of my application lpc2468

Started by Daniel Cobo in LPC200015 years ago 4 replies

Hi all, I want to make possible a "firmware update" on a lpc2468 application and I don't know if is possible the way I'm thinking. First of...

Hi all, I want to make possible a "firmware update" on a lpc2468 application and I don't know if is possible the way I'm thinking. First of all, I am using Keil uvision3 v3.63 with armcc, armlink, armasm, etc v3.1.0.939. I tell you how my application works: -I have part of code in the internal flash and another part on a external nor flash. -With a scatter file i move the code of the ex...


Flash Utility V2.2.3 @115200bps with XTAL=10MHz ?

Started by Marcio Zaquela in LPC200018 years ago 5 replies

Hi guys, Does anyone know if it is possible to achieve 115200 bps using the 'LPC2000 Flash Utility' with LPC2138 and XTAL=10MHz ? The...

Hi guys, Does anyone know if it is possible to achieve 115200 bps using the 'LPC2000 Flash Utility' with LPC2138 and XTAL=10MHz ? The maximum baudrate I'm able to use is 38400. Even 57600 bps is not working. I made a routine to test UART0 @ 115200bps and I can only use this baudrate properly when I adjust the fractional divider register (U0FDR - LPC213x/01 devices only) to get the minimum...


Flash magic and USB Problem

Started by "jacek.skorzynski" in LPC200015 years ago 3 replies

Hi I am writing because, I need latest version Flash Magic eg. 4.35m. I have problem with my LPC2148. I don't connect by USB my test board. I...

Hi I am writing because, I need latest version Flash Magic eg. 4.35m. I have problem with my LPC2148. I don't connect by USB my test board. I Always give this same error "Failed To Autobaud". Computer detect device- Serial port and USB serial Converter(chip USB UART is FTDI FT232BL ) but I don't have a communication with uC. Please Help me... I am devastated:( ---------------------------------


Replace application at runtime with IAP and boot switch

Started by Anders Hvidgaard Poder in LPC200012 years ago 8 replies

I am developing a GSM based application using LPC1768 and Red Suite 3. I use FlashMagic for deployment (not debugging and test, I use...

I am developing a GSM based application using LPC1768 and Red Suite 3. I use FlashMagic for deployment (not debugging and test, I use a debugging link directly from Red Suite 3). The LPC1768 has got 512kbyte Flash. The main application uses about 150kbyte, so I am able to have two complete applications in Flash at the same time. Initially only one application exist, but the application is ...


LPC2292 problem

Started by Sebastien Jacquemard in LPC200019 years ago 2 replies

Hello, I've problems with my new board with LPC2292. I build my own board and I plug a module from embest on it (with a LPC2292 +...

Hello, I've problems with my new board with LPC2292. I build my own board and I plug a module from embest on it (with a LPC2292 + external flash + external ram). Actually I've solder only the power supply, the rs232 + iap / reset circuit (same shematic than Keil board). Reset + iap work well. I can program the LPC2292 internal flash with Philips flas


LPC 2387 with LPC 2368 settings.

Started by don_diego_1635 in LPC200016 years ago

Hi All, I soldered and wrapped a LPC 2387, then I connected Flash Magic 4.18 on the UART0 and I saw the flash display memory, tried a fill...

Hi All, I soldered and wrapped a LPC 2387, then I connected Flash Magic 4.18 on the UART0 and I saw the flash display memory, tried a fill and it worked. I compiled a known program with a LPC 2368 setting in Keil MDK-ARM 3.2 instead of LPC 2387 because the device is not the project options of the Keil toolchain or IAR KickStart, then I downloaded the hex file in the chip and tried to ...


Why use RAM mode

Started by topandurangs in LPC200018 years ago 11 replies

Hi all, With MEMMAP we can select between Flash mode & RAM mode. What is the use of RAM mode in ARM7. When we boot the...

Hi all, With MEMMAP we can select between Flash mode & RAM mode. What is the use of RAM mode in ARM7. When we boot the chip in RAM mode can we access FLASH. Thanks in advance Regards, Pandurang S. ------------------------ Yahoo! Groups Sponsor --------------------~--> See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/2pRQfA/bOaOAA/yQL


lpc1769: can't access first 512 bytes of flash using ISP

Started by Triffid Hunter in LPC200012 years ago 11 replies

Hi, I've just started working with an LPC1769 and can't seem to access the first 512 bytes of flash using the built-in serial ISP. Has...

Hi, I've just started working with an LPC1769 and can't seem to access the first 512 bytes of flash using the built-in serial ISP. Has anyone ever encountered this before? Specifically, I can prepare, erase, write and copy to my heart's content but the first 512 bytes always read back the same data, check blank returns false for sector 0, and the verify routines also fail since the fir...


Memory system design using LPC2470

Started by Chris Lawton in LPC200014 years ago 3 replies

I am designing a system using the LPC2470. I want store the code in flash, and copy it to SRAM at powerup & execute the code from there. The...

I am designing a system using the LPC2470. I want store the code in flash, and copy it to SRAM at powerup & execute the code from there. The flash and SRAM parts are both 16-bit wide devices. I'm not sure if this design will work, so I'm looking for guidance. The LPC24xx Users' Manual(sec 10.21) says that the EMC Static Memory Config Registers default to assuming that external memory...


mcb2300 and freeRTOS eclipse

Started by "r.morash" in LPC200016 years ago 3 replies

This morning I received a mcb2300 board(LPC2368). I started it up and the top line read "MCB2300 DEMO" and blocks on the second line (I should...

This morning I received a mcb2300 board(LPC2368). I started it up and the top line read "MCB2300 DEMO" and blocks on the second line (I should have tested this code more first but I got excited). I then used eclipse to build the FreeRTOS demo to build the RTOSDemo.hex file. I then downloaded it to flash using the Flash Magic Utility. It appears to erase/program/verify properly (?) I...


LPC2378 IAP Issue

Started by czesio_lpc in LPC200017 years ago 8 replies

Hello All, Recently I was trying to use IAP mechanism to write one selected flash sector. I prepared my IAP routine and tested it by reading...

Hello All, Recently I was trying to use IAP mechanism to write one selected flash sector. I prepared my IAP routine and tested it by reading out device ID. The result was correct. Next, I tried to write a flash sector with given pattern. In order to do that I disabled all system interrupts and prepared ram buffer (256 bytes long). The buffer was located in RAM at address 0x40006000. I ...


Do both 0x87654321 or 0x43218765 enable CRP?

Started by jayasooriah in LPC200017 years ago 6 replies

Hello, According to the page 520 of LPC23XX User Manual UM10211 dated 6 October 2006: "Code read protection is enabled by programming the...

Hello, According to the page 520 of LPC23XX User Manual UM10211 dated 6 October 2006: "Code read protection is enabled by programming the Flash address location 0x1FC (User flash sector 0) with value 0x87654321 (2271560481 Decimal)." However the code segment (below) in the boot loader for LPC2378 appears to also allow 0x43218765 (1126270821 Decimal) to do this. > @ address of CSP r