Type in the full discussion title or a part of it.
Discussion Title Created date
8 bit T/C with compare
I'm having a little problem with an 8-bit timer.counter on a Mega128. I'm running the code usign the AVR Studio Simulator (to get what I hope to be accurate timings). I'm using a...
Wednesday, 17 October 2007 - 10:27
Timing Code execution time in AVR Studio.
While using JTAG simulation/emulation is there any way to time how long a section of Code takes to execute in AVR Studio. As a summary, I'm using a prescaled timer (3.6864 MHz /...
Tuesday, 16 October 2007 - 14:33
Combing setting and clearing of bits in C
Could I both set and clear bits in a register in the same C statement? E.g. If I want to set bits 3 & 4 and clear bit - is it possible to combine these two actions into one...
Monday, 12 March 2007 - 14:40
Passsing a Passed Variable (& Watching it)
Code written in CodeVision Using JTAG mkII to debug In the following psuedo-example I'm having problems with the passed variable cData (stored in SRAM). While watching the...
Friday, 23 February 2007 - 10:52
Reversing Order of bits.
I'm having a bit of a brain fade here - is there a quick and easy way of reversing the order of the bits in a byte (e.g. AC (1010,1100) becomes 35 (0011,0101))? All I can seem to...
Thursday, 22 February 2007 - 16:04
ISP Programming Speed
I'm writing my own programmer and I'm trying to achieve the fastest programming speed I can. Both my programmer & target are running at the same frequency (3.6864 MHz) and I'm...
Friday, 16 February 2007 - 12:02
STK500 Protocol (Program Flash Command) & ISP Protocol
I'm trying to make my own implementation of the STK500 Protocol. I'm having problems with the CMD_PROGRAM_FLASH_ISP command (specifically when programmig a Mega128). From my...
Wednesday, 31 January 2007 - 13:57
Is it me - or is the documentation for the USBKey / AT90USB uc very poor, especially by Atmel's normal standards. I've also found the sample code difficult to follow as there are...
Wednesday, 17 January 2007 - 10:36
to #if or to if ()
Which is the best form of control flow in the code below. I have defined USE_TIMER which will be either 1 or 2 in a header file: #define USE_TIMER 2 Which would be considered...
Tuesday, 19 September 2006 - 11:28