Forum Menu




 


Log in Problems?
New User? Sign Up!
AVR Freaks Forum Index

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
abcminiuser
PostPosted: Jan 20, 2007 - 04:29 AM
Moderator


Joined: Jan 23, 2004
Posts: 9832
Location: Trondheim, Norway

Freaks,

I think it would be a good idea to have a thread here, listing ideas for possible future tutorials. I'm slowly running out of ideas, and perhaps the right ideas will also encourage others to give writing one a go as well.

Please try to stay on-topic so that it is easier to browse all the ideas later on.

- Dean Twisted Evil

_________________
Atmel Studio 6.1 is now released, grab it here.
Report AS6/ASF bugs here.
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
dinofizz
PostPosted: Jan 20, 2007 - 10:13 AM
Wannabe


Joined: Mar 10, 2006
Posts: 74
Location: Johannesburg, South Africa

maybe a tut on using the STK500's onboard DataFlash using GCC?

_________________
"You live and learn. At any rate, you live."

Douglas Adams
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
bloody-orc
PostPosted: Jan 20, 2007 - 10:53 AM
Posting Freak


Joined: Dec 17, 2005
Posts: 1498
Location: Europe- Estonia- Tallinn

A good list of variables in GCC is what I've been long searching for...
TWI, SPI, PWM also, if those haven't been covered before (haven't looked yet).
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
abcminiuser
PostPosted: Jan 20, 2007 - 11:53 AM
Moderator


Joined: Jan 23, 2004
Posts: 9832
Location: Trondheim, Norway

Quote:

maybe a tut on using the STK500's onboard DataFlash using GCC?


Current STK500's don't have that chip mounted, so I think it would be of limited use. Depending on the specifications of the STK500X however, this might be worth writing eventually. Thanks.

Quote:

A good list of variables in GCC is what I've been long searching for...
TWI, SPI, PWM also, if those haven't been covered before (haven't looked yet).


SPI is dead-simple, so probably isn't worth a full blown tutorial by itself. I've never used TWI before, so perhaps I'll learn that and write a combined SPI/TWI tutorial. Cheers!


Keep the ideas comming people!

- Dean Twisted Evil

_________________
Atmel Studio 6.1 is now released, grab it here.
Report AS6/ASF bugs here.
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
clawson
PostPosted: Jan 20, 2007 - 12:27 PM
10k+ Postman


Joined: Jul 18, 2005
Posts: 62365
Location: (using avr-gcc in) Finchingfield, Essex, England

Dean,

The STK500's may have dropped the AT45 but it is true that there's a constant stream of questions about more general programming of AT45s and, even above that, just an understanding of SPI. Most beginners miss the fact that it is a send-and-receive protocol and not a send-then-receive protocol.

Cliff

_________________
 
 View user's profile Send private message  
Reply with quote Back to top
abcminiuser
PostPosted: Jan 25, 2007 - 10:31 PM
Moderator


Joined: Jan 23, 2004
Posts: 9832
Location: Trondheim, Norway

More ideas from fellow members (as a note-to-self):

1) Progressively harder project, building from previous lessons -- may cover ground already covered by Smokey's book
2) Tutorial on managing multiple C source files (idea from Cliff in this thread)

- Dean Twisted Evil

_________________
Atmel Studio 6.1 is now released, grab it here.
Report AS6/ASF bugs here.
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
smileymicros
PostPosted: Jan 26, 2007 - 12:08 AM
Raving lunatic


Joined: Nov 17, 2004
Posts: 6137
Location: Great Smokey Mountains.

abcminiuser wrote:
1) Progressively harder project, building from previous lessons -- may cover ground already covered by Smokey's book


Great idea! Very Happy
I can steal them for the revision Twisted Evil

Smokey

_________________
FREE TUTORIAL: 'Quick Start Guide for Using the WinAVR C Compiler with ATMEL's AVR Butterfly' AVAILABLE AT: http://www.smileymicros.com
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
abcminiuser
PostPosted: Jan 26, 2007 - 12:11 AM
Moderator


