PicoBlaze & jtagloader

Recommended Posts

Hi all,


I have two questions concerning PicoBlaze on Papilio Pro:


1. Is it possible to write a PicoBlaze program to Papilio's block RAM using Xilinx's jtagloader utility? Or do I need some special Xilinx hardware? When I run jtagloader, the utility complains about some cable drivers not being present (see the output below).


2. The jtagloader talks about some firmware called "xusbdfwu.hex" and it wants to use an "fxload" application. Can somebody please explain to a noob what the jtagloader is trying to do, so that I understand what's going on at all? Thank you :) .


Here is some relevant jtagloader output:

INFO: Set the HW_SERVER_ALLOW_PL_ACCESS environment variable to 1 to access any PL address memory in the TCF debugger memory window.Info:AutoDetecting cable. Please wait.Info:*** WARNING ***: When port is set to auto detect mode, cable speed is set to default 6 MHz regardless of explicit arguments supplied for setting the baud ratesInfo:Connecting to cable (Usb Port - USB21).Info:Checking cable driver.Info:File version of /home/vibe/installed/xilinx/14.6/ISE_DS/ISE/bin/lin64/xusbdfwu.hex = 1030.Info:File version of /etc/hotplug/usb/xusbdfwu.fw/xusbdfwu.hex = 1030.Info: Using libusb.Info: Kernel release = 3.2.0-4-amd64.Info:Cable connection failed.Info:INFO:Cse - The fxload application is not installed. This application is required when using the Platform Cable USB. This warning should be ignored if you are using the Parallel Cable III or Parallel Cable IV. Please download and install the fxload-2002_04_11 package. Note that root access is required to perform the installation.Info:Connecting to cable (Parallel Port - parport0).Info: Linux release = 3.2.0-4-amd64.Warning:WARNING:Cse -  Module windrvr6 is not loaded. Please reinstall the cable drivers. See Answer Record 22648.Info:Cable connection failed.[similar warnings follow for parport1-3]Info:Cable autodetection failed.Scan Chain failure or programming cable not found- Are the cables and board plugged in and turned on?- Do you have multiple boards or cables plugged into your pc?

Share this post

Link to post
Share on other sites

Sorry for slow response, but I wouldn't expect their tool to work with the Papilio. It is probably expecting an official Xilinx programming cable.


But you should be able to use data2mem to load a picoblaze project into BRAM...



Share this post

Link to post
Share on other sites

Hi Jack,


thanks for the hint! Figuring out how data2mem and the BMM, HEX, MEM formats work was a torture, but I finally got it working. Now I really appreciate how simple it is to load a program using the ZAP IDE :).

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now