Download Untitled - ELMICRO
Transcript
Chapter 6 Memory Option Dialogue Screen The Memory Options dialogue screen selected by choosing the Setup→Memory Options option (shown in Figure 6.1) has four settings groups and one information group. These settings groups allow the user to specify memory segments for erase, write, verify and read operations. The user can also choose to retain data in flash memory between successive “Auto Program” and “Erase” operations and choose the type of write verification. The information group contains specifications of the selected MCU, such as the address range for non-volatile registers, flash size, and RAM size. 6.1 Memory Erase, Write, and Verify The “Auto Program”, “Erase”, “Write”, and “Verify” operations used in the main dialogue screen (shown in Figure 4.1) use addresses specified in this dialogue screen. This settings group has seven options: 1. Unlock [Auto Program only] - When this option is selected the “Auto Program” operation will attempt to unlock the target device using the “Clear Locked Device” recovery procedure IF the FlashPro-LM Programmer fails in gaining access. The recovery procedure is only used in this context if the debug interface is disabled, not if selected memory pages are protected. 2. Update only - When this option is selected the “Auto Program” operation will not erase memory contents. Instead, contents of code data taken from the code file will be downloaded to flash memory. This option is useful when a relatively small amount of data, such as calibration data, needs to be added to flash memory. Other address ranges should not be included in the code file, meaning that the code file should contain ONLY the data which is to be programmed to flash memory. For example, if the code file contains data as shown in TI format: @1008 25 CA 80 40 39 E3 F8 02 @2200 48 35 59 72 AC B8 q 37