Part Number: TMS570LS3137
Other Parts Discussed in Thread: UNIFLASH
I am trying to export the following memory range but get an error each time I try.

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.
Part Number: TMS570LS3137
Other Parts Discussed in Thread: UNIFLASH
I am trying to export the following memory range but get an error each time I try.

Is the content at 0xAD640 displayed in the memory browser? Is the content a valid data?
What is the content at this address after the flash is erased?
After the program image is located to flash, the program starts execution. If the flash ECC is enabled, reading a location which has a invalid ECC value will generate an error or data abort.
From your screenshot, your code size is 0xAD640. Beyond this address, the flash content is 0xFFFFFFFF, and the ECC value is also 0xFFFFFFFF which is not valid ECC value for flash data. So you got failed when you tried to export the data from the unused flash memory.
If flash ECC is not enabled in your code, you won't see this issue. You can disable the Flash ECC by commenting out the below instruction in sys_startup.c:
// _coreEnableFlashEcc_();
You can calculate and program the ECC for the whole flash memory using Linker cmd file, so you can read the unused flash location and won't get ECC error.
Refer to this link to learn how to generate ECC using Linker CMD file:
http://software-dl.ti.com/hercules/hercules_docs/latest/hercules/How_to_Guides/HowToGuides.html
In our software we use the Fapi_issueAsyncCommandWithAddress function to erase certain sectors. After erasing sectors this way how can we read those memory locations because no new ECC is loaded. I think using uniflash to erase also loads a new ecc.
The uniflash and CCS don't program the ECC after erasing the flash. The ECC space is also erased. When you read the data from the erased sectors, you will get ECC error.
Flash API Fapi_issueAsyncCommandWithAddress(sector_erase,..) erases both flash sector and its corresponding ECC space. You can use linker cmd file to program ECC to the whole flash.