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.
Hi,
I have the same problem, program stuck at bkpt 0xab, but I do not use serial wire interface (SWI). The Ulink2 is configured JTAG and SWJ checkbox is noch marked. My program runs before I added C++ code (a mix of c and cpp files - main() is in a standerd c file), sprintf() is used now - but not printf(). Any ideas?
Hi Marcus,
may I solve the problem using another device instead of ULINK2? Or is there a much better library?
Edi
This issue is specific to the ARM RVCT C library. Agreed, ARM should spend more time providing hands on examples in the documentation. But meanwhile you should have found some examples yourself. Like for instance "%PROGRAMFILES%\Keil\ARM\Examples\Hello\Retarget.c". Hopefully this will give you some more information.
When supported by the tool chain, semihosting is a very useful mechanism in certain situations. If you care, read some background information here: infocenter.arm.com/.../Bgbjjgij.html
-- Marcus
last questions, otherwise I use an other development system: 1) Is it possible to get _sys_open handled like _sys_exit? 2) Can I link the softinterrupt bkpt 0xab to an (empty) function of mine? 3) Could 2) help?