'MFlash4' overflowed by 280 bytes

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

'MFlash4' overflowed by 280 bytes

508 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by HammingBird on Mon May 23 04:43:01 MST 2016
its solved..
0 Kudos
Reply
6 Replies

463 Views
lpcware
NXP Employee
NXP Employee
bump
0 Kudos
Reply

463 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Wed May 25 23:46:28 MST 2016

Quote: HammingBird
how can I make a ".hex"  file in my "Release "  folder  ?



FAQ:

https://www.lpcware.com/content/faq/lpcxpresso/image-checksums
0 Kudos
Reply

463 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by HammingBird on Wed May 25 17:52:52 MST 2016
Thanks for the info.

I tried with "Release" (after optimize the code).  it goes with "Release".. But the problem with "Release "  is , it has no  '.hex' file.

I am using the prog "LPC8xx ROM API",  its  here :

https://www.lpcware.com/content/forum/lpc8xx-rom-api

This prog only has '.hex' file for "Debug".  I did copy the '.hex' file from "Debug" and paste it in "Release", but does not work.

how can I make a ".hex"  file in my "Release "  folder  ?
0 Kudos
Reply

463 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by vtw.433e on Tue May 24 10:19:36 MST 2016
It means your code (and its initialized data) is too large to fit in flash. You will need to change your program to make it fit.
0 Kudos
Reply

463 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by HammingBird on Tue May 24 02:12:59 MST 2016
Hallo,
Thanks for the info.

sorry to say, it doesn't work. I installed  the ** Latest version of LPCXpresso IDE : v8.1.4 **
and try to optimize the code, but could not able to remove the error.

the error says,    <  region 'MFlash4' overflowed by 400 bytes >


I am using the prog "LPC8xx ROM API".  you can find it here 

https://www.lpcware.com/content/forum/lpc8xx-rom-api

and my main prog is  attached here also.

I appreciate your help.

Thanks

0 Kudos
Reply

463 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Mon May 23 05:30:31 MST 2016
This error means that the amount of data (the compiled binary) allocated to the flash called MFlash4 was 280 bytes larger than the size of MFlash4.

Please take a look at the FAQ for further information.

https://www.lpcware.com/content/faq/lpcxpresso/debug-build-too-big-fit-flash

Regards,

LPCXpresso-support
0 Kudos
Reply