Re: [Openocd-development] Cortex-A8 problems

2009-09-02 Thread Magnus Lundin
Matt Hsu wrote: So in the OMAP initialisation script we have the line # set DBGEN signal mww 0x5401d030 0x2000 Hi Magnus, It seems that the debug address space is remapped from 0xD401 to 0x5401. But I could not find out any sections mentioned this

Re: [Openocd-development] Cortex-A8 problems

2009-09-01 Thread Harald Welte
Hi Magnus, On Mon, Aug 31, 2009 at 05:36:11PM +0200, Magnus Lundin wrote: dap_ap_select(swjdp, 1); before the two lines dap_ap_read_reg_u32(swjdp, 0xFC, idreg); dap_ap_read_reg_u32(swjdp, 0xF8, romaddr); in ahbap_debugport_init() What happens when you do dap info

Re: [Openocd-development] Cortex-A8 problems

2009-09-01 Thread Magnus Lundin
Harald Welte wrote: Hi Magnus, On Mon, Aug 31, 2009 at 05:36:11PM +0200, Magnus Lundin wrote: dap_ap_select(swjdp, 1); before the two lines dap_ap_read_reg_u32(swjdp, 0xFC, idreg); dap_ap_read_reg_u32(swjdp, 0xF8, romaddr); in ahbap_debugport_init()

[Openocd-development] Cortex-A8 problems

2009-08-31 Thread Harald Welte
Hi All! Throughout the last week or so, I've been trying to get OpenOCD to work on a new (not public yet) Cortex-A8 based SoC. Right now I feel a bit stuck, despite having read the CoreSight docs from ARM as well as the Cortex-A8 reference manual chapter 12... The first thing I obviously did

Re: [Openocd-development] Cortex-A8 problems

2009-08-31 Thread Magnus Lundin
Beautiful work. Harald Welte wrote: Hi All! Throughout the last week or so, I've been trying to get OpenOCD to work on a new (not public yet) Cortex-A8 based SoC. Right now I feel a bit stuck, despite having read the CoreSight docs from ARM as well as the Cortex-A8 reference manual chapter