NishanthMenon changed the topic of #openocd to: this is the place to discuss all things OpenOCD | Logs: https://libera.irclog.whitequark.org/openocd/
djgl has quit [*.net *.split]
braunr has quit [*.net *.split]
gruetzkopf has quit [*.net *.split]
djgl has joined #openocd
gruetzkopf has joined #openocd
braunr has joined #openocd
Guest76 has joined #openocd
thinkfat has quit [Ping timeout: 240 seconds]
thinkfat_ has joined #openocd
tsal has quit [Ping timeout: 272 seconds]
tsal has joined #openocd
Hawk777 has quit [Quit: Leaving.]
indy_ has quit [Quit: ZNC 1.8.2 - https://znc.in]
indy has joined #openocd
nerozero has joined #openocd
defiant has joined #openocd
Haohmaru 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
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
Guest8 has joined #openocd
Bugies has joined #openocd
w00die has joined #openocd
Bugies has quit [Ping timeout: 268 seconds]
defiant has quit [Quit: defiant]
Error403 has joined #openocd
wingsorc__ has quit [Quit: Leaving]
Error403 has quit [Quit: Leaving]
erhankur has quit [Remote host closed the connection]
erhankur 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
erhankur has quit [Ping timeout: 268 seconds]
indy_ has joined #openocd
indy has quit [Ping timeout: 240 seconds]
erhankur 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
<Guest8> Hey, will openocd work with the SAM4SD32C development board? Im running Ubuntu 22
<PaulFertser> Guest8: what debug adapter does it have?
<PaulFertser> Guest8: why do not you just give it a try?
<Guest8> I have an old atmel ice in a box at home, trying to find the MickMake youtube video where he uses the RP to program it. Saw his vid on using the atmel ice, but my one is ancient, and I'll need to get it out of storage
<Guest8> I have the SAM4SD32C dev board, not sure how the ICE will work with it either :/
<Guest8> First time working with Arm chips from Microchip Atmel
<Guest8> I think it has some kind of debugger on the dev board
<PaulFertser> Guest8: it's likely it's a CMSIS-DAP adapter, give it a try.
<Guest8> thanks paul, so I'll add that the openocd config
<Guest8> Bus 003 Device 002: ID 03eb:2111 Atmel Corp. Xplained Pro board debugger and programmer
<PaulFertser> Guest8: that should be handled by interface/cmsis-dap.cfg
<Guest8> lsusb -vd 03eb:2111 | grep iSerial
<Guest8>   iSerial                 3 ATML1803081800005500
<Guest8> openocd
<Guest8> Open On-Chip Debugger 0.11.0
<Guest8> Licensed under GNU GPL v2
<Guest8> For bug reports, read
<Guest8> DEPRECATED! use 'adapter driver' not 'interface'
<Guest8> Info : auto-selecting first available session transport "swd". To override use 'transport select <transport>'.
<Guest8> Info : Listening on port 6666 for tcl connections
<Guest8> Info : Listening on port 4444 for telnet connections
<Guest8> Info : CMSIS-DAP: SWD  Supported
<Guest8> Info : CMSIS-DAP: FW Version = 03.25.01B6
<Guest8> Info : CMSIS-DAP: Serial# = ATML1803081800005500
<Guest8> Info : CMSIS-DAP: Interface Initialised (SWD)
<Guest8> Info : SWCLK/TCK = 1 SWDIO/TMS = 1 TDI = 1 TDO = 1 nTRST = 0 nRESET = 1
<Guest8> Info : CMSIS-DAP: Interface ready
<Guest8> Info : clock speed 400 kHz
<Guest8> Info : SWD DPIDR 0x2ba01477
<Guest8> Info : at91samd21g18.cpu: hardware has 6 breakpoints, 4 watchpoints
<Guest8> I think my chip info in the openocd.cfg is wrong though, where would i find the correct chip name for the sam4SD32C?
<Guest8> # Chip info
<Guest8> set CHIPNAME at91samd21g18
<Guest8> source [find target/at91samdXX.cfg]
<PaulFertser> Guest8: please never paste more than 3 lines to a public channel, use some pastebin instead.
<Guest8> sorry, noted
<PaulFertser> Guest8: particular chip would make a difference for flashing, but debugging should already work.
<Guest8> ok, i've had a look in /usr/share/openocd/scripts/chip/atmel/at91, but nothing related to the specific chip seems to be there
<Guest8> should i make my own config?
<PaulFertser> Guest8: you should probably source at91sam4sd32x.cfg target config.
<PaulFertser> Guest8: or just source board/atmel_sam4s_xplained_pro.cfg as your only config if that's what you have.
<Guest8> set CHIPNAME at91sam4sd32c
<Guest8> source [find target/at91sam4XXX.cfg]
<Guest8> I started openocd now with the above config, how will I know if it has errored?
<Guest8> Also, thank you Paul, you are a champion
<PaulFertser> Guest8: if it doesn't complain about anything and allows you to flash and debug then all's fine.
<Guest8> Info : at91sam4sd32c.cpu: hardware has 6 breakpoints, 4 watchpoints
<Guest8> I guess this indicates that its all connected and good to go. Will try write a blinky for it and upload just now
Bugies has joined #openocd
c4017 has quit [Quit: Client closed]
Guest76 has quit [Quit: Client closed]
Guest8 has quit [Quit: Client closed]
kraiskil_ has joined #openocd
kraiskil_ has quit [Ping timeout: 268 seconds]
tomtastic has quit [Ping timeout: 256 seconds]
akaWolf has quit [Ping timeout: 240 seconds]
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
Haohmaru has quit []
akaWolf has joined #openocd
w00die has quit [Quit: Client closed]
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
josuah has quit [Quit: WeeChat 3.4.1]
josuah has joined #openocd
josuah has joined #openocd
josuah has quit [Client Quit]
josuah has joined #openocd
nerozero has quit [Ping timeout: 268 seconds]
sbach has quit [Read error: Connection reset by peer]
sbach has joined #openocd
pi0 has joined #openocd
indy has joined #openocd
indy_ has quit [Ping timeout: 268 seconds]
w00die has joined #openocd
nvmd has joined #openocd
RAMIII has joined #openocd
loki_val has joined #openocd
crabbedhaloablut has quit [Ping timeout: 268 seconds]
loki_val has quit [Ping timeout: 268 seconds]
crabbedhaloablut has joined #openocd
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #openocd