Newbee (sorta) success!!! - Thanks to all!

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

OK - no big thing for you gurus but..

I'm a PIC biggot from way back and decided to switch to AVR for 2 reasons - ok one reason mostly - AVR GCC is free and my PIC compilers cost money for every upgrade. Also, the memory structure of PICs really drives me nuts

Anyway - decided on the Mega32...(TQFP) designed a board in Eagle, had APcircuits make it (I made and sold something similar with PICs)

Assembled the 1st one last night (in the toaster oven) and tried AVR Studio to "turn on LED" it worked. Then modified,compiled and loaded the "demo.c" in the examples directory of WinAVR and got it to work.

Now the learning really starts. new architecture etc. etc. I have to rewrite my CCS C compiler routines for my interface board (LCD, 7-Segment LED, RS-232, Rotary encoder) in AVR GCC

BTW AVR GCC is not exactly easy when you don't know the processor well

Maybe I should have taken the red pill instead

Anyway thanks to all the knowledgable people on this forum - it's the level of projects and quality of participation here that gave me the inspiration to switch.

Thanks guys

Tom

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Converting from the CCS to a real C compiler will cause a few sleepless nights; as you discover the CCS is very none C in some of the things it does and the routes it takes you down.

Keep it simple it will not bite as hard

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Appreciate your perspective - anything specific you can recall?

I'm going to use an existing PIC project and convert it to AVR - something I'm comfortable with

Thanks in Advance

Tom