#avr Logs

Sep 11 2019

#avr Calendar

04:26 AM JanC_ is now known as JanC
12:25 PM damjan: Ive succeded upgrading the medbg firmware on the xplained mini with tiny817, the version is 1.0d now (I guess that means 1.13)
12:30 PM damjan: still doesn't work with avrdude :/
12:43 PM djph: I don't think 1.0d and 1.13 are the same, damjan
12:45 PM Fuchikoma: I mean, a "d" looks nothing like a "3"
12:45 PM djph: and a zero looks like nothing like a '1'
12:46 PM djph: I'd read "1.0d" as "firmware 1.0, revision d"
12:49 PM damjan: ipython -c 'hex(13)' Out[1]: '0xd'
12:50 PM damjan: but possibly it's 1.0 revision d
12:50 PM damjan: anyway, atmel studi claims there's no update
01:36 PM nohit: or debug build
02:21 PM damjan: https://paste.debian.net/1100156/ huh, this now semi works, once
02:22 PM damjan: this is also slightly patched avrdude
02:26 PM Fuchikoma: https://www.avrfreaks.net/forum/xplained-mini-168-debug-error Seen this?
02:27 PM damjan: let me check
02:32 PM nohit: i have had problems atmel boards and their fw
02:32 PM nohit: never with st's
02:32 PM nohit: they just work
02:42 PM damjan: hm that zip doesn't have the updi firmware
02:44 PM Fuchikoma: I'm not even sure what the firmware does
02:45 PM Fuchikoma: Programmign, obviously, and I guess debugging as well (or I'd hope so)
02:46 PM Fuchikoma: But if all you need is programming that 32u4 is doing nothing extraordinary
02:48 PM damjan: Fuchikoma: it's just a nice dev board that I wanted to make it work.
02:48 PM damjan: otherwise I'll have to throw it away
02:48 PM damjan: it does do debugging
03:00 PM Fuchikoma: Yeah I don't know what's involved with debugging :/
03:00 PM Fuchikoma: This clearly isn't a new problem so you'd think someone had figured it out by now
03:04 PM damjan: let me see if I can register to this "space" site, it seems there are some download-able resources there
05:52 PM Smidge204: Mildly annoyed there's no XOR instruction
05:53 PM nohit: isnt there tho
05:53 PM nohit: it might have a different name
05:54 PM nohit: EOR
05:54 PM Smidge204: Oh son of a fuck
05:54 PM Smidge204: well that helps
05:55 PM Smidge204: wait what the shit... EOR Rd,Rr 0 = d = 31, 0 = r = 3
06:12 PM nohit: some instructions can only be used with certain registers
06:21 PM Smidge204: I'm aware but the restriction caught me off guard. The cutoff is R16 and up for most restrictions
06:21 PM Smidge204: R0 through R3 feels kinda arbitrary
06:32 PM nohit: what does the 'r' stand for in Rr ?
06:34 PM PoppaVic: register#
06:39 PM nohit: i dont think so
06:39 PM nohit: d in Rd means destination, right ?
06:39 PM nohit: so what's r ?
06:42 PM PoppaVic: oh
06:42 PM PoppaVic: "reference"? not sure what op yer glaring at.
06:43 PM PoppaVic: I was thinking of the joys of aliasing anything starting with 'r' and screwing the compiler ;-)
06:43 PM nohit: EOR Rd,Rr 0 = d = 31, 0 = r = 3
06:43 PM PoppaVic: nice ;-)
06:44 PM PoppaVic: I mentally just read it as "Register Right", and I know that's wrong.
06:44 PM PoppaVic: d)estination sounds right, though
06:45 PM PoppaVic: "resource"? Hard to guess without a legend.. Register "read"?
06:53 PM nohit: maybe resource
06:53 PM nohit: Smidge204: do you know ?
06:53 PM nohit: AVR Studio 4 used to have this built-in manual if my memory serves me right
06:54 PM PoppaVic: I might acept READ as well... I don't think Rr is ever "affected" anywhere
06:54 PM nohit: yeah
06:54 PM PoppaVic: but, "resource" sounds better
06:54 PM Smidge204: All I know is Rd is the destination and Rr is the source. I don't know why they chose "r" specifically
06:54 PM PoppaVic: right - "what fuckwit thinks SOURCE starts with 'r'?!?!"
06:55 PM PoppaVic: To be fair, I've seen funcs and vars at least that shitwit over the decades - C is full of them and other langs can be at least as bad.
06:55 PM nohit: yeah
07:01 PM Smidge204: Maybe it's a joke
07:01 PM Smidge204: Rd,Rr
07:01 PM Smidge204: "Har dee har har"
07:02 PM PoppaVic: programmer humor is that level, true
08:01 PM nohit: Smidge204: what are you doing btw ? is this work related
11:52 PM day__ is now known as day