Xilinx not updating.

News, questions and bugs reports about CosmosEx by Jookie. Now we have a Raspberry Pi in our machines!

Moderators: Jookie, Moderator Team

User avatar
ube
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 134
Joined: Mon Jun 10, 2002 10:37 pm

Xilinx not updating.

Post by ube »

Hello,

I'm trying to get a CE v2 running and I can't seem to be able to run flash_xilinx, I keep getting this error. So.. Hilfe?

Code: Select all

root@cosmosex:~/s# /ce/update/flash_xilinx xilinx.xsvf
XSVF Player v5.01, Xilinx, Inc.
XSVF file = xilinx.xsvf
ERROR:  TDO mismatch and exceeded max retries
ERROR at or near XSVF command #9.  See line #9 in the XSVF ASCII file.
Execution Time = 0.2 seconds
Atari STE w/ MicroCosmosex | Atari Falcon w/ CT60e| Falcon 030 | ubeswitch mk1 | ubeswitch mk2 | ubeswitch mk4 | ubeswitch mk5 | ubeswitch mk6 | ubeswitch mk6 v1.1b | ubeswitch mk7
czietz
Hardware Guru
Hardware Guru
Posts: 2823
Joined: Tue May 24, 2016 6:47 pm

Re: Xilinx not updating.

Post by czietz »

I have no experience with the CosmosEx, but I know the Xilinx XSVF Player that is used here rather well. Try increasing the verbosity by running...
flash_xilinx -v 1 xilinx.xsvf
... or even more verbose output by using values 2 to 4.

Afaik the CosmosEx has different variants of the Xilinx CPLD which require different firmware. The verbose output will show us whether that's the reason for the failure.
User avatar
ube
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 134
Joined: Mon Jun 10, 2002 10:37 pm

Re: Xilinx not updating.

Post by ube »

Ah, thanks.
Got this:

Code: Select all

 Verbose level = 2
XSVF file = xilinx.xsvf
  XREPEAT
  XSTATE
  XSTATE
  XRUNTEST
  XSIR
  XSIR
  XSDRSIZE
  XTDOMASK
  XSDRTDO
 TDO Expected = 0xf9602093
 TDO Captured = 0x59604093
 TDO Mask     = 0x0fffffff
ERROR:  TDO mismatch and exceeded max retries
ERROR at or near XSVF command #9.  See line #9 in the XSVF ASCII file.
Execution Time = 0.2 seconds

Code: Select all

XSVF Player v5.01, Xilinx, Inc.
Verbose level = 4
XSVF file = xilinx.xsvf
    sizeof( SXsvfInfo ) = 49056 bytes
   TMS Reset Sequence -> Test-Logic-Reset
   TAP State = RESET
  XREPEAT
   XREPEAT = 32
  XSTATE
   TMS Reset Sequence -> Test-Logic-Reset
   TAP State = RESET
  XSTATE
   TAP State = RUNTEST/IDLE
  XRUNTEST
   XRUNTEST = 0
  XSIR
   XSIR length = 8
   Shift Length = 8
    TDI          = 0xff
    TDO Expected =
   TAP State = DRSELECT
   TAP State = IRSELECT
   TAP State = IRCAPTURE
   TAP State = IRSHIFT
   TAP State = IREXIT1
   TAP State = IRUPDATE
   TAP State = RUNTEST/IDLE
  XSIR
   XSIR length = 8
   Shift Length = 8
    TDI          = 0xfe
    TDO Expected =
   TAP State = DRSELECT
   TAP State = IRSELECT
   TAP State = IRCAPTURE
   TAP State = IRSHIFT
   TAP State = IREXIT1
   TAP State = IRUPDATE
   TAP State = RUNTEST/IDLE
  XSDRSIZE
   XSDRSIZE = 32
  XTDOMASK
    TDO Mask     = 0x0fffffff
  XSDRTDO
   Shift Length = 32
    TDI          = 0x00000000
    TDO Expected = 0xf9602093
   TAP State = DRSELECT
   TAP State = DRCAPTURE
   TAP State = DRSHIFT
   TAP State = DREXIT1
   TAP State = DRUPDATE
   TAP State = RUNTEST/IDLE
   TAP State = DRSELECT
   TAP State = DRCAPTURE
   TAP State = DRSHIFT
   TAP State = DREXIT1
   TAP State = DRUPDATE
   TAP State = RUNTEST/IDLE
   TAP State = DRSELECT
   TAP State = DRCAPTURE
   TAP State = DRSHIFT
   TAP State = DREXIT1
   TAP State = DRUPDATE
   TAP State = RUNTEST/IDLE
   TAP State = DRSELECT
   TAP State = DRCAPTURE
   TAP State = DRSHIFT
   TAP State = DREXIT1
   TAP State = DRUPDATE
   TAP State = RUNTEST/IDLE
   TAP State = DRSELECT
   TAP State = DRCAPTURE
   TAP State = DRSHIFT
   TAP State = DREXIT1
   TAP State = DRUPDATE
   TAP State = RUNTEST/IDLE
   TAP State = DRSELECT
   TAP State = DRCAPTURE
   TAP State = DRSHIFT
   TAP State = DREXIT1
   TAP State = DRUPDATE
   TAP State = RUNTEST/IDLE
   TAP State = DRSELECT
   TAP State = DRCAPTURE
   TAP State = DRSHIFT
   TAP State = DREXIT1
   TAP State = DRUPDATE
   TAP State = RUNTEST/IDLE
   TAP State = DRSELECT
   TAP State = DRCAPTURE
   TAP State = DRSHIFT
   TAP State = DREXIT1
   TAP State = DRUPDATE
   TAP State = RUNTEST/IDLE
   TAP State = DRSELECT
   TAP State = DRCAPTURE
   TAP State = DRSHIFT
   TAP State = DREXIT1
   TAP State = DRUPDATE
   TAP State = RUNTEST/IDLE
   TAP State = DRSELECT
   TAP State = DRCAPTURE
   TAP State = DRSHIFT
   TAP State = DREXIT1
   TAP State = DRUPDATE
   TAP State = RUNTEST/IDLE
   TAP State = DRSELECT
   TAP State = DRCAPTURE
   TAP State = DRSHIFT
   TAP State = DREXIT1
   TAP State = DRUPDATE
   TAP State = RUNTEST/IDLE
   TAP State = DRSELECT
   TAP State = DRCAPTURE
   TAP State = DRSHIFT
   TAP State = DREXIT1
   TAP State = DRUPDATE
   TAP State = RUNTEST/IDLE
   TAP State = DRSELECT
   TAP State = DRCAPTURE
   TAP State = DRSHIFT
   TAP State = DREXIT1
   TAP State = DRUPDATE
   TAP State = RUNTEST/IDLE
   TAP State = DRSELECT
   TAP State = DRCAPTURE
   TAP State = DRSHIFT
   TAP State = DREXIT1
   TAP State = DRUPDATE
   TAP State = RUNTEST/IDLE
   TAP State = DRSELECT
   TAP State = DRCAPTURE
   TAP State = DRSHIFT
   TAP State = DREXIT1
   TAP State = DRUPDATE
   TAP State = RUNTEST/IDLE
   TAP State = DRSELECT
   TAP State = DRCAPTURE
   TAP State = DRSHIFT
   TAP State = DREXIT1
   TAP State = DRUPDATE
   TAP State = RUNTEST/IDLE
   TAP State = DRSELECT
   TAP State = DRCAPTURE
   TAP State = DRSHIFT
   TAP State = DREXIT1
   TAP State = DRUPDATE
   TAP State = RUNTEST/IDLE
   TAP State = DRSELECT
   TAP State = DRCAPTURE
   TAP State = DRSHIFT
   TAP State = DREXIT1
   TAP State = DRUPDATE
   TAP State = RUNTEST/IDLE
   TAP State = DRSELECT
   TAP State = DRCAPTURE
   TAP State = DRSHIFT
   TAP State = DREXIT1
   TAP State = DRUPDATE
   TAP State = RUNTEST/IDLE
   TAP State = DRSELECT
   TAP State = DRCAPTURE
   TAP State = DRSHIFT
   TAP State = DREXIT1
   TAP State = DRUPDATE
   TAP State = RUNTEST/IDLE
   TAP State = DRSELECT
   TAP State = DRCAPTURE
   TAP State = DRSHIFT
   TAP State = DREXIT1
   TAP State = DRUPDATE
   TAP State = RUNTEST/IDLE
   TAP State = DRSELECT
   TAP State = DRCAPTURE
   TAP State = DRSHIFT
   TAP State = DREXIT1
   TAP State = DRUPDATE
   TAP State = RUNTEST/IDLE
   TAP State = DRSELECT
   TAP State = DRCAPTURE
   TAP State = DRSHIFT
   TAP State = DREXIT1
   TAP State = DRUPDATE
   TAP State = RUNTEST/IDLE
   TAP State = DRSELECT
   TAP State = DRCAPTURE
   TAP State = DRSHIFT
   TAP State = DREXIT1
   TAP State = DRUPDATE
   TAP State = RUNTEST/IDLE
   TAP State = DRSELECT
   TAP State = DRCAPTURE
   TAP State = DRSHIFT
   TAP State = DREXIT1
   TAP State = DRUPDATE
   TAP State = RUNTEST/IDLE
   TAP State = DRSELECT
   TAP State = DRCAPTURE
   TAP State = DRSHIFT
   TAP State = DREXIT1
   TAP State = DRUPDATE
   TAP State = RUNTEST/IDLE
   TAP State = DRSELECT
   TAP State = DRCAPTURE
   TAP State = DRSHIFT
   TAP State = DREXIT1
   TAP State = DRUPDATE
   TAP State = RUNTEST/IDLE
   TAP State = DRSELECT
   TAP State = DRCAPTURE
   TAP State = DRSHIFT
   TAP State = DREXIT1
   TAP State = DRUPDATE
   TAP State = RUNTEST/IDLE
   TAP State = DRSELECT
   TAP State = DRCAPTURE
   TAP State = DRSHIFT
   TAP State = DREXIT1
   TAP State = DRUPDATE
   TAP State = RUNTEST/IDLE
   TAP State = DRSELECT
   TAP State = DRCAPTURE
   TAP State = DRSHIFT
   TAP State = DREXIT1
   TAP State = DRUPDATE
   TAP State = RUNTEST/IDLE
   TAP State = DRSELECT
   TAP State = DRCAPTURE
   TAP State = DRSHIFT
   TAP State = DREXIT1
   TAP State = DRUPDATE
   TAP State = RUNTEST/IDLE
   TAP State = DRSELECT
   TAP State = DRCAPTURE
   TAP State = DRSHIFT
   TAP State = DREXIT1
   TAP State = DRUPDATE
   TAP State = RUNTEST/IDLE
   TAP State = DRSELECT
   TAP State = DRCAPTURE
   TAP State = DRSHIFT
   TAP State = DREXIT1
   TAP State = DRUPDATE
   TAP State = RUNTEST/IDLE
 TDO Expected = 0xf9602093
 TDO Captured = 0x59604093
 TDO Mask     = 0x0fffffff
ERROR:  TDO mismatch and exceeded max retries
ERROR at or near XSVF command #9.  See line #9 in the XSVF ASCII file.
Execution Time = 0.2 seconds
Guess it's time for some jookie-help..
Atari STE w/ MicroCosmosex | Atari Falcon w/ CT60e| Falcon 030 | ubeswitch mk1 | ubeswitch mk2 | ubeswitch mk4 | ubeswitch mk5 | ubeswitch mk6 | ubeswitch mk6 v1.1b | ubeswitch mk7
czietz
Hardware Guru
Hardware Guru
Posts: 2823
Joined: Tue May 24, 2016 6:47 pm

Re: Xilinx not updating.

Post by czietz »

It's as I suspected: The firmware you're trying to flash is for an XC9536XL ("TDO Expected = 0xf9602093") but you have a XC9572XL ("TDO Captured = 0x59604093"). You need to find the right firmware.
czietz
Hardware Guru
Hardware Guru
Posts: 2823
Joined: Tue May 24, 2016 6:47 pm

Re: Xilinx not updating.

Post by czietz »

PS: Looking at Jookie's download page, these should be called xlnx2a.xsvf or xlnx2s.xsvf, depending on whether you have the ACSI or SCSI version.
User avatar
ube
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 134
Joined: Mon Jun 10, 2002 10:37 pm

Re: Xilinx not updating.

Post by ube »

czietz wrote:PS: Looking at Jookie's download page, these should be called xlnx2a.xsvf or xlnx2s.xsvf, depending on whether you have the ACSI or SCSI version.

Ah. Crap. :/ Then it's not the Xilinx that's the problem with this CosmosEx. :/ the a or s version is flashed when the A/S header is set/unset.

Managed to run the flasher anyways. Back to the drawing board. :(


Big thanks!
Atari STE w/ MicroCosmosex | Atari Falcon w/ CT60e| Falcon 030 | ubeswitch mk1 | ubeswitch mk2 | ubeswitch mk4 | ubeswitch mk5 | ubeswitch mk6 | ubeswitch mk6 v1.1b | ubeswitch mk7

Return to “CosmosEx”