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.

Patch .out file

In my project, I would like to alter the .out file in the postprocessing step (some configuration data which is generated externally is to be written into the file). I have successfully converted the .out to .txt and patched that one, but I have no real idea how to convert it back to .out.

When I try to flash the .txt file (whose formatting etc. is ok, I checked with a diff tool), the MSP430 seems to idle around somewhere in the 0xFExx range, I cannot reset it via the debugger. So using the .txt file is not an option at this point in time. As far as I can tell, the programming step itself is ok, I did a copuple of cross checks between debugger and .txt file.

Does someone have a suggestion how to either modify the .out or get the MSP running with the .txt file? 

Max

  • .txt contains an image of the intended Flash memory. You probably made a mistake when you patched it.

    I have hand typed .txt file with an editor (and without compiler/assembler/linker/debugger or .out file ever) and use BSL or Flasher to download that .txt to the target. It works as I expected.

    If you how me the original .txt and your patched up .txt, I can point out what went wrong.

**Attention** This is a public forum