Author Topic: Use Eval kit as Cheap JTAG Debugger/Programmer  (Read 3335 times)

0 Members and 2 Guests are viewing this topic.

Offline hanTopic starter

  • Frequent Contributor
  • **
  • Posts: 311
  • Country: 00
Use Eval kit as Cheap JTAG Debugger/Programmer
« on: January 10, 2014, 08:59:20 am »
hi all,

i have MACHXO2 7000HE breakout board,
and it use FTDI 2232HL IC and EEPROM configuration IC,

i planning to used for programming/debug microcontroller STM32F407 and ATMEGA.
but the big question is: Is it even possible??

if yes, is it can be used without modification in EEPROM / internal configuration frimware?
and how about the performance of FTDI 2232HL ?
since decent  JTAG programer hardware is quite expensive..

 

Offline Torrentula

  • Regular Contributor
  • *
  • Posts: 91
  • Country: de
    • My blog
Re: Use Eval kit as Cheap JTAG Debugger/Programmer
« Reply #1 on: January 10, 2014, 10:24:46 am »
It should work with OpenOCD as it supports both FT2232 based JTAG dongles and the STM32F4. I'm not sure if the config in the EEPROM of the device will be supported though.

I am not sure about the ATmega as I have never tried to program those over JTAG but it should be fine as long as either the Atmel tools support the FT2232 or you can make OpenOCD to program the ATmega (you should only have to write a configuration file at most).

You'll have to have a look at the schematic of your Lattice eval kit. My MachXO board has got an FT2232, too (which unfortunately I blew last week  :-BROKE). On that board one of the FT2232's interfaces is connected to the CPLD AND the JTAG header, so only one interface is easily accessible.

You can always solder some fine wire to the pins of the IC itself, of course.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf