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

    --- Quote Start ---

    My EEPROM is blank device.

    Chip Type: FT232/245BM

    Vendor ID: 0x0403

    Product ID: 0x6001

    Product Desc: USB <-> Serial Converter

    Manufacturer Desc: FTDI

    Location ID: 0x341

    EEPROM Type: 93C46 EEPROM

    BLANK DEVICE

    --- Quote End ---

    You should be able to use FT245B_BLASTR01_xml.txt in the post above. Download the file, change the filename to FT245B_BLASTR01.xml, then in FT_PROG select the FT245 device, right click, apply template, and select the XML file. Then program it. Unplug and plug the device back in, and it should get detected as a USB-Blaster.

    Let me know if that works.

    Cheers,

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

    When I programm the device, operation failed with message "The current drawn from the USB port must be in the range 0 to 500 mAmps."