NishanthMenon changed the topic of #openocd to: this is the place to discuss all things OpenOCD | Logs: https://libera.irclog.whitequark.org/openocd/
tsal has quit [Ping timeout: 252 seconds]
tsal has joined #openocd
boru` has joined #openocd
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?
<borneoa_> Let me find the URL
<Bertl> thanks a bunch! appreciated!
<borneoa_> Yes. Rev 6 is latest version of the document
<Bertl> okay, thanks! found the two errata
joconor has quit [Quit: ZNC 1.8.2 - https://znc.in]
joconor has joined #openocd
<borneoa_> Bertl: wish it helps
nerozero has quit [Ping timeout: 265 seconds]
nerozero has joined #openocd
<Bertl> borneoa_: information is always helpful and appreciated
<PaulFertser> Bertl: have you seen my script which allows manual manipulation with EXTEST?
<Bertl> not yet, url/link?
<PaulFertser> Bertl: it's featured in this olerem 's talk: https://openocd.org/beyond_simple_debugging.html
<Bertl> hmm, that link has the title and a date, but nothing else on it (for me)?
<PaulFertser> Bertl: damn, sorry, guess different pelican version on build machine disabled iframes, let me dig the link.
<PaulFertser> No, the link is there, just iframe isn't loading.
<PaulFertser> The page at 'https://openocd.org/beyond_simple_debugging.html' was loaded over HTTPS, but requested an insecure frame 'http://www.youtube.com/embed/lk2V0YkgN2A'. This request has been blocked; the content must be served over HTTPS.
<Bertl> ah, tx
<PaulFertser> Bertl: fixed now
<Bertl> thanks
<PaulFertser> Bertl: there's no newer version of that script, the repository referenced from the talk is the last one.
<Bertl> noted
<PaulFertser> Bertl: so have you managed to connect ftdi yet?
<Bertl> haven't had the time to dig out the FTDI module yet
<Bertl> but will report back when I do
<PaulFertser> Bertl: cool. BTW, stlinkv3 is even worse: it refuses to talk to other cortex-m targets if they're not from ST.
<Bertl> yeah, vendors are weird ...
<Bertl> btw, the bsr.tcl looks quite useful for my purpose, tx!
<karlp> did you already fix that paul?
<karlp> iirc you can do //www.youtube to use the protocol already in use or something? instead of having to put http or https explicitly?
<PaulFertser> karlp: I just put https
Bertl is now known as Bertl_oO
Hawk777 has joined #openocd
Haohmaru has quit []
nerozero has quit [Ping timeout: 252 seconds]
Hawk777 has quit [Ping timeout: 265 seconds]
Hawk777 has joined #openocd
tomtastic has quit [Ping timeout: 252 seconds]
tomtastic has joined #openocd
Hawk777 has quit [Quit: Leaving.]
gnom has quit [Ping timeout: 268 seconds]
gnom has joined #openocd
zjason` has joined #openocd
zjason has quit [Ping timeout: 252 seconds]
Hawk777 has joined #openocd
Guest22 has joined #openocd
Guest22 has quit [Client Quit]
borneoa_ has quit [Quit: Connection closed for inactivity]
tomtastic has quit [Ping timeout: 252 seconds]
tomtastic has joined #openocd