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.

CCS5 bin file load does nothing until dat file loaded

Other Parts Discussed in Thread: UNIFLASH

Hello,

I'm using CCS5.5 with ICDI on the Stellaris DK-LM3S9D96 board.  Load of .bin file to target's internal SRAM and external SDRAM does nothing.  Save memory to .bin works.  Load does not put up a progress pop-up, with either small or large files.  Memory does not change.  CCS console doesn't have any messages.

However, after I did save and load with a .dat file, the .bin load worked.

I did not see any reports of this problem. 

  • don dukeshire said:

    I'm using CCS5.5 with ICDI on the Stellaris DK-LM3S9D96 board.  Load of .bin file to target's internal SRAM and external SDRAM does nothing.  Save memory to .bin works.  Load does not put up a progress pop-up, with either small or large files.  Memory does not change.  CCS console doesn't have any messages.

    How are you trying to load the .bin file? The Load Program menu in CCS allows you to load .out files not .bin. You should be able to program .bin files using LM Flash programmer or Uniflash.

    don dukeshire said:

    However, after I did save and load with a .dat file, the .bin load worked.

    I'm not really sure what you mean here. Are you saying that after you do a save memory and then load memory from the memory browser, you can then load a .bin file which you could not before?

  • I did not say Load Program.  I used Load Memory, which not only supports Raw Data Format (.bin) files, but uses that format by default.  It is available from the Memory Browser context menu and from the Tools menu.

    After Load Memory with several .bin files did nothing, I did Save Memory to a TI Data Format (.dat) file, then Load Memory with the same (.dat) file.  After that, Load Memory with Raw Data Format (.bin) files worked.

    Obviously, I have a work around.  I'm notifying you of the problem in case someone wants to investigate.

  • Sorry about the delayed reply. So these .bin files were saved using Save Memory and then when trying to load them back using Load Memory they do not do anything, correct?

    I have tried a few attempts at reproducing this and have been unsuccessful (although it wasnt on a LM3S9D96 but on other Stellaris boards). I tried saving memory to .bin and then loading the .bin and it worked fine.

    What address range are you trying to save memory from? Could you attach one or two of those bin files that you are having trouble with so we can attempt to recreate the problem?

  • Yes, .bin files were created with Save Memory.  Yes, nothing happened when Load Memory was used with those same files.  Until a .dat file was saved and loaded.  Then, the .bin files worked.  So, the .bin file itself is not the problem.  A .bin file can only be too big.  No other content is illegal. 

    I saved from, and attempted to load to, both internal SRAM at 0x20000000 and external memory at 0x60000000.  Both memories work fine in every way, including Load Memory with .bin files.  After .dat save/load as mentioned.

    As I said, the problem seems to be in CCS.  Load Memory did not show any pop up window with any .bin file until after .dat save/load.

    test.123
  • Thank you for attaching your .bin file. I tested this again, this time with a DK-LM3S9D96 (same as you) and CCS 5.5, and performed several Save/Load Memory operations in internal SRAM with .bin files and they all worked fine. I was even able to load your .bin without any issues. I did not have to do any save/loads of .dat files in order to get this to work.

    So I suspect it is something specific to your installation. I would ask you to reinstall CCS (although I do understand the inconvenience), as I don't think there is an inherent issue with the load/save memory operations themselves as they work fine for me.