The procedure for reading data written to flash memory is as follows.
To read data from a microcontroller's flash memory using NETIMPRESS avant/acorde,
execute the COPY command in the device function to copy (read) the data from the flash memory
to the programmer's buffer memory, and then save the data as a file. The procedure is as follows
for using a PC (SWX600 Remote Controller) and for operating the device itself (standalone).
<Using the SWX600 Remote Controller>
1. Setting the Read Range
In the "Device Function" section of the "Basic Operation" tab, under "Target Address,"
set the first and last addresses of the area you want to read.
*The default setting is to read the entire flash memory.
2. Execute COPY
Click the "COPY" button on the same "Basic Operation" tab. This copies the contents of the flash memory
to the buffer memory and verifies it.
* When you execute COPY, the contents of the current file in buffer memory will be overwritten
and the Current File (the name of the file most recently loaded) will be cleared.
3. Saving Data
Open the "File Transfer" tab and click "Save Object Data" in the "Object Data" group to save the data
in buffer memory to your PC. The data format (Intel HEX/Motorola S) can be specified in the
"Object Data Format" field below.
* The data save range can be changed in the "Basic Operation" tab or "Parameter Table 1" tab,
using the "First Address" and "Last Address" fields in "Buffer Area."
(The default is the entire flash memory area.)
* Procedure for saving in binary format
1. In the "File Operation" field of the "Basic Operation" tab, click [Save File] to save the contents
of buffer memory to a file on the SD card (in the current YIM folder).
* When saving, select "RAMxxx.BIN" (where xxx is a number incrementing from 000) to save the file
in binary format.
2. Select the file saved in step 1 above using [Copy File (Save)] in the "File Transfer" tab to transfer
the file to your PC.
<When operating from the programmer (standalone)>
1. Execute COPY
Select and execute "COPY" on the "Page 1 / DEV FUNCTION" screen of the LCD menu.
2. Save Data
Select and execute "BUFFER -> FILE (SAVE)" on the "Page 5 / BUFFER 01" screen of the LCD menu.
This will save the contents of the buffer memory as a file on the SD card (in the current YIM folder).
*The file name to save is selected from the automatically generated file names. The data format
when saved will change depending on the file name extension selected.
- RAMxxx.S (saved in Motorola S format)
- RAMxxx.HEX (saved in Intel HEX format)
- RAMxxx.BIN (saved in binary format)
*xxx is a number that increments from 000 each time it is created.
<Reference> For restrictions on reading data, see the link below.
Restrictions on reading data written to flash memory (for Renesas MCUs)