Is it possible to read the contents of flash memory in a TMS320LF2406A and dump them to an ascii file?
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.
Is it possible to read the contents of flash memory in a TMS320LF2406A and dump them to an ascii file?
Don,
Yes, it is possible. Please check the attachment for the procedure to be followed.
6406.How to do a flash dump in .dat format using CCS4.0v.pdf2642.How to do a flash dump in .dat format using CCS3.3v.pdf
Regards
Manoj
Thanks, How do I connect to my device? It seems as though my device is not supported in CCsv4. I only have the 30 day licence will it still work?
Hi Don,
It depends on whether the Flash Security feature has been enabled. If it has, you will need to have the 64-bit password that was used to lock the memory. The below text is taken from the 2406A data sheet:
240xA devices incorporate a security feature that prevents external access to program memory. This feature is useful in preventing unauthorized duplication of proprietary code. If access to Flash/ROM contents are desired for debugging purposes, two actions need to be taken: 1. A “dummy” read of locations 40h, 41h, 42h and 43h (of program memory space) is necessary. The word “dummy” indicates that the destination address of this read is insignificant. NOTE: Step 2 is not required if 40h
−43h contain 0000 0000 0000 0000h or FFFF FFFF FFFF FFFFh.
2. A 64-bit password (split as four 16-bit words) must be written to the data-memory locations 77F0h, 77F1h, 77F2h, and 77F3h. The four 16-bit words written to these locations must match the four words stored in 40h, 41h, 42h, and 43h (of program memory space), respectively. The device becomes “unsecured” one cycleafter the last instruction that unsecures the part. Assuming you have access to the flash, then you could either read the locations with a JTAG debugger tool (like CCS), or, run a program in RAM to read the flash, and spit it out via SCI on the 2406A, which could then be read via a terminal program running on the PC. Regards, Dave
Thank you for your answer. My problem is that I'm in CCS and I'm looking at the target -> new target configuration. I don't see my chip listed anywhere.
Don,
F2406A is not supported by CCS4v. Please use CCS3.3v.
Source: http://processors.wiki.ti.com/index.php/Development_Tool_Versions_for_C2000_Support
Regards,
Manoj