This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

BKPT 0xAB - problem without SWI

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?

Parents
  • 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

Reply
  • 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

Children