This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Save Memory with UniFlash 3.1.0.00026

Other Parts Discussed in Thread: UNIFLASH, TMS470MF04207, TMS470MF03107

Hello,

I am currently using UniFlash 3.1.0.00026 and I am trying to save memory from a TMS470MF04207, but it fails.

My configuration is given below:

My console log is:

[12:02:22] Begin Launching session operation.

[12:02:23] Operation Launching session returned.
[12:02:23] Loaded target configuration from: C:\Users\m.schmidt\Desktop\TMS470MF03107.ccxml
[12:08:58] CortexM3_0: GEL Output: Memory Map Setup for Flash @ Address 0x0
[12:08:58] Begin Save Memory... operation.
[12:09:43] ERROR >> CortexM3_0: Failed to read memory

[12:09:43] Saved memory to file: C:\Users\m.schmidt\Desktop\Dumps\testdump_20140324
[12:09:43] Operation Save Memory... returned

But, if the file format is set to BIN instead of COFF, it works.

The console log is in this case:

[12:15:35] Begin Launching session operation.
[12:15:36] Operation Launching session returned.
[12:15:36] Loaded target configuration from: C:\Users\m.schmidt\Desktop\TMS470MF03107.ccxml
[12:16:59] CortexM3_0: GEL Output: Memory Map Setup for Flash @ Address 0x0
[12:16:59] Begin Save Memory... operation.
[12:17:58] Saved memory to file: C:\Users\m.schmidt\Desktop\Dumps\testdump_20140324_bin
[12:17:58] Operation Save Memory... returned.

I managed to save memory in COFF format with the UniFLash version 2.1.0.00009. Do you know what I can't save memory in COFF format?

Best regards

Mathieu

  • Mathieu,

    The flash bank on that device ends at 0x3FFFF, the export setting you have is exporting 0x3FFFF words. Therefore you are overshooting the range into undelared/mapped memory region. To export it properly, use 0xFFFF words instead. 

    I notice the error messages,  the wording and information on that window is not as clear as it should be, these will be on our list to be improved in the next version.

    Victor