3.9. Using the Flash Programmer to Write an Image to Flash

After importing your flash algorithm into the Eclipse Flash Programmer plug-in you can use it to write images into flash.

To write an image contained within an open C/C++ project to flash:

  1. In the C/C++ Projects pane, navigate to the image that you want to write and right-click on it to open the context menu.

  2. Select Send To → Send To… from the menu. The Send To dialog opens (see Figure 10).

    Figure 10. Editing a send to configuration

    Editing a send to configuration
  3. Either select an existing send to configuration or create a new one. To create a new send to configuration click the

    New Configuration button

    button and then edit the Name field to give your configuration a name.

  4. In the Image tab, configure the settings for your image.

  5. In the Connection tab, configure a connection to your target hardware.

  6. In the Flash device tab, select the flash configuration that contains your flash algorithm. To create a new flash configuration see Creating a Flash Configuration.

  7. In the Program tab, select the erase method and whether a verify operation is performed.

  8. Click Apply to save your send to configuration.

  9. Click Send To to begin writing your image to flash.

  10. The Flash Programmer Results dialog opens after programming is complete (see Figure 11), indicating success or failure and the time taken for various operations.

    Figure 11. The Flash Programmer Results dialog

    The Flash Programmer Results dialog
Copyright © 2007. All rights reserved.DAI0190A