Joined: Jan 23, 2004
Posts: 9832
Location: Trondheim, Norway

Quote:

Great idea! Very Happy
I can steal them for the revision Twisted Evil


That was a con against the idea, not part of the idea itself. That said, perhaps I can ask those fellows over at the Greek robotics forum to write it for me/us Laughing

- Dean Twisted Evil

_________________
Atmel Studio 6.1 is now released, grab it here.
Report AS6/ASF bugs here.
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
smileymicros
PostPosted: Jan 26, 2007 - 12:18 AM
Raving lunatic


Joined: Nov 17, 2004
Posts: 6137
Location: Great Smokey Mountains.

I'm tip-toeing around saying something about the Buttload, like about the ummmm errr, final bug, but since you are such a nice guy, I won't mention it.

And, BTW, I got esnips to take down the file. Amazingly they got back to me and fixed it in like and hour or so.

Smokey

_________________
FREE TUTORIAL: 'Quick Start Guide for Using the WinAVR C Compiler with ATMEL's AVR Butterfly' AVAILABLE AT: http://www.smileymicros.com
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
abcminiuser
PostPosted: Jan 26, 2007 - 12:21 AM
Moderator


Joined: Jan 23, 2004
Posts: 9832
Location: Trondheim, Norway

I know, I know. I should really fix that last bug so I can release it. I've been a bit demoralized about not being able to fix it in several months, but I'll see what I can do. I can't wait until it's all done!

That's great news you got the file pulled.

- Dean Twisted Evil

_________________
Atmel Studio 6.1 is now released, grab it here.
Report AS6/ASF bugs here.
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
smileymicros
PostPosted: Jan 26, 2007 - 12:26 AM
Raving lunatic


Joined: Nov 17, 2004
Posts: 6137
Location: Great Smokey Mountains.

Woohoo, real time harassing!

Being demoralized and not being able to fix a GD bug is all part of being an EE so get used to it! You might, if you haven't already, consider backing up and writing some code that does nothing but write to the DataFlash - using a different approach(es) than the one you are now using. Hey! that would make a great tutorial - Everything you always wanted to know about writing to DataFlash but was afraid to ask.

Oh, and happy Australia Day (whatever that is).

Smokey

_________________
FREE TUTORIAL: 'Quick Start Guide for Using the WinAVR C Compiler with ATMEL's AVR Butterfly' AVAILABLE AT: http://www.smileymicros.com
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
mikehg1
PostPosted: Jan 26, 2007 - 12:54 AM
Hangaround


Joined: Feb 12, 2006
Posts: 279
Location: Ohio, USA

I think an in depth tutorial on timer functions with all of the various modes possible would make a good tutorial.

Quote:

I know, I know. I should really fix that last bug so I can release it. I've been a bit demoralized about not being able to fix it in several months, but I'll see what I can do. I can't wait until it's all done!


What is the DataFlash bug if you don't mind me asking?
I have a project that I may be using dataflash in, if you want another set of eyes to have a look it would also give me the opportunity to get up to speed on using them.

Mike H.
 
 View user's profile Send private message  
Reply with quote Back to top
abcminiuser
PostPosted: Jan 26, 2007 - 12:59 AM
Moderator


Joined: Jan 23, 2004
Posts: 9832
Location: Trondheim, Norway

Quote:

I think an in depth tutorial on timer functions with all of the various modes possible would make a good tutorial.


I think that will be my next one. Timers seem to cause a lot of confusion, especially to newbies due to the myriad of settings.

Quote:

What is the DataFlash bug if you don't mind me asking?
I have a project that I may be using dataflash in, if you want another set of eyes to have a look it would also give me the opportunity to get up to speed on using them.


