*(volatile unsigned int *)0x40043100 = 0x10400000; //memmap with boot ROM address *(volatile unsigned int *)0x40053100 =(1<<0); // Core reset |
NVIC_SystemReset(); |
LPC_CGU->XTAL_OSC_CTRL = (0 << 0) | /* Enable oscillator-pad */ (0 << 1) | /* Operation with crystal connected */ (0 << 2) ; /* Low-frequency mode */ |