On Wed, Oct 22, 2014 at 4:59 PM, Brian Hutchinson <[email protected]> wrote:
> Hi, > > I'm trying to do some things with BBB using CCSv6 and a XDS560v2 USB. > > Doing kernel debug and trying to use stop/mode debugging. The .ccxml file > I made for BBB (selected the BBB board from the menu list when I set up > target configuration) included a .gel file for the CortexA8 and so I > stubbed that out as that was causing me problems at first. > > Now when I run the debug configuration, it connects to target and loads > symbols for the kernel I'm working on but before I can set a hardware > breakpoint and click resume to start debugging ... the board spontaneously > runs (CCS changes from being suspended to running) and I see the board boot > in my serial console. > > So it is like a watchdog or something is firing and resetting the board > ... or something like that. > > Anyone got experience with using JTAG and CCS with BBB and know what is > going on? > > Here is basically what I'm doing: > I have a kernel/rootfs etc. that works on SD card. > > I hold down button while powering up to make BBB boot from SD. > > I stop in u-boot. > > Next I run the debug configuration I made for BBB that connects to target > and loads kernel symbols. > > Before I can do much of anything, the board takes off running when I don't > expect it to. > > Regards, > > Brian > > > Just to answer my own question ... I think I discovered part of my problem. I'm using u-boot 2014.07 and I learned that turned on the watchdog by default. In uboot I tried: U-Boot# mw.l 44e35048 0000aaaa U-Boot# mw.l 44e35048 00005555 ... to disable the watchdog and then I didn't get a reset when I ran my debug configuration and connected to the target. But now I can't get hardware brakepoints to work :( Regards, Brian -- 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]. For more options, visit https://groups.google.com/d/optout.
