NishanthMenon changed the topic of #openocd to: this is the place to discuss all things OpenOCD | Logs: https://libera.irclog.whitequark.org/openocd/
thinkfat_ has joined #openocd
thinkfat has quit [Ping timeout: 260 seconds]
cp- has quit [Ping timeout: 268 seconds]
cp- has joined #openocd
sbach has quit [Read error: Connection reset by peer]
sbach has joined #openocd
tsal has quit [Ping timeout: 252 seconds]
tsal has joined #openocd
Hawk777 has joined #openocd
Hawk777 has quit [Quit: Leaving.]
erhankur has quit [Ping timeout: 268 seconds]
erhankur has joined #openocd
erhankur has quit [Read error: Connection reset by peer]
erhankur has joined #openocd
Hawk777 has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
nerozero has joined #openocd
erhankur has quit [Remote host closed the connection]
Haohmaru has joined #openocd
erhankur has joined #openocd
akaWolf has quit [Ping timeout: 252 seconds]
akaWolf has joined #openocd
Hawk777 has quit [Quit: Leaving.]
wingsorc__ has quit [Ping timeout: 260 seconds]
erhankur_ has joined #openocd
erhanku__ has joined #openocd
erhankur has quit [Ping timeout: 252 seconds]
erhankur_ has quit [Ping timeout: 252 seconds]
Corvus has joined #openocd
<Corvus> Hey, guys. A quick question. Does the ft232r driver support SWD transport or is it only capable of JTAG?
<Corvus> I sorta want to bitbang SWD.
<PaulFertser> Corvus: hi. Currently JTAG only.
<PaulFertser> Corvus: you can bitbang SWD with GPIOs of a single board computer (e.g. raspberrypi).
<PaulFertser> Probably you have other hardware potentially usable as an SWD adapter?
<Corvus> PaulFertser: yeah, I have a raspi pico on the way, and I've seen a someone turning it into an SWD probe, the problem is, that's the board I want to SWD. Maybe I should get a second one
<PaulFertser> Corvus: I mean a regular raspberrypi can bitbang SWD.
<PaulFertser> Corvus: on the pico you can debug one core by dedicating the other to communication with OpenOCD, see picoprobe.
<Corvus> yeah, I've seen that too, but it's a bit expensive to buy it just to turn into an SWD probe
<Corvus> Oh!
<PaulFertser> Corvus: probably you have a "bluepill" stm32 board?
<Corvus> Really?
<Corvus> No, I don't. Let's get back to using one core for debugging the other...
<Corvus> that is something supercool!
<Corvus> That is awesome! Thank you!
<PaulFertser> :)
<Corvus> means I can debug that thing too, https://www.waveshare.com/wiki/RP2040-Zero even though it doesn't seem to have SWD lines broken out on the board
<PaulFertser> Guess so
SteveMarple has joined #openocd
<Corvus> PaulFertser: You mentioned I can use an stm32 as an SWD adapter. There's some software that'd need to run on it, right?
<PaulFertser> Corvus: yes, there exist some ports of daplink / cmsis-dap firmware on stm32 boards.
<Corvus> and their ST-Link only works with stm mcu's, right?
<PaulFertser> Corvus: stlink v2 has no limitations like that, stlink v3 does but can be reflashed with independent daplink firmware.
<Haohmaru> stlink3 is locked to ST targets
<Corvus> Oh, that's cool, I can get an st-link v2 cheaper than chips.
<PaulFertser> :)
<PaulFertser> Corvus: some stlink v2 clones from China are using stm32f101 even though that part doesn't have USB officially :) Also some of them have RESET signal misrouted so stlink firmware can't really control the target pin.
indy has quit [Quit: ZNC 1.8.2 - https://znc.in]
merethan has joined #openocd
<Corvus> PaulFertser: so, does it make more sense to just get a normal stm32f101 board?
<Corvus> the price is the same, it just doesn't have a coloful plastic case
<PaulFertser> Corvus: can you show a link please?
<Corvus> so I can get an STM32F103C8T6 or a chinese st-link2 for the same chips price
<PaulFertser> Corvus: one thing to note: stlink v2 doesn't support multi-drop SWD so not really suitable for rp2040 as is.
<Corvus> hm... I assume there's an stm32 firmware that does?
<PaulFertser> Corvus: I'd recommend sparing a bit more money and getting TUMPA (ft2232h-based multi function adapter with fast JTAG buffer, RS-232 etc)
<Corvus> yeah, I was looking at them, but it's like... it's not superexpensive, but it's expensive enough for me to start thinking if there's a cheaper option. It's roughly like 4 rp2040
<PaulFertser> I found it handy for many different usecases. If you can get rp2040 for reasonably cheap, then you do not really need any stm32 I think.
indy has joined #openocd
<Corvus> yeah, rp2040 is about 4 bucks. stm32f103 is about half that, but I don't really like them much, they don't have usb-otg
<karlp> the f4 boards do though
<Corvus> and I like usb host mode
<karlp> leave f1 in the last century please.
<PaulFertser> Yes, no reason to buy f103 these days other than for some project that's already fully implemented.
<Corvus> karlp: yes, but f4's are more expensive than rp2040
<karlp> you do you.
<Corvus> karlp: haha, I'm sure I have a couple of atmega's 328p. That's what really needs to be left in the last century
indy has quit [Ping timeout: 252 seconds]
indy has joined #openocd
indy has quit [Ping timeout: 268 seconds]
merethan has quit [Remote host closed the connection]
merethan has joined #openocd
merethan has quit [Remote host closed the connection]
merethan has joined #openocd
merethan has quit [Remote host closed the connection]
merethan has joined #openocd
erhanku__ has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
dominic_island is now known as youthpastor
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
Corvus has left #openocd [No boundaries on the net!]
nerozero has quit [Ping timeout: 260 seconds]
nerozero has joined #openocd
merethan has quit [Remote host closed the connection]
merethan has joined #openocd
indy has joined #openocd
Haohmaru has quit []
urja has quit [Read error: Connection reset by peer]
urja has joined #openocd
merethan has quit [Remote host closed the connection]
merethan has joined #openocd
merethan has quit [Remote host closed the connection]
merethan has joined #openocd
erhankur has quit [Ping timeout: 268 seconds]
erhankur has joined #openocd
erhankur has quit [Ping timeout: 264 seconds]
merethan has quit [Ping timeout: 260 seconds]
nvmd has joined #openocd
nerozero has quit [Ping timeout: 268 seconds]
erhankur has joined #openocd
shibboleth has joined #openocd
shibboleth has quit [Remote host closed the connection]
shibboleth has joined #openocd
shibboleth has quit [Quit: shibboleth]
wingsorc__ has joined #openocd
nvmd has quit [Quit: WeeChat 3.6]
wingsorc has quit [Remote host closed the connection]
wingsorc__ has quit [Quit: Leaving]
wingsorc has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd