Post Created date
debugging a crash without a hardware debugger - options?
Thanks for the many great suggestions! I think the atomicity or shared 16-bit variable theories could well be correct - there are several interrupt handlers in the code, operating...
Tuesday, 5 November 2013 - 05:39
stack update is not interrupt-safe?
OK, I'll have to look for the source of my stack corruption elsewhere. :-) But just to clarify: theusch wrote: Didja see any explicit SEI in the code examples? But agreed that...
Friday, 18 October 2013 - 18:58
stack update is not interrupt-safe?
Got it, thanks. The datasheet says that about the SEI instruction, but doesn't say anything (that I found) about a programmatic update of SREG from a register, as this code is...
Friday, 18 October 2013 - 18:28
Building CLawson's SD bootloader in 6.1
Where can I find Cliff's SD bootloader? Neither Google nor the avrfreaks site search could locate it for me. :(
Sunday, 6 October 2013 - 05:07
[TUT] [C] Bit manipulation (AKA "Programming 101")
Thanks, that makes sense, and I'll search for the atomic write threads. And to clarify, the situation I was asking about is when the bit being set/cleared is not a constant...
Monday, 16 May 2011 - 23:55
[TUT] [C] Bit manipulation (AKA "Programming 101")
I've read this whole thread, and one topic that's not mentioned regarding port bit twiddling (with or without macros) is interrupts. Is it considered good practice to disable...
Saturday, 14 May 2011 - 05:20
Quick Program button/hotkey on toolbar
I agree. A one-button "program this project to the device using the previously selected programmer, device, and settings" would be a huge plus. Doing the five-step dance every...
Friday, 13 May 2011 - 19:02
Beta 2 installation broke Visual Studio 2008
OK, the regsvr32 solution mentioned above seems to work, but you have to run the command shell as Administrator before you enter the regsvr32 command, or else regsvr32 will fail....
Friday, 13 May 2011 - 18:33
Beta 2 installation broke Visual Studio 2008
Getting the same error here: "An error occurred that usually indicates a corrupt installation" when launching the debugger from VS 2008 SP1, after installing AVR Studio 5 version...
Friday, 13 May 2011 - 18:28