I am debugging a software in a board based on a Freescale i.MX25 CPU.
But default debug configurations does not embed the memory mapped registers of the peripherals of the CPU. I am not able to see the peripherals registers value.
I have tried to create a tcf file from a bcd file coming from the older RealView Development Suite, but I am stuck there.
Is there a way to add this tcf file to my debug configuration ? Or is there another way to see the peripherals registers (other than memory viewer) ?
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.
That was exactly what I was looking for !!
I was unable to find this information in the debugger user guide.
Thanks a lot !!
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 ?
Is there somebody to help me on this problem ?
Thanks in advance,
I think you would be better off contacting ARM technical support directly - they can test your .tcf file out on the correct hardware and hopefully find a solution.