Hello, everyone:
I am participating in a development project on MPC5644A, and I encountered a problem while I was reading a example about the mode of flash memory.This is specific:
typedef void(* flash_fuc_type_ptr_t)(void);
typedef unsigned long int uint32_t;
uint32_t FlashArray1OptData[]=
{
0x3C60C3FB,0x80030000,0x60000001,
0x3C60C3FB,0x90030000,0x3C60C3FB,
0x80030000,0x5400056A,0x2C000000,
0x4182FFF0,0x4E800020
};
#if 1
(*((flash_fuc_type_ptr_t)FlashArray1OptData))();
I want to understand the effect of the last sentence will be executed?
(add another point: the example is the mode of flash memory on MPC5634M. )
Hi, it is apparently configuration of FLASH module that must be running from RAM. Could you specify what's your issue?