We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I've got an LPC1768 project that was opening under the ULink2 debugger to "start of main" just fine, until a few recent changes where I changed from using the SystemTickTImer to using TImer0 for a 1ms interrupt. That code of course is well past the start of main().
Now if if run under the Ulink2 debugger the code only runs after I press F5 THREE times and I have to add my own breakpoint just after the start of main().
How can I get back the normal behaviour?????
Thanks
David
It is tough to comment on your report with such few details provided.
If you possess a valid license key, I recommend opening a new Support Ticket:
https://www.arm.com/support/contact-support
I worked it out - I had removed code for redirecting STDOUT and thought that as I'd removed all the printf statements from my code that it was no longer needed. No such luck :( Deep in the bowels of the CRT (in _printf_fp_hex.o) an SWI instruction was issued. The result was of course a loop at SWI_Handler.
Restoring an fputc intercept solved the problem. No clear why I needed that but if it works...