urja has quit [Read error: Connection reset by peer]
urja has joined #openocd
wingsorc has quit [Quit: Leaving]
wingsorc has joined #openocd
akaWolf has joined #openocd
akaWolf has quit [Ping timeout: 248 seconds]
akaWolf has joined #openocd
akaWolf has quit [Ping timeout: 252 seconds]
akaWolf has joined #openocd
nathanhi has quit [Quit: bye]
nathanhi- has joined #openocd
akaWolf has quit [Ping timeout: 248 seconds]
akaWolf has joined #openocd
akaWolf has quit [Ping timeout: 252 seconds]
akaWolf has joined #openocd
safarir has joined #openocd
<safarir>
Hi. I am trying to use openocd 0.12.0 with a picoprobe and I keep getting the error: "Error: 985 22081 cmsis_dap.c:880 cmsis_dap_swd_read_process(): CMSIS-DAP transfer count mismatch: expected 12, got 5". I was wondering if someone have any pointer to get me around this issue. Thank you
akaWolf has quit [Ping timeout: 264 seconds]
safarir has quit [Quit: Client closed]
akaWolf has joined #openocd
akaWolf has quit [Ping timeout: 252 seconds]
akaWolf has joined #openocd
akaWolf has quit [Ping timeout: 252 seconds]
nerozero has joined #openocd
akaWolf has joined #openocd
akaWolf has quit [Ping timeout: 248 seconds]
akaWolf has joined #openocd
akaWolf has quit [Ping timeout: 252 seconds]
akaWolf has joined #openocd
akaWolf has quit [Ping timeout: 260 seconds]
dinkelhacker has quit [*.net *.split]
drath42 has quit [*.net *.split]
jacob has quit [*.net *.split]
drath42 has joined #openocd
jacob_ has joined #openocd
dinkelhacker has joined #openocd
Haohmaru has joined #openocd
akaWolf has joined #openocd
akaWolf has quit [Ping timeout: 260 seconds]
akaWolf has joined #openocd
akaWolf has quit [Ping timeout: 260 seconds]
akaWolf has joined #openocd
akaWolf has quit [Ping timeout: 268 seconds]
rkta has quit [Remote host closed the connection]
akaWolf has joined #openocd
rkta_ has joined #openocd
rkta_ is now known as rkta
tlwoerner_ has joined #openocd
Getty4 has joined #openocd
nashpa has joined #openocd
zkrx has quit [Killed (NickServ (GHOST command used by zkrx_))]
akaWolf has quit [Ping timeout: 260 seconds]
zkrx has joined #openocd
russ has quit [*.net *.split]
dliviu has quit [*.net *.split]
tlwoerner has quit [*.net *.split]
Getty has quit [*.net *.split]
Bertl has quit [*.net *.split]
Bertl has joined #openocd
russ has joined #openocd
wingsorc has quit [Ping timeout: 252 seconds]
PsySc0rpi0n has joined #openocd
<Haohmaru>
kinda offtopic but i wonder how to deal with a bootloader for cortex M4.. will i think i'll have a hard time debugging it, am i right?
<karlp>
how so?
<karlp>
you can use "file" in gdb to switch from the bootloader elf to the app elf and continue acros the boundary
<karlp>
from the debuggers point of view it just keeps executing code.
<Haohmaru>
i mean while i'm coding the bootloader.. i need a custom bootloader so i can't just take an existing one which probably works well already
<karlp>
the bootloader is still just another app. you debug it normally...
<Haohmaru>
okay, i'll pretend everything's gonna be wonderful and continue for now ;P~
<karlp>
I recommend not trying to develop the secondary app at the same time of course :)
<Haohmaru>
on the other hand.. i've only written one custom bootloader so far, for xmega, and this cortex M4 is kinda more complex
<karlp>
I find it convenient to have two "apps" that are very easy to tella part, (different blink patterns or uart output for instance) so you can keep using the bootloader to go between them and see that it's working.
<Haohmaru>
and i had no debugger with the xmega
<Haohmaru>
the real program already has been written, it's written as a "solo" program tho, it's flashed with the debugger onto the beginning of flash
<Haohmaru>
so i guess just like with the xmega, the beginning of flash should have the bootloader, and thus the app should be recompiled and "moved" back
<karlp>
that's the common way, yes.
<Haohmaru>
it seems this chip doesn't have a special "boot" section, instead it has some BANK business and afaiu the whole flash is sliced in regions which can be locked individually
<Haohmaru>
i think the bank business just swaps the addresses of the two big banks, which would allow things like having two apps, one in bank A, another one in bank B, then a bootloader which always jumps to bank A, but if you swap them - the bootloader will effectively jump to the second program... this without actually swapping all the data in flash
merethan_ has joined #openocd
merethan_ has quit [Remote host closed the connection]
merethan_ has joined #openocd
PsySc0rpi0n has quit [Ping timeout: 256 seconds]
PsySc0rpi0n has joined #openocd
zjason` is now known as zjason
Hawk777 has joined #openocd
nerozero has quit [Ping timeout: 252 seconds]
merethan_ has quit [Ping timeout: 248 seconds]
Haohmaru has quit []
buldi has joined #openocd
buldi has quit [Client Quit]
buldi has joined #openocd
tlwoerner_ has quit [Quit: Leaving]
tlwoerner has joined #openocd
nathanhi- is now known as nathanhi
buldi has quit [Quit: Leaving]
zjason has quit [Read error: Connection reset by peer]