This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LM4F232 Eval Board ICDI -> flashing other boards

Can EK-LM4F232 eval board be used as ICDI to program/debug other boards?

I can program my board with BD-ICDI-B without problems, but when I connect JTAG port (J1) from EK-LM4F232 to my board and try to use LM Flash Programmer I get "ERROR: Unable to initialize target - 0!".

 

JTAG connection on my target board:

 

I also tried removing pin1 (+3.3V) because JTAG/USB from EK-LM4F232 was powering my board when unpowered, but it didn't help...

Any ideas?

 

  • Ideas yes - hard/official facts no.  You have generalized from past experience - often good but not always.  (and I am doing exactly the same - now out of office - speaking remotely - no data - strictly from my memory of the EK-4F232 - sure TI will "squawk" if I screw this up...)

    Note that the mini, 0.050" header you neatly show is a JTAG INPUT to the M4F MCU.   LM Flash talks via USB - usually via FTDI chip (which massages incoming USB data into JTAG format) for output to on-board (or off-board) Stellaris MCU.

    In the case of EK-4F232 Eval a Stellaris MCU replaces the FTDI device - and generates the JTAG signals which route to the M4F atop the Eval board.  I suspect that if you could safely/properly "tap" into those signals - while holding the M4F MCU in Reset - that you "may" be able to achieve your goal.  But why - you must hack a nice board and a 50USD alternative is ready/waiting (3S811 Eval).  

    This may be the case when a "Can Do" should bow to a "Should you Do!"

    *** Update:  Thinking bit more - maybe the "hack" is not quite so ugly.  (recall - I'm remote - w/out data)  It must be that the P15 mini ARM JTAG header you show connects directly to the M4F on the EK-4F232 board.  However - suspect that the Stellaris on the "flip side" of this board is providing the 3 JTAG output signals.  Thus it would appear that this is very much analogous to the 3S811 Eval board - with the 3S811's FTDI chip replaced by a Stellaris. 

    Thus - if you hold the 4F232 MCU in reset - it may well be possible to capture the JTAG signals directly from the P15 header - which is hack-free!  (but for your interception of the 4F Reset line) 

    However - yet another "fly" veers into this ointment... perhaps the Stellaris MCU (flip side located) has not been programmed to recognize any/all of the potential formatting which may/may not be required by different Stellaris devices.  (I know that my JLink almost immediately "reads" my MCU's ID code - we simply do not know the extent of the programming w/in the flip-side, JTAG processing/output driving Stellaris.

     

  • John,

    The EK-LM4F232 board cannot be used to debug other boards. Any other Stellaris EK board can be used for this purpose.

    Regards,

    Sue

  • @cb1_mobile:

    Thank you for a detailed response. I am not planning to hack this nice eval board. It's just that I have for some reason assumed that any eval board can be used as a ICDI out of the box. :)))

  • John, all.

    We now have a third party that is selling standalone Stellaris programmers, basically with the same functionality as our ICDI, for a very reasonable price. It works also with our latest LM4F family (Cortex-M4F devices).

    http://www.mikroe.com/eng/products/view/825/mikroprog-for-stellaris

    They should also show up soon on our web site in the 3rd party section.

    Regards,

    Ivan Dobes

    EMEA Stellaris Marketing

  • Hi Ivan,

    The mikroprog works with Code Composer Studio?

    Do you have experience with the MikroC compiler for ARM?

    Regards,

    Felipe