There are some TI training videos on building/debugging u-boot/spl via JTAG and Code Composer Studio, which appear to be useful, thus far. Granted they appear to be a few year's old:
https://training.ti.com/linux-board-porting-series-module-5-installing-code-composer-studio?cu=399066. There you can also find the links to the other applicable training modules. On Monday, July 31, 2017 at 3:45:16 PM UTC-5, john3909 wrote: > > I haven’t heard of anyone successfully using Openocd on BBB even though I > have seen many users try it. I would recommend using Blackhawk USB200 with > Code Composer Studio (CCSV7) as it has everything you need to get started. > > Regards, > John > > > > > On Jul 31, 2017, at 5:20 AM, [email protected] <javascript:> wrote: > > Hello > > I am very new to JTAG and i am trying to do the setup for jtag in > beaglebone black(BBB) rev c board using buspirate(BP) and openocd. > I have installed the P2 header in BBB manually. I have connected the BBB > and BP as follows > > JTAG BP BBB > TMS CS P2(1) P2 header pin 1 > TDI MOSI P2(3) > VTREF VPU P2(5) > TDO MISO P2(7) > TCK CLK P2(11) > TRST AUX P2(2) > GRND GND P2(10) > > > I am using my user configuration file(BP_userconfig.cfg) for openocd which > has following content. > > source [find interface/buspirate.cfg] > > buspirate_vreg 0 > buspirate_mode open-drain > buspirate_pullup 1 > reset_config srst_only > buspirate_port /dev/ttyUSB0 > > source [find board/ti_beaglebone_black.cfg] > > Now while running the command *sudo openocd -f BP_userconfig.cfg* I am > getting following error. > > > > > > > > > > > > > > > > > > > > *lenova@lenova-ThinkPad-T410:~/jiten/JTAG$ sudo openocd -f > BP_userconfig.cfg Open On-Chip Debugger 0.10.0+dev-00167-g29cfe9c > (2017-07-20-14:08)Licensed under GNU GPL v2For bug reports, read > http://openocd.org/doc/doxygen/bugs.html > <http://openocd.org/doc/doxygen/bugs.html>Warn : Adapter driver 'buspirate' > did not declare which transports it allows; assuming legacy JTAG-onlyInfo : > only one transport option; autoselect 'jtag'srst_only separate > srst_gates_jtag srst_open_drain connect_deassert_srsttrst_and_srst separate > srst_gates_jtag trst_push_pull srst_open_drain connect_deassert_srstadapter > speed: 1000 kHztrst_and_srst separate srst_gates_jtag trst_push_pull > srst_open_drain connect_deassert_srstInfo : Buspirate Interface ready!Info > : This adapter doesn't support configurable speedInfo : JTAG tap: > am335x.jrc tap/device found: 0x2b94402f (mfg: 0x017 (Texas Instruments), > part: 0xb944, ver: 0x2)Info : JTAG tap: am335x.dap enabledError: JTAG-DP > STICKY ERRORError: Could not initialize the APB-AP*Does anyone have any > idea about this error? and do i need to do anything else in BBB apart from > installing P2 header? > Please let me know if i am doing anything wrong. > > Thanks in advance. > > Regards > jitendriya > > > -- > For more options, visit http://beagleboard.org/discuss > --- > You received this message because you are subscribed to the Google Groups > "BeagleBoard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beagleboard/94f1fafb-03d7-43cc-80d1-8249e2735bcd%40googlegroups.com > > <https://groups.google.com/d/msgid/beagleboard/94f1fafb-03d7-43cc-80d1-8249e2735bcd%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > > > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/c7068f7e-8e48-4826-b1cf-d7aff8545fc4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
