erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
Getty has quit [*.net *.split]
indy has quit [*.net *.split]
Getty has joined #openocd
indy has joined #openocd
nohit has quit [*.net *.split]
NishanthMenon has quit [*.net *.split]
dreamcat4 has quit [*.net *.split]
michalkotyla has quit [*.net *.split]
rkta has quit [*.net *.split]
michalkotyla has joined #openocd
dreamcat4 has joined #openocd
nohit has joined #openocd
NishanthMenon has joined #openocd
rkta has joined #openocd
erhankur has quit [Ping timeout: 264 seconds]
Haohmaru has joined #openocd
akaWolf has quit [Ping timeout: 244 seconds]
akaWolf has joined #openocd
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]
erhankur has joined #openocd
defiant has joined #openocd
Bugies has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Ping timeout: 272 seconds]
Bertl_zZ is now known as Bertl
merethan has joined #openocd
akaWolf has quit [Ping timeout: 244 seconds]
Guest35 has joined #openocd
<Guest35>
why does the atmega128.cfg file not define the _CHIPNAME variable?
<Guest35>
Shouldn't it be `atmega128` which is what atmel uses?
akaWolf has joined #openocd
wingsorc has joined #openocd
wingsorc has quit [Quit: Leaving]
defiant has quit [Quit: defiant]
<PaulFertser>
Guest35: guess it doesn't matter much, why are you bothered with it?
<Guest35>
Because Im learning how to write a cfg file and in looking at that particular one I couldn'
<Guest35>
couldn't find a reason not to include the chipname
<Guest35>
and so in these situations I wonder if the original maker of that file knew something I dont
<Guest35>
so I asked
<Guest35>
shouldn't a cfg file that gets included in the official release be as complete as possible?
<Guest35>
in my case I need to write a cfg for the atmega32u4, so I was looking at the atmega128 as a guide
wingsorc has joined #openocd
<PaulFertser>
Guest35: most config files were copy-pasted from older config files. There's no magic variables or anything like that. CHIPNAME is commonly used, and then sometimes it's overridden by a simple config that sources this one.
<PaulFertser>
Guest35: btw, why can't all atmega devices share a single config?
<Guest35>
because the JTAG IDCODE is different
<Guest35>
I suppose
<Guest35>
also Im not sure the IR length is the same for ALL atmegas
<Guest35>
maybe its the same for a lot, but not all
<Guest35>
also the CHIPNAME variable should be different
<Guest35>
apart from this I can't think of anything else
<Guest35>
I just got started with OCD so...
Guest35 is now known as Thiird
Thiird is now known as Guest35
<PaulFertser>
Guest35: but one config file can contain many IDCODEs
<Guest35>
oh really? Didn't know
<PaulFertser>
Guest35: unfortunately, OpenOCD can only flash those atmega parts, so it's not very useful, probably makes sense in cases where you have a JTAG chain with other devices.
<Guest35>
cant it also do on chip debugging?
<Guest35>
that was my intent
<PaulFertser>
Guest35: that was never supported. Atmel didn't share useful docs back then.
<Guest35>
damn
<PaulFertser>
Forget AVR, embrace modern architectures ;)
<Guest35>
yes sure, Im using it to learn the basics of embedded SW
<PaulFertser>
Seriously, even STM8 is better and cheaper (and it's supported by OpenOCD).
<Guest35>
thats what I had on hand
<Guest35>
so openocd can do on-chip debugging only on STM's?
<PaulFertser>
Guest35: no, of course there're many other MCUs and CPUs that are supported. It's AVR being an exception.
<Guest35>
damn atmel
<Guest35>
so if one want to debug on avr he must use something like atmel studio and atmel dongle?
<PaulFertser>
AVR dragon is relatively cheap and it's probably supported by avarice (or whatever it was called) free software.
<PaulFertser>
It's usually easy to find some modern Cortex-M MCU instead.
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
Guest35 has quit [Quit: Client closed]
bacam has quit [Quit: upgrade]
erhankur has joined #openocd
erhankur has quit [Ping timeout: 268 seconds]
merethan has quit [Remote host closed the connection]
merethan has joined #openocd
bacam has joined #openocd
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
SteveMarple has joined #openocd
merethan has quit [Remote host closed the connection]
merethan has joined #openocd
ianstcdns has joined #openocd
ianstcdns has quit [Client Quit]
ianstcdns has joined #openocd
Haohmaru has quit []
ianstcdns has quit [Quit: Client closed]
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Ping timeout: 240 seconds]
nerozero has quit [Ping timeout: 240 seconds]
merethan has quit [Remote host closed the connection]
merethan has joined #openocd
sbach has quit [Read error: Connection reset by peer]
sbach has joined #openocd
merethan has quit [Ping timeout: 260 seconds]
erhankur has joined #openocd
zjason` has joined #openocd
zjason has quit [Ping timeout: 276 seconds]
shibboleth has joined #openocd
erhankur has quit [Remote host closed the connection]
wingsorc has quit [Quit: Leaving]
Bugies has quit [Ping timeout: 272 seconds]
wingsorc has joined #openocd
SteveMarple has quit [Remote host closed the connection]