#avr Logs

Dec 08 2017

#avr Calendar

02:49 AM Jartza: hmmh
02:52 AM Jartza: out of curiosity, does anybody know what happens if AVR runs the code past the end of flash? :)
02:52 AM Jartza: does it reset, or just "continue" from 0?
02:52 AM Jartza: and yes, there is a difference
02:58 AM cehteh: that'll only work on avrs which full utilized flash, otherwise i bet you get something like SIGBUS before wraping around
03:04 AM Jartza: well let's say for example attiny85
03:04 AM Jartza: running code past 8kB limit of flash, what happens?
03:05 AM cehteh: just try?
03:05 AM cehteh: i dunno
03:06 AM Jartza: maybe I need to try, just because I'm curious
03:06 AM Jartza: although I have zero AVRs at work, so it needs to wait until evening :)
04:50 AM polprog: i finished a working version of my backup script
04:50 AM polprog: https://gist.github.com/polprog/47e6a92900d8280ee8415ef08023e246
04:52 AM _ami_: polprog, i also use similar script for syncing data across my different machines (work PCs, home PCs, laptop, rpis etcs)
04:53 AM polprog: it can probably be medified to rsync across computers
04:53 AM polprog: modified*
04:55 AM _ami_: saves lot of time
04:55 AM cehteh: heh
04:55 AM cehteh: polprog: i have some backup script using rsync in use since years :D eventually i should document it
04:55 AM cehteh: some other people using it too
04:56 AM cehteh: or rather 2 scripts, one on the laptop for local backups to sd card and another one running on backup servers
04:57 AM polprog: im amaze how much time it saves
04:57 AM polprog: finaly i have time to make proper incremental and shadow backups
04:57 AM cehteh: http://git.pipapo.org/?p=rstore;a=blob;f=rstore
04:57 AM polprog: also learnt a lot while developing it
04:58 AM cehteh: dunno if thats the actual version, i havent polished/cared for distributing it :D
04:58 AM cehteh: thats rather a bash lib of functions which you use to build customized (per host) backup scripts
04:59 AM polprog: nice
04:59 AM polprog: that reminds me to set up a git server
04:59 AM polprog: to push my stuff to a local machine here as backup
05:00 AM cehteh: http://paste.debian.net/999799/
05:00 AM cehteh: thats how it is used .. plus some .rsync definiton for what gets backed up
05:01 AM cehteh: http://paste.debian.net/999800/ the .rsync
05:02 AM cehteh: i dont like pushing, backups must run automatically and not be disturrbed by client errors
05:02 AM cehteh: backup server has to pull
05:02 AM cehteh: for some machines doing ethernet wakeup too
05:03 AM cehteh: just runs unattended since years and works well
05:05 AM polprog: impressive
05:10 AM Snert: so glad I don't have to deal with backups anymore.
05:12 AM Snert: since moving to network side of things life is so much better.
05:12 AM cehteh: just works, i rarely need to care
05:48 AM polprog: if the server was not a (still rather noisy) pc that sits on my windowshill, it would just run 24/7 and backups would be cron'd
05:49 AM polprog: but now i'll just make backups before and after major changes
07:13 AM Jartza: nuxil: btw. shipped the displays today, shipping was 4.30€ but shipping box was 0.7€ even though website said 0.4€ :D
07:13 AM Jartza: I will not charge the missing 0.3€ anyway :P
07:15 AM nuxil: nice. i can donate the missing 0.3€ no problem :p
07:17 AM Jartza: nah, don't
07:17 AM Jartza: I need to create an invoice if you do :D
07:18 AM nuxil: ok. well its up to you.
07:25 AM Jartza: more work for me, if we go bankrupt because of that, well, it was about time :D
08:02 AM nuxil: i buy displays from Jartza, and david jones starts to make videos about lcd.. :p
08:20 AM Jartza: hehe
01:26 PM nuxil: man.. why do people code if statements without brackets. its just bad coding style and gets confusing.
01:33 PM kl0wn: :S
01:53 PM polprog: is this even allowed in c?
01:53 PM twnqx: ofc
01:53 PM twnqx: single line statements don't have to waste space
02:14 PM nuxil: just bad practice :p oneliners like if (condition) break/continue/return im ok with anything else meh. :p
02:15 PM nuxil: old bug from 2014 from apple that shows you this..
02:15 PM nuxil: https://www.imperialviolet.org/2014/02/22/applebug.html
03:08 PM Casper: I find that it get ok if you do proper indentation, and possible an extra empty line under it
07:09 PM filadome: will avr make a chip specifically for arduino?
07:14 PM Tom_L: nope
07:31 PM Emil: filadome: pls
09:02 PM rue_mohr: filadome, its microchip now, and microchip does NOT cater to the hobbyist market
09:36 PM Casper: filadome: why would they make a chip specially for arduino?
09:36 PM Casper: and why would that be good?
11:16 PM Tom_itx is now known as Guest54160
11:16 PM Tom_L is now known as Guest43982
11:16 PM day is now known as daey
11:16 PM anonnumberanon_ is now known as anonnumberanon
11:40 PM Tom_garage is now known as Tom_shop
11:44 PM Tom_shop is now known as Tom_sbc
11:44 PM Tom_sbc is now known as Tom_Shop