Type in the full discussion title or a part of it.
Discussion Title Created date
Struct initialization
To initialize [non-global] structs, I typically use the syntax: typedef struct { uint8_t foo1; uint16_t foo2; } myStruct1_t; myStruct1_t test = {0}; However, I recently...
Monday, 28 October 2013 - 15:26
Advice on HW Selection (Debug)
Background: I design and program boards built around a variety of AVR chips, mainly the 168/328, 1281, and 128RFR2 (and RFA1). I only use SMT parts, and do not pre-program the...
Wednesday, 23 October 2013 - 22:08
Volatile variables in structs
Is there a problem putting volatile variables in a struct that is not entirely volatile? I.e.: typedef struct { volatile uint8_t tick; uint8_t tick_happened; } timingVars_t...
Tuesday, 22 October 2013 - 16:50
Open Collector IC Suggestions?
Does anyone have a good open collector buffer IC that they can recommend? I am having difficulty convincing the project lead to use an open drain part, and I have been unable to...
Thursday, 17 October 2013 - 17:39
ATTiny/ISP Question
I have a very basic circuit built around an ATTiny85. Right now, I am not using the ADC, but have plans to add that functionality in the future. p. 123 of the complete data...
Tuesday, 8 October 2013 - 18:10
Tiny vs. Mega
I have a basic discrete digital design. Essentially, I need to monitor a couple of [potentially transient] digital signals and drive some constant lines (i.e., a pulse input...
Wednesday, 2 October 2013 - 15:23
AVR101, weird compiler error (avr-gcc)
I am using the latest AVR-Toolchain (bundled with AS6.1), optimization: OS Working from the code example accompanying AVR101, I came up with the following functions: #define...
Wednesday, 25 September 2013 - 21:10
Best way to log MCU state?
I have a two board [AVR] system, where it is possible (though unlikely) that one of the boards may reset unexpectedly - brownout, watchdog, stray neutrino (i.e., SEU), etc. I need...
Tuesday, 24 September 2013 - 13:30
Optimization issue or timing issue?
I am running the following code on an ATMEGA128RFR2, compiled with AVR Toolchain, optimization set to -OS case ALERTED_SENDING_MSG : prevBState = bState; if(...
Wednesday, 18 September 2013 - 15:38
AVR won't exit reset -- Zapped?
AVR won't exit reset -- Zapped? Hardware: ATMEGA128RFR2, mounted on a custom board (no socket). My colleague programmed a board (ISP) and verified the load. He then disconnected...
Thursday, 12 September 2013 - 12:42
Instruction Line?
I am trying to find an elusive and intermittent bug in my code. I am fairly confident that the problem is somewhere in a routine where the MCU is interacting with other chips (so...
Wednesday, 4 September 2013 - 21:28
MEGA128RFR2, LwMesh, Callbacks causing reset
Per subject line: I am running LwMesh on an ATMEGA128RFR2. I tried to base my code on the peer2peer demo. My init function (gets called once at startup): void BR_meshInit(void...
Monday, 19 August 2013 - 15:19

Pages