[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Paparazzi-devel] PPM encoder questions

From: Chris Gough
Subject: [Paparazzi-devel] PPM encoder questions
Date: Tue, 8 Feb 2011 01:27:04 +1100

Hi Chris,

I could not find fuse settings in any of the makefiles in
servo2ppm_v4_3_for_release/ (from rc groups download). I grepped for
'fuse' and only found some stuff in the bootloader .c files that
didn't look like what I was looking for.

I (finally) managed to get AVR studio running under wine, but have not
begun to learn how to use it yet.  Can you please give me a hint.

Chris Gough

P.S. how's the next YAPPA version coming allong? I'm still keen to
order a bunch, but no rush.

On Tue, Jan 11, 2011 at 12:38 AM, Chris <address@hidden> wrote:
> Hi.
> Here is the possible problem:
> The first batch of PPM encoders used the mega 168 which use the internal rc
> oscillator.
> The right fuses then are:
> LOW_FUSE_168 = 0xC2
> HIGH_FUSE_168 = 0xDC
> EXTENDED_FUSE_168 = 0xF8
> LOCK_FUSE_168 = 0xFF
> Programmed = write 0 or check the corresponding fuse check box in the avr
> studio
> Unprogrammed = write 0 or check the corresponding fuse check box in the avr
> studio
> When a fuse is set to "1" then it is unprogrammed (inactive)
> Basically you need to unprogram the CKDIV8 (write "1") and BODLEVEL2  fuse
> and program (write "0")
> In AVR studio just select BODLEVEL = 4.3V, check the BOOTRST fuse and
> uncheck the CKDIV8 fuse.
> All other fuses remain at default values
> When the Mega328p is used with a crystal like the newer version then the
> fuses must be
> LOW_FUSE_328 = 0xDF
> HIGH_FUSE_328 = 0xD8
> LOCK_FUSE_328 = 0xFF
> Again the CKDIV8 fuse must be unprogrammed (write "1")
> The BOOTRST fuse must be programmed (write "0")
> The clock fuses must be set:
> CKSEL0,1,2,3 and SUT0 fuses must be unprogrmmed (write "1")
> SUT1 fuse must be programmed (write "0")
> The BODLEVEL must be set:
> Unprogram (write "1") the BODLEVEL2  fuse and program (write "0")
> the BODLEVEL1 and  BODELEVEL0 fuses.
> In AVR studio just select BODLEVEL = 4.3V, uncheck the CKDIV8 fuse and
> select the clock source to be
>  "Low power crystal oscillator" or "Full swing crystal oscillator" with a
> range of 8 to 16 Mhz and brown out enabled if you see this option in the
> drop down box.
> Chris
> _______________________________________________
> Paparazzi-devel mailing list
> address@hidden


reply via email to

[Prev in Thread] Current Thread [Next in Thread]