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

Serial receive problems ASC1 (XC164), while debugging

Hello,
I've a receiving problem with the ASC1 serial interface of the XC164 during debugging with ULINK interface. I use the Infineon Starterkit.
Transmitting is'nt a problem and if I program the software to flash, and start them without ULINK interface connected, also receiving works. So I believe, it is'nt a problem with register settings.
If I use a scope and inspect the signals on JP401, I see a signal, that works against the MAX232 driver. This signal comes from JTAG interface and seems to be the TCK. In documentation of XC164 I red, that these signals are only activ, if the /TRST is asserted.
Is there a workaround for this behavior, that I can also use ASC1 during debug process?
Steffen

Parents
  • Hi Steffen,

    as far as I know there is no workaround, since the XC164 is the only device have shared pins for OCDS debugging instead of dedicated as XC161 and XC167.
    The OCDS is normally enabled after startup.
    This you can disable, but than you are not able to debug.
    So you have to make a compromize between
    debugging or use of ASC1.
    Normally I would suggest to test the ASC1 interface seprately and if this works, than exclude it from your debug sessions.
    ( Don't know, whether you can do so. )

    Stefan

Reply
  • Hi Steffen,

    as far as I know there is no workaround, since the XC164 is the only device have shared pins for OCDS debugging instead of dedicated as XC161 and XC167.
    The OCDS is normally enabled after startup.
    This you can disable, but than you are not able to debug.
    So you have to make a compromize between
    debugging or use of ASC1.
    Normally I would suggest to test the ASC1 interface seprately and if this works, than exclude it from your debug sessions.
    ( Don't know, whether you can do so. )

    Stefan

Children