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.

TMDSCNCD28379D: Overwriting Flash

Genius 17695 points
Part Number: TMDSCNCD28379D
Other Parts Discussed in Thread: UNIFLASH

Hi Experts,

Seeking your advice on this query from a known customer about overwriting flash with TMDSCNCD28379D:

I have two projects targeting the referenced board and processor. When I modify and download one of them, I can verify the flash is overwritten after cycling power. When I download the other, I can see the download worked and the other program is running, but when I cycle power, the first program runs. I need to know why the second program does not overwrite the flash memory. This is especially strange because as of two days ago, I could download either program, and cycle power, and both programs consistently overwrote the flash.

I use the Uniflash utility to download the .hex files. As far as I can tell, the Uniflash settings are the same for both programs, including the setting to erase flash. I'm not sure how much more detail you folks may need, so I'll wait until I hear from you. If it helps, I'm including the GUI log and the DS log files generated when I downloaded the problematic program.

Hoping to hear an update.

Regards,
Archie A.

Attached:
[1] ds.log
[2] uniflash_5F00_gui_5F00_debug_5F00_log.txt

  • Hi,

    Thank you for the post.

    We will review and get back to you by coming Monday.

    Regards,

    Vamsi

  • Hi Archie,

    1) As of now, I think you are using the script to load the flash image using the Uniflash. 

    Can you try loading the flash image manually using the Uniflash?

    2) Are you using the same linker command file for your old and new application?

    Thanks and regards,
    Vamsi

  • Hello Vamsi,

    Thank you for your support. Customer still I'm still learning the TI tools and below is his response:

    1) I do use Uniflash, but I don't know the difference between manual vs scripted. When I run Uniflash, the top part of the screen is labelled Detected Devices. It always shows my USB probe, and a pulldown to manually select a device. In that pulldown I select my processor model and click Start. I then get prompted to browse for my .hex file and download it (Load Image button). That all seems kind of "manual" to me. Is there another way to do a download??
    2) I'm also far from an expert on linker command options. I've been using TI sample projects and have not touched the linker options in either project. If it helps, I took screen shots of the linker command in each project's Properties. I'll attach them and maybe you can find some critical difference.

    Thank you.

    Regards,
    Archie A.

    Flash NOT overwritten:

    .

    Flash overwritten:


  • Hi Archie,

    I will review and get back to you in couple of days.

    Thanks and regards,
    Vamsi

  • Hello Vamsi,

    Looking forward to the result of your review.

    Thank you.

    Regards,
    Archie A.

  • Hi Archie,

    1) Can you send the screenshot of the flash plugin GUI settings?

    2) Can you send the map file of the two projects?

    Thanks and regards,

    Vamsi

  • Hello Vamsi,

    Apology but customer just responding as they came from a long vacation. To continue, below is th response:

    I'm afraid I don't know what you mean by "the flash plugin GUI settings". Is that something I can call up in UniFlash? Or in CCS? I tried to attach the map files from the projects, but your site will not allow it. It says "File type not permitted or mime type does not match the file content". Is there some trick to attaching map files? Can I attach them to an email?

    Regards,
    Archie A./Fred

  • Hi Archie,

    Sorry for the delay.  I am out of office currently. 

    For the flush plugin GUI settings: CCS debug view -> Tools -> On-chip Flash.  

    For the map file: Please change the file extension to txt and upload it.

    Please expect delay in my replies.

    Thanks and regards,

    Vamsi