Yahoo Groups archive

Lpc2000

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

Message

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)

Attachments

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.