2011-02-18 09:07:20     jtag 'bfin reset' doesn't

Document created by Aaronwu Employee on Aug 26, 2013
Version 1Show Document
  • View in full screen mode

2011-02-18 09:07:20     jtag 'bfin reset' doesn't

Andrew Kohlsmith (CANADA)

Message: 98254   

 

I'm trying to get urjtag's 'bfin reset' command to work. This is on a custom bf518 board based off of the ezboard (same memory layout, jtag's bf518f-ezbrd bus configuration works fine with it)

 

Neither "bfin reset core" nor "bfin reset system" seem to do anything. I have minicom connected in one shell and the jtag program running in another. I'd expect u-boot to start up when the reset command is issued but this is not the case.

 

If I hit the reset button on the board all is good and uboot starts up as expected.

 

I see the patch from Mike Frysinger from September 2008 which adds this functionality, and I'd like to try to issue the emulation commands myself, but I am not sure how to go about doing this with the bfin emulation command.

 

Is there anything hardware-wise which must be in place in order to get the emulation based reset instruction to work? If not, would it be possible to use the scan chain to toggle the reset pin?

 

jtag --version reports version 0.8.

 

-A.

QuoteReplyEditDelete

 

 

2011-02-18 09:23:14     Re: jtag 'bfin reset' doesn't

Mike Frysinger (UNITED STATES)

Message: 98256   

 

the order is:

bfin emulation enter

bfin reset

bfin emulation exit

 

i use this from time to time and seems to work fine for me

QuoteReplyEditDelete

 

 

2011-02-18 09:43:45     Re: jtag 'bfin reset' doesn't

Andrew Kohlsmith (CANADA)

Message: 98257   

 

Hmm, I do not get any visible sign of reset.

 

jtag> cable arm-usb-ocd

Connected to libftdi driver.

 

jtag> frequency 5000000

Setting TCK frequency to 5000000 Hz

jtag> detect

IR length: 9

Chain length: 2

Device Id: 01001111000111110000111100001111 (0x000000004F1F0F0F)

  Manufacturer: ARM

  Part(0):         ARM7TDMI-S

  Stepping:     0

  Filename:     /usr/local/share/urjtag/arm/arm7tdmi-s/arm7tdmi-s

Device Id: 00010010011111101000000011001011 (0x00000000127E80CB)

  Manufacturer: Analog Devices

  Part(1):         BF518

  Stepping:     1

  Filename:     /usr/local/share/urjtag/analog/bf518/bf518

 

chain.c(132) Part 0 without active instruction

chain.c(183) Part 0 without active instruction

 

jtag> part 1

 

jtag> bfin emulation enter

 

jtag> bfin reset

bfin: reseting processor ... OK

 

jtag> bfin emulation exit

jtag>

 

(I have also tried without selecting the bfin after detect, but the result is the same)

 

-A.

 

QuoteReplyEditDelete

 

 

2011-02-18 10:50:23     Re: jtag 'bfin reset' doesn't

Mike Frysinger (UNITED STATES)

Message: 98258   

 

works fine for me.  my Blackfin reboots and i see u-boot on the serial port.

 

perhaps you need to upgrade.  jtag from 2010R1 reports a version of 0.10.

QuoteReplyEditDelete

Attachments

    Outcomes