Ahh, I hate when that happens. The only way you get the result of 0x30a0002108 is when you switch off your brain and use a calculator and do a << 24 while in hex mode :( Sorry. Using port '3' in my example in the OP should result in drscan using 0xa3002108.
But my question still remains how do I specify port "D" for IcePick? Pass port "4" to icepick_c_tapenable? Regards, Brian On Fri, Jul 8, 2011 at 4:12 PM, Brian Hutchinson <[email protected]> wrote: > Hi, > > target/icepick.cfg from trunk that I got a few days ago has this line in it: > > drscan $jrc 32 [expr 0xa0002108 + ($port << 24)] -endstate DRPAUSE > > ti_beagleboard.cfg and ti_beagleboard_xm both call icepick_c_tapenable > and pass '3' as the port which I assume is IcePick "C" > > So the drscan above, using 3 as the port, would evaluate to > 0x30a0002108 would it not? That is more than 32 bits and so wouldn't > only 0xa0002108 be clocked into the register??? > > Please help me understand this. I'm trying to setup a .cfg for a TI > C6A816x and Code Composer Studio 5 says the XDS100v2 that I'm using is > on IcePick D so should I pass port '4' to the icepick_c_tapenable > routine? > > Regards, > > Brian > _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
