vfazio has quit [Remote host closed the connection]
Kerr has quit [Ping timeout: 276 seconds]
Kerr has joined #openocd
Hawk777 has joined #openocd
tsal has quit [Ping timeout: 252 seconds]
tsal has joined #openocd
indy has quit [Ping timeout: 260 seconds]
indy_ has joined #openocd
tsal has quit [Ping timeout: 264 seconds]
tsal_ has joined #openocd
nerozero has joined #openocd
crabbedhaloablut has joined #openocd
Hawk777 has quit [Quit: Leaving.]
MGF_Fabio has joined #openocd
jn_ is now known as jn
nerozero has quit [Ping timeout: 276 seconds]
<balrog>
borneoa___: thanks for the review :) at this point I'm comfortable with using the Git CLI for Gerrit, so I pushed the fix that way
<balrog>
also I think it would be nice if the next OpenOCD release supports SWD
<balrog>
or rather as part of remote_jtag as more people are getting Glasgow devices
<PaulFertser>
balrog: the next release will get everything that's merged by the time the release is made, there's no separate development branch or anything like that.
<balrog>
Yeah, I figured. The time between releases does seem a little long though
<balrog>
But then again I don't know how much development activity there is in general
<PaulFertser>
That Glasgow is really cool, finally buspirate done by real engineers.
<PaulFertser>
balrog: does using remote bitbang really makes sense from performance point of view there? How does it compare with e.g. FTDI? JTAG and SWD are meant to be batched, that helps a lot with relatively high-latency links. But with a simple protocol there's no way to use that advantage.
<PaulFertser>
balrog: it would make sense to implement FTDI MPSSE for JTAG and SWD there it'd seem.
<balrog>
PaulFertser: ahh, but what hardware would one need to test that?
<PaulFertser>
balrog: not sure I understand. I mean the MCU on Glasgow can implement the device side of MPSSE so from USB host point of view it would be the same as an FTDI chip.
<balrog>
oh I see what you mean
<PaulFertser>
balrog: it really makes sense for most practical JTAG and SWD applications to be able to assemble long queues of commands to be sent all at once to the debug probe. CMSIS-DAP does that too.
<PaulFertser>
remote_bitbang is better than nothing but I'm afraid it's far from optimal, and for the device to be recommended as a debug probe some other protocol needs to be supported.
<PaulFertser>
balrog: what are your practical results speed-wise? How fast can you read from target's SRAM?
<balrog>
I haven't tested that yet
<PaulFertser>
What did you test, flashing?
<balrog>
Mainly reading memory at different addresses, but I didn't test for speed
<PaulFertser>
You can use "load_image" and "verify_image" for testing.
<PaulFertser>
And "dump_image"
<balrog>
will do once I have the hardware set up again
<PaulFertser>
I do not mean having SWD support in remote_bitbang and Glasgow working is bad or useless, not at all. But grossly suboptimal.
<balrog>
right
<karlp>
lol, complaining abotu time between releases is pretty funny coming from glasgow ;)
<karlp>
glasgow's coming together nicely though, glad to see it finally getting out.
gzlb has quit [Ping timeout: 276 seconds]
gzlb has joined #openocd
<borneoa___>
Apart from license pow, I think that reusing ARM cmsis-dap code would be much easier than implementing MPSSE on device side. But maybe there is already an implementation around...
<PaulFertser>
Indeed, I thought about it but then somehow assumed it's a bit more complicated and filled with ARM specifics compared to basically batched bitbanging that MPSSE or J-Link protocols offer.
Hawk777 has joined #openocd
IoT-Maker has joined #openocd
<IoT-Maker>
hi, does openocd supports Marvell Armada XP (PJ4Bv7) SOC?
<PaulFertser>
IoT-Maker: any Cortex-A should work for debugging but preparing full config file might take time for complex SoCs.
<IoT-Maker>
can't find a matching target config file
<karlp>
IoT-Maker: so the next thing is, what exactly do you need to do with it? this will determine how much target you need to setup a config file for.
<PaulFertser>
Those are old cores, pre-Cortex, right?
<PaulFertser>
wtf does "ARM v7 MP compatible CPU" mean I have no real idea, the arm naming is confusing
<PaulFertser>
"which has ARMv7 cores somewhat similar to a Cortex-A9 design."
zjason has quit [Read error: Connection reset by peer]
zjason has joined #openocd
<IoT-Maker>
karlp: I got a Drobo B810i here to fix a failed firmware update. I want a memory dump and upload the firmware to test it.
<PaulFertser>
IoT-Maker: is there a NAND chip there? Does bootloader not start at all, can you interact with it anyhow?
<PaulFertser>
IoT-Maker: have you checked what options the ROM bootloader offers?
<IoT-Maker>
It has a Nand, and an SPI, Device boots, i have 2 UART ports, one with linux root shell, and the other begins a vxworks boot process but i can't enter a working shell environment. I can stop the vxworks boot process ending in a uboot 2.33 shell (with no ethernet)
<IoT-Maker>
strange configuration
<PaulFertser>
IoT-Maker: so dump whatever you need from a u-boot shell over serial
<PaulFertser>
Also if it boots from SPI NOR, you can manipulate that flash externally with a SOIC clip.
pedro_a has joined #openocd
<pedro_a>
hi paul , i have been looking for this cpu datasheet from motorola and i can not find it anywhere https://i.postimg.cc/fRPLRwm5/Img-1341.jpg , is there any default pinout for cpus ?
<PaulFertser>
Haha, no pedro_a
<pedro_a>
this one is used in automotive industry , i wanted to jtag the damn thing but i can not find its datasheet anywhere
<pedro_a>
not even reference this model anywhere on the net
<PaulFertser>
JTAG is just a low level transport, you also need debug protocol for this part implemented somehow.
<pedro_a>
most times the same reference of a chip is used in many brands , but this one is from motorola and it looks it is code closed , maybe because it is used in automotive industry
<pedro_a>
i bet those 4 top pins on the left are spi connection :))
<pedro_a>
they are not used
<IoT-Maker>
pedro_a quick check showed me it's used in car-key application, no surprise to me that no public reference is available
MGF_Fabio has quit [Ping timeout: 260 seconds]
crabbedhaloablut has quit []
<karlp>
1999 week 20 production code?
<karlp>
man, good lcuk with that one...
IoT-Maker has quit [Ping timeout: 260 seconds]
<pedro_a>
eheheh
<pedro_a>
there is nothing anywhere on the web about it