Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Thread

LPC2000 Flash Utility Problem

LPC2000 Flash Utility Problem

2006-05-08 by 김동휘

Hello, everyone.

I download a hex file into my target board(LPC2214) using LPC2000 Flash Utility.
When I downlaod my hex code to my target, Flash Utility annouces a warnning message like follows.
"Code in HEX file exceeds Flash Limitations!"

My hex code is about 130KB size. But LPC2214 has the internal flash rom(256KB).
Why happen this problem?

The size of hex code is about 40KB not using c library(printf, scanf, etc,,,).
In this case the warnning message isn't displayed.

But using the c library the code size is about 140KB. And then the warnning message is displayed.

The size of hex code(140KB)  is below the internal flash rom size(256KB) of LPC2214.
Why happen this problem.
How can I solve this problem.

Can you help me?
I really want to solve this problem.
Please help me.....

Thank you

-------------------------------------------------
Dong-hwi Kim(金桐煇)

Senior Engineer of FAE Team.
Syncoam Co., Ltd.
TEL : 82-31-788-7843
FAX : 82-31-788-7846
E-mail : dhkim@...
-------------------------------------------------

[Non-text portions of this message have been removed]

Re: [lpc2000] LPC2000 Flash Utility Problem

2006-05-08 by Richard

While a hex file is ~1.9X the size of the actual program image, the only 
way to tell for sure is to look at something like the map file that your 
compiler generates and see what the memory range it is using for the code 
section. Perhaps the compiler tool did not know that you are using a 2214 
and used the wrong memory address range?

At 11:12 PM 5/7/2006, =?ks_c_5601-1987?B?sei1v8jW?= wrote:

>Hello, everyone.
>
>I download a hex file into my target board(LPC2214) using LPC2000 Flash 
>Utility.
>When I downlaod my hex code to my target, Flash Utility annouces a 
>warnning message like follows.
>"Code in HEX file exceeds Flash Limitations!"
>
>My hex code is about 130KB size. But LPC2214 has the internal flash 
>rom(256KB).
>Why happen this problem?
>
>The size of hex code is about 40KB not using c library(printf, scanf, 
>etc,,,).
>In this case the warnning message isn't displayed.
>
>But using the c library the code size is about 140KB. And then the 
>warnning message is displayed.
>
>The size of hex code(140KB)  is below the internal flash rom size(256KB) 
>of LPC2214.
>Why happen this problem.
>How can I solve this problem.
>
>Can you help me?
>I really want to solve this problem.
>Please help me.....
>
>Thank you
>
>----------

// richard (This email is for mailing lists. To reach me directly, please 
use richard at imagecraft.com)

Re: LPC2000 Flash Utility Problem

2006-05-08 by jayasooriah

Kim,

Provided the flash utility reports the correct part ID, it may be that
the "flash limitation" message refers to odd sector size issue and
thus it may not mean that your code is too big to fit on-chip flash.

Try breaking up the hex file into sizes that will fit the sectors and
load one sector at a time.

Jaya

--- In lpc2000@yahoogroups.com, ±èµ¿ÈÖ <dhkim@...> wrote:
>
> Hello, everyone.
> 
> I download a hex file into my target board(LPC2214) using LPC2000
Flash Utility.
> When I downlaod my hex code to my target, Flash Utility annouces a
warnning message like follows.
> "Code in HEX file exceeds Flash Limitations!"
> 
> My hex code is about 130KB size. But LPC2214 has the internal flash
rom(256KB).
> Why happen this problem?
> 
> The size of hex code is about 40KB not using c library(printf,
scanf, etc,,,).
> In this case the warnning message isn't displayed.
> 
> But using the c library the code size is about 140KB. And then the
warnning message is displayed.
> 
> The size of hex code(140KB)  is below the internal flash rom
size(256KB) of LPC2214.
Show quoted textHide quoted text
> Why happen this problem.
> How can I solve this problem.
> 
> Can you help me?
> I really want to solve this problem.
> Please help me.....
> 
> Thank you
> 
> -------------------------------------------------
> Dong-hwi Kim(ÑÑÔÕýÈ)
> 
> Senior Engineer of FAE Team.
> Syncoam Co., Ltd.
> TEL : 82-31-788-7843
> FAX : 82-31-788-7846
> E-mail : dhkim@...
> -------------------------------------------------
> 
> [Non-text portions of this message have been removed]
>

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.