6i24 bricked - How to fix? - JTAG?

More
7 years 4 days ago #148985 by mlhilligsoe
I accidentally wrote a -25 bit file to my 6i24 board (XC6SLX16-FTG256) and now the yellow and red LEDs are always on.
I tried using the mesaflash --recovery feature which has worked for me once before, but without luck.
How can I fix this? The manual states that JTAG is an option, but I'm not able to find information on how to do this.

Please Log in or Create an account to join the conversation.

More
7 years 4 days ago - 7 years 4 days ago #148989 by PCW
I think you can use the recovery function but there's a bug in mesaflash so you have to lie and say the card is a 6I25...
Last edit: 7 years 4 days ago by PCW.

Please Log in or Create an account to join the conversation.

More
7 years 4 days ago #148992 by mlhilligsoe
I already tried this.
In Mesaflash version 3.3.0~pre I get:
sudo mesaflash --device 6i25 --recover --write 5i24_16_justio.bit
Checking file... OK
File type: BIT file
Boot sector OK
EEPROM sectors to write: 8, max sectors in area: 16
Erasing EEPROM sectors starting from 0x100000...
|EEEEEEEE
Programming EEPROM sectors starting from 0x100000...
|WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
Board configuration updated successfully.
Checking file... OK
File type: BIT file
Error: wrong bitfile destination device: 6slx16ftg256, should be 6slx9tqg144


In Mesaflash 3.4.0~pre I get:
sudo ./mesaflash --device 6i25 --recover --write /home/vaerkscnc/Downloads/5i24/configs/hostmot2/5i24_16_justio.bit
Checking file... OK
File type: BIT file
Error: BootSector is invalid

Please Log in or Create an account to join the conversation.

More
7 years 4 days ago #148993 by PCW
You have to specifically enable mesaflash to re-write the boot-sector

Please Log in or Create an account to join the conversation.

More
7 years 4 days ago #149006 by mlhilligsoe
I restarted my PC and now I get the same error in both Mesaflash versions:
Error: wrong bitfile destination device: 6slx16ftg256, should be 6slx9tqg144

If i have to re-write the boot-sector using mesaflash, how do i enable this?

Please Log in or Create an account to join the conversation.

More
7 years 4 days ago - 7 years 4 days ago #149007 by PCW
Are you sure the card was not updated?, your first post suggests that it was.

Edit:

I just retried this:

wrote bad (x25) bitfile to 6I24/ reload,: init and /done LEDS illuminated, card not found

recovered with

sudo mesaflash --device 6i25 --recover --write (good x16 bitfile)

This is with mesaflash 3.30

It does complain about the wrong FPGA type, but only after it has wriiten the flash memory
Last edit: 7 years 4 days ago by PCW.
The following user(s) said Thank You: mlhilligsoe

Please Log in or Create an account to join the conversation.

Moderators: PCW, jmelson
Time to create page: 0.056 seconds
Powered by Kunena Forum