Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
12 years ago

USB Blaster EEPROM Program for Cyclone IV Dev Kit

Hi,

I have accidentally erased the EEPROM on my CycloneIV development kit and now the computer sees the USB Blaster as USB Serial interface. I tried to reprogram by using FTDI - FT prog and usb_blaster_BLASTR01.xml file from the forum. When I tried to program, FTDI program gives two errors.

First one: The current drawn from the USB port must be in the range 0 to 500mAmps.

Second one: The maximum number of characters for the Manufacturer, Product Description and Serial Number is 46.

It seems this XML code worked for DE1 users and I don't understand why it does not work with my board. Here is the XML code that I used:

<?xml version="1.0" encoding="UTF-8" ?>

- (http://www.alteraforum.com/forum/) <FT_EEPROM>

- (http://www.alteraforum.com/forum/) <Chip_Details>

<Type>FT232/245BM</Type>

</Chip_Details>

- (http://www.alteraforum.com/forum/) <USB_Device_Descriptor>

<VID_PID>2</VID_PID>

<idVendor>09FB</idVendor>

<idProduct>6001</idProduct>

<bcdUSB>USB 1.1</bcdUSB>

</USB_Device_Descriptor>

- (http://www.alteraforum.com/forum/) <USB_Config_Descriptor>

- (http://www.alteraforum.com/forum/) <bmAttributes>

<RemoteWakeupEnabled>false</RemoteWakeupEnabled>

<SelfPowered>true</SelfPowered>

<BusPowered>false</BusPowered>

</bmAttributes>

<IOpullDown>true</IOpullDown>

<MaxPower>150</MaxPower>

</USB_Config_Descriptor>

- (http://www.alteraforum.com/forum/) <USB_String_Descriptors>

<Manufacturer>Altera</Manufacturer>

<Product_Description>USB-Blaster</Product_Description>

<SerialNumber_Enabled>true</SerialNumber_Enabled>

<SerialNumber>BLASTR01</SerialNumber>

<SerialNumberPrefix>BL</SerialNumberPrefix>

</USB_String_Descriptors>

</FT_EEPROM>

Thanks

12 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    The USB-Blaster can be implemented using an FTDI FT245B with external EEPROM or FT245R with internal EEPROM. The configuration files are different.

    Which version of FT_PROG are you using, and what does FT_PROG (or the Windows device manager or lsusb for Linux) indicate the Cyclone IV Development kit USB-Blaster interface is?

    I do not have the Cyclone IV Dev Kit, but I have plenty of others, so I'll be able to read one and post the appropriate XML file.

    Cheers,

    Dave
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Do you have a stand alone USB-Blaster? Assuming so, you can use FT_PROG to read the configuration from the FTDI device in it and program that into your dev board.

    Regards,

    Alex