Skip to main content
Version: Next

4.1.4.1.1 Standard setting

caution

Most of the options can be set independently on the PWX1 device side, following the image file described in the device, i.e. the settings of the PowerWriter application software, i.e. the content described in this document, for details see PWX1 System Setup.

caution

The settings in this section affect the operating logic of online full-featured automatic programming and offline programming, as detailed in the Full-featured automatic programming, as well as offline burning, as detailed in Offline Loading.

image-20240605090350287

The Standard Settings section of the PowerWriter burner setup contains:

  • Target chip selection
  • Hiding brand information on the device (brand, series, model)
  • Update settings to the device
  • Erase Method Selection
    • non-erasable
    • full-chip erase
    • page erase
  • Interface Level Setting
    • 1.8V
    • 3.3V
    • 5.0V
    • External Input Reference
  • Other
    • Programming speed selection
    • Option byte operation mode
    • Buzzer Enable

The next sections of the document describe the scenarios in which you can use the settings as described above, as well as the details of the functionality.

4.1.4.1.0 Target chip

In the first step of using PowerWriter, you need to select the corresponding target chip, in order to read and write to the target chip, offline project packaging operations, click on the Select Chip button, the target chip selection box will pop up, according to the current need for the operation of the chip, in turn, select the brand, series, model, click on the OK button, to complete the selection of the target chip, the demonstration is as follows:

GIF 2024-6-5 9-09-43

tip

When selecting a chip, use the fuzzy search function to search for it. In addition to this, you can add frequently used chips to your favorites, quickly select them from the favorites list, and export a list of all currently adapted chips.

caution

The PWLINK2 Lite series chips will have the chip grey status, how to deal with it, see Chip Name Greying Process

4.1.4.1.0.1 Hide on device

When the Hide on Device feature is turned on, the branding information, which cannot be viewed on the PowerWriter device, as well as the specific information in the PowerWriter client, is not available as follows:

  • Brand information cannot be viewed on the device (the screen displays *).
  • Brand information cannot be queried by the AT interface.
  • Hidden when PowerWriter reads the settings.
  • Hidden when PowerWriter imports the configuration.
  • Hidden when reopening the project file.
  • Hide in plugin functions.
caution

When the project file is turned on to hide and save, the switching function will be disabled when the project is opened again, and the switching function can be re-enabled by switching the chip model.

4.1.4.1.0.2 Apply Settings

Update settings to the PowerWriter device for online operation.

note

After changing the settings, you need to apply the settings manually, there is no function to apply the settings automatically!

Online update is set as an online mode function, offline mode does not need to be set by clicking on the application.

4.1.4.1.1 Erase Type

image-20240605091251605

The PowerWriter supports the selection of three erase modes, namely, no erase, full-sheet erase, and page erase.

  • No Erase: Programming without erasing the target chip is suitable for the case that the target chip is empty and has been erased, selecting no erase can improve the programming speed.
  • Full chip erase: Full chip erase on target chip.
  • Page Erase: Performs page erase on the target chip.

4.1.4.1.1.1 Selection of Erase

  • When the chip is determined to be empty yes: no erase is optional.
  • When the firmware is small and less than 1/2 of the chip capacity: page erase can be selected.
  • When the firmware is larger than 1/2 of the chip capacity: full chip erase can be selected.
tip

The choice of page erase or full chip erase is also based on the actual chip erase time consumed, and in some cases, full chip erase is always faster than page erase.

4.1.4.1.2 Interface Voltage

image-20240605091435794

The interface voltage is the IO voltage of the target chip. When the device communicates with the target chip, it needs to keep the IO voltage consistent to avoid the possibility of communication failure or even damage to the chip due to voltage inconsistency. PowerWriter supports four choices of interface voltages: 1.8V, 3.3V, 5.0V, and external inputs, with the default being 3.3V.

tip

In some scenarios, external inputs can be selected to improve the stability of the communication and ensure that the PowerWriter device and the target chip are exactly the same, if the device and the target chip use independent voltages, there will still be a small voltage drop!

caution

To select the external input, you need to supply power from the target board to the PowerWriter VREF (also called VEXT) pin, with a voltage range of 1.8V ~ 5.5V, and need to be consistent with the target board VDDIO.

Read Reference Voltage Setting to get more details on the content.

4.1.4.1.2 Other

image-20240605091535086

Other settings include programmed speed adjustment, option word mode, and buzzer switch options.

4.1.4.1.2.1 Programming speed (clock)

GIF 2024-6-5 9-16-25

Programming speed can be adjusted to program the communication clock speed, the default is 10Mhz, the highest optional 20Mhz, the lowest optional 5Khz, when the environment is less interference, the connection cable is shorter, the communication quality is higher when you can choose a higher clock speed, to a certain extent, you can improve the programming speed, when the production environment is complex, the connection cable is longer, the interference is greater, you can use a lower programming speed to improve the stability of communication.

4.1.4.1.2.2 Option Byte mode

GIF 2024-6-5 9-17-22

Option byte writing, divided into pre-programmed and post-programmed operations, PowerWriter provides four option word mode options, which are:

  • No operation -> No operation: No operation for option byte before programming, no operation for option byte after programming.
  • No operation -> User setting: No operation of option byte before programming, option byte written to user setting after programming.
  • Restore Defaults -> No Operation: Restore option byte to factory value before programming, no operation of option byte after programming.
  • Restore Defaults -> User Settings: Restore option bytes to factory values before programming, write option bytes set by the user after programming.
tip

Flexible use of option byte operation mode, can be adapted to a variety of scenarios, such as, no operation to no operation, you can retain the chip's internal option word, only the target chip flash programming, no operation to the user settings, you can let the chip in a custom state when programming, and then switch to a new state after the completion of the burn-in, when you need to burn the firmware has been burned in the chip, open the protective When you need to clear the contents of the chip that has been burned firmware, or open protection, just set the setting to restore the default to no operation, and leave the firmware empty, then you can batch clear the contents of the chip to the default, and restore the default to the user settings, then you can realize the reprogramming of the chip that has been programmed.

4.1.4.1.2.3 Buzzer

Buzzer switch, refer to Signal Definition section.