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.

Unable to set break points in the code.

Other Parts Discussed in Thread: TMS320DM365

 

Hi,

 

I am using tms320dm365 custom board. I had successfully loaded the code in to nor flash . On trying to run the program ,  i am not able to go the main function in code. Also i am unable to  set break points in the code and run to it.  when tried toset break point i get the error,

Please find the below given flash log seen in stdout window.

 

Starting DM644x_NORWriter.
Do you wish to use a UBL in the NOR flash (Y/N)?
y
Enter the UBL file Name:
F:\DM365_TO_DM368\dm368_manvi\board_utilities\flash_utils\DM36x\CCS\UBL\UBL_DM36x_NOR.bin
Erasing the NOR Flash
Erased through 0x2020000
Erase Completed
Writing the NOR Flash
NOR Write OK through 0x2007800.
Enter the U-boot or application file name:
F:\DM365_TO_DM368\dm368_manvi\board_utilities\flash_utils\DM36x\CCS\UBL\u-boot-dm368.bin
Enter the U-boot or application entry point:
0x81080000
Enter the U-boot or application load address:
0x81080000
Erasing the NOR Flash
Erased through 0x2040000
Erase Completed
Writing the NOR Flash
NOR Write OK through 0x2020010.
Writing the NOR Flash
NOR Write OK through 0x2028000.
NOR Write OK through 0x2030000.
NOR Write OK through 0x2038000.
NOR Write OK through 0x20380F4.
    NOR boot preparation was successful!

when tried to run to a line in code, it failed with error " Cursor in not on a valid line, please move to valid line " .  can anyone tell me what went wrong  and how to fix this.

 

Thanks in advance,

Kiran Babu.

  • You may need to add the NOR flash address range to you memory map in CCS.

  • Hi Marcus,

    Thank you for replying. On doing search in ti forum, i came to know that, when source code is stored in different folder, ccs by default goes into disassembly  window. It is suggested to use mixed mode debugging for setting break point. that is working for me. i  will try your suggestion too and let you know the result. 

    I am now facing another burning problem. I had posted the problem under the title " Error in .bin file"  and below is the link for it

    http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/119391.aspx

    can you shed some light on it.

     

    Thanks and regards,

    Kiran.