Post Created date
Ramp up voltage "slowly" across a relay's coil?
Art of Electronics recommends an RC snubber (resistor in series with cap, all in parallel with relay coil). This guide looks good for calculating the values.
Sunday, 6 October 2013 - 23:18
Watchdog timer can interrupt?
That's useful to know. For this use, presumably the watchdog is resetting the device because it did something unexpected and hung. It seems that this could include corrupting your...
Sunday, 6 October 2013 - 22:18
Watchdog timer can interrupt?
mikech wrote:Uninitialised variables are not normally cleared by the C startup code You mean like this? static int i; If so, then it's a non-conformance with the C standard,...
Sunday, 6 October 2013 - 20:25
Watchdog timer can interrupt?
Can your reset differentiate between a "cold" and "warm" reset, i.e. a hardware reset and watchdog reset, perhaps by looking for some values you put into SRAM on cold boot?
Sunday, 6 October 2013 - 01:37
ISR NAKED question...
JohanEkdahl wrote:Compilers will most often "do the right thing", but ultimately the only promise they make (and sometimes fail to hold) is that they will generate code that...
Saturday, 5 October 2013 - 19:33
Particular asm code crashes linker with --relax
That gives more insight for me into it. It came up in an instruction tester where each instruction to be tested was in a list with "rjmp done" was between each one. So I had a...
Saturday, 5 October 2013 - 17:59
ISR NAKED question...
Adding __builtin_unreachable(); after the reti suppresses this spurious move. The clue was r24, the compiler apparently trying to set the return value. A while(1){} loop after the...
Saturday, 5 October 2013 - 17:37
So why do the types conflict? They're all the same!
Compiles fine for me with gcc -pedantic -std=c99. Maybe your compiler has some strict non-conforming mode where it doesn't implicitly convert enumeration constants to integers. If...
Saturday, 5 October 2013 - 02:53
Particular asm code crashes linker with --relax
Ahhh, so it's trying to follow jumps and change the code, and gets stuck in a loop or something. Cute. I'm not clear on where I'd report the bug. I'm running Ubuntu 12.04 LTS. The...
Friday, 4 October 2013 - 21:39
Calculating checksum
HellsGuardian wrote: void collectNsearch(uint16_t startadd,uint16_t endadd) //Collect and seach fingerprint?Sample...
Monday, 9 September 2013 - 04:38
Quark-85 Demo Kube - 184 x 240 VGA with 8 Colors and Sound on an Tiny85!!
Each output is tri-state: low, float, high (and pull-up, but it's a weak one so probably not enough current for anything useful without an external amplifier). With two diodes (...
Monday, 9 September 2013 - 04:22

Pages