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
Can I use script for flashing binary through PPCPROGNEXUS?
PARK K. May 31, 2017 at 04:57 AM (04:57 hours)
Staff: Takao Y.

  • I use PPCPROGNEXUS to flash binary into MPC5643L and MPC5744P.

    Now I manually runs
    CM ; load regular flash algorithm
    EM ; erase module
    SS ; load s19
    PM ; program module
    VM ; verify module
    Sequence to flash.

    Can I make a script for that sequence and use in PPCPROGNEXUS?
    I want to reduce the seqence to more easier.

    Always thank you.


  • Greetings,

    Yes there is, and you already have the files to do it! Within your PROG PPCNEXUS software package look for CPROG. There is also a document about it to teach you how to create a CFG file of all the commands you wish to run and how you can run the script.

    Takao Yamada

  • Greetings,

    Any other questions or concerns?

    Takao Yamada

  • Dear. Takao Yamada.

    Thank you for your kindness.
    And sorry for making no response.

    I tried as you suggested and it works.
    That's exactly what I want. Thank you.

    And I have a additional questions.
    When I try this method, CPROPPCNEXUS window is dissapeared as soon as the process is ended. (Eventhough there are some errors during process.)

    I want to hold the window to see the detailed result about the process.

    Is there any options for that?

    Below is the Contents what I used for .bat file.

    START /W D:\PEMICRO\\cw_cprogppcnexus INTERFACE=USBMULTILINK PORT=USB1 BDM_SPEED 1 D:\PEMICRO\MPC5744P_Flash_Download.cfg FREQ 8000000

    and below is the contents of .cfg file what I used.

    RE              ;Reset the MCU
    CM D:\PEMICRO\Freescale_MPC5744P_1x32x616k_CFlash.PCP 0      ;Enable MPC555 Main Array at address 8000
    EM             ;Erase the module
    BM             ;Blank Check the module
    SS D:\PEMICRO\core.elf             ;Specify the S19 to use
    PM             ;Program the module with the S19
    VM             ;Verify the module again

  • Greetings,

    Please read the user manual for CPROG. You can learn about the '!' and '?' parameters you can use to prevent the window from closing.

    Takao Yamada

  • Dear. Takao.

    Oh. You mean everything is already in User Manual.
    It's my fault sorry.
    I'll take a look the Use Manual for CPROG with attention.
    Thank you very much!

Add comment

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

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