_whitelogger_ has quit [Remote host closed the connection]
tsal has joined #openocd
tsal_ has quit [Ping timeout: 248 seconds]
_whitelogger_ has joined #openocd
Foxyloxy has quit [Read error: Connection reset by peer]
Foxyloxy has joined #openocd
cozycactus has joined #openocd
_whitelogger_ has quit [Remote host closed the connection]
Hawk777 has joined #openocd
_whitelogger_ has joined #openocd
nerozero has joined #openocd
cozycactus has quit [Quit: Connection closed for inactivity]
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger_ has joined #openocd
Haohmaru has joined #openocd
Hawk777 has quit [Quit: Leaving.]
jmi2k has joined #openocd
<Hammdist>
I would like to have stm32 and fpga on the same board, using ft232h. is there any way to get both connected to the same JTAG port or do I need two ft232hs?
<Hammdist>
iow what kind of bus is jtag is it like i2c or like spi?
<Hammdist>
so I guess my question now is does openocd support diaisy chain JTAG?
<PaulFertser>
Hammdist: sure you can chain JTAG devices, that's the whole point.
<Haohmaru>
probably not like SPI because there would have to be a finite number of "chipselect" signals
<PaulFertser>
Haohmaru: some SPI devices can be chained without per-chip signal. So yes, JTAG is kinda like SPI in that regard.
<Haohmaru>
doesn't that count as exotic?
<PaulFertser>
People often chain shift registers and driver them from SPI master.
<Haohmaru>
i do too
<gamiee>
lol I didn't knew it's possible to chain JTAGs lol :D
<Haohmaru>
74hc595 and 75hc165 (with additional circuitry to make it tristate the output properly)
<Haohmaru>
but i'd think the chipselect is an important thing for SPI, unless with "spi vs i2c" you just mean "synchronous full-duplex vs uhm.. lousy half-duplex"
<PaulFertser>
gamiee: moreover JTAG was designed for cases when you can have several boards and you chain their JTAGs externally to be able to test the whole assembly.
<PaulFertser>
Haohmaru: one common latch signal is enough
<gamiee>
PaulFertser : super coooool! I really didn't knew about this.
<gamiee>
This is good because BL808 is having two cores, and both are exposed in different pins.
<Haohmaru>
oh well, in my head i call this "exotic spi" or "kind-of-similar-to-spi"
<PaulFertser>
And there exists additional test boards e.g. for inserting instead of a DRAM memory stick in the motherboard and then you have a cable to connect it in chain with the CPU and chipset JTAGs and get the whole link tested.
<Haohmaru>
i do have 595 and 165 shift-registers on this board together with proper SPI eeprom and other things, all on the same SPI periph, but the shift-registers (particularly the 165) isn't legally SPI
diddly has quit [Ping timeout: 252 seconds]
<gamiee>
wow
diddly has joined #openocd
<PaulFertser>
Haohmaru: right. I said "kinda like SPI in that regard" (daisy-chaining connecting shift registers)
<Haohmaru>
gamiee, where did you buy that BL808 from? ;P~
<Haohmaru>
there was a time when i wanted to see a price for that.. but it looked like unobtanium
<gamiee>
Haohmaru: I don't have the chips directly (yet). At some point I want to do custom development board for it.
<Haohmaru>
oh wait, this was the one with 3 different cores?
<gamiee>
Haohmaru: BL808 have 1x C906, 1x E907 and 1x E902
<Haohmaru>
yeah this is probably not for me, smells like an "application processor"
<gamiee>
BL606P (which is older and cut-down version of BL808 have those 3 cores as well.)
<gamiee>
Haohmaru: Indeed BL808 is more complex than MCU, but I see it as being middle between MCUs and Linux SoCs.
<Haohmaru>
it does seem to have tasty double precision FPU and some SIMD stuff
<gamiee>
I am working past week heavily with BL606P (working on firmware for PineVox), and so far, it's nice step up from working on MCUs, since there is also mailbox for IPC and some more complex peripherals. But still not that hard as complex Linux SoCs.
<Haohmaru>
how much MHz is that one?
<Haohmaru>
huh, still 480
<gamiee>
honestly, no idea. Would need to checkout datasheet but I am at work :D But C906 (the most powerful CPU in it) can get fast enough to run Linux
<gamiee>
only thing I don't like on BL808 and BL606P is that it uses T-Head cores :D and the E902 core uses CJTAG
<Haohmaru>
no clue what that is
<Haohmaru>
so i see pine64.com have whole boards with these for like 8 bucks, wtf
jmi2k has quit [Quit: Client closed]
sbach has quit [Ping timeout: 245 seconds]
sbach has joined #openocd
<gamiee>
Haohmaru: yeah, the chip is super cheap for what it is. Sadly, software support is... messy, but hopefully, I can improve it soon :)
<gamiee>
Plan to do mainline openocd support for that chip as well.
<Haohmaru>
the question is.. is it cheap because it's cheap or for some fishy reasons
<Haohmaru>
at 8bucks i could buy one even if it turns out that i can't do sh*t with it
Haohmaru has quit [Quit: saionara]
<gamiee>
Haohmaru: it is cheap because the chip is cheap. I have many of them :)
shibboleth has joined #openocd
_whitelogger has joined #openocd
Hawk777 has joined #openocd
nerozero has quit [Ping timeout: 252 seconds]
shibboleth has quit [Remote host closed the connection]
shibboleth has joined #openocd
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger_ has joined #openocd
zjason` has joined #openocd
zjason has quit [Ping timeout: 248 seconds]
shibboleth has quit [Quit: shibboleth]
slobodan has quit [Remote host closed the connection]