From The Blackfin Handy Board

RoboticsIFall2007: LabNotes

Here is an assortment of important safety and community notes.


Battery Charging


There is now a Parts Request wiki page. Please use it to request parts that we should have.

Treatment of the LEGO Parts

Wiring Sensors and Motors

Problems with LabVIEW Embedded

If you get a "Failed to Script Board Tools" error, it's likely a communication problem. Fix this by:

  1. Quitting LabVIEW.
  2. Opening VisualDSP++ (VDSP).
  3. Click on “Connect to Target” icon in upper left of screen. This should connect to your board:
    • If that fails, quit VDSP. Turn the Handy Board off, wait a few seconds, and then turn it on. (This gives Windows a chance to reload the low-level USB driver). Then relaunch VDSP and try to connect again.
    • If it still fails, your emulator driver may need to be re-established using the Analog Devices Configurator Tool. Instructions for doing this still needs to be written.
  4. If VDSP does connect to your board, quit VDSP, and then try LabVIEW again.

Detaching from the PC and Continuing to Run Your Code

The basic process is the following:

  1. Build your code in LabVIEW. This will result in a DXE (DSP Executable) file in your project.
  2. Quit LabVIEW in order to detach from your board. (We are hoping there might be a way to detach without quitting, but we don't yet know of it.)
  3. Boot up VDSP and connect to your board.
  4. From the "Settings" menu, choose "Target Options":

    In the lower left, there are three choices for "On Emulator Exit":
    1. Reset DSP and run.
    2. Run from current PC.
    3. Stall the DSP.
Set it to “Run from current PC.” Note: You only have to do this once, and the setting will be remembered.
  1. In the "File" menu, select "Load Program" and specify the DXE file. The DXE file will be in a subfolder named VDK_Application inside a subfolder named BF537 in your project folder.
  2. From the "Debug" menu, choose "Run" to run your code. Your code should now run.
  3. Click on the upper-left icon to detach the emulator. Your code should continue to run.
  4. Finally, unplug the USB cable from the Handy Board.

You must detach the emulator in software before unplugging the Handy Board—otherwise, you'll crash the software on the PC and you'll have to reboot it.

Retrieved from
Page last modified on September 17, 2007, at 07:48 PM