This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DS-5 Debugger : How to add peripherals memory mapped registers of a Freescale i.MX25 ?

Hi,

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) ?

Thanks !!

Parents
  • Hi,

    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 ?

    Thanks !!

Reply
  • Hi,

    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 ?

    Thanks !!

Children