EmbeddedRelated.com
The 2024 Embedded Online Conference

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


Cannot programm LPC2106 (ISP - RS232)

Started by jkazubek in LPC200017 years ago 5 replies

Hello I've recently bought an evaluation board with LPC2106 on it. When I try to read the deivices ID it is sometimes succesful and...

Hello I've recently bought an evaluation board with LPC2106 on it. When I try to read the deivices ID it is sometimes succesful and sometimes not. I've tried to dowload from flash but after a random amount of time (part of the flash content appears in the program) the program (Philips LPC2000 flash utility) says "Cannot communicate with test board". I'm not using any converters such ...


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


Philips LPC flash utility problems

Started by Paul Maddox Mail LIsts in LPC200019 years ago 6 replies

Dear all, Having finally got IAR to compile stuff (thanks Ivan for the help), my only problem now is that the Philips LPC Flash...

Dear all, Having finally got IAR to compile stuff (thanks Ivan for the help), my only problem now is that the Philips LPC Flash utility keeps crashing my PC, sometimes its fine, and I can read the Processor ID, and flash it. If I do this a second time, 9 times out of ten the P


LPC2368 Flash as Data Memory

Started by mave...@mighty.co.za in LPC200016 years ago 5 replies

I have a question I have a project whereby I wish to use the Flash memory as data memory. And YES the LCP have only 10 000 write cycles and YES it...

I have a question I have a project whereby I wish to use the Flash memory as data memory. And YES the LCP have only 10 000 write cycles and YES it has a slow responce and YES, YES, YES. I have seen all the postings regarding external flash and eeprom and NVRAM and that is quite nice but my project calls for this setup. I have looked at IAP and I have tried to search for other code samples but I...


Flashless LPC2210, flash download?

Started by volunteer_sysu in LPC200018 years ago 14 replies

I am beginner in LPC2000. I want to ask some questions. Thank you! 1. I wonder whether there's any free software that can be used to download...

I am beginner in LPC2000. I want to ask some questions. Thank you! 1. I wonder whether there's any free software that can be used to download programs to the external flash via UART or JTAG? 2. I don't know how to use the ISP protocol provided by Philips, will anyone who has written a program to download programs to the external flash teach me how to do that, or send me the source code? th...


about LPC2378 flash programming

Started by sukhdeep singh in LPC200015 years ago 1 reply

i failed to program LPC2378 using USB-ICP-LPC2K and magic flash. i have don= e the following connections. flash magic always shows the step1...

i failed to program LPC2378 using USB-ICP-LPC2K and magic flash. i have don= e the following connections. flash magic always shows the step1 autobaud fa= iled.=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0USB-ICP-LPC2K=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0 LPC2378pin =C2=A0 =C2=A0 1 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2...


Programming the flash memory through the JTAG port

Started by russian_beagle in LPC200020 years ago 6 replies

Hi all! Can I download my program into the FLASH memory using the JTAG port? The CrossWorks utilize own loader from SRAM which...

Hi all! Can I download my program into the FLASH memory using the JTAG port? The CrossWorks utilize own loader from SRAM which program the FLASH segment using IAP. Thanks


Debug in external flash

Started by baosheng_zhu in LPC200017 years ago 2 replies

Hi,anyone knows how to use J-LINK to debug a program in external flash? I am using a full licensed J-LINK and ARM 4.41a, and my ARM development...

Hi,anyone knows how to use J-LINK to debug a program in external flash? I am using a full licensed J-LINK and ARM 4.41a, and my ARM development board is EASYARM2200 which uses a LPC2210 and SST 39VF1601 flash. Thank you.


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


Using 16-bit flash memory on an LPC2210 with Keil?

Started by wickedmonster2002 in LPC200017 years ago 6 replies

Hello Group, I am using Keil RealView on an LPC2210 target. Recently, I decided to use 16-bit external memory interface on an S29AL016D flash...

Hello Group, I am using Keil RealView on an LPC2210 target. Recently, I decided to use 16-bit external memory interface on an S29AL016D flash memory chip. Usually, the Keil compiler provides flash programming algorithms to program any flash chip whether internal or external. I checked for a programming algorithm that will match the memory chip I am using and it turns out that there is an a...


LPC1768 Cortex-M3 Flash Patch

Started by citykid_x in LPC200014 years ago 4 replies

I have been working with an LPC1768 within Keil uVision 4 and have been trying to figure out how to use the Cortex-M3 "Flash Patch" feature to map...

I have been working with an LPC1768 within Keil uVision 4 and have been trying to figure out how to use the Cortex-M3 "Flash Patch" feature to map a contstant value to RAM. I can't seem to find any information on how to do that. That is an incredibly useful debugging feature! There are all sorts of press releases describing the Cortex FPB unit and its features but how do you access the flash...


