Hey,
I'm using LPC11U67 MCU and trying to write a bootloader code.
I'm using function for deleting flash, wriing to flash and reading from flash.
The build passed successfully, the issue is that the burn the program falls, and reach to the ResetISR function, where the line is:
*SYSCON_SYSAHBCLKCTRL |= (1<<26) | (1 << 27);
I can't figure out what is the reason for this issue, can you please explain what should I check or do to solve this issue.
Thanks in advance.
Hi,
Pls try to use the following code and have a test.
#define SYSCON_SYSAHBCLKCTRL (uint32_t *)0x40048080
*SYSCON_SYSAHBCLKCTRL|=(1<<26) | (1 << 27);
I suppose that your SYSCON_SYSAHBCLKCTRL definition has issue.
BR
XiangJun Rong