Patch up some functions to get tests passing.
Fix use of deprecated gdb command for LPC17xx debugging.
Successfully send a diagnostic request.