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.
Hello,
I am trying to load a hex file into char array using "Read data from file" in breakpoint. I've done it once before, for integer format.
Now I need to load byte-size array in hex format. I used perl script to transform a data into hex format and the file looks like this:
1651 1 E383 0 190
54
49
50
41
0d
01
.....
.....
.....
This does not loads the correct data. The problem is probably in the hex format. Can someone point me to possible error?
Thank You
Arye Lerner
The way I always get the correct format is to first do a File->Data->Save in CCS and write out some data to a file, selecting the format that matches your needs. For the C6455, for example, you would select "Addressable unit" to get byte data.
This will show you the format for the data and the right values for the header line. The header line and formats are described in some document somewhere, but it takes longer to find it and read it than it does to do the Save command.