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
  • Hi,

    you are right this forum software is not worth the name.

    Marcus, I've read in http://infocenter.arm.com already. This is one of the useless documentation, because there are no examples.
    I've found the following there:
    " ... However, you cannot reimplement the _sys_ prefixed functions (for example, _sys_read()) when using the standalone C library because they require library initialization. ..."
    I could replace _sys_exit and _ttywrch but not _sys_open.
    Is it really not possible to replace _sys_open()?

    In an IAR environment you can handle this all with one single linker option.
    Sooner or later (I think sooner) I'll get crazy with this KEIL *** ...

    I do not have more time wasting with that.

    Edi

Reply
  • Hi,

    you are right this forum software is not worth the name.

    Marcus, I've read in http://infocenter.arm.com already. This is one of the useless documentation, because there are no examples.
    I've found the following there:
    " ... However, you cannot reimplement the _sys_ prefixed functions (for example, _sys_read()) when using the standalone C library because they require library initialization. ..."
    I could replace _sys_exit and _ttywrch but not _sys_open.
    Is it really not possible to replace _sys_open()?

    In an IAR environment you can handle this all with one single linker option.
    Sooner or later (I think sooner) I'll get crazy with this KEIL *** ...

    I do not have more time wasting with that.

    Edi

Children