Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 11 Sep 2007 01:59 AM by  tklas
JTAG on i.MX31 LITEKIT
 6 Replies
Sort:
You are not authorized to post a reply.
Author Messages
tklas
New Member
New Member
Posts:


--
04 Sep 2007 08:13 AM
    How can I use JTAG debugging on i.MX31 LITEKIT?

    There is an USB-A port labelled "Debug Serial USB" and jumpers "JTAG MODE". In "normal mode", USB port acts as serial console. Is there any way to switch output port to "JTAG" mode, or I need another additional hardware? And what debugger-software I can use?
    kurtl@logicpd.com
    New Member
    New Member
    Posts:


    --
    06 Sep 2007 03:48 PM
    The jack you are refering to is a USB-B port labelled "Debug Serial USB" which is truly just a UART stream send over the USB interface. It cannot be used as a JTAG connection to the CPU.

    The JTAG MODE jumpers are not required for the i.MX31 CPU.

    Any JTAG emulator that has a 20 pin ARM style JTAG connector and supports the ARM11 core should work with the product.

    Internally we use the Abatron BDI2000 for development.

    -K
    OradFarez
    New Member
    New Member
    Posts:


    --
    06 Sep 2007 04:26 PM
    I'm just going to throw this out there:

    Is there an open source JTAG reader that supports the ARM11 anywhere? Those BDI2000 tools are just too expensive for the average joe!
    richard.laborde@logicpd.com
    Basic Member
    Basic Member
    Posts:247


    --
    07 Sep 2007 09:58 AM
    There is a post for using the Macraigor Raven on the i.MX31

    http://www.logicpd.com/su...4&highlight=jtag
    tklas
    New Member
    New Member
    Posts:


    --
    10 Sep 2007 01:57 AM
    Hmm, it's little bit annoying. Yes, LITEKIT is cheap, but without JTAG is almost useless. IMHO there should be any simple JTAG-to-USB converter on this board, for example FT2232 chip. I have this one on other board with EP9315. It is not amazing, but sufficient and cheap.

    BDI2000 is too expensive for my needs. I will try much simpler and cheaper Olimex JTAG adapter (http://www.olimex.com/dev/arm-usb-ocd.html) or Amontec JTAG key (http://www.amontec.com/jtagkey-tiny.shtml) or something else.
    kurtl@logicpd.com
    New Member
    New Member
    Posts:


    --
    10 Sep 2007 08:29 AM
    Hi tklas,
    The FT2232 device is a UART to USB converter chip which, if you notice, is included on the baseboard. (U39) However, UART to USB conversion is not equivalent to JTAG communication and therefore cannot be used to connect to the ARM11 core.

    If you find a low-cost JTAG tool, please share your findings and experiences for other users.

    Most of our i.MX31 SOM customers never require the use of JTAG because the Lolo operating system and winCE 6.0 BSP allow customers to get running right out of the box. No JTAG needed. Lolo can be used to download other OS's as well through Compact Flash, Ethernet, or Serial.

    Thanks,
    -K
    tklas
    New Member
    New Member
    Posts:


    --
    11 Sep 2007 01:59 AM
    Posted By KurtL on 31 Jul 2007 10:30 AM

    The FT2232 device is a UART to USB converter chip which, if you notice, is included on the baseboard. (U39) However, UART to USB conversion is not equivalent to JTAG communication ...




    JTAG is, in general, fast serial channel. FT2232 is universal, fast and dumb serial-to-USB interface. Everything "smart" can be done in software on PC side, I think. (Note: Please distinguish between slow single-channel FT232 on LITEKIT and faster dual channel FT2232 on low-cost JTAG devices.)

    Posted By KurtL on 10 Sep 2007 8:29 AM

    If you find a low-cost JTAG tool, please share your findings and experiences for other users.




    I used FT2232 on Cirrus EP9315 (ARM9) development board. Maybe it can also work with i.MX31 (ARM11). I will post some experiences later.

    Posted By KurtL on 10 Sep 2007 8:29 AM

    Most of our i.MX31 SOM customers never require the use of JTAG because the Lolo operating system and winCE 6.0 BSP




    I want some special bootloader functions and low-level Linux-kernel device drivers debugging.

    You are right, these probably aren't usual customers requirements.

    Thanks for support,

    Tomas
    You are not authorized to post a reply.