KAVRCalc 1.13 Released (now 1.14)

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

On http://www.b9.com/elect/avr/kavr...

From the ChangeLog:

Version 1.13 (Feb 20, 2008)
	- Fix error in Timer calculator when entering a desired frequency of 0
	- Fix off-by-one error in TCNT Base
	- Change Timer "Requested Timing" numeric value with changing timer units
	- Rework display of Baud calcuator to better visually group related fields

Edit: Update subject

Last Edited: Thu. Feb 21, 2008 - 06:31 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Did you ever work for M$ ? We will need automatic updates soon :lol:

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

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

js wrote:
Did you ever work for M$ ?
No, I don't quite understand where the question is coming from. But, I don't think many people with email addresses like one of mine (kmr@debian.org) have worked for MS.
Quote:
We will need automatic updates soon
That'd be nice! But, I'd rather work on AVR programming than adding HTTP access. I'm still awaiting a decision from Atmel about whether I can incorporate data from their .xml part files to extend the calculator into an AVR Part Explorer.

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

Quote:
I don't quite understand where the question is coming from.
Automatic updates for KAVRCalc? :) ....just like M$.

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

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

Oh, I see, John. Since so many vendors now have automated updates, I didn't tie the question back to MS :oops:

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

Hi Kevin,

I think that your zip file is corrupt....

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

Nick, you are exactly correct. I reuploaded and verified the MD5 hash of the .zip file. Would you mind retrying?

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

Hi Kevin,

Yes. It works. Thanks.
Oh, can I make a request about pwm's.

I calculated the freq and duty cycle using OCRA/B of timer0. It would be nice if your program could optimize it for the the best possible solution. That is, maximizing the amount of pwm steps available for a certain freq using a certain prescale.

Oh, FMUL crashes

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

Thanks for the info, Nick. Interesting suggestion about optimizing for duty cycle flexibility.

Uh oh, FMUL -- that shouldn't be there, yet :smile: I'll upload a new version soon with that non-yet finished tab removed.

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

Okay, version 1.14 uploaded without the FMUL tab.

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

Nice tool Kevin... what library are you using for the windows/linux compatability? Is there a Mac version (I can compile if necessary)

Writing code is like having sex.... make one little mistake, and you're supporting it for life.

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

I'm having trouble getting this to run with Ubuntu 7.10 Gutsy Gibbon. I have installed the motif3 package as the readme suggests but when I run I get this:

./kavrcalc

Error: Could not register handle for external module X-UTILITIES::CAPIX11:
 libXm.so.2: cannot open shared object file: No such file or directory.
  1 (abort) Quit process.

Type :b for backtrace, :c 

Any idea what causes this?

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

libmotif3 installs libXm.so.3. You need motif version 2. I see that Ubuntu 7.10 has a lesstif2 package which should have the library that you need.

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

glitch wrote:
Nice tool Kevin... what library are you using for the windows/linux compatability? Is there a Mac version (I can compile if necessary)
Hi glitch, thanks. I'm using Lispworks ( http://www.lispworks.com ). There is a Mac compiler available, but I have not purchased it.

If there are any Mac Lispworks owners around, send me PM so we can work on making a Mac binary.

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

kmr wrote:
libmotif3 installs libXm.so.3. You need motif version 2. I see that Ubuntu 7.10 has a lesstif2 package which should have the library that you need.

That's it, works like a charm. Thanks!

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

Excellent, Barney, thanks for the feedbacck.

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

kmr wrote:
glitch wrote:
Nice tool Kevin... what library are you using for the windows/linux compatability? Is there a Mac version (I can compile if necessary)
Hi glitch, thanks. I'm using Lispworks ( http://www.lispworks.com ). There is a Mac compiler available, but I have not purchased it.

If there are any Mac Lispworks owners around, send me PM so we can work on making a Mac binary.

I took a look... there is a free eval/non-commercial use version, if one can live with the time limits. Other than that, it's a bit too pricy for my blood.

Writing code is like having sex.... make one little mistake, and you're supporting it for life.

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

glitch wrote:
there is a free eval/non-commercial use version
Indeed, though that free eval version does not allow the creation of binary executables.
Quote:
pricey
The Mac version is to me as well since I don't use Macs very much. OTOH, I use the Linux and Windows versions of Lispworks quite a bit so the benefit/cost ratios are quite favorable to me on those platforms.