#avr Logs

Apr 04 2022

#avr Calendar

12:12 AM rue_mohr: not sure what to do with the BGA CPLD board I made that seems to test ok
12:21 AM rue_mohr: looking at the one square inch cpu, but
12:21 AM rue_mohr: its that, a cpu, needs lots of support stuff
09:31 AM WormFood: are any of you guys using avr-gcc 11.x?
09:55 AM * josuah checks
09:55 AM josuah: *cough* *cough* 8.5 *cough*
09:55 AM josuah: time to upgrade...
10:00 AM twnqx: i have it installed, but didn't use it yet
10:00 AM twnqx: i just scueessfully destoryed an ARM cpu (kinda on purpose) but i have no idea how
10:08 AM qu1j0t3: :(
10:16 AM twnqx: a customer of hours has destroyed dozens and blames us, so i just reproduced
10:16 AM twnqx: ours*
10:17 AM twnqx: interestingly, it survives a RS232 port (-6V..+6V) connected to VBat just fine
10:17 AM twnqx: but as soon as i add a relais switching from the RS232 to +3V3, the first click of the relais killed it
10:18 AM WormFood: my distro is on 5.4.0
10:19 AM WormFood: but, I also read, that it is modified for the Arduino toolstack, or somesuch nonsense. (I haven't confirmed, just something I read).
10:20 AM WormFood: Also, even tho, it is a really old version, they do keep many of the older branches up to date....just not adding new features, but fixing bugs, so this probably is really stable.
10:22 AM WormFood: I remember, once I submitted a patch for a piece of software (specifically, the bootloader), and the maintainer said it was too big, it would be over the size limit for the boot sector. I said, that I was using the newest version of avr-gcc, and that it does compile for me, under the limit, so he included my patch in the main branch.
10:23 AM WormFood: and, if I remember correctly, it was a minor version update, compared to what people commonly used at that time. This happened, I'm guessing over 15 years ago, so they have probably made tons of improvements since then.
10:24 AM twnqx: they have a bugfix from me in there, somewhere around 7-8
10:24 AM twnqx: :P
10:24 AM WormFood: it's possible
10:24 AM twnqx: something about integer expansion
10:24 AM twnqx: where 8bit OP 8bit => 8bit temporarily was going to 16 bit
10:25 AM exp: that was nearly my first AVR bugfix too
10:25 AM WormFood: and, I see they have support for 24-bit ints....I haven't tested it out, but I saw they added that in like 4.x
10:25 AM exp: not to gcc though
10:27 AM qu1j0t3: twnqx: yeah, inductive kick bc of the coil?
10:28 AM WormFood: I think I'm gonna compile a whole new avr toolstack, with all the newest tools, and see how that compares to what I have now.
10:28 AM twnqx: i think it might be high frequency compoenent from the mechanical switching
10:29 AM twnqx: the destruction seems to be ESD circuit on VBat
10:29 AM exp: destroying an stm32 by switching a relay elsewhere on the board?
10:30 AM WormFood: it's common to put a diode across a coil, so it won't spike much when removing power.
10:33 AM twnqx: the ULN2003 has freewheeling diodes
10:33 AM twnqx: so.. no
10:33 AM twnqx: destroying a SAMA5D27 with a manually switched relais, from 24V (before voltage regulators)
11:59 AM SamantazFox_ is now known as SamantazFox
05:00 PM specing_ is now known as specing
07:25 PM jancoow9 is now known as jancoow
07:58 PM Rab_ is now known as Rab