S12ZVCA19 array size

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

S12ZVCA19 array size

Jump to solution
976 Views
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

Tags (2)
1 Solution
842 Views
aaronlee
Contributor V

Hi Daniel,

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

BR, Aaron

View solution in original post

0 Kudos
4 Replies
842 Views
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 Kudos
842 Views
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 

843 Views
aaronlee
Contributor V

Hi Daniel,

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

BR, Aaron

0 Kudos
842 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi Aaron,

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

BR, Daniel

0 Kudos