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.

Question about Breakpoint ->Action ->Read Data From File

Other Parts Discussed in Thread: TMS320C6678, SYSBIOS

Hi All,

I use CCSv5.2 and TMS320C6678. I tried to use breakpoint with Action Read Data From file. My breakpoint properties is

Memory state before

Memory state after

Array is

Attemp read writing file
Open test read writing file SUCCESSFULY
Quantity read float is: 37
fl[ ]= 0.00 fl[ 1]= 0.00 fl[ 2]= 5.58 fl[ 3]= 10.96 fl[ 4]= -7.03 fl[ 5]= 0.19 fl[ 6]= -2.78 fl[ 7]= 0.42
fl[ 8]= -3.18 fl[ 9]= 8.25 fl[10]= 2.75 fl[11]= 27.26 fl[12]= 11.96 fl[13]= 48.01 fl[14]= -5.84 fl[15]= 27.99
fl[16]= -40.41 fl[17]= 6.80 fl[18]= -37.04 fl[19]= 24.90 fl[20]= -10.93 fl[21]= 23.43 fl[22]= -18.15 fl[23]= 5.31
fl[24]= -10.83 fl[25]= 13.98 fl[26]= -27.27 fl[27]= 23.93 fl[28]= -32.25 fl[29]= 2.99 fl[30]= -16.50 fl[31]= -6.97
fl[32]= -24.29 fl[33]= -3.39 fl[34]= -16.67 fl[35]= -13.77 fl[36]= -20.34
End Test Read Writing File

Where I was wrong?

Best regards,

      Oleg

  • I tried to write to memory does not active core - but result identical

    I tried to write to DDR3 memory - absolutely idem

    It not connected with possibility write to this memory via JTAG - underlined in red - my edit via JTAG
    Why is it so? Where my error?

  • Hello Oleg,
    Can you attach the *.dat file you are trying to load?

    Thanks
    ki
  • How do you do Mr. Ki-Soo Lee,

    I did the following:
    I inserted to .cfg file next lines

    var LoggingSetup = xdc.useModule('ti.uia.sysbios.LoggingSetup');

    LoggingSetup.eventUploadMode = LoggingSetup.UploadMode_JTAGRUNMODE;

    and created first breakpoint as is

    I created the second breakpoint - with Action-> Write Data to File

    Memory Brouser after breakpoint

    red underline is result action my api

    The file before action is empty, and after action his dump is

    1651 1 11850000 0 800 0                         // I don't know what is it
    0x00000010
    0x00000011
    0xEAF8D107
    0x7C4EDBF0
    0x7205A45E
    0x5EAF81FF
    0x89C2CD7F
    0xFF82E64C
    0x95B33CB4
    0x7ACF1251
    0x9085E775
    0x06E5B0EA
    0x9D08F56D
    0x79F65C4F
    0x5CFBF2D1
    0x2C55253B
    0x46669246
    0xB86D7D34
    0xFC5F133C
    0x7D7C7AE6
    0x02D7B929
    0xF526509E
    0x97264686
    0xC346FF83
    0xF8B293A6
    0x1C7FCACB
    0xF40E9F78
    0xA87E82E1
    0xD7654BF3
    0x491C84BC
    0x77297272
    0x1C74D776
    0x3EC5409E
    0x6AFF89DF
    0x2FC8B87B
    0x9D0B4687
    0x305A4DD0
    0xC3DF5A3A
    0xAABD68F3
    0x74EF5DE2
    0xDC929435
    0x1D6DC772
    0x2A27BA4B
    0x390FEB3D
    0x24BD1170
    0x7817BD22
    0x6DC105F1
    0x7C8AF97F
    0x3F260068
    0x00B4B677
    0xAD610C2F
    0x8142B8A9
    0x34B6F346
    0x94DE6204

    Length of is 

    -rwx------+ 1 Borovikov_O Пользователи домена 6169 Mar 5 09:21 test_signal_1_w_back.dat

    Best regards,

       Oleg

  • Hi All,
    I was able to Read and Write File into breakpoint -> Action.
    My breakpoint is


    red underline length - it should decimal int without prior zeros
    and data file format is text, one number - one line as it

    . . . .

    1.000000e+04
    0.000000e+00
    0.000000e+00
    5.144444e+01
    5.144444e+01
    4.087807e+02
    0.000000e+00
    0.000000e+00
    0.000000e+00
    5.580123e+00
    1.095529e+01
    -7.025506e+00
    1.868629e-01


    and result action is


    at any rate so happened with me
    Best regards
    Oleg