Discussion Title | Created date |
---|---|
Compiler warnings when using atomic When using atomic per the example below, the compiler issues a warning about the absence of a return statement. Adding the dummy return avoids the warning and I think is... |
Wednesday, 15 June 2022 - 00:53 |
Cheap AVR debugger works well.... and then it doesn't :-( Does anyone have any experience with this debugger? https://sites.google.com/site/wayneholder/debugwire3 I have been experimenting with it and is a great little project.... |
Thursday, 12 May 2022 - 09:36 |
FET Symbol - very basic Hi all, The very simple circuit for a hardware debugger @ https://sites.google.com/site/wa... includes a FET as a high side switch. My reading of the circuit is that the... |
Monday, 2 May 2022 - 08:07 |
atMega328 Xplained mini - quirks? I have recently been using an Xplained Mini board to develop some code. It is no ICE but for a few dollars it is pretty convenient. However.... I have experienced some... |
Tuesday, 19 April 2022 - 10:48 |
Detecting TWI stop condition on atMega The atMega nicely generates interrupts for all TWI conditions - as far as I can see - except for stop. Is there a way to detect a stop condition that does not involve... |
Tuesday, 19 April 2022 - 10:42 |
TWI between atMega328P (master) and atTiny85 (slave) I have implemented master and slave code based on the AVR application notes and can happily transmit multiples bytes of data in MTX mode. (hooray) However in MRX mode, at... |
Saturday, 9 April 2022 - 14:28 |
Cheap and small connectors for off-board wiring I am designing a small PCB that needs off-board wiring for +5V, Gnd and one comms line (0/5V). The PCB is about 2cm x 4cm. I am looking at options for cheap and small... |
Saturday, 2 April 2022 - 03:28 |
Common source configured by .h files Hi, I have a set of files that perform common functions such as UART handling, queue templates and so one, which I would like to share between different projects. My... |
Sunday, 27 March 2022 - 10:23 |
Changing to a dedicated stack in an interrupt routine Hi, Is there a "best" way to swap to a dedicated interrupt stack in an ISR? If I use the naked attribute then I can change the Sp and save... but I lose the intelligence of... |
Sunday, 20 March 2022 - 23:33 |
AVR Studio - watch/examine PROGMEM vars Hi, I am able to use the Watch window in teh AVR Studio simulator to examine variables by name/structure/class attribute etc if they are in RAM. If I have data in Flash.... is... |
Sunday, 20 March 2022 - 09:55 |
Target memory usage with different compiler versions Hi, I am compiling a program with both avrStudio7 and avr-gcc v 5.4.0. The code size is quite different - 38k v 46k. This surprised me at first but both builds seem to run... |
Sunday, 27 September 2020 - 05:10 |
Classes and noinit This is an fyi rather than a question. I recently had an issue with noinit objects. In retrospect it was obvious.... so obvious that I recall running into it years ago and... |
Tuesday, 18 August 2020 - 15:10 |