Cant Load Bootloader code on LPC11U67 MCU

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Cant Load Bootloader code on LPC11U67 MCU

666件の閲覧回数
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 返信

623件の閲覧回数
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 件の賞賛
返信