Cant Load Bootloader code on LPC11U67 MCU

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Cant Load Bootloader code on LPC11U67 MCU

667 次查看
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 项奖励
回复
1 回复

624 次查看
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 项奖励
回复