Setting up automatic programming procedures

ST Visual Programmer

home.gif

Setting up automatic programming procedures


Automatic programming procedures allow you to accomplish the following actions:

GENERATE/DOT_S695.gif      Blank check before programming.

GENERATE/DOT_S695.gif      Verify after programming.

GENERATE/DOT_S695.gif      Clear memory before loading a file.

GENERATE/DOT_S695.gif      Erase device memory before programming.

GENERATE/DOT_S695.gif      Display a popup window when an error occurs.

GENERATE/DOT_S695.gif      Log activity.

GENERATE/DOT_S695.gif      Unlock protection before a programming cycle

GENERATE/DOT_S695.gif      Prompt for new programming cycle.

GENERATE/DOT_S695.gif      Activate user mode on next project loading.

To set up automatic programming procedures:

  1. Click on Edit in the Project menu. The Project Edition window opens.
  2. Click on the Properties tab. The Properties dialog box opens as shown below (this is a Project Edition window with two types of memory areas (option byte and program memory) for the device.)
  3. alt  

  4. Check the Programming Option boxes you want to perform.
  5. GENERATE/SQUAR_SM.gif      Blank check before programming (when available): This option is only available with FLASH devices.

    GENERATE/SQUAR_SM.gif      Verify after programming

    GENERATE/SQUAR_SM.gif      Clear memory before loading a file: Checking this option will clear the existing memory values in your STVP session when loading a new file. If you do not check this option, each time you load a new file, only those memory values also present in the newly loaded file will be overwritten.

    GENERATE/SQUAR_SM.gif      Erase device memory before programming (when available): This option is only available with FLASH devices.

    GENERATE/SQUAR_SM.gif      Display a popup window when an error occurs

    GENERATE/SQUAR_SM.gif      Log activity

    GENERATE/SQUAR_SM.gif      Unlock protection before a programming cycle: This option is only available if a project file is open and on certain devices. Click this option if you want to unlock the protection at the beggining of a cycle to be able to reprogram the device if it was protected before executing the project.

    GENERATE/SQUAR_SM.gif      Prompt for new programming cycle: This option is only available if a project file is open. Click this option if you want to repeat the same programming procedure for several microcontrollers. When this option is checked, a dialog box will appear at the end of each programming cycle, asking you if you wish to perform the same programming cycle again.

    GENERATE/SQUAR_SM.gif      Activate secure mode on next project loading: This option is only available if a project file is open. Checking this option only allows the programming session saved in the project file to be performed while the project is open. This option is useful if you want a specific programming session to be used repeatedly without tampering. Once applied, this option can be removed from the Project Edition window, Properties tab, accessible by selecting Project>Edit from the main menu.

  6. Click on OK to save your changes and close the Project Edition window.


  7. prev.gif next.gif