Example MPC5748G Overlay SRAM Overlay Flash config S32DS

File uploaded by Lukas Zadrapa Employee on Mar 21, 2019
Version 1Show Document
  • View in full screen mode

********************************************************************************
* 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
*
********************************************************************************

Outcomes