EmbeddedRelated.com
Memfault Beyond the Launch

Error message: "Code in HEX file exceeds Flash Limitations!"

Started by crapnuts in LPC200018 years ago 4 replies

subject: "Code in HEX file exceeds Flash Limitations!" My setup: Embedded Workbench 4.0 Kickstart IDE, WindowsXP the target: Embedded Artists...

subject: "Code in HEX file exceeds Flash Limitations!" My setup: Embedded Workbench 4.0 Kickstart IDE, WindowsXP the target: Embedded Artists LPC2103 USB QuickStart Board with QuickStart Prototype Board downloader: Philips LPC2000 Flash Utility V2.2.3 My code: NAME main PUBLIC main COMMON INTVEC:CODE CODE32 B main RSEG IC...


Write Flash via Firmware

Started by marcos_r_r in LPC200012 years ago 29 replies

How do I write to flash memory through firmware via C code? LPCXpresso LPC1114. ------------------------------------

How do I write to flash memory through firmware via C code? LPCXpresso LPC1114. ------------------------------------


Problem with USB to serial converter

Started by Tushar Phadtare in LPC200013 years ago 3 replies

Dear All, I'm trying to connect LPC2103 (Crystal 12 MHz) board to laptop through USB-to serial converter (PL-2303), flash programming tool is...

Dear All, I'm trying to connect LPC2103 (Crystal 12 MHz) board to laptop through USB-to serial converter (PL-2303), flash programming tool is Philips LPC200 Flash Programming Utility V 2.2.3. But Flash Utility is not able to detect LPC2103, saying "Cannot communicate to board".However board works fine with direct serial port of desktop.I tried following, 1)Changing USB port,Laptop, USB to se...


How to read from and write into lpc2103 flash memory during run time

Started by ronak bhalani in LPC200014 years ago 6 replies

Hi All, ????? I am using lpc2103 for my application. The application is such that some of the parameters are required to be stored into and...

Hi All, ????? I am using lpc2103 for my application. The application is such that some of the parameters are required to be stored into and retrieved from the flash memory during run time. So, is it possible to read from and write into the lpc2103 flash memory during run time? ????? Kindly provide the available solution for this issue. ? ?? Thanks.


Philips Flash Utility V2.2.1 question

Started by gregdeuerling in LPC200019 years ago 7 replies

I have a program that has several 16x16 tables that are stored in fixed locations in flash memory. I'm using Keil's compiler...

I have a program that has several 16x16 tables that are stored in fixed locations in flash memory. I'm using Keil's compiler and using the _at_ attribute to do this, it works great. My tables change quite often but the code does not change at all. I'd like a w


LPC2364 Flash writing issues

Started by Sankar karuppannan in LPC200015 years ago 2 replies

Hi, We are using LPC2364 device in our project. The problem is we are unable to perform Flash write. Please any one can help on this. ...

Hi, We are using LPC2364 device in our project. The problem is we are unable to perform Flash write. Please any one can help on this. Regards, Sankar.K _________________________________________________________________ Register once and play all contests. Increase your scores with bonus credits for logging in daily on MSN. http://specials.msn.co.in/msncontest/index.aspx ------------...


Philips Flash Utility V2.2.0 (max baud rate = 38400???)

Started by janehighland in LPC200019 years ago 14 replies

Hi, Why can't the flash utility sync up faster than 38.4 kbps even you can select 57.6 and 115.2 kbps within the utility? ...

Hi, Why can't the flash utility sync up faster than 38.4 kbps even you can select 57.6 and 115.2 kbps within the utility? I tried it on an LPC2214 as well as an LPC2129, both with 12MHz xtals. Thanks Jane


Flash variables

Started by Jaromir in LPC200019 years ago 7 replies

Hello, how can i keep long strings(or fonts,bitmaps) only in flash memory, and later read. I use gcc - is something like...

