<PaulFertser>
Quickie: there's no jtag prompt in OpenOCD. You just start openocd -f interface/... -c "jtag newtap auto0 tap -irlen 10 -expected-id 0x020a30dd"
<Quickie>
Info : only one transport option; autoselect 'jtag'
<Quickie>
adapter speed: 3000 kHz
<Quickie>
Info : Listening on port 6666 for tcl connections
<Quickie>
Info : Listening on port 4444 for telnet connections
<Quickie>
Info : usb blaster interface using libftdi
<Quickie>
Info : This adapter doesn't support configurable speed
<Quickie>
Warn : There are no enabled taps. AUTO PROBING MIGHT NOT WORK!!
<Quickie>
Warn : gdb services need one or more targets defined
<PaulFertser>
Quickie: ok, so it's all fine. You can run your commands via Telnet or if you prefer append to the command line something like -c "init; svf your.svf; shutdown"
<Quickie>
I am going to give it a try using the command with the .svf :) Let me try
<Quickie>
Ok, the programming started and executed quite a few commands, however it arrived to this point:
<Quickie>
SDR 16 TDI (FFF7);
<Quickie>
Error: tdo check error at line 53
<PaulFertser>
Does it happen every time on same line?
<Quickie>
Error: READ = 0xdd16 Error: WANT = 0x8232 Error: MASK = 0xffff Error: fail to run command at line 1066 Error: tdo check error at line 53 Error: READ = 0xdd16 Error: WANT = 0x8232 Error: MASK = 0xffff Time used: 0m14s928ms svf file programmed failed
<Quickie>
I am going to retry, let's see
<Quickie>
yes, it stopped in the same line
<PaulFertser>
Probably the part isn't exactly compatible?
<PaulFertser>
Or probably you need to use some other options when generating this SVF.
<Quickie>
I have some doubts about the part. Strangely it is detected by Quartus II as 5M1270Z/EPM1270, whereas another EPM1270T144 from another batch was identified directly on Quartus II
<Quickie>
I can try to change the SVF generation options, but honestly I think the problem might be it's a remarked CPLD
<PaulFertser>
Is Quartus able to configure it?
<Quickie>
Quartus identifies it, but when it tries to program the .pof it gives the error "A device's silicon ID is different from its JTAG ID. Verify that al cables are securely connected"
<Quickie>
JTAG ID Code detected was 0x020A30DD
<PaulFertser>
So no wonder it's not possible to configure it with OpenOCD either.
<Quickie>
I tried it, thanks a lot in any case. I really appreciate your help
<PaulFertser>
Welcome
<Quickie>
I was wondering that perhaps a prior deletion could do something, but I am unsure which command should be used for this cpld
<PaulFertser>
Quickie: you should be able to generate an SVF doing erase with Quartus.
<PaulFertser>
But that flashing SVF likely includes the erase already.
<Quickie>
Yeah, you're right, but I will give it a try. I remember about 1 year ago I had a similar problem with an ATF1502ASL. I was able to generate a .svf with the erase instruction (in that occasion was with Atmisp), it did the trick, but the target .svf with code also failed with OpenOcd (and I forgot about it thinking that was a remarked part). Pretty
<Quickie>
much the same
nvmd has quit [Quit: WeeChat 3.6]
kkk4444 has joined #openocd
Haohmaru has quit []
Quickie has quit [Quit: Client closed]
kkk4444 has quit [Ping timeout: 252 seconds]
nerozero has quit [Ping timeout: 260 seconds]
shibboleth has joined #openocd
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #openocd
shibboleth has quit [Quit: shibboleth]
tlwoerner has quit [Read error: Connection reset by peer]