Clock error on custom board

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

Clock error on custom board

跳至解决方案
1,232 次查看
englemon
Contributor II

I have been trying to get a custom board working over SWD using the link-2. When downloading code to the board I am getting an error and when stepping through the code the last line I get too before the error occurs is:

__STATIC_INLINE void Chip_Clock_SetMain_B_ClockSource(CHIP_SYSCON_MAIN_B_CLKSRC_T src)
{
LPC_SYSCON->MAINCLKSELB = (uint32_t) src;
}

in clock_5410x.h

After this a new tab pops up with 

No source available for "0x35dbeb88" 

The disassembly reads:

Failed to execute MI command:
-data-disassemble -s 903605152 -e 903605248 -- 3
Error message from debugger back end:
Cannot access memory at address 0x35dbeba0

I am using the LPC54101J512BD64QL

I am new to this an really need help.

Much thanks

0 项奖励
回复
1 解答
1,093 次查看
englemon
Contributor II
0 项奖励
回复
2 回复数
1,094 次查看
englemon
Contributor II
0 项奖励
回复
1,093 次查看
englemon
Contributor II

To add some info I am trying to run the basic LPCOpen project for the chip using LPCXpresso with no real changes to the code.

0 项奖励
回复