Re: Flash Memory - Loading an Application of 2M size into 1M Flash memory
- From: "KBG" <karthik.balaguru@xxxxxxxxxxxxxxx>
- Date: 27 Sep 2006 04:12:33 -0700
Hi ,
I'm having trouble understanding how the application grew to 2MB when
your development platform only has 1 MB of flash??? Did you write an
extra 1MB of code before testing any of it???
in Flash.It has exeeded in size so that it can not be placed
I do RAM execution, debugging and development . I did not try flashing
the application though many modules were getting integrated . Now the
code has got almost freezed as many modules have got finished . I did
try flashing now and there comes this issue.
It has not exactly doubled in size. It has crossed the 1.4 M mark.
You don't say whether or not you are executing in-place from the
flash,
or executing a copy out of RAM.
Flash.Bootloader execution is done as 'executing in-place' in
But the application gets executed by getting copied to RAM. This
copying is
done by Bootloader as in any other normal embedded systems. So, this
area also needs some tricks so that the image in bits/pieces can be put
together by some means and executed !!
How much (spare) RAM do you have? What percentage of your application
is
code vs data?
perfectly fromRAM is not an issue. 32M is there and it is working
RAM . Only Flashing is the issue and i need tricks in that regard with
how to flash the big size image in bits / pieces as size has crossed
the Flash memory size and execute the bits / pieces as such or by
putting together in some groups with some tricks .
..XMAP file of the application has the following info w.r.t data & code
for your reference :
..text = 0x12C188 - 0xB0000 = 0x7C188
..rodata = 0x134CD5 - 0x12C188 = 0x8B4D
..data = 0x13620A - 0x134CE0 = 0x152A
..bss = 0x22AB66 - 0x136210 = 0xF4956
Regards,
Karthik Balaguru
.
- Follow-Ups:
- References:
- Prev by Date: Re: how to erase flash?
- Next by Date: Re: Flash Memory - Loading an Application of 2M size into 1M Flash memory
- Previous by thread: Re: Flash Memory - Loading an Application of 2M size into 1M Flash memory
- Next by thread: Re: Flash Memory - Loading an Application of 2M size into 1M Flash memory
- Index(es):
Relevant Pages
|