AnsweredAssumed Answered

Clock error on custom board

Question asked by carl engelmann on Oct 26, 2016
Latest reply on Oct 30, 2016 by carl engelmann

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

Outcomes