Hi Delio, Yes, I also posted on TI forum.
What is interesting is that TI published IAR JTAG script for AM335x on the following page: http://processors.wiki.ti.com/index.php/AM335X_StarterWare_Environment_Setup And inside (file am335x.JLinkScript) there is no special ICEPICK-D commands but they are setting bit 13 at 0xD401D030 to enable DBGEN: _StoreWriteAPDPReg(0, 0x80000012); // Write APB-AP CSW _StoreWriteAPDPReg(1, 0xD401D030); // Write APB-AP TAR v = (1 << 13); // Set DBGEN signal _StoreWriteAPDPReg(3, v); // Write APB-AP DRW Not sure if this is error but when I try to do "mww am335x.cpu phys 0xD401D030 0x2000" i can see that register is changed but AUTHSTATUS register still shows 0xAE which means that DBGEN is disabled. Maybe I'm doing something wrong.... Cheers, Damjan On Feb 4, 2012, at 12:41 PM, Delio Brignoli wrote: > Hello Damjan, > > We are seeing the same issue with a different TI SoC (DM8148) and are > communicating with TI to try and source the necessary information to make > this work (see > <http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/155509.aspx#565991>). > If you posted a message about this on TI's e2e forum as well, it may help TI > understanding more information regarding JTAG setup is needed. > > Thanks > -- > Delio Brignoli > Audioscience Inc. > > On 03/02/2012, at 15:24, Damjan Marion wrote: > >> >> >> Hi, >> >> I managed to send proper ICEPick-D commands to AM335x and I can access >> memory. >> >> i.e. I can access HWINFO register by doing: >> >> am335x.cpu mdw phys 0x44E10004 >> >> However I cannot halt CPU. Might be that there is a need to write to a >> specific register >> like on AM/DM37x to enable DBGEM but I cannot find such register. >> >> I tried some registers which are not documented in TRM but they are included >> in >> AM335X StarterWare [1] include/hw/hw_control_AM335x.h but no luck so far. >> >> Has anybody else succeeded to halt CPU? >> >> any thoughts? >> >> Thanks, >> >> Damjan >> >> >> [1] http://www.ti.com/tool/starterware-sitara >> >> >> >> ------------------------------------------------------------------------------ >> Try before you buy = See our experts in action! >> The most comprehensive online learning library for Microsoft developers >> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, >> Metro Style Apps, more. Free future releases when you subscribe now! >> http://p.sf.net/sfu/learndevnow-dev2 >> _______________________________________________ >> OpenOCD-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/openocd-devel > > Kind Regards > -- > Delio Brignoli > AudioScience Inc > > ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
