Quantcast
Channel: MCS Electronics Forum
Viewing all articles
Browse latest Browse all 20562

BASCOM-AVR : How to read calibration bytes for OSCCAL? : REPLY

$
0
0
it is the way atmel designed it. in xmega there are better options. bootloader has nothing to do with it. atmel suggest to read the calibrated value and store it in eeprom. then you can read it in the bootloader and/or the main app. just create the same line of code in the same order in the bootloader and app : dim boscE as eram byte 'osccal calibrated value osccal=boscE 'read and assign to osccal but yes it means each chip need to be programmed different because of the different values.

Viewing all articles
Browse latest Browse all 20562

Trending Articles