Cant Load Bootloader code on LPC11U67 MCU

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Cant Load Bootloader code on LPC11U67 MCU

252 Views
Guy_mego
Contributor II

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.  

0 Kudos
1 Reply

209 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

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

 

0 Kudos