Are you asking how to specify the tcf file to the debugger? To do this, use the Debug Configurations Pane, Files tab, and select 'Add peripheral files from directory':
If you are asking how to generate the tcf, see chapter 3 of the DS-5 User Guide.
With the previous information, I managed to load a tcf file in a debugging session. The list of registers appeared correctly. But there was an error when trying to look at the content.
Since 3 month, I did not work with the peripherals of the imx25.
Now, I am trying again to make them work. I created a very simple tcf file thinking that it would help to find the solution, but it also fails. I joined it to the post.
Two types of errors appear. The first one is logged in the command console when starting debugging session :
WARNING(CDB53): Read only memory maps cannot be modified, ignoring new region - SDRAM0
WARNING(CDB53): Read only memory maps cannot be modified, ignoring new region - SDRAM1
The second one is logged when trying to look at the content of a register :
Target Message: This version of debug hardware does not support physical memory addresses for this core.
I can see the content ot the register by using directly the address inside the Memory view (in my case 0x53FF8000).
But when DS-5 accesses to the memory by using this address &($Peripherals::$P_CSI::$G_CSICR1) or P:0x53FF8000, it fails to load the content.
Does anyone have an idea on the problem that makes DS-5 fail to display memory mapped registers of imx25 ?
imx25.tcf.zip 642 bytes