NishanthMenon changed the topic of #openocd to: this is the place to discuss all things OpenOCD | Logs: https://libera.irclog.whitequark.org/openocd/
jn has quit [Ping timeout: 252 seconds]
jn has joined #openocd
flatmush has quit [Ping timeout: 252 seconds]
flatmush has joined #openocd
tsal has quit [Ping timeout: 244 seconds]
tsal has joined #openocd
diddly has quit [Ping timeout: 252 seconds]
diddly has joined #openocd
Hawk777 has joined #openocd
nerozero has joined #openocd
dormito has quit [Ping timeout: 260 seconds]
Haohmaru has joined #openocd
dormito has joined #openocd
en-sc has joined #openocd
Hawk777 has quit [Quit: Leaving.]
dormito has quit [Ping timeout: 244 seconds]
en-sc has quit [Remote host closed the connection]
en-sc has joined #openocd
en-sc has quit [Remote host closed the connection]
en-sc has joined #openocd
en-sc has quit [Remote host closed the connection]
en-sc has joined #openocd
en-sc has quit [Remote host closed the connection]
en-sc has joined #openocd
Haohmaru has quit [Quit: saionara]
<karlp> when haohmaru comes back, pickit basic is out now, which is usb-hs, cmsis-dap, all sorts: https://www.microchip.com/en-us/development-tool/PG164110
<karlp> looks pretty decent honestly.
<PaulFertser> antto is still here
<antto> hm?
<antto> i'll throw an eyeball
<NishanthMenon> borneoa___: when ever you get a chance, two very recent series (should be not controversial, I hope): https://review.openocd.org/c/openocd/+/8792 https://review.openocd.org/c/openocd/+/8798 and ofcourse the older mspm0 series https://review.openocd.org/c/openocd/+/8386
en-sc has quit [Remote host closed the connection]
<antto> karlp, that's not bad.. maybe for $job (we might need another programmer for f*cking pics)
<antto> otherwise for me personally - if it works as cmsis-dap - good, but i don't see UART, so i find this daplink more convenient (i put SWD and UART TX/RX onto the debugger connector on my boards for convenience)
nerozero has quit [Ping timeout: 260 seconds]
HelloShitty has quit [Ping timeout: 248 seconds]
HelloShitty has joined #openocd
zjason` has joined #openocd
zjason has quit [Ping timeout: 268 seconds]
en-sc has joined #openocd
en-sc has quit [Remote host closed the connection]
pi0 has joined #openocd
<karlp> NishanthMenon: my biggest confusion with that series, and all the ones before, is who uses the k3 nomenclature?
<karlp> given that's what the user is meant to know.
<pi0> PaulFertser: can you kindly suggest a cfg for this type of board, https://keeb.io/products/supermini-nrf52840-pro-micro-bluetooth-le-ble-controller
<pi0> anyone can also chime in if they know
<karlp> pi0: -f interface/whateveryouhave.cfg -f target/nrf52.cfg?
<karlp> not you would need to use the tiny pads on the side of the board, because, "lol, fuck debug"
<pi0> i found a guy on discord that created a custom pcb and sent me the file, i will snap some pics of it when i get home
<pi0> i agree it was a terrible design and not fair for ppl
<karlp> I dunno, keeb people seem towant to live in that world, "I just want to to configure my keymap and I'm done"
<PaulFertser> Heh, yes, too tiny to fit 2 extra signals:)
<pi0> i actually want to use these with the nrf52480 ble sniffer hex
<PaulFertser> pi0: but it's not that hard to solder two wires there to the pads, so yes, just do not try stlinkv3 with it. What debug adapter do you have?
<NishanthMenon> karlp: k3 is a family of devices. Linux uboot, .... Lots of usage. I am out from my desk ATM. I can clarify if anything specific
<pi0> i have a segger edu, and i just got 5 stlink v2's from ali
<pi0> got the text message confirmation that they arrived at my door :D
<pi0> so i am excited to rush home
<pi0> between work and school, now ai killed the job market
<pi0> i should of learned how to play sports instead
<pi0> lol
<pi0> PaulFertser: would any of those work?
<PaulFertser> pi0: segger would work sure
<pi0> how about the stlink v2?
<PaulFertser> Should work too
<pi0> those should also right, with the stlink software
<pi0> nice
<pi0> i do have a ubuntu box and windows system, so which ever is the easiest
<PaulFertser> Guess ubuntu is easier
<pi0> nice, i should be home within 4 hours
<pi0> traffic is crazy over here
<pi0> oshpark only charges 3.00 for 6 of these flex pcb's
<pi0> free shipping too
<pi0> last order took a little over a month tho
<pi0> but its worth seeing if this pcb works
<pi0> just to understand the work flow, i will need openocd and https://github.com/stlink-org/stlink
<pi0> i saw this, but is .bin the same as .hex?
<pi0> karlp: would i have to change anything from these instructions
<pi0> PaulFertser: i think i should be able to follow this, correct, or do you see anything that i may have to change
<pi0> however i did not notice they have a .bin on that example, not in my situation, not sure if that can be interchangable
dormito has joined #openocd
<PaulFertser> pi0: bin is not the same as hex, as for bin you need to specify the right offset and for hex it's part of the file.
<PaulFertser> pi0: and no, you do not need https://github.com/stlink-org/stlink
<PaulFertser> share/openocd/scripts/interface/stlink.cfg can be shortened to interface/stlink.cfg
<PaulFertser> In that listing the bin file is flashed from 0 offset so it's not specified so in this particular case using a .hex is fully equivalent.
<PaulFertser> But they shouldn't run program twice, and especially shouldn't do it the second time without verify.
<pi0> just to clarify, i could use "program ble_sniffer.dex"
<pi0> and this will flash my hex file to my board without specifying anything else?
<pi0> PaulFertser: i believe another follow up question i have as well, based off your response i do not need an offset for hex?
<pi0> or perhaps i might of misunderstood
<PaulFertser> pi0: yes
<PaulFertser> No need for offset. But I'd recommend to add " verify"
<pi0> ah i see so the entire command would be "program ble_sniffer.hex verify" not only will this flash but also verify as well
<pi0> PaulFertser: i did notice other tutorials rain init, and reset init, not sure if these pre commands are necessary
<PaulFertser> pi0: not needed, it's all automatic inside "program".
<pi0> ah nice, understood
<pi0> ugh its rainin, gonna be a nightmare to get home :/ see you guys in a bit