00:04
zkrx has quit [*.net *.split]
00:04
Pokey has quit [*.net *.split]
00:04
Bertl has quit [*.net *.split]
00:04
gamiee has quit [*.net *.split]
00:04
van has quit [*.net *.split]
00:04
tsal has quit [*.net *.split]
00:04
shoragan has quit [*.net *.split]
00:04
mark_feathers has quit [*.net *.split]
00:04
crabbedhaloablut has quit [*.net *.split]
00:04
uartist has quit [*.net *.split]
00:04
sevan has quit [*.net *.split]
00:04
JakeSays has quit [*.net *.split]
00:04
nohit has quit [*.net *.split]
00:04
Steffanx has quit [*.net *.split]
00:04
rkta has quit [*.net *.split]
00:04
dinkelhacker has quit [*.net *.split]
00:04
Xogium has quit [*.net *.split]
00:04
ericonr has quit [*.net *.split]
00:04
sbach has quit [*.net *.split]
00:04
balrog has quit [*.net *.split]
00:04
Wonka has quit [*.net *.split]
00:04
rigid has quit [*.net *.split]
00:04
jancoow has quit [*.net *.split]
00:04
braunr has quit [*.net *.split]
00:04
cp- has quit [*.net *.split]
00:04
sugarbeet has quit [*.net *.split]
00:04
vampirefrog has quit [*.net *.split]
00:04
a3f has quit [*.net *.split]
00:04
zapb_ has quit [*.net *.split]
00:04
geep_ has quit [*.net *.split]
00:04
karlp has quit [*.net *.split]
00:04
flatmush has quit [*.net *.split]
00:04
Getty has quit [*.net *.split]
00:04
antto has quit [*.net *.split]
00:04
zjason` has quit [*.net *.split]
00:04
diddly has quit [*.net *.split]
00:04
gruetzkopf has quit [*.net *.split]
00:04
bryanb has quit [*.net *.split]
00:04
nathanhi has quit [*.net *.split]
00:04
zear has quit [*.net *.split]
00:04
zmatt has quit [*.net *.split]
00:04
haxar has quit [*.net *.split]
00:04
wmat has quit [*.net *.split]
00:04
Foxyloxy has quit [*.net *.split]
00:04
WeaselSoup has quit [*.net *.split]
00:04
tlwoerner has quit [*.net *.split]
00:04
Yamakaja has quit [*.net *.split]
00:04
HumanG33k has quit [*.net *.split]
00:04
indy_ has quit [*.net *.split]
00:04
phr3ak has quit [*.net *.split]
00:04
borneoa___ has quit [*.net *.split]
00:04
cyrozap has quit [*.net *.split]
00:04
jn has quit [*.net *.split]
00:04
xantoz has quit [*.net *.split]
00:04
dnm has quit [*.net *.split]
00:04
drath42 has quit [*.net *.split]
00:04
polprog has quit [*.net *.split]
00:04
joconor has quit [*.net *.split]
00:04
_olerem has quit [*.net *.split]
00:04
stefanct has quit [*.net *.split]
00:04
key2 has quit [*.net *.split]
00:04
Guest8044 has quit [*.net *.split]
00:04
Fleck has quit [*.net *.split]
00:04
ChanServ has quit [*.net *.split]
00:07
KindOne has quit [Max SendQ exceeded]
00:08
joconor has joined #openocd
00:08
vampirefrog has joined #openocd
00:08
_olerem has joined #openocd
00:08
drath42 has joined #openocd
00:08
phr3ak has joined #openocd
00:08
borneoa___ has joined #openocd
00:08
a3f has joined #openocd
00:08
zapb_ has joined #openocd
00:08
ericonr has joined #openocd
00:08
diddly has joined #openocd
00:08
sbach has joined #openocd
00:08
Foxyloxy has joined #openocd
00:08
zjason` has joined #openocd
00:08
WeaselSoup has joined #openocd
00:08
balrog has joined #openocd
00:08
tlwoerner has joined #openocd
00:08
mark_feathers has joined #openocd
00:08
gruetzkopf has joined #openocd
00:08
Wonka has joined #openocd
00:08
rigid has joined #openocd
00:08
crabbedhaloablut has joined #openocd
00:08
bryanb has joined #openocd
00:08
geep_ has joined #openocd
00:08
jancoow has joined #openocd
00:08
tsal has joined #openocd
00:08
uartist has joined #openocd
00:08
sevan has joined #openocd
00:08
Yamakaja has joined #openocd
00:08
cyrozap has joined #openocd
00:08
karlp has joined #openocd
00:08
jn has joined #openocd
00:08
nathanhi has joined #openocd
00:08
HumanG33k has joined #openocd
00:08
braunr has joined #openocd
00:08
xantoz has joined #openocd
00:08
stefanct has joined #openocd
00:08
indy_ has joined #openocd
00:08
zear has joined #openocd
00:08
cp- has joined #openocd
00:08
JakeSays has joined #openocd
00:08
nohit has joined #openocd
00:08
Steffanx has joined #openocd
00:08
key2 has joined #openocd
00:08
dnm has joined #openocd
00:08
Guest8044 has joined #openocd
00:08
flatmush has joined #openocd
00:08
polprog has joined #openocd
00:08
zmatt has joined #openocd
00:08
rkta has joined #openocd
00:08
Fleck has joined #openocd
00:08
sugarbeet has joined #openocd
00:08
Getty has joined #openocd
00:08
dinkelhacker has joined #openocd
00:08
haxar has joined #openocd
00:08
Xogium has joined #openocd
00:08
wmat has joined #openocd
00:08
antto has joined #openocd
00:08
shoragan has joined #openocd
00:08
ChanServ has joined #openocd
00:09
zkrx has joined #openocd
00:09
Pokey has joined #openocd
00:09
gamiee has joined #openocd
00:09
Bertl has joined #openocd
00:09
van has joined #openocd
00:10
KindOne has joined #openocd
01:30
epoch101 has joined #openocd
01:33
<
epoch101 >
Hey everyone! I was trying to flash a bitstream to the SPI flash of a Xilinx XC6SLX25T-2CSG324 Spartan6 FPGA with an Altera USB Blaster. I'm currently able to detect the flash that is connected using the bscan_spi_xc6slx25t.bit, but I'm not able to write to flash. Below is the configuration file I'm trying to use:
01:33
<
epoch101 >
source [find interface/altera-usb-blaster.cfg]
01:33
<
epoch101 >
source [find cpld/xilinx-xc6s.cfg]
01:33
<
epoch101 >
source [find cpld/jtagspi.cfg]
01:33
<
epoch101 >
adapter speed 100
01:33
<
epoch101 >
jtagspi_init 0 bscan_spi_xc6slx25t.bit
01:33
<
epoch101 >
jtagspi_program ledglow.bit 0x0
01:33
<
epoch101 >
xc6s_program xc6s.tap
01:33
<
epoch101 >
flash verify_bank 0 ledglow.bit
01:33
<
epoch101 >
shutdown
01:33
<
epoch101 >
The output is as follows:
01:34
<
epoch101 >
openocd -f dragon-l-spi.cfg
01:34
<
epoch101 >
Open On-Chip Debugger 0.12.0
01:34
<
epoch101 >
Licensed under GNU GPL v2
01:34
<
epoch101 >
For bug reports, read
01:34
<
epoch101 >
Info : only one transport option; autoselect 'jtag'
01:34
<
epoch101 >
Info : usb blaster interface using libftdi
01:34
<
epoch101 >
Info : This adapter doesn't support configurable speed
01:34
<
epoch101 >
Info : JTAG tap: xc6s.tap tap/device found: 0x24024093 (mfg: 0x049 (Xilinx), part: 0x4024, ver: 0x2)
01:34
<
epoch101 >
Info : JTAG tap: xc6s.tap tap/device found: 0x24024093 (mfg: 0x049 (Xilinx), part: 0x4024, ver: 0x2)
01:34
<
epoch101 >
Info : Found flash device 'st m25p80' (ID 0x142020)
01:34
<
epoch101 >
Info : sector 0 took 637 ms
01:34
<
epoch101 >
Info : sector 1 took 588 ms
01:34
<
epoch101 >
Info : sector 2 took 536 ms
01:34
<
epoch101 >
Info : sector 3 took 576 ms
01:34
<
epoch101 >
read 244520 bytes from file ledglow.bit and flash bank 0 at offset 0x00000000 in 2.211101s (107.996 KiB/s)
01:34
<
epoch101 >
contents differ
01:34
<
epoch101 >
diff 0 address 0x00000001. Was 0x00 instead of 0x09
01:34
<
epoch101 >
diff 1 address 0x00000002. Was 0x00 instead of 0x0f
01:34
<
epoch101 >
diff 2 address 0x00000003. Was 0x00 instead of 0xf0
01:34
<
epoch101 >
diff 3 address 0x00000004. Was 0x00 instead of 0x0f
01:34
<
epoch101 >
diff 4 address 0x00000005. Was 0x00 instead of 0xf0
01:34
<
epoch101 >
diff 5 address 0x00000006. Was 0x00 instead of 0x0f
01:34
<
epoch101 >
diff 6 address 0x00000007. Was 0x00 instead of 0xf0
01:34
<
epoch101 >
diff 7 address 0x00000008. Was 0x00 instead of 0x0f
01:34
<
epoch101 >
diff 8 address 0x00000009. Was 0x00 instead of 0xf0
01:34
<
epoch101 >
diff 9 address 0x0000000c. Was 0x00 instead of 0x01
01:34
<
epoch101 >
diff 10 address 0x0000000d. Was 0x00 instead of 0x61
01:34
<
epoch101 >
diff 11 address 0x0000000f. Was 0x00 instead of 0x1e
01:34
<
epoch101 >
diff 12 address 0x00000010. Was 0x00 instead of 0x4c
01:35
<
epoch101 >
diff 13 address 0x00000011. Was 0x00 instead of 0x45
01:35
<
epoch101 >
diff 14 address 0x00000012. Was 0x00 instead of 0x44
01:35
<
epoch101 >
diff 15 address 0x00000013. Was 0x00 instead of 0x67
01:35
<
epoch101 >
diff 16 address 0x00000014. Was 0x00 instead of 0x6c
01:35
<
epoch101 >
diff 17 address 0x00000015. Was 0x00 instead of 0x6f
01:35
<
epoch101 >
diff 18 address 0x00000016. Was 0x00 instead of 0x77
01:35
<
epoch101 >
diff 19 address 0x00000017. Was 0x00 instead of 0x2e
01:35
<
epoch101 >
diff 20 address 0x00000018. Was 0x00 instead of 0x6e
01:35
<
epoch101 >
diff 21 address 0x00000019. Was 0x00 instead of 0x63
01:35
<
epoch101 >
diff 22 address 0x0000001a. Was 0x00 instead of 0x64
01:35
<
epoch101 >
diff 23 address 0x0000001b. Was 0x00 instead of 0x3b
01:35
<
epoch101 >
diff 24 address 0x0000001c. Was 0x00 instead of 0x55
01:35
<
epoch101 >
diff 25 address 0x0000001d. Was 0x00 instead of 0x73
01:35
epoch101 has quit [Quit: WeeChat 4.3.3]
01:36
epoch101 has joined #openocd
01:37
<
epoch101 >
Apologies, I didn't intend to spam. I'm not very familiar with IRC and I didn't know it wasn't possible to sent multiple lines at once.
01:40
sevan has quit [Ping timeout: 256 seconds]
02:53
jn_ has joined #openocd
02:53
jn_ has joined #openocd
02:53
jn has quit [Ping timeout: 272 seconds]
03:24
tsal has quit [Server closed connection]
03:25
tsal has joined #openocd
06:04
nerozero has joined #openocd
06:04
<
PaulFertser >
epoch101: probably the flash has wrong writeprotect state? Can you check the signal there?
06:05
<
PaulFertser >
epoch101: another idea to try is generating SVF file from the vendor tool.
06:23
epoch101 has quit [Ping timeout: 264 seconds]
07:05
MGF_Fabio has joined #openocd
07:35
Haohmaru has joined #openocd
07:39
MGF_Fabio has quit [Ping timeout: 252 seconds]
07:44
MGF_Fabio has joined #openocd
07:44
tlwoerner has quit [Ping timeout: 246 seconds]
07:46
tlwoerner has joined #openocd
08:06
slobodan has joined #openocd
08:07
slobodan has quit [Client Quit]
08:07
MGF_Fabio has quit [Ping timeout: 240 seconds]
08:13
MGF_Fabio has joined #openocd
08:23
MGF_Fabio has quit [Ping timeout: 252 seconds]
08:59
joconor has joined #openocd
14:24
epoch101 has joined #openocd
14:39
epoch101 has quit [Quit: WeeChat 4.3.3]
15:07
Hawk777 has joined #openocd
15:52
Haohmaru has quit [Quit: saionara]
17:02
nerozero has quit [Ping timeout: 264 seconds]
17:39
noarb has joined #openocd
17:46
noarb has quit [Read error: Connection reset by peer]
17:49
noarb has joined #openocd
18:11
antto has joined #openocd
23:12
vampirefrog has quit [Ping timeout: 256 seconds]