Problem programming/debugging LPC2364

Started by dreeker in LPC200016 years ago 1 reply

Hi all, We have some problems starting up our project with a LPC2364. We use the IAR compiler. When starting the debugger the flash does not...

Hi all, We have some problems starting up our project with a LPC2364. We use the IAR compiler. When starting the debugger the flash does not program. To do so we need to enable "use flash loader" (we use the default). When starting the debugger the flash is programmed but at the end of the programming we get the message "bad jtag connection" and we loose contact with the targetboard. ...


Combining SD card with flash IC

Started by myfriendmarkis in LPC200017 years ago 2 replies

Hi All, I've implemented a FAT file system on a NAND flash chip (ST M25P64) and everything works fine. I'm now looking at expanding the...

Hi All, I've implemented a FAT file system on a NAND flash chip (ST M25P64) and everything works fine. I'm now looking at expanding the design to include an SD card. Have been through the EFSL filesystem example on this forum and it looks great, but how can I integrate it with my existing flash IC? I think I need to modify efsl to target the NAND chip or SD card as needed but is ...


Problems with LPC2000 Flash Utility

Started by andlsouza in LPC200020 years ago 4 replies

Hello, I'm using the configuration below: LPC2294 using Phytec phyCORE Single Board Computer and emulator Keil under...

Hello, I'm using the configuration below: LPC2294 using Phytec phyCORE Single Board Computer and emulator Keil under Windows XP and LPC2000 Flash Utility v 2.2.0. When i press "Read Device ID" button, the program Flash Utility returns ano


Does MAM settings affect IAP flash programming? (long)

Started by jayasooriah in LPC200018 years ago 5 replies

Hello, Many have reported (some in this forum) unexplained crashes upon invoking IAP call to erase flash. While experimenting with...

Hello, Many have reported (some in this forum) unexplained crashes upon invoking IAP call to erase flash. While experimenting with MAM statistical registers on LPC2292, I believe I have stumbled on an explanation. The explanation requires a basic understanding of how MAM and FLASH controller works. Although much of the information "Philips Confidential" (and one needs Area 51 access ...


How to Execute Flash Code in RAM (LPC2888)

Started by Sait Izmit in LPC200016 years ago 12 replies

Dear all, I am working with LPC2888 (ARM7TDMI). I have a firmware running on it. I download the firmware to flash and execute from there....

Dear all, I am working with LPC2888 (ARM7TDMI). I have a firmware running on it. I download the firmware to flash and execute from there. However, I have a function, which I want to execute in RAM in order to make it faster. I am using the RVCT 3.0 ARM compiler. After reading couple of posts, I councluded that the best way to do that is using the scatter loading file. I have 1 Mb flash a...


Keil simulator not copying during IAP as expected

Started by Prerak Sheth in LPC200015 years ago 4 replies

I am using Keil uVision3 v3.31 and am facing a problem in writing to Flash memory using the IAP (iap_entry). I am getting good reply status...

I am using Keil uVision3 v3.31 and am facing a problem in writing to Flash memory using the IAP (iap_entry). I am getting good reply status (SUCCESS = 0), and the memory viewer also indicates that the RAM has been read and flash written to. However, no actual data gets copied into the flash. All data gets initialized to 0. Please help to resolve! Here is the code snippet #include


LPC2138 Flashing Help needed

Started by priyankvmaiya2 in LPC200014 years ago 6 replies

Hi, I newly started working on this board. I am trying to flash a hex file onto my lpc2138 board. But even though I flash different hex files, I...

Hi, I newly started working on this board. I am trying to flash a hex file onto my lpc2138 board. But even though I flash different hex files, I get the same output on the board. i.e. I see that the 2 LEDs glow on and off alternately. I am now confused whether my board has a problem or I am flashing incorrectly. I also suspect the Erase of the blocks is not happening properly. I am using Flash ...


eeprom in LPC2129 ?

Started by tomi in LPC200014 years ago 7 replies

I want to use flash memory as eeprom in LPC2129, I have code "LPC2000 onchip Flash as EEPROM demo" from NXP. In demo code I have defined...

I want to use flash memory as eeprom in LPC2129, I have code "LPC2000 onchip Flash as EEPROM demo" from NXP. In demo code I have defined first sector for eeprom array in LPC2k_ee.H: #define EE_SEC_L 0 //Flash sector where EEPROM begins (see UM for details) #define EE_SEC_H 1 //Flash sector where EEPROM ends (see UM for details) #define EE_ADDR_L 0x0...



The 2024 Embedded Online Conference