Cart New Account Login

HomeAbout usProductsSupportForumsBlogCustomer Service

search inside this forum
UNIT_ACMP and flash programming
Loic D. Feb 17, 2015 at 03:40 PM (15:40 hours)
Staff: Takao Y.

  • Hello,

    I bought UNIT_ACMP in order to make a PC-based testbench for Kinetis K10.

    DLL provides some functions to load programm in RAM but not in flash.

    Is it possible to load a programm in flash or should I buy PROGACMP?


    Thank you!
    Loïc




    Comments

  • Greetings,

    The UNIT libraries are basically a command line debugger, not a flash programmer. You will need to purchase PROGACMP to flash program the chip. There is an option for CPROGACMP when you buy a license for PROGACMP, which is the command line programmer. Please read the CPROG document to learn the commands and how to generate a script.

    If you have a cyclone max or Cyclone for ARM devices, then there is no need to purchase the PROG ACMP software. It is already included in the Cyclone software package.


    Takao Yamada

    • Thank you very much Takao.

      I bought today CPROACMP.

      Unfortunately it don't work.
      CPROGACMP returns error 70 (CPROG is already running)

      This is code I run from testbench :

      string cfg_file = Application.StartupPath+"\\config_prod.cfg";
      string executable = "C:\\PEMicro\\PROGACMP\\cprogacmp.exe";
      string arguments = cfg_file + " INTERFACE=USBMULTILINK PORT=USB1";

      try
      {
      this.Invoke(new callback_string(listinfo_add), arguments);

      Process proc = new System.Diagnostics.Process();
      proc.StartInfo.FileName = executable;
      proc.StartInfo.Arguments = arguments;
      proc.Start();
      proc.WaitForExit();
      int exit_code = proc.ExitCode;


      if (exit_code != 0)
      {
      return false;
      }

      return true;
      }

      Have you any idea?

      Regards,
      Loïc

  • Greetings,

    You are probably running multiple instances of CPROG. Close all other instances and try again.

    Instead of using testbench, just use CPROG with the CFG file you are using in a command prompt. Make sure that works before extending it into test bench.


    Takao Yamada

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