On 08/06/2015 11:38 PM, Ryan wrote: > Hi, > > I am using a 4460 Based custom board & i want to debug linux using > Trace32. Could anyone share the cmm files required for debugging > omap4460. > > I also request you to share any related documentation for debugging > omap using trace32. You need to talk to lauterbach support. I have kind of always used the following and it seems to work.. ;&t32id="C:\t32" &t32id="/opt/t32" &kdir="~/Src/opensource/linux" print "Connecting to OMAP 4460..." SYStem.RESet system.mode down system.cpu omap4460 sys.jc RTCK system.mode attach core.select 1 system.MEMACCESS.DAP core.select 0 system.MEMACCESS.DAP TASK.RESet sYmbol.RESet sYmbol.AutoLoad.RESet ; reset autoloader list TRONCHIP.s undef ON TrOnchip.Set DABORT OFF TrOnchip.Set PABORT OFF TrOnchip.Set UNDEF OFF SYStem.Option DACR ON ; give Debugger global write permissions SETUP.IMASKASM OFF ; lock interrupts while single stepping SYSTEM.MEMACCESS DAP ; enable DAP access ;setup missing trace funnel and TPIU disable d.s eapb:0xd4164fb0 %l 0xc5acce55 d.s eapb:0xd4164000 %l 0x00000301 ; ds.l 0x54160020 %1 1 print "Connecting to OMAP 4460 Completed Successfully" ;Resetting watchdog ;d.s e:0x4A314048 %l 0xAAAA ;wait 10.ms ;d.s e:0x4A314048 %l 0x5555 system.option pwrdwn on setup.urate 3.s system.polling slow per.reprogram "&t32id\peromap4460app.per" menu.reprogram "&t32id\menomap4460app.men" data.load.elf &kdir/vmlinux /nocode /gnu enddo -- Regards, Nishanth Menon -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html