FAQ: How do I program flash on my target board using CrossCore Embedded Studio?

Document created by CraigG on Mar 22, 2012Last modified by ErinH on Sep 14, 2016
Version 7Show Document
  • View in full screen mode

Question

I’m unable to locate a utility to allow me to program the flash on my target board. Please let me know where I can find one.

 

=============

 

Answer

CCES contains a Command Line Device Programmer (cldp) utility which is invoked from a Command Prompt window as cldp.exe, which is available in the root directory of CCES.

 

Please note, there is no graphical user interface for the cldp within CCES, you can only make use of this utility via a Command Prompt window.

 

Below you can find an example command sequence for flashing a BF609 target board which is being connected to via an ICE-100B:

-proc ADSP-BF609 –emu 100b -driver C:\myProject\MyFlashDriver_dpia.dxe -cmd info -cmd prog -erase affected -format hex -file C:\myProject\MyProject.ldr -cmd compare -format hex -file C:\myProject\MyProject.ldr

 

The example above makes use of the following switches:

 

-proc: This sets the target processor if a valid name is passed, otherwise provides the list of supported processors

-emu: Sets the target emulator if a valid name is passed, otherwise provides the list of supported emulators.

-driver: Loads a device driver application prior to executing Device Programmer commands.

-cmd info: Displays device and driver information in the command window.

-cmd prog –file: Programs device memory with data from a file whose name is required, with or without verification. Options for this switch used in the example above are:

  • -format [hex|bin|ascii] -- Provides the file format. The default is hex.
  • -erase [affected|all|none] -- Provides the erase mode. The default is affected.

  -cmd compare –file: Compares the data in device memory to the data in a file whose name is required. Options for this switched used above are:

  • -format [hex|bin|ascii] -- Provides the file format. The default is hex.

 

 

Detailed information regarding all available switches for the Command Line Device Programmer can be found in CCES Help using the following path:

<Help>->CrossCore Embedded Studio 1.0.x->Integrated Development Environment->Working with Bootable and Non-bootable Files->Device Programmer

1 person found this helpful

Attachments

    Outcomes