[Icc-avr] App Builder issue

Patrick Fletcher-Jones fletcherjones at worldonline.co.uk
Fri May 30 10:22:57 PDT 2008


Hi everyone,

Now I know I might being stupid here, but have a found a bug in the apps
builder?

I've got problems (still) with the 32KHz crystal , yes I know not a
difficult thing to get going!!

Anyway, I've used the apps builder to set it all up and yes Its oscillating
but at totally the wrong speed. I've now gone thought the data sheet and on
page 192 it shows a 1024 prescaler in TCCR2B should be 0x07 and the apps
builder is generating 0x05 which I reckon is a prescaler of 128.

I've tried both values and yes the value of 0x07 does slow things down, but
its still totally the wrong frequency!!

Any ideas???

Many thanks as always....

Patrick

Opps PS I'm using a Mega1280....silly me...



On 30/05/2008 18:04, "Patrick Fletcher-Jones"
<fletcherjones at worldonline.co.uk> wrote:

> I don¹t think its setting the prescaler bits properly either. I¹ve got an on
> going problem using this, with some kit that was due for delivery today.
> 
> I¹ve tried mailing the list and Imagecraft directly but no replies.
> 
> VBR,
> Patrick
> 
> 
> 
> On 30/05/2008 17:42, "Paul Mateer" <paul.aa9gg at gmail.com> wrote:
> 
>> Seems to be a problem with the app builder in ver 7.17.  Using a mega3290,
>> timer2 compare interrupt....generated code says "// **Section [TIMER2_COMP]
>> not found**".  I just upgraded from v7.16 because the app. builder never set
>> the interrupt enable bits....but it DID give me the timer compare interrupt
>> stuff. BTW...it still doesn't set the enable bits in the TIMSK registers.
> 
> 
> _______________________________________________
> Icc-avr mailing list
> Icc-avr at imagecraft.com
> http://dragonsgate.net/mailman/listinfo/icc-avr

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://dragonsgate.net/pipermail/icc-avr/attachments/20080530/5e8b1501/attachment-0001.html


More information about the Icc-avr mailing list