From: Mathias K. <ke...@fr...> - 2011-01-26 16:42:31
|
Hello, this patch fix the broken dap component base from the debug logic/processor on the tms570 cpu. There are some more components but i dont know if they are all wrong or only this one. I have append the dap info output. There is also a new CoreSight component with id 0x930. This is still missing in the "dap_info_command" function. Anyway, i was able to connect to the cortex-r4 (tms570) with a cortex_a8 configuration. I can read the registers, halt, step and resume seems to work. Regards, Mathias --- > dap info 1 AP ID register 0x04770002 Type is MEM-AP APB AP BASE 0x80000000 ROM table in legacy format MEMTYPE System memory not present. Dedicated debug bus. ROMTABLE[0x0] = 0x1003 Component base address 0x80001000, start address 0x80001000 Component class is 0x9, CoreSight component Type is 0x15, Debug Logic, Processor Peripheral ID[4..0] = hex 04 00 6b bc 14 Part is -*- unrecognized -*- ROMTABLE[0x4] = 0x2003 Component base address 0x80002000, start address 0x80002000 Component class is 0x9, CoreSight component Type is 0x13, Trace Source, Processor Peripheral ID[4..0] = hex 04 00 0b b9 30 Part is -*- unrecognized -*- ROMTABLE[0x8] = 0x3003 Component base address 0x80003000, start address 0x80003000 Component class is 0x9, CoreSight component Type is 0x11, Trace Sink, Port Peripheral ID[4..0] = hex 04 00 1b b9 12 Part is Coresight TPIU (Trace Port Interface Unit) ROMTABLE[0xc] = 0x4003 Component base address 0x80004000, start address 0x80004000 Component class is 0x9, CoreSight component Type is 0x04, Debug Control, other Peripheral ID[4..0] = hex 00 00 09 70 00 Part is Cortex-M3 NVIC (Interrupt Controller) ROMTABLE[0x10] = 0x0 End of ROM table |