[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[microblaze-uclinux] Downloading petalinux to the Spartan3E500 board using a USB cable



Hi all,

I am following the instructions provided on the petalinux site. i managed to do every step without errors until the download. Here i am stuck. I am developing on linux, but my kernel is way to recent for the xilinx cable drivers to compile on it. The open source drivers don't allow me to connect via kermit (at least i couldn't find a way). I red that the 10.1 version of the xilinx tools can download via USB cable without  the xilinx driver, and i did just that, i had to export a variable from ISE/settings32.sh, and impact ould then use libusb to download. The next proble was making kermit run on the usb cable. I used the usbserial kernel module  by the command :

modprobe usbserial vendor=0x3fd product=0x8

this left me with a device /dev/ttyUSB0 , that is usable by kermit (at least that is what i think). The only problem is that impact and usbserial are conflicting. Impact doesn't work with usbserial loaded, so i can't start kermit beafore downloading with impact. I tried writing a script to download then quickly insert usbserial and start kermit (so i can send the 's' beafore the 3 sec timeout) , but no luck

Anybody tried working with a usb cable with impact & kermit? Is there any other way to do this, like awoyding kermit alltogether? 
--
Torok, Alpar Istvan