CodeVision AVR eval issue...

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

So there I was, minding my own business, working my way through the "Getting Started with CodeVision AVR..." document, when all of a sudden, an error popped up. Turns out that the timer feature that the guide said to use is not available in the eval version...

Sigh...

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

Which Timer feature ?

There are certain libraries and certain features of the CodeWizard that are restricted to the full licence. And of course the limited executable size.

Some of the examples are just available as binaries because they are over the size limit.

Otherwise, most simple programs will fit in the size limit. Certainly "Getting Started" examples should all fit.

David.

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

I'm referring to the project generation wizard. There are a number of settings, including "Timers/Counters Settings." The tutorial int eh getting started is demonstrating how to use the wizard to set up a timer to light some LEDs every 200ms.

So after I make the settings in the dialog the guide says to make, and click apply, I get the error message.

They really should either allow that feature int eh eval or change the getting started guide to use some other feature that they allow...

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

But you are wondering if the timer counter wizard will actually work if you plunk down the bux for the full license? I'm sure the cv dudes will testify with their hands on their testes like the Roman Senators did and Modern Rappers do that it in fact works as designed.

Imagecraft compiler user

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

bobgardner wrote:
But you are wondering if the timer counter wizard will actually work if you plunk down the bux for the full license? I'm sure the cv dudes will testify with their hands on their testes like the Roman Senators did and Modern Rappers do that it in fact works as designed.

I expect it will work, I was just hoping to write a few little apps before I bought it.

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

Ah-ha. I tried it for myself.

You cannot do the "Automatic Timer/Counter configuration"
However you can enter the Timer values by hand.
And it will show you the resultant time/period.

i.e. you can not enter 200ms in "Requirements"
But if you select 250kHz clock and OCR1A=0xC34F, it will display 0.2s as the time/period.

Alter the clock or OCR1A value and the calculation is done for you.

Having followed the "Getting Started" doc, I could create the app with the Wizard and compile it.

It used 302 bytes of Flash Memory. So easily fits in the Evaluation version. (I actually used v2.60 Eval --- I only have the v3.06 full version)

David.

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

David, thanks, I'll give that a try!