NishanthMenon changed the topic of #openocd to: this is the place to discuss all things OpenOCD | Logs: https://libera.irclog.whitequark.org/openocd/
crabbedhaloablut has quit []
cp- has quit [Ping timeout: 260 seconds]
cp- has joined #openocd
jn has quit [Ping timeout: 256 seconds]
jn has joined #openocd
jn has joined #openocd
tsal has quit [Ping timeout: 240 seconds]
tsal has joined #openocd
zmatt has quit [Ping timeout: 256 seconds]
nerozero has joined #openocd
urja has quit [Ping timeout: 252 seconds]
gzlb has quit [Ping timeout: 256 seconds]
gzlb has joined #openocd
zmatt has joined #openocd
zjason` has joined #openocd
MGF_Fabio has joined #openocd
zjason has quit [Ping timeout: 252 seconds]
RolfNoot has quit [Remote host closed the connection]
RolfNoot has joined #openocd
Hawk777 has quit [Quit: Leaving.]
Haohmaru has joined #openocd
zjason` is now known as zjason
crabbedhaloablut has joined #openocd
slobodan has joined #openocd
sugarbeet has quit [Ping timeout: 240 seconds]
sugarbeet has joined #openocd
<RolfNoot> Hi, I've updated some files in contrib/loaders/flash/psoc6/ and want to run checkpatch
<RolfNoot> I know there are some issues:
<RolfNoot> problem is that when I run checkpatch, it reports no issues
<karlp> are you sure you're running the right checkpatch?
merethan has joined #openocd
dliviu has quit [Ping timeout: 252 seconds]
dliviu has joined #openocd
JakeSays has quit [Ping timeout: 268 seconds]
<RolfNoot> The one in /tools/checkpatch.sh
Haohmaru has quit [Quit: saionara]
Hawk777 has joined #openocd
<PaulFertser> RolfNoot: how do you run it, can you pastebin full transcript?
bvernoux has joined #openocd
dliviu has quit [Quit: Going away]
dliviu has joined #openocd
nathanhi- has quit [Ping timeout: 245 seconds]
nathanhi- has joined #openocd
Hammdist has quit [Quit: Client closed]
nerozero has quit [Ping timeout: 260 seconds]
dliviu has quit [Quit: Going away]
merethan has quit [Ping timeout: 246 seconds]
dliviu has joined #openocd
<RolfNoot> Seems it looks at the wrong file
<PaulFertser> RolfNoot: it checks the last commit by default. BTW, you shouldn't push "fix-up" commits anyway, so you might need to squash the last one with the previous one anyway.
<PaulFertser> RolfNoot: you can run tools/checkpatch.sh HEAD~3"
<PaulFertser> to check more than the last commit.
Hammdist has joined #openocd
ahorvat has joined #openocd
bvernoux has quit [Read error: Connection reset by peer]
<RolfNoot> I have 3 commits which address different cases. Currently I commit new changed and use fixup (git rebase -i origin/master) to squash the new commit into the original one.
<RolfNoot> I hope this is the right way
<PaulFertser> OK
<PaulFertser> Different things go to different commits, right
<PaulFertser> It's just that your last paste had "contrib/loaders/flash/psoc6: remove empty lines at the end of the .inc" commit message and that doesn't seem to be good if it's for a file that you add in previous commit.
<RolfNoot> I noted that as well. I started off a bit messy, sorry for that. It's more and more clear now
<PaulFertser> No problem at all :)
<RolfNoot> Thank you. I'm now using tools/checkpatch.sh HEAD~3 which is great to check the different commits.
<RolfNoot> Okay, looks like all patches are done & okay now from my side (7983, 7984 & 7986). This means a working implementation for PSoC6 (tested from my side).
<RolfNoot> I still want to apply the implementation for Infineon KitProg3 debugger (also based on Infineon's OpenOCD fork) and also implement a progress bar for programming (if there's interest)
<RolfNoot> [100%] [################################] [ Programming ]
ahorvat_ has joined #openocd
ahorvat has quit [Ping timeout: 268 seconds]
RolfNoot has quit [Remote host closed the connection]
RolfNoot has joined #openocd
pedro_a has joined #openocd
<pedro_a> hi paul , you there
<pedro_a> i am trying to access an AT91SamS64 cpu but i think my config for openocd is not correct
<pedro_a> i am using this config
<pedro_a> interface ftdi
<pedro_a> ftdi_vid_pid 0x0403 0x8a98 0x0403 0x6010
<pedro_a> ftdi_layout_init 0x0038 0x087b
<pedro_a> ftdi_layout_signal nTRST -data 0x0020
<pedro_a> ftdi_layout_signal nSRST -data 0x0010
<pedro_a> source [find target/at91sam7sx.cfg]
<pedro_a> adapter_khz 1000
<pedro_a> init
RolfNoot has quit [Remote host closed the connection]
RolfNoot has joined #openocd
<pedro_a> ok , i think i fixed it
<pedro_a> adapter driver ftdi
<pedro_a> ftdi vid_pid 0x0403 0x8a98 0x0403 0x6010
<pedro_a> ftdi layout_init 0x0038 0x087b
<pedro_a> transport select jtag
<pedro_a> source [find target/at91sam7sx.cfg]
<pedro_a> adapter speed 1000
<pedro_a> init
<pedro_a> Info : clock speed 1000 kHz
<pedro_a> Info : JTAG tap: at91sam7s.cpu tap/device found: 0x3f0f0f0f (mfg: 0x787 (<unknown>), part: 0xf0f0, ver: 0x3)
<pedro_a> Info : Embedded ICE version 1
<pedro_a> Info : at91sam7s.cpu: hardware has 2 breakpoint/watchpoint units
<pedro_a> posting just in case you show up
sdewan has joined #openocd
Hammdist has quit [Quit: Client closed]
slobodan has quit [Ping timeout: 255 seconds]
<karlp> you haven't really shared anything anyone coudl do anything about yet though.
<karlp> use a paste bin of some description for configs, and logs, and a description of what actually isn't working...
<pedro_a> i am using this config with my tiao to access an at91samS64 https://pastebin.com/sayGpCBw
<pedro_a> this is the output https://pastebin.com/jmQ7yPij
<pedro_a> after enter in telnet and try to flash image i get Open On-Chip Debugger
<pedro_a> > flash write_image /opt/remote/neuron.bin 0x0
<pedro_a> Target not halted
<pedro_a> auto_probe failed
<pedro_a> i think i fixed it
<pedro_a> i had to halt cpu for sometime to be able to flash
<pedro_a> > flash banks
<pedro_a> #0 : at91sam7s.flash (at91sam7) at 0x00100000, size 0x00010000, buswidth 0, chipwidth 0
<pedro_a> > flash write_image /opt/remote/neuron.bin 0x00100000
<pedro_a> wrote 51792 bytes from file /opt/remote/neuron.bin in 7.022848s (7.202 KiB/s)
<pedro_a> yes , i checked the hardware , it is working perfectly now
crabbedhaloablut has quit []
<karlp> excellent.
<karlp> so, if you have a tiao, can't you use an interface config from upstream?
nathanhi- has quit [Ping timeout: 268 seconds]
<karlp> like "openocd -f interface/ftdi/tumpa.cfg -c 'transport select jtag' -f target/atm91sam7sx.cfg"
<karlp> you can probably use quite a bit higher than 1000 for the speed too, should be faster.
Hammdist has joined #openocd
nathanhi has joined #openocd
Hammdist has quit [Client Quit]
Hammdist has joined #openocd
nathanhi has quit [Ping timeout: 256 seconds]
nathanhi has joined #openocd
<sdewan> Hello all, I'm wondering if anyone else has been unable to use CMSIS-DAP v2 probes on macOS since fd75e9e542700e40f11d79532d19e311cf437de1 went in? The CMSIS-DAP  USB bulk backend now relies on libusb_dev_mem_alloc(), but this function is not implemented on macOS (in fact as far as I can tell it is only implemented on Linux and will always return
<sdewan> NULL on all other platforms including Windows).
sdewan36 has joined #openocd
sdewan has quit [Quit: Client closed]
sdewan has joined #openocd