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
Solved! Go to Solution.
I got it working by downloading version v3.03.000 from here http://cache.nxp.com/files/microcontrollers/software/LPCWare/lpc5410x_xpresso54102_lpcxpresso_v3.03....
I got it working by downloading version v3.03.000 from here http://cache.nxp.com/files/microcontrollers/software/LPCWare/lpc5410x_xpresso54102_lpcxpresso_v3.03....
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.