在使用过程中,直接调用官方提供的API(mx66l51235f.h),但是在MX66L51235FInit(ui32SysClock);初始化时配置不过,一直停留在Reset_handler段 file:///C:\Documents and Settings\Administrator\Application Data\Tencent\QQ\Temp\TempPic\D1~QK]20{JNG1CAWLS6{RY6.tmp
程序断如下,不知道哪里有问题,望高手点拔。uint32_t ui32SysClock;
uint8_t pUiMx66Data[32]={1};
uint8_t* pstring;
//
// Run from the PLL at 120 MHz.
//
// ui32SysClock = MAP_SysCtlClockFreqSet((SYSCTL_XTAL_25MHZ |
// SYSCTL_OSC_MAIN | SYSCTL_USE_PLL |
// SYSCTL_CFG_VCO_480), 120000000);ui32SysClock = SysCtlClockFreqSet(SYSCTL_OSC_INT | SYSCTL_USE_PLL | SYSCTL_CFG_VCO_320,
40000000);
//
// Configure the device pins.
//
PinoutSet();
MX66L51235FInit(ui32SysClock);MX66L51235FSectorErase(0);MX66L51235FRead(0x00, pUiMx66Data, sizeof(pUiMx66Data));MX66L51235FPageProgram(0x00, pUiMx66Data, sizeof(pUiMx66Data));
MX66L51235FRead(0x100, pUiMx66Data, sizeof(pUiMx66Data));