Hi all, due to the shortage of chips in the world we are having to look at alternatives for our design. I use S32K148 BGA and currently I can only get S32K144 BGA. The information I need for me to be able to order the chips is how do I find out if my application code would fit? I cant see anywhere where the code size is displayed when you build the model. Obviously the 148 has 4x the program memory size o the 144 so I need to make sure that my application code would actually be able to be flashed. I would be using a bootloader as well as the application code.
Thank you, I would really appreciate quick help with this.
Hello @Poley
For the code size report, we have added such a feature in the MBDT for S32K1xx 4.3.0, so now in the diagnostic viewer, you shall be able to see the code size.
If you are using an older version of our toolbox, you could type the following command in MATLAB, by setting the current folder inside your generated *_mbd_rtw folder, and replacing the name of the .elf file with the one of your model.
system([fullfile(mbd_find_s32k_root(), 'tools\gcc-6.3-arm32-eabi/bin/arm-none-eabi-size'), ' --format=berkeley gpio_s32k144.elf'])
Hope this helps,
Marius