boru has quit [Killed (NickServ (GHOST command used by boru`))]
boru` is now known as boru
gnom has quit [Ping timeout: 245 seconds]
gnom has joined #openocd
thinkfat has joined #openocd
thinkfat_ has quit [Ping timeout: 265 seconds]
Bertl_oO has joined #openocd
<Bertl_oO>
greetings! I'm trying to get openocd to run an SVF file via an stlink v2, but so far I'm not even close it seems
<Bertl_oO>
when I use a typical config file which seems to work with the stlink and the connected board, I only get invalid command name "svf"
<Bertl_oO>
I'm currently using Open On-Chip Debugger 0.11.0-rc2+dev-00035-gaaa2ae26c-dirty
<Bertl_oO>
do I need to compile a special version to use the svf command?
Hawk777 has joined #openocd
[itchyjunk] has quit [Read error: Connection reset by peer]
tomtastic has quit [Ping timeout: 265 seconds]
tomtastic has joined #openocd
Bertl_oO is now known as Bertl_zZ
akaWolf has quit [Ping timeout: 252 seconds]
akaWolf has joined #openocd
<borneoa_>
Bertl_zZ: stink is unable to handle low level JTAG transfers. For SVF you need to use another adapter
akaWolf has quit [Ping timeout: 245 seconds]
akaWolf has joined #openocd
nerozero has joined #openocd
akaWolf has quit [*.net *.split]
devanagram has quit [*.net *.split]
zjason has quit [*.net *.split]
renrelkha has quit [*.net *.split]
c4017w_ has quit [*.net *.split]
HelloShitty has quit [*.net *.split]
Bertl_zZ has quit [*.net *.split]
Haohmaru has joined #openocd
HelloShitty has joined #openocd
renrelkha has joined #openocd
akaWolf has joined #openocd
c4017w_ has joined #openocd
Bertl_zZ has joined #openocd
zjason has joined #openocd
devanagram has joined #openocd
akaWolf has quit [Ping timeout: 252 seconds]
akaWolf has joined #openocd
c4017 has quit [Ping timeout: 245 seconds]
Hawk777 has quit [Quit: Leaving.]
indy has quit [Remote host closed the connection]
indy has joined #openocd
<olerem>
borneoa_: hm, do we have some warning in the svf code about incompatible adapter?
<borneoa_>
olerem: don't know, never used SVF. But I expect SVF requires transport JTAG, that is not available for stlink.
<olerem>
hm, i used svf to upload fpga bitstream, but i do not have any hla adapter to test if there are some sanity checking
<PaulFertser>
Right, it needs transport jtag.
<borneoa_>
olerem: today we have 3 HLA adapters supported. None of them have basic JTAG support in openocd code. For sure stlink don't have it. No documentation for the other two.
<PaulFertser>
ti icdi didn't have low level jtag commads either
c4017w__ has joined #openocd
c4017w_ has quit [Ping timeout: 252 seconds]
Bertl_zZ is now known as Bertl
<Bertl>
borneoa_: ah, that explains ... what adapters would work for this? how can I find out?
<PaulFertser>
Bertl: what adapters do you have and do you need it fast? Even raspberrypi gpios should do.
<Bertl>
I do not need fast action in this case, bit-banging is perfectly fine
<Bertl>
The mentioned raspberry pi would be an option here :)
<bencoh>
any reason not to get one of the of-the-shelf openocd-friendly adapters though?
<bencoh>
(the olimex ocd, for instance)
<Bertl>
the main reason is that it would take to long till I have it
<PaulFertser>
Bertl: cmsis-dap adapters, ftdi-based adapters, jlink all should work.
<PaulFertser>
Bertl: if you have an SBC with compatible voltage levels give it a try. You might need series termination resistors but that should be about it.
<Bertl>
what I also have are FTDI modules, like the quad FT4232 mini module
<PaulFertser>
Bertl: perfect, but might need series termination, depending on your target (to avoid ringing).
* olerem
rememmbers debuging it with: works with scope attached and not works plain ftdi.. :D
<bencoh>
:)
<Bertl>
olerem: I have a scope I can attach ;)
<olerem>
Bertl: so, problem solved :D
<Bertl>
so, to recap, if I use an ftdi, the SVF command will magically appear?
<Bertl>
do I need to setup anything regarding the target to make that work?
<olerem>
Bertl: what chip are you using, is it some fpga?
<Bertl>
no, it is an STM32MP1
akaWolf has quit [Ping timeout: 252 seconds]
<olerem>
Bertl: why svf is needed for STM32MP1?
<Bertl>
I need to run some EXTEST on the specific device
<Bertl>
and openocd was the first that came into my mind
<olerem>
ok, in this case you need to configure TAP which is providing this EXTEST instruction. I assume no target configuration is needed
<olerem>
borneoa_, PaulFertser ^ ?
akaWolf has joined #openocd
<borneoa_>
Bertl: what kind of test you would run?
<Bertl>
just some simple toggle a GPIO
<Bertl>
(on the STM32MP1 ;)
<Bertl>
a colleague of mine has some problems with boundary scan tests and I would like to check whether it is hardware or software related
<borneoa_>
Bertl: the errata document in ST website reports some problem of boundary scan on stm32mp1. Check there if it's known. Some have workarounds
<Bertl>
borneoa_: could you point me to the relevant errata?