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 Marcus,

    o.k. this works. I got the following linker errors now:
    __use_no_semihosting was requested, but _sys_exit was referenced
    __use_no_semihosting was requested, but _sys_open was referenced
    __use_no_semihosting was requested, but _ttywrch was referenced

    Questions:
    If've seen the example SWI with modified startup.s and additional function retarget.c
    What do I have to change?

    Edi

Reply
  • Hi Marcus,

    o.k. this works. I got the following linker errors now:
    __use_no_semihosting was requested, but _sys_exit was referenced
    __use_no_semihosting was requested, but _sys_open was referenced
    __use_no_semihosting was requested, but _ttywrch was referenced

    Questions:
    If've seen the example SWI with modified startup.s and additional function retarget.c
    What do I have to change?

    Edi

Children