Inquiry on User Application Code Size for S32K311

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

Inquiry on User Application Code Size for S32K311

Jump to solution
807 Views
malove
Contributor IV

Hello,

I am working on developing an application using the S32K311 MCU.

According to the documentation, the S32K311 MCU offers approximately 1MB of Flash Memory.
However, I would like to confirm the actual usable ROM size after excluding reserved areas or regions inaccessible to the user.

Thank you for your response.

Best regards,

Tags (3)
0 Kudos
Reply
1 Solution
768 Views
IsaulO
NXP Employee
NXP Employee

Hi @malove ,

For the S32K311, the Program Flash Memory size is 1MB, and 64KB of Data Flash. However, there are reserved areas that depend on the HSE configuration, which will change accordingly. If HSE firmware is not available, please refer to table 191 of Reference Manual.

IsaulO_0-1737052988284.png


This reserved area is used by the SBAF and no application cores except HSE_B can access the address regions.

For others HSE Configurations (Full memory or AB SWAP), please refer to Tables 192 and 193 in the S32K3 Reference Manual.

BR,
IsaulO.

 

View solution in original post

0 Kudos
Reply
1 Reply
769 Views
IsaulO
NXP Employee
NXP Employee

Hi @malove ,

For the S32K311, the Program Flash Memory size is 1MB, and 64KB of Data Flash. However, there are reserved areas that depend on the HSE configuration, which will change accordingly. If HSE firmware is not available, please refer to table 191 of Reference Manual.

IsaulO_0-1737052988284.png


This reserved area is used by the SBAF and no application cores except HSE_B can access the address regions.

For others HSE Configurations (Full memory or AB SWAP), please refer to Tables 192 and 193 in the S32K3 Reference Manual.

BR,
IsaulO.

 

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2028022%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EInquiry%20on%20User%20Application%20Code%20Size%20for%20S32K311%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2028022%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3EI%20am%20working%20on%20developing%20an%20application%20using%20the%20S32K311%20MCU.%3C%2FP%3E%3CP%3EAccording%20to%20the%20documentation%2C%20the%20S32K311%20MCU%20offers%20approximately%201MB%20of%20Flash%20Memory.%3CBR%20%2F%3EHowever%2C%20I%20would%20like%20to%20confirm%20the%20actual%20usable%20ROM%20size%20after%20excluding%20reserved%20areas%20or%20regions%20inaccessible%20to%20the%20user.%3C%2FP%3E%3CP%3EThank%20you%20for%20your%20response.%3C%2FP%3E%3CP%3EBest%20regards%2C%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2029204%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Inquiry%20on%20User%20Application%20Code%20Size%20for%20S32K311%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2029204%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F241168%22%20target%3D%22_blank%22%3E%40malove%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CP%3EFor%20the%20S32K311%2C%20the%20Program%20Flash%20Memory%20size%20is%201MB%2C%20and%2064KB%20of%20Data%20Flash.%20However%2C%20there%20are%20reserved%20areas%20that%20depend%20on%20the%20HSE%20configuration%2C%20which%20will%20change%20accordingly.%20If%20HSE%20firmware%20is%20not%20available%2C%20please%20refer%20to%20%3CEM%3Etable%20191%20of%20Reference%20Manual%3C%2FEM%3E.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22IsaulO_0-1737052988284.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22IsaulO_0-1737052988284.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F319928i760941FDDE13CB3D%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22IsaulO_0-1737052988284.png%22%20alt%3D%22IsaulO_0-1737052988284.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3EThis%20reserved%20area%20is%20used%20by%20the%20SBAF%20and%20no%20application%20cores%20except%20HSE_B%20can%20access%20the%20address%20regions.%3C%2FP%3E%0A%3CP%3EFor%20others%20HSE%20Configurations%20(Full%20memory%20or%20AB%20SWAP)%2C%20please%20refer%20to%20%3CEM%3ETables%20192%20and%20193%20in%20the%20S32K3%20Reference%20Manual%3C%2FEM%3E.%3C%2FP%3E%0A%3CP%3EBR%2C%3CBR%20%2F%3EIsaulO.%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E