I am attempting to debug an offboard LPC11E67JBD48 from an OM13058 board. The SWD connections are made exactly following the schematics of page 75 of the LPC11E6X datasheet. Photo below:
When attempting to load ANY code at all from the LPCOpen 11U68 API, the debugger runs, appears to show successful connection with the MCU, appears to successfully write to flash, then goes directly into a Hardfault Handler. Please see the debug messages console results below:
Any help is appreciated!
-Andrew Murfin
解決済! 解決策の投稿を見る。
Solved!
I removed the 25MHz external oscillator on my board, and adjusted the Board_SetupClocking() function (in board_sysinit.c) to call the Chip_SetupIrcClocking(); function, thereby running clocking from the internal oscillator. I will now be researching how to utilize an external oscillator, if necessary.
Solved!
I removed the 25MHz external oscillator on my board, and adjusted the Board_SetupClocking() function (in board_sysinit.c) to call the Chip_SetupIrcClocking(); function, thereby running clocking from the internal oscillator. I will now be researching how to utilize an external oscillator, if necessary.
I should note I am using 10k resistors for the pullup and pulldown.