Content originally posted in LPCWare by CodeRedSupport on Mon Apr 04 14:06:19 MST 2011
Quote: larryvc
Hi Steve,
I've seen this as well but didn't notice any problems with debugging my project. Could this be hiding something that could cause problems or is it a harmless message?
To add to this discussion, the message "GDB trying to set entry point of 0x0118, but correct entry is 0x1FFF0F10" is a result of GDB attempting to set the starting PC to the location defined by the linker script ENTRY command. As Steve mentioned, the NXP parts need to complete the boot ROM calibration in order to function correctly. The debug utility (in most cases) would ignore the GDB request, since it must first ensure the boot ROM calibration can finish after the part is reset. The part vectors to user code after calibration, provided a valid application has been flashed, then runs to the first breakpoint (typically 'main').
The bad checksum reference given earlier would mean the part can never enter user code. In this case, the PC is somewhere in the boot ROM when the part enters debug halt. The message itself is harmless, but, as you suspect, may provide other clues.