Cart New Account Login

HomeAbout usProductsSupportForumsBlogCustomer Service

Please accept the use of cookies on our site

At PEmicro we use web browser cookies in order to provide you with an enhanced experience and in order to be able to do things like shopping cart processing and identify you when you login to our website.

Click here to accept

search inside this forum
search inside all forums
Possible to use BDM through USB redirection?
Jerry G. Aug 17, 2015 at 01:01 PM (13:01 hours)
Staff: Johnny N.

  • Has anyone had any luck using a BDM through USB port redirection connected to Code Warrior debugger running on a remote machine?  I'm using the purple USB BDM Multilink Interface (USB-ML-12) with MC9S12XA256 microcontroller.

    I need to work at a remote site and cannot transfer my CodeWarrior license to the laptop.

    When I am at the remote site with the laptop, I log into my desktop development machine using Remote Desktop and use Code Warrior that way. I plug my BDM into the laptop then redirect the laptop USB port back to the desktop development machine using RemoteFX (part of Remote Desktop). The BDM appears as a local device back on the development desktop.

    CodeWarrior debugger sees the BDM except it struggles to communicate. It cannot determine a valid IO_DELAY_CNT, etc. Perhaps the latency of the USB redirection through the Ethernet is causing the issue.

    Does anyone have any experience doing this?

    Is there a better BDM or a different debugger that may help in this situation?


  • Jerry,

    The IO_DELAY_CNT error can also be caused by a secured hcs12 microcontroller. You should try to communicate with the target first using our UNSECURE12 utility.

    With respect to your question about USB communication over Ethernet, I have tested our USB devices on our company LAN with a USB Ethernet hub from StarTech. Any USB devices connected to the hub appear as local devices to my PC. This has worked reliably for me.

    I don't have any suggestions for RemoteFX nor do I understand how sensitive the USB communication would be to the network latency.

    There is another option you can try and that is our Cyclone Pro which has an Ethernet Port. Your development PC will be able to see the Cyclone Pro and vice versa as long they are configured on the same subnet or your firewalls are forwarding all the packets correctly.

    Lastly, I think there is special version of Codewarrior for HCS12 v5.1 that is time limited and without any other restrictions. You can load this one your remote laptop and debug locally if this is just a one time requirement.

    P&E Engineering Support

    • The processor was never secured, so that is not the issue.

      I borrowed a Cyclone Pro and it worked well through the Ethernet. I was able to successfully remotely debug.

      I'll need to watch on eBay for a cheap one to show up. The Cyclone Pro is quite expensive for the simple things that I would use it for. Do you know if there is a simpler, cheaper, Ethernet debugger available?

      • Hi Jerry,

        We don't have any other HCS12X programmer that is Ethernet enabled. The price is about $600. You may be able to find other cheaper debuggers on the market but I don't think they will work as reliably (or maybe not at all) with Codewarrior 5.1. If this is a long term project for your company, the expense may be worth it. I hope you find what you need.


Add comment

   Want to comment? Please login or create a new PEMicro account.

© 2018 P&E Microcomputer Systems Inc.
Website Terms of Use and Sales Agreement