- Posts: 8
- Thank you received: 0
6i24 bricked - How to fix? - JTAG?
- mlhilligsoe
- Topic Author
- Offline
- New Member
-
Less
More
7 years 2 days ago #148985
by mlhilligsoe
6i24 bricked - How to fix? - JTAG? was created 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.
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 to join the conversation.
7 years 2 days ago #148989
by PCW
Replied by PCW on topic 6i24 bricked - How to fix? - JTAG?
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...
Please Log in to join the conversation.
- mlhilligsoe
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 8
- Thank you received: 0
7 years 2 days ago #148992
by mlhilligsoe
Replied by mlhilligsoe on topic 6i24 bricked - How to fix? - JTAG?
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
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 to join the conversation.
7 years 2 days ago #148993
by PCW
Replied by PCW on topic 6i24 bricked - How to fix? - JTAG?
You have to specifically enable mesaflash to re-write the boot-sector
Please Log in to join the conversation.
- mlhilligsoe
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 8
- Thank you received: 0
7 years 2 days ago #149006
by mlhilligsoe
Replied by mlhilligsoe on topic 6i24 bricked - How to fix? - JTAG?
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?
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 to join the conversation.
7 years 2 days ago #149007
by PCW
Replied by PCW on topic 6i24 bricked - How to fix? - JTAG?
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
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
Please Log in to join the conversation.
- mlhilligsoe
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 8
- Thank you received: 0
7 years 2 days ago #149032
by mlhilligsoe
Replied by mlhilligsoe on topic 6i24 bricked - How to fix? - JTAG?
It's working now.
I feel like i tried a bunch of stuff last night, and nothing worked, but when i looked at it this morning, the 2 LEDs were off and everything seems okay. So some of the things i did last night did the trick.
Thanks for the help.
Now I'm off to try and figure out how to use the SSI with aboslute encoder.
I feel like i tried a bunch of stuff last night, and nothing worked, but when i looked at it this morning, the 2 LEDs were off and everything seems okay. So some of the things i did last night did the trick.
Thanks for the help.
Now I'm off to try and figure out how to use the SSI with aboslute encoder.
Please Log in to join the conversation.
- tommylight
-
- Away
- Administrator
-
Less
More
- Posts: 22010
- Thank you received: 3
7 years 2 days ago #149038
by tommylight
forum.linuxcnc.org/30-cnc-machines/31792...-sbz-130-01-retrofit
The config is attached so you can have a look.
Regards,
Tom.
Replied by tommylight on topic 6i24 bricked - How to fix? - JTAG?
Here is a retrofit i did a while back, it does use serial absolute encoders wired to a Mesa 7i74:mlhilligsoe wrote:
Now I'm off to try and figure out how to use the SSI with aboslute encoder.
forum.linuxcnc.org/30-cnc-machines/31792...-sbz-130-01-retrofit
The config is attached so you can have a look.
Regards,
Tom.
Please Log in to join the conversation.
Time to create page: 0.104 seconds
