Example MPC5748G Overlay SRAM Overlay Flash config S32DS

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

Example MPC5748G Overlay SRAM Overlay Flash config S32DS

Example MPC5748G Overlay SRAM Overlay Flash config S32DS

********************************************************************************
* Detailed Description:
* This example shows, how to use overlay feature - how to remap SRAM over Flash
* and Flash over Flash. The remapping is visible only in mirrored flash address
* space. Normal address space is not affected. To see effect of the remapping,
* read the comments and watch following addresses in debugger before and after
* executing Overlay() function:
*
* Flash over Flash test case:
* 0x0104_0000
* 0x0108_0000
* 0x0904_0000
* 0x0908_0000
*
* SRAM over Flash test case:
* 0x4003_0000
* 0x090C_0000
*
* ------------------------------------------------------------------------------
* Test HW:         DEVKIT-MPC5748G
* MCU:             PPC5748GSMKU6 0N78S
* Fsys:            PLL0 160MHz
* Debugger:        Lauterbach Trace32
* Target:          internal_FLASH (debug mode)
* EVB connection:  NA
*
********************************************************************************

Attachments
%3CLINGO-SUB%20id%3D%22lingo-sub-1106780%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EExample%20MPC5748G%20Overlay%20SRAM%20Overlay%20Flash%20config%20S32DS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1106780%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E********************************************************************************%3CBR%20%2F%3E*%20Detailed%20Description%3A%3CBR%20%2F%3E*%20This%20example%20shows%2C%20how%20to%20use%20overlay%20feature%20-%20how%20to%20remap%20SRAM%20over%20Flash%3CBR%20%2F%3E*%20and%20Flash%20over%20Flash.%20The%20remapping%20is%20visible%20only%20in%20mirrored%20flash%20address%3CBR%20%2F%3E*%20space.%20Normal%20address%20space%20is%20not%20affected.%20To%20see%20effect%20of%20the%20remapping%2C%3CBR%20%2F%3E*%20read%20the%20comments%20and%20watch%20following%20addresses%20in%20debugger%20before%20and%20after%3CBR%20%2F%3E*%20executing%20Overlay()%20function%3A%3CBR%20%2F%3E*%3CBR%20%2F%3E*%20Flash%20over%20Flash%20test%20case%3A%3CBR%20%2F%3E*%200x0104_0000%3CBR%20%2F%3E*%200x0108_0000%3CBR%20%2F%3E*%200x0904_0000%3CBR%20%2F%3E*%200x0908_0000%3CBR%20%2F%3E*%3CBR%20%2F%3E*%20SRAM%20over%20Flash%20test%20case%3A%3CBR%20%2F%3E*%200x4003_0000%3CBR%20%2F%3E*%200x090C_0000%3CBR%20%2F%3E*%3CBR%20%2F%3E*%20------------------------------------------------------------------------------%3CBR%20%2F%3E*%20Test%20HW%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20DEVKIT-MPC5748G%3CBR%20%2F%3E*%20MCU%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20PPC5748GSMKU6%200N78S%3CBR%20%2F%3E*%20Fsys%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20PLL0%20160MHz%3CBR%20%2F%3E*%20Debugger%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Lauterbach%20Trace32%3CBR%20%2F%3E*%20Target%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20internal_FLASH%20(debug%20mode)%3CBR%20%2F%3E*%20EVB%20connection%3A%26nbsp%3B%20NA%3CBR%20%2F%3E*%3CBR%20%2F%3E********************************************************************************%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1106780%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E********************************************************************************%3CBR%20%2F%3E*%20Detailed%20Description%3A%3CBR%20%2F%3E*%20This%20example%20shows%2C%20how%20to%20use%20overlay%20feature%20-%20how%20to%20remap%20SRAM%20over%20Flash%3CBR%20%2F%3E*%20and%20Flash%20over%20Flash.%20The%20remapping%20is%20visible%20only%20in%20mirrored%20flash%20address%3CBR%20%2F%3E*%20space.%20Normal%20address%20space%20is%20not%20affected.%20To%20see%20effect%20of%20the%20remapping%2C%3CBR%20%2F%3E*%20read%20the%20comments%20and%20watch%20following%20addresses%20in%20debugger%20before%20and%20after%3CBR%20%2F%3E*%20executing%20Overlay()%20function%3A%3CBR%20%2F%3E*%3CBR%20%2F%3E*%20Flash%20over%20Flash%20test%20case%3A%3CBR%20%2F%3E*%200x0104_0000%3CBR%20%2F%3E*%200x0108_0000%3CBR%20%2F%3E*%200x0904_0000%3CBR%20%2F%3E*%200x0908_0000%3CBR%20%2F%3E*%3CBR%20%2F%3E*%20SRAM%20over%20Flash%20test%20case%3A%3CBR%20%2F%3E*%200x4003_0000%3CBR%20%2F%3E*%200x090C_0000%3CBR%20%2F%3E*%3CBR%20%2F%3E*%20------------------------------------------------------------------------------%3CBR%20%2F%3E*%20Test%20HW%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20DEVKIT-MPC5748G%3CBR%20%2F%3E*%20MCU%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20PPC5748GSMKU6%200N78S%3CBR%20%2F%3E*%20Fsys%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20PLL0%20160MHz%3CBR%20%2F%3E*%20Debugger%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Lauterbach%20Trace32%3CBR%20%2F%3E*%20Target%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20internal_FLASH%20(debug%20mode)%3CBR%20%2F%3E*%20EVB%20connection%3A%26nbsp%3B%20NA%3CBR%20%2F%3E*%3CBR%20%2F%3E********************************************************************************%3C%2FP%3E%3C%2FLINGO-TEASER%3E
No ratings
Version history
Last update:
‎03-21-2019 02:37 AM
Updated by: