Hi all,
I’m trying to debug cheap chinese fitness band with VisualGDB. Nordic device is NRF51802, SDK 12, VisualGDB is 5.4 R12, VS2019, ST-link v2 chinese clone. I successfully compiled some examples from Nordic SDK and now I want to get printf or similar debug output working. But still no luck. With default project settings (“Implementations of _sbrk() – Minimal (no semihosting)”) any call to printf has no effect (obviuosly), with “Support semihosting” I can see printf output in ARM Semihosting Console, but any call to printf after softdevice initialization crashes softdevice (softdevice_fault_handler called), and with “Fast semihosting” there is again no output at all. Is there a way to get it working or I need JLink debugging adapter?