Hello, how can i keep long strings(or fonts,bitmaps) only in flash memory, and later read. I use gcc - is something like read_flash_byte() function? or can i use memcpy ? Jaromir _________________________________________________________________ List sprawdzony skanerem poczty mks_vir ( http://www.mks.com.pl


Trouble with LPC2148 (first project)

Started by nic...@... in LPC200019 years ago 3 replies

Dear lpc2000@lpc2..., I would like to use the LPC2148 for a C project, but I can't get any program to run on the processor. This is my...

Dear lpc2000@lpc2..., I would like to use the LPC2148 for a C project, but I can't get any program to run on the processor. This is my first time using the ARM microcontrollers. I am using the GNUARM toolchain with GCC to write and compile code and the Philips LPC2000 Flash Utility v2.2.2 to upload the hex files to the flash. I am using the IA


RAM Debug configuration works, but Flash Debug configuration not (IAR, LPC2368)

Started by kender_a in LPC200014 years ago 1 reply

re: RAM Debug configuration works, but Flash Debug configuration gives error message (IAR Embedded Workbench, LPC2368) Colleagues, I have a...

re: RAM Debug configuration works, but Flash Debug configuration gives error message (IAR Embedded Workbench, LPC2368) Colleagues, I have a project that works just fine in RAM Debug configuration with J-Link. I've switched to Flash Debug configuration, recompiled successfully. When I initiate the debug session, I get errors: Fri Dec 04 14:21:08 2009: Error in C:\Program Files\IAR System...


Executing interrupt routines in RAM instead of flash

Started by Jan Thogersen in LPC200018 years ago 6 replies

Hi, I have written come code for the LPC2148 which heavily uses interrupts. And the processor have some problems with handling all the...

Hi, I have written come code for the LPC2148 which heavily uses interrupts. And the processor have some problems with handling all the interrupts. So to gain some more speed I hope that it's possible to move my interrupts to RAM. I'm using the GCC compiler and I know that I can select if my project should execute from RAM or flash. However, I need a pragma to put in front of the IS...


LPC-E2294 and LPC200 flash utility

Started by Abbas Adel in LPC200017 years ago 1 reply

Dears, I have LPC-E2294 board. I want to download hex file using Philips LPC2000 flash utility but I always get "Couldn't communicate wit test...

Dears, I have LPC-E2294 board. I want to download hex file using Philips LPC2000 flash utility but I always get "Couldn't communicate wit test board" Any clue? Thanks in advance BISO


is IAP possible using ARM Mode..?

Started by dhp_ec in LPC200018 years ago 5 replies

hello all, This is abt Flash Programming,,is onchip flash programming BY USING IAP, possible in ARM mode.? i found a flash programming...

hello all, This is abt Flash Programming,,is onchip flash programming BY USING IAP, possible in ARM mode.? i found a flash programming example by using IAP in THUMB Mode in the group here it is ... ********************************************************************** static void callIAP(void) __attribute((naked)); static void callIAP(void)


Flash program to RAM execution

Started by kohansey in LPC200015 years ago 15 replies

I have a self-contained module that is apart of a larger program. I want the module to be compiled with the rest on my program into flash, and...

I have a self-contained module that is apart of a larger program. I want the module to be compiled with the rest on my program into flash, and when I am ready to use it, copied to RAM and executed. I am now should how this would be done. I read a few posts about using a scatter loading file, but I am using Keil uVision IDE with RealView (RVCT 3.0) compiler, and I can't seem to find any e...


LPC17xx Flash download fail

Started by Nico Christie in LPC200014 years ago 3 replies

Hi guys, I'm having a little big problem with my uC. I'm writing code for an LPC1751 that enters Power Down mode almost right after startup. It...

Hi guys, I'm having a little big problem with my uC. I'm writing code for an LPC1751 that enters Power Down mode almost right after startup. It sets up the system and peripherals and then enters Power Down. The problem is neither a GPIO nor RTC interrupt ever wake it up. Both were working fine but it seems I missed something and now I can't re-flash the uC. I'm guessing because the ULink2 tri...


LPC2103 Problems in Flash

Started by john857162 in LPC200017 years ago 8 replies

Hi I am trying to run a very simple program, based on the startup.s and link commands detailed in the excellent tutorial by James Lynch. I...

Hi I am trying to run a very simple program, based on the startup.s and link commands detailed in the excellent tutorial by James Lynch. I can flash the .bin file correctly. However, when I run a debug session in Eclipse (I am using OpenOCD), it immediately stops at PC 0x10 (SWI) and stays there...obviously since the handler is a while(1) loop. If I change the handler to do somethin...


pabort exception ?

Started by tomi in LPC200014 years ago 1 reply

What does mean pabort exception ? I have smal program on LPC2148: printf("Start"); In CrossStudio flash debug mode it working correctly - I...

What does mean pabort exception ? I have smal program on LPC2148: printf("Start"); In CrossStudio flash debug mode it working correctly - I see "Start" on terminal, but in flash release mode I see only first two letters: "St" and ARM stop at pabort_handler_address. How to extract useful info why it crashed?


IAP not programming in sector 0 (2138)?

Started by SR in LPC200018 years ago 4 replies

Does anyone have this problem,. When using the IAP set of flash programming commands, sector 0's at 0x00000000 is never been able to be...

Does anyone have this problem,. When using the IAP set of flash programming commands, sector 0's at 0x00000000 is never been able to be programmed when you are running the code on RAM, the vector address is mapped onto the internal Flash location 0x00000000. Any help, Samuel Yahoo! Groups Links


Flash Security Clarification

Started by philips_apps in LPC200018 years ago 50 replies

Hope this answers all the questions raised on Flash security. Many thanks to the group users. We appreciate your feedback. Please keep it ...

Hope this answers all the questions raised on Flash security. Many thanks to the group users. We appreciate your feedback. Please keep it coming. Most of us are out till Jan 2 due to year end shutdown. Happy Holidays and a Happy New Year - Philips Microcontroller Team 1) Am I right in assuming LPC2000 CRP is a software fence implemented


LPC2129 - reading/writing char array to flash

Started by lawzaz in LPC200011 years ago 1 reply

I have appnote 11008 open right now and this seems like overkill for what I want (and I'm confused as to how I would extend for char arrays). I...

I have appnote 11008 open right now and this seems like overkill for what I want (and I'm confused as to how I would extend for char arrays). I have a board that reads a configuration file from an SD memory card. Sometimes, that card is unreadable and a value is needed regardless. The boards are tuned for different devices, so a single default will not work. Since I have tons of flash memory...



Memfault Beyond the Launch