Calculate flash memory

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Calculate flash memory

ソリューションへジャンプ
416件の閲覧回数
Guy_mego
Contributor II

Hi,

I'm using LPC11U68 for my project. When I build my project on MCUXpresso IDE i see the usage of my flash memory. I know that is some MCUs there is given function or macro that gives the flash usage of flash memory. 
Is there a same for LPC11U68?

if not how can I calculate the usage of flash memory, in my code? I know the base address of my flash is:
0x0002 0000

Thanks.

タグ(1)
0 件の賞賛
1 解決策
408件の閲覧回数
ErichStyger
Senior Contributor V

There is the 'size' utility you can use to calculate the FLASH/RAM size, see

https://mcuoneclipse.com/2017/03/29/mcuxpresso-ide-s-record-intel-hex-and-binary-files/

how it is used in MCUXpresso IDE.

If you want to have more details: https://mcuoneclipse.com/2020/01/10/listing-code-and-data-size-for-all-files-with-the-gnu-size-utili...

Additionally, the MCUXpresso IDE includes a 'image info' view which gives you a lot of details too:

ErichStyger_0-1673976193101.png

 

I hope this helps,

Erich

元の投稿で解決策を見る

1 返信
409件の閲覧回数
ErichStyger
Senior Contributor V

There is the 'size' utility you can use to calculate the FLASH/RAM size, see

https://mcuoneclipse.com/2017/03/29/mcuxpresso-ide-s-record-intel-hex-and-binary-files/

how it is used in MCUXpresso IDE.

If you want to have more details: https://mcuoneclipse.com/2020/01/10/listing-code-and-data-size-for-all-files-with-the-gnu-size-utili...

Additionally, the MCUXpresso IDE includes a 'image info' view which gives you a lot of details too:

ErichStyger_0-1673976193101.png

 

I hope this helps,

Erich