Cart New Account Login

HomeAbout usProductsSupportForumsBlogCustomer Service

search inside this forum
Upgrading an older 9S12 project
John D. migrated on Dec 31, 2013 at 11:00 AM
No staff assigned yet

  • A couple of years ago I needed a board with 5 CAN ports and because it was a rush job I bought two Softech eval boards (1 spare) and was able to use the on board BDM for programming for programm development.  About six months later I needed two more but the board was discontinued.  So I built my own specialty board and just added a header for a programmer I bought from here: http://www.cncgeeker.com/index.php?main_page=product_info&cPath=7_4&products_id=11" target="_blank">9S12 Programmer Board

    I've now been asked to repurpose the boards and I can't find the little programmer board in my boxes andbags of stuff and so started looking around and found this site. I'm wondering if the MultiLink is a better option so I have some questions.

    1. The Multilink is advertised as working with Codewarrier. Will it allow breakpoints and single stepping XGATE code? The previous project didn't use XGATE but now I'd like to off load the periodic repetitive task to that.

    2. At $99 verses $29 for the simple version linked above what does the MultiLink do for me?

    3. If used with Codewarrier is there a special setup file and will the system work under Windows 7?

    I've inserted a picture below to show what the 9S12 controlled.

    The LED lights will also be used for a different project but still run on a CAN bus to the 9S12 which has both USB and RS485 which will connect to a DMX-512a module (Light-O-Rama) and the XGATE will take over background updating of the colours.

    All suggestions are welcome including perhaps a method to port the project to a different IDE that runs under WIN-7. And since my laptop still runs Vista and can't be upgraded to a 32 bit version of WIN7 I probably really need something that works on both just in case I have to make changes in the field.

    Thanks,
    John







    Comments

  • 1.  Yes, the USB-ML-12 will work with the HCS12-XGATE in the Codewarrior environment. I know there are some limitations to XGATE debugging in Codewarrior - talk to Freescale to get the specifics.

    2. The programmer in your link only supports the HC(S)12(X). Our tool also supports the Freescale HCS08, RS08, and CFV1 families of microcontrollers (programming and debugging software are sold separately).

    3. I believe that Codewarrior for HCS12(X) V5.1 works on Windows 7 (32 and 64 bit).
    http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=CW-HCS12X" target="_blank">http://www.freescale.com/webapp/sps/site/p...?code=CW-HCS12X

    -Johnny
    P&E Technical Support

  • QUOTE (Johnny @ Aug 5 2011, 01:30 PM) [legacy comment]
    1. Yes, the USB-ML-12 will work with the HCS12-XGATE in the Codewarrior environment. I know there are some limitations to XGATE debugging in Codewarrior - talk to Freescale to get the specifics.

    2. The programmer in your link only supports the HC(S)12(X). Our tool also supports the Freescale HCS08, RS08, and CFV1 families of microcontrollers (programming and debugging software are sold separately).

    3. I believe that Codewarrior for HCS12(X) V5.1 works on Windows 7 (32 and 64 bit).
    http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=CW-HCS12X" target="_blank">http://www.freescale.com/webapp/sps/site/p...?code=CW-HCS12X

    -Johnny
    P&E Technical Support


    Hi,

    Thanks for the reply. I've finally got a stable WIN-7 x64 system running. And, you are correct, the V5.1 runs.

    Is there a WIN-7 x64 driver for the USB-ML-12?

    The http://www.pemicro.com/products/product_viewDetails.cfm?product_id=33&producttab=3" target="_blank">http://www.pemicro.com/products/product_vi...mp;producttab=3 page says that it does't come with programming software. Does that mean it doesn't come with enough to be used with CodeWarrier for programming and debugging or is the software mentioned only for stand alone programming?

    Thanks
    John

  • Our drivers are included with Codewarrior. The standalone package can be download here: http://www.pemicro.com/downloads/download_file.cfm?download_id=301" target="_blank">http://www.pemicro.com/downloads/download_...download_id=301

    You don't need to purchase any additional products from us to use the USB-ML-12 in Codewarrior. However, you may be interested in P&E's flash programming software for the HCS12X: PROG12Z. The application is very compact, provides the user more control over specific programming commands, and accepts batch files.

    http://www.pemicro.com/products/product_viewDetails.cfm?product_id=49" target="_blank">http://www.pemicro.com/products/product_vi...m?product_id=49

  • QUOTE (Johnny @ Aug 21 2011, 12:28 PM) [legacy comment]


    Hi,

    That doesn't quite answer my question. Most 32 bit applications run under WIN-7 quite well. It appears that CodeWarrier 5.1 is one of those. But, access to hardware can only be done with a 64 bit driver when running on a WIN-7 x64 machine like an i7 quad core. The .inf files used by windows to load USB drivers have specific statements in them to link to the .sys drivers that are compiled for the 64 bit environment. An older 32 bit USB driver will not work in Windows 7 x64.

    So perhaps the better question is:

    Have you been able to establish communication with the UMB-ML-12 when CodeWarrier is running as a 32 bit application in a WIN-7 x64 machine? Will the debug screen of CodeWarrier communicate with 9S12 hardware in that environment?

    For example, the current driver/device I have is not recognized by WIN-7. Under the WIN-XP virtual terminal it is possible to load the driver. However, there is still some sort of disconnect between the Virtual XP USB driver and the actual CodeWarrier debugger. It's like it's there but it's not. Therefore it's much better to run CodeWarrier 5.1 as a 32 bit app under WIN-7 with an updated 64 bit USB driver.

    Thanks
    John

Add comment


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







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