Post Created date
ATMega128L Maximum Crystal Speed
Thanks for you input. I did not let out any of the "magic smoke" from the chip yet. :-) The chip still runs and I can still communicate with it via the JTAG. I'll try running it...
Tuesday, 17 February 2009 - 01:56
Breakpoints not working as expected.
I'm gonna use Johan's idea (2) as my long term solution once I get a little more AVR ASSY under my belt. For the immediate I used idea (1) to turn off optimization, debugged my...
Sunday, 15 February 2009 - 14:42
Breakpoints not working as expected.
Thanks JohanEkdahl. Regarding turning off compiler optimization... The Win AVR Manual says that optimization is set like this: Quote: You will also see a optimization level as...
Sunday, 15 February 2009 - 13:38
AVR Studio Stimuli File
Thanks clawson. I was using the "AVR Simulator 2" and the Logging and Stimuli Options don't show up. Only when you have the "AVR Simulator" does the Logging and Stimuli options...
Saturday, 14 February 2009 - 14:19
While Statement Not Working Correctly.
I totally agree! Quote:[sometimes I think the 128 datasheet should open with "WARNING: even if you don't read anything else you MUST read this - the chip behaves as a mega103 - if...
Wednesday, 11 February 2009 - 14:51
While Statement Not Working Correctly.
WOW! Thanks clawson. That was it. I unchecked M103C fuse and now it works. I'll have to read up on what that fuse does. This is my first project with an ATMega128. It would...
Wednesday, 11 February 2009 - 14:22
AT90CAN128 Sample Code
Thanks ALJ1108, Yes, I would like to see how you setup the CAN ports, poll for incoiming messages and send out messages. If you could post you code here that would be great....
Monday, 15 December 2008 - 14:54
avr-libc uart.h not found
Thanks guys, Quote: The file is not part of avr-libc itself but is included in an example of how to use stdio. Try looking in \winavr\doc\avr-libc\examples\stdiodemo This was the...
Monday, 15 December 2008 - 13:44
Input not Captured.
if((PINC & 0x04) == 1) { AC1_NOK = 1; //
Friday, 14 November 2008 - 15:09
Is it OK to use macros like this?
Quote: Another thing is that it is more optimal to say Code: PINA & (1<<5) OK, this is good to know. Thanks.
Thursday, 13 November 2008 - 17:34
Is it OK to use macros like this?
Quote:Notice the difference?I see what you are saying. The LED part of this code was put in just as an example, from another project where this code was only called once. My...
Thursday, 13 November 2008 - 17:33
Is it OK to use macros like this?
Quote:I'm not sure why you would do this. PINA shifted 0 places is just PINA.I see your point and agree. I just did this to keep the format the same as in the rest or my code...
Thursday, 13 November 2008 - 05:42