Example S32K146-Set_whole_FlexRAM-as_RAM v0_0 S32DS.ARM.2.2

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

Example S32K146-Set_whole_FlexRAM-as_RAM v0_0 S32DS.ARM.2.2

Example S32K146-Set_whole_FlexRAM-as_RAM v0_0 S32DS.ARM.2.2

********************************************************************************
* File: main.c
* Owner: David Tosenovjan
* Version: 0.0
* Date: Mar-12-2021
* Classification: General Business Information
********************************************************************************
* Detailed Description:
* Example code configures the whole 4kB FlexRAM area for SRAM use.
* By default or after mass erase, S32K1 device has only address range
* 0x1400_0000-0x1400_0DFF (3.5kB) accessible for SRAM use.
* To enable remaining 0.5kB it is needed to perform Program Partition Command
* (with the setting shown in the example), but only once with the blank new
* device (or previously mass erased). It sets up address range
* 0x1400_0000-0x1400_0FFF for SRAM use.
* ------------------------------------------------------------------------------
* Test HW: S32K146EVB-Q144
* MCU: PS32K146UAVLQ 0N73V QAC1735D
* Fsys: default
* Debugger: Lauterbach Trace32, OpenSDA
* Target: Debug_RAM
* Terminal: none
* EVB connection: default
********************************************************************************

Attachments
%3CLINGO-SUB%20id%3D%22lingo-sub-1245841%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EExample%20S32K146-Set_whole_FlexRAM-as_RAM%20v0_0%20S32DS.ARM.2.2%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1245841%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%0A%3CP%3E********************************************************************************%3CBR%20%2F%3E*%20File%3A%20main.c%3CBR%20%2F%3E*%20Owner%3A%20David%20Tosenovjan%3CBR%20%2F%3E*%20Version%3A%200.0%3CBR%20%2F%3E*%20Date%3A%20Mar-12-2021%3CBR%20%2F%3E*%20Classification%3A%20General%20Business%20Information%3CBR%20%2F%3E********************************************************************************%3CBR%20%2F%3E*%20Detailed%20Description%3A%3CBR%20%2F%3E*%20Example%20code%20configures%20the%20whole%204kB%20FlexRAM%20area%20for%20SRAM%20use.%3CBR%20%2F%3E*%20By%20default%20or%20after%20mass%20erase%2C%20S32K1%20device%20has%20only%20address%20range%3CBR%20%2F%3E*%200x1400_0000-0x1400_0DFF%20(3.5kB)%20accessible%20for%20SRAM%20use.%3CBR%20%2F%3E*%20To%20enable%20remaining%200.5kB%20it%20is%20needed%20to%20perform%20Program%20Partition%20Command%3CBR%20%2F%3E*%20(with%20the%20setting%20shown%20in%20the%20example)%2C%20but%20only%20once%20with%20the%20blank%20new%3CBR%20%2F%3E*%20device%20(or%20previously%20mass%20erased).%20It%20sets%20up%20address%20range%3CBR%20%2F%3E*%200x1400_0000-0x1400_0FFF%20for%20SRAM%20use.%3CBR%20%2F%3E*%20------------------------------------------------------------------------------%3CBR%20%2F%3E*%20Test%20HW%3A%20S32K146EVB-Q144%3CBR%20%2F%3E*%20MCU%3A%20PS32K146UAVLQ%200N73V%20QAC1735D%3CBR%20%2F%3E*%20Fsys%3A%20default%3CBR%20%2F%3E*%20Debugger%3A%20Lauterbach%20Trace32%2C%20OpenSDA%3CBR%20%2F%3E*%20Target%3A%20Debug_RAM%3CBR%20%2F%3E*%20Terminal%3A%20none%3CBR%20%2F%3E*%20EVB%20connection%3A%20default%3CBR%20%2F%3E********************************************************************************%3C%2FP%3E%0A%3C%2FLINGO-BODY%3E
100% helpful (1/1)
Version history
Last update:
‎03-15-2021 09:45 AM
Updated by: