can not program new bit file papilio one 250k


dig23

Recommended Posts

Hi, I just got my Papilio one 250 and here is my issue.

 

I am using Ubuntu 13.10 - 64 bit intel machine.

 

[1] lsusb

Bus 006 Device 021: ID 0403:6010 Future Technology Devices International, Ltd FT2232C Dual USB-UART/FIFO IC

 

[2]sudo papilio-prog -c

Using built-in device list
JTAG chainpos: 0 Device IDCODE = 0x11c1a093 Desc: XC3S250E
 
ISC_Done       = 1
ISC_Enabled    = 0
House Cleaning = 1
DONE           = 1
 

[3]sudo papilio-prog -f Papilio-Loader-2.5.1/papilio-prog/Quickstart-Papilio_One_250K-v1.5.bit

JTAG chainpos: 0 Device IDCODE = 0x11c1a093     Desc: XC3S250E
Created from NCD file: top_avr_core_v8.ncd;UserID=0xFFFFFFFF
Target device: 3s250evq100
Created: 2010/10/15 12:59:05
Bitstream length: 1353728 bits
 
Uploading "Papilio-Loader-2.5.1/papilio-prog/Quickstart-Papilio_One_250K-v1.5.bit".
 
Result: led blinks fine.

 

[4] I followed this tutorial and it compiled without error and I got the bit file 

tutorial: http://www.gadgetfactory.net/2010/07/webpack-vhdl-quickstart-for-the-papilio-platform/

 

sudo papilio-prog -v -f /home/webpack_quickstart/WebPack_QuickStart.bit 
Using built-in device list
JTAG chainpos: 0 Device IDCODE = 0x11c1a093 Desc: XC3S250E
Created from NCD file: WebPack_QuickStart.ncd;UserID=0xFFFFFFFF
Target device: 3s500evq100
Created: 2013/10/22 21:04:57
Bitstream length: 2270208 bits
 
Uploading "/home/digant/webpack_quickstart/WebPack_QuickStart.bit". Done.
Programming time 552.0 ms
Device failed to configure, INSTRUCTION_CAPTURE is 0x19
USB transactions: Write 244 read 55 retries 110

 

Result: leds are very dim and constantly on on all ports. As this is a counter program I was expecting it to blink in some order. 

 

[5]sudo papilio-prog -C

Using built-in device list
JTAG chainpos: 0 Device IDCODE = 0x11c1a093 Desc: XC3S250E
 
STAT Register
ID_ERROR  = 0 IDCODE not validated.
DONE      = 0 Input from the DONE pin.
INIT      = 0 Input from the INIT pin.
MODE      = 001b Input from the MODE pins (M2:M0).
GHIGH_B   = 0 0 = asserted.
GWE       = 0 0 = all FFs and Block RAMs are write-disabled.
GTS_CFG   = 0 0 = all I/Os are 3-stated.
IN_ERROR  = 0 Legacy input error.
DCI_MATCH = 1 DCI is matched.
DCM_LOCK  = 1 DCMs are locked.
CRC_ERROR = 0 CRC error.

WebPack_QuickStart.bit

Link to comment
Share on other sites

 

Hi, I just got my Papilio one 250 and here is my issue.

 

I am using Ubuntu 13.10 - 64 bit intel machine.

 

[1] lsusb

Bus 006 Device 021: ID 0403:6010 Future Technology Devices International, Ltd FT2232C Dual USB-UART/FIFO IC

 

[2]sudo papilio-prog -c

Using built-in device list
JTAG chainpos: 0 Device IDCODE = 0x11c1a093 Desc: XC3S250E
 
ISC_Done       = 1
ISC_Enabled    = 0
House Cleaning = 1
DONE           = 1
 

[3]sudo papilio-prog -f Papilio-Loader-2.5.1/papilio-prog/Quickstart-Papilio_One_250K-v1.5.bit

JTAG chainpos: 0 Device IDCODE = 0x11c1a093     Desc: XC3S250E
Created from NCD file: top_avr_core_v8.ncd;UserID=0xFFFFFFFF
Target device: 3s250evq100
Created: 2010/10/15 12:59:05
Bitstream length: 1353728 bits
 
Uploading "Papilio-Loader-2.5.1/papilio-prog/Quickstart-Papilio_One_250K-v1.5.bit".
 
Result: led blinks fine.

 

[4] I followed this tutorial and it compiled without error and I got the bit file 

tutorial: http://www.gadgetfactory.net/2010/07/webpack-vhdl-quickstart-for-the-papilio-platform/

 

sudo papilio-prog -v -f /home/webpack_quickstart/WebPack_QuickStart.bit 
Using built-in device list
JTAG chainpos: 0 Device IDCODE = 0x11c1a093 Desc: XC3S250E
Created from NCD file: WebPack_QuickStart.ncd;UserID=0xFFFFFFFF
Target device: 3s500evq100
Created: 2013/10/22 21:04:57
Bitstream length: 2270208 bits
 
Uploading "/home/digant/webpack_quickstart/WebPack_QuickStart.bit". Done.
Programming time 552.0 ms
Device failed to configure, INSTRUCTION_CAPTURE is 0x19
USB transactions: Write 244 read 55 retries 110

 

Result: leds are very dim and constantly on on all ports. As this is a counter program I was expecting it to blink in some order. 

 

[5]sudo papilio-prog -C

Using built-in device list
JTAG chainpos: 0 Device IDCODE = 0x11c1a093 Desc: XC3S250E
 
STAT Register
ID_ERROR  = 0 IDCODE not validated.
DONE      = 0 Input from the DONE pin.
INIT      = 0 Input from the INIT pin.
MODE      = 001b Input from the MODE pins (M2:M0).
GHIGH_B   = 0 0 = asserted.
GWE       = 0 0 = all FFs and Block RAMs are write-disabled.
GTS_CFG   = 0 0 = all I/Os are 3-stated.
IN_ERROR  = 0 Legacy input error.
DCI_MATCH = 1 DCI is matched.
DCM_LOCK  = 1 DCMs are locked.
CRC_ERROR = 0 CRC error.

 

The problem is that the bit file is generated for a 3s500 device but you have a 3s250 device on your board.

See enlarged message above.

The third screen in the tutorial shows where you specify the device.  It should be XC3S250E, not XC3S500E.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.