S12ZVCA19 array size

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
1,768件の閲覧回数
aaronlee
Contributor V

Hi,

Our project use S12ZVCA19. We need create an array to save 30000 strings (each string =10 characters).

Is it can work? How to make sure the free space in memory?

Best Regards,

Aaron

タグ(2)
1 解決策
1,634件の閲覧回数
aaronlee
Contributor V

Hi Daniel,

We use SD card to store. Thanks for your information. It's very useful.

BR, Aaron

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
1,634件の閲覧回数
aaronlee
Contributor V

Hi, Daniel,

uint32_t      array[30000];

Can I use that define in S12ZVCA19?

BTW, I have define a lot of variable, how to check the free space of variable?

Best Regard,

Aaron

0 件の賞賛
返信
1,634件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi Aaron,

The S12ZVCA19 MCU has 12KB of SRAM.

You can't use a 120KB variable.

Please check the linker file and the map file.

BR, Daniel 

1,635件の閲覧回数
aaronlee
Contributor V

Hi Daniel,

We use SD card to store. Thanks for your information. It's very useful.

BR, Aaron

0 件の賞賛
返信
1,634件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi Aaron,

I'm afraid you can't store 300KB on a 192KB Flash.

BR, Daniel

0 件の賞賛
返信