Debugging the project USBDM_JMxx_V4_10 with an USBDM and CW10.3, when run "bdm_setTargetVdd()" the line VDD3_ON() makes it to jump to myStartup on "ICP.c". If I debug it with P&EMultilink it runs correctly.
I thied to isolate the function VDD3_ON() on main() and it cause the same wrong jump. What is causing this jump to a wrong address? It can have a stack overflow.