Actually a logic bug. The new ButtLoad code can store non-consecutive HEX files, care of a new abstraction layer which manages random access of the Dataflash. For some reason however the data being stored is being stored at the wrong locations, despite consecutive HEX still files storing just fine. It's been a real pain in the proverbial to try to determine what is causing the failure, and three months later I've still got no idea.

Another set of eyes is always appreciated, but it would be debugging rather than just looking for problems in the dataflash driver, which is known-good.

- Dean Twisted Evil

_________________
Atmel Studio 6.1 is now released, grab it here.
Report AS6/ASF bugs here.
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
mikehg1
PostPosted: Jan 26, 2007 - 02:01 AM
Hangaround


Joined: Feb 12, 2006
Posts: 279
Location: Ohio, USA

Quote:

Another set of eyes is always appreciated, but it would be debugging rather than just looking for problems in the dataflash driver, which is known-good.


No problem, if you want to email me what you have I'll take a look at it.

Mike H.
 
 View user's profile Send private message  
Reply with quote Back to top
bloody-orc
PostPosted: Mar 12, 2007 - 07:47 PM
Posting Freak


Joined: Dec 17, 2005
Posts: 1498
Location: Europe- Estonia- Tallinn

Tutorial on setting different fuse bits of common AVR's maybe?
A thing i don't know how to, but would like to do without messing up my AVR.
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
daqq
PostPosted: Mar 13, 2007 - 10:44 PM
Raving lunatic


Joined: Dec 15, 2003
Posts: 4404
Location: Slovakia, Bratislava

Yes! I'm also a weebit confused by the fuses.

Although "On graphical displays and displaying graphics on them" would be nice, particulary for nokia SPI connectables.

Or "External RAM, GCC and using the damn thing".
Or "Everything you wanted to know about debouncing but were afraid to ask".


BTW: I'm not commenting the current tutorials, they are really extensive and well written and cover a lot of ground.

_________________
There are pointy haired bald people.
Time flies when you have a bad prescaler selected.
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
ph0rkeh
PostPosted: Mar 15, 2007 - 05:19 AM
Resident


Joined: Nov 25, 2006
Posts: 785
Location: Independence, OH

Quote:

I think that will be my next one. Timers seem to cause a lot of confusion, especially to newbies due to the myriad of settings.


That I personally would love too see as well! I think I have got timers down ok, but only for the basics... I would love to see a nice tut on the more in-depth usage of times and stuff.

_________________
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
abcminiuser
PostPosted: Mar 15, 2007 - 05:35 AM
Moderator


Joined: Jan 23, 2004
Posts: 9832
Location: Trondheim, Norway

I am currently unable to write any more tutorials, due to time constraints. Uni occupies quite a lot of my time!

I'll write another tutorial once everything settles down to a sane level. In the meantime, others please feel free to write some tutorials yourselves!

- Dean Twisted Evil

_________________
Atmel Studio 6.1 is now released, grab it here.
Report AS6/ASF bugs here.
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
abcminiuser
PostPosted: Apr 05, 2007 - 10:25 AM
Moderator


Joined: Jan 23, 2004
Posts: 9832
Location: Trondheim, Norway

I'm about to start a tutorial on interfacing with an Atmel dataflash. It'll cover SPI in the into, so that will take care of two birds with one stone (or keyboard!). Any objections?

- Dean Twisted Evil

_________________
Atmel Studio 6.1 is now released, grab it here.
Report AS6/ASF bugs here.
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
js
PostPosted: Apr 05, 2007 - 10:28 AM
10k+ Postman


Joined: Mar 28, 2001
Posts: 20392
Location: Sydney, Australia (Gum trees, Koalas and Kangaroos, No Edelweiss)

I think a tutorial on multifile projects and advanced assembler techniques would be great...I wish I was clever enough to write it..Sad

_________________
John Samperi
Ampertronics Pty. Ltd.
www.ampertronics.com.au
* Electronic Design * Custom Products * Contract Assembly
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2006 The PNphpBB Group
Credits