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
  • The ARM provided libraries include a virtual driver mechanism called semihosting, which is not supported by MDK, only by RealMen^H^H^HView Development Suite. You will have to retarget all affected functions used by your application. See documentation for details.

    You may also add

    #pragma (import __use_no_semihosting)
    


    to one of the C files that go into the executable. That way you will get a linker error if semihosted functions would be linked.

    Regards
    Marcus
    http://www.doulos.com/arm/

Reply
  • The ARM provided libraries include a virtual driver mechanism called semihosting, which is not supported by MDK, only by RealMen^H^H^HView Development Suite. You will have to retarget all affected functions used by your application. See documentation for details.

    You may also add

    #pragma (import __use_no_semihosting)
    


    to one of the C files that go into the executable. That way you will get a linker error if semihosted functions would be linked.

    Regards
    Marcus
    http://www.doulos.com/arm/

Children