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.

66AK2H14: Access SoC device registers from u-boot

Part Number: 66AK2H14

Hi,

  We like to read/write to SoC device registers, from uboot command line, associated with Gigabit Ethernet Switch Subsystem modules.

going through the user manuals we see that these registers are located at (page 70 of processer user guide) offset of 00_0200_0000 to 00_020F_FFFF.

We like to examine ethernet frame counters, and need to get to statistics counters part of Gigabit Switch Module located in above address range.

we tried u-boot command "md.l  02000B00" but reading all zeros for RXGOODFRAMES, which is not true as we got some pings & TFTP traffic went through.

what is the best way to get to those registers from uboot, for debug pupose ?

Thanks.

  • The command appears to be correct. Did you try :

    md.l  0x02000B00

    Other option is to use simple emulator and look at the register from the memory browser in CCS IDE  

    Regards,

    Rahul

  • it still comes up as all zeros...

    => md.l 0x02000B00
    02000b00: 00000000 00000000 00000000 00000000 ................
    02000b10: 00000000 00000000 00000000 00000000 ................
    02000b20: 00000000 00000000 00000000 00000000 ................

    I guess uboot is hiding these registers under MMU configuration. Is it possible that these got mapped to some other location.

    Appreciate your help.

    Regards.