Using OpenOCD with the Actel SmartFusion Eval Board

I just got this new SmartFusion Evaluation board from Actel. On it is a cool chip that a combination FPGA, analog processor, and Cortex-M3 microcontroller. The board has a built-in JTAG programmer that uses the Actel toolchain to download new designs into the chip, which is pretty nice. However, you can’t debug the software on the microcontroller with it.

So I decided to see if I could get OpenOCD working with my Olimex JTAG-Tiny USB JTAG tool, since there was a 20-pin ARM JTAG header on the board as well. On the first go, it didn’t work, so I decided to look at the signals on my ‘scope. Turns out that the TRST and TCK lines were wiggling, but only at about 1V when they should have been at around 3.3V. I downloaded the schematics from the Actel site, and this is what I found:

SmartFusion Eval Board JTAG Circuit

SmartFusion Eval Board JTAG Circuit

Turns out that those lines had very strong pull-downs on them. Coupled with the 330 ohm, series output resistors, these pull-downs created a voltage divider that was pulling the signal down to around the 1-2V level.

So I fired up my soldering iron, and replaced the resistors with some 4.3k ohm resistors that I had near my desk. And after hooking everything back up, I was able to halt the processor and look around in memory.

Hopefully I’ll be able to get the eNVM flashing over JTAG working in OpenOCD soon.

TL;DR: Remove R14 & R15 and replace with >5k ohm resistors.

Advertisements

~ by lwalkera on April 9, 2011.

3 Responses to “Using OpenOCD with the Actel SmartFusion Eval Board”

  1. Hi, I am also interested in developing with the Smart Fusion Eval Board and also looked to olimex’s RVI to USB as none of other commercial products seem to work under linux. Did you have any positive results?
    Regards, Luciano.

  2. Hi, I am interested in developing with Smart Fusion too, did you succeed in configuring OpenOCD?

    You said: “I was able to halt the processor and look around in memory.”
    How?

    Cheers 🙂

    Helen

    • It’s been a little while but I think I just tweaked one of the Cortex-M3 example configs and it just worked after the resistor mod.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: