Content originally posted in LPCWare by TheFallGuy on Wed Jul 02 02:18:04 MST 2014
Semihosting is NOTHING to do with LPCOpen, but you do need to make sure that you are linking with the semihosting C libraries.
To prove (to yourself) that it is nothing to do with LPCOpen, why don't you start with a simple Hello World program with no LPCOpen involved. There is even a Wizard that will create the application for you.
Also, If I read the J-Link thread properly, you need to add "monitor semihosting enable" to the J-Link startup (in the gdbinit script)
Failing that, I suggest you use the Segger forums to ask your question - the Segger guys don't hang around here much...