Post Go back to editing

BF592 EZ-KIT Jtag Conection using bfin-gdbproxy

Hello,

    I tried to connect BF592 EZ-KIT Lite using the following Jtag command:

         bfin-gdbproxy bfin -connect="cable IGLOO parallel 0x378"

    I got the folowing error:

        error:    bfin: detecting parts failed.

        Segmentation fault.

 

But the in Jtag folder of gcc toolchain, I have a bf592 folder with 2 files: bf592 and STEPPINGS.

So it should be detected. I also tried to use --board=BF592. But I got another error: unknown board BF592   

Anyone knows how to solve this problem? Thanks!

  • Hi yanming,

    Do you use the IGLOO parallel cable? Thanks,

    Jie

  • Hi Jie,

         Yes. That IGLOO parallel cable came with HHCN BF531 board, which I bought few years ago and worked all the time with that board. Now I want to tried that cable with BF592 EZ-Kit board. I happened having an old notebook (more than 10 years old) that has a build-in parallel port.

  • Hi yanming,

    Could you please post the complete console output from gdbproxy? Thank you,

    Jie

  • Hi Jie,

      

       OK. I will do it during the coming weekend.

  • Hi Jie,

        This is the output from Jtag command:

    linux:/ # /opt/gnu/bfin-elf/bin/bfin-gdbproxy bfin --connect="cable IGLOO parallel 0x378" --processor=bf592
    Remote proxy for GDB, v0.7.2, Copyright (C) 1999 Quality Quorum Inc.
    MSP430 adaption Copyright (C) 2002 Chris Liechti and Steve Underwood
    Blackfin adaption Copyright (C) 2008 Analog Devices, Inc.
    GDBproxy comes with ABSOLUTELY NO WARRANTY; for details
    use `--warranty' option. This is Open Source software. You are
    welcome to redistribute it under certain conditions. Use the
    '--copying' option for details.
    Initializing parallel port at 0x378
    error:     bfin: detecting parts failed
    Segmentation fault
    linux:/ #
  • please try running bfin-jtag , then type these commands:

    jtag> cable IGLOO parallel 0x378

    jtag> detect

  • Hi Jie,

        This is the output after running bfin-jtag command on BF592 EZ-KIT board:

    linux:/ # /opt/gnu/bfin-elf/bin/bfin-jtag
    UrJTAG 0.10 #
    Copyright (C) 2002, 2003 ETC s.r.o.
    Copyright (C) 2007, 2008, 2009 Kolja Waschk and the respective authors
    UrJTAG is free software, covered by the GNU General Public License, and you are
    welcome to change it and/or distribute copies of it under certain conditions.
    There is absolutely no warranty for UrJTAG.
    warning: UrJTAG may damage your hardware!
    Type "quit" to exit, "help" for help.
    jtag> cable IGLOO parallel 0x378
    Initializing parallel port at 0x378
    jtag> detect
    error: not found: queue is empty
    jtag>
       The following is output afer running bfin-jtag on HHCN BF531 board ( http://www.hhcn.com/chinese/adsp/HHBF531-StartKIT-R1.htm):  
    linux:/ # /opt/gnu/bfin-elf/bin/bfin-jtag
    UrJTAG 0.10 #
    Copyright (C) 2002, 2003 ETC s.r.o.
    Copyright (C) 2007, 2008, 2009 Kolja Waschk and the respective authors
    UrJTAG is free software, covered by the GNU General Public License, and you are
    welcome to change it and/or distribute copies of it under certain conditions.
    There is absolutely no warranty for UrJTAG.
    warning: UrJTAG may damage your hardware!
    Type "quit" to exit, "help" for help.
    jtag> cable IGLOO parallel 0x378
    Initializing parallel port at 0x378
    jtag> detect
    IR length: 5
    Chain length: 1
    Device Id: 01010010011110100101000011001011 (0x527A50CB)
      Manufacturer: Analog Devices, Inc. (0x0CB)
      Part(0):      BF533 (0x27A5)
      Stepping:     5
      Filename:     /opt/gnu/bfin-elf/bin/../share/urjtag/analog/bf533/bf533
    warning: IGLOO: untested cable, set wait_clocks to 30
    jtag>
  • Thanks. There is a builtin emulator on BF592 EZ-KIT board. You need to connect pin 1 of the JTAG connector (P2) to ground to bypass it so you can use an external emulator connected to P2. To do that, you can just connect Pin1 to one of Pin7, Pin9, Pin11 or Pin13 on JTAG connector (P2).

  • Hi Jie,

       Thank you for your reply. I will try it when I get time (maybe during CNY). I still have a question based on your solution: I connected this BF592 EZ-Kit before via JTAG using ADI original ADZS-USB-ICE.  The software I use is VisualDSP 5.0. But I did not do anything to the JTAG interface. I can single step cod via that JTAG interface.  How did this happen?

  • That's because ADZS-USB-ICE does connect Pin1 to the ground internally. IGLOO was designed too early to have the feature to bypass the on-board emulator.