Flash location and size

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

Flash location and size

1,344 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by zerep on Sun Jun 03 01:26:36 MST 2012
Hi,
I'm new member and newbie. I' ve a question regarding receiving a software from a friend using Red Suite. He told me to change Project Proprieties --> MCU Settings --> Flash location from 0x000000 to 0x30000and size from 0x80000 to 0x50000
But I think is impossible in my environment LPCXpresso 3.6.2, is it correct?
Many thanks
zerep
0 Kudos
Reply
5 Replies

1,332 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by agatsu on Thu Jun 07 12:00:10 MST 2012
Thanks a lot Zero!

agatsu
0 Kudos
Reply

1,332 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Thu Jun 07 11:34:23 MST 2012
That's described in your UM: 20.5.2.1 Information block

Of course IAP is possible while your MCU is running from Flash.

But don't forget your interrupts:


Quote:

20.5.5.7 Interrupts during IAP
The on-chip flash memory is not accessible during erase/write operations. When the user application code starts executing the interrupt vectors from the user flash area are active. The user should either disable interrupts, or ensure that user interrupt vectors are active in RAM and that the interrupt handlers reside in RAM, before making a flash erase/write IAP call. The IAP code does not use or disable interrupts.

0 Kudos
Reply

1,332 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by agatsu on Thu Jun 07 11:12:58 MST 2012
Hello Zero:

I am a newbie too.  I would like to use a sector or a block of the 128K of LPC1227's flash to store some configuration data (non-volatile).  Can I program a particular sector only while reading/executing code from flash?

Thanks,

agatsu
0 Kudos
Reply

1,332 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by creafyumi on Sun Jun 03 19:11:53 MST 2012

Quote: zerep
Hi,
I'm new member and newbie. I' ve a question regarding receiving a software from a friend using Red Suite. He told me to change Project Proprieties --> MCU Settings --> Flash location from 0x000000 to 0x30000and size from 0x80000 to 0x50000
But I think is impossible in my environment LPCXpresso 3.6.2, is it correct?
Many thanks
zerep



Yes, LPCXpresso version 3.6.2 does not have this config interface. Upgrade your IDE to the latest version and you will be able to do that.
0 Kudos
Reply

1,332 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Sun Jun 03 02:41:24 MST 2012
Just change your MCU settings:

Project -> properties -> C/C++ Build -> MCU settings -> Memory details

Note: Don't know why you are using an antique version, the actual is 4.2.3 :D
0 Kudos
Reply