Given i use the Native mode compiler what specifically do i need to change to make the Atmega328p run with an 18.432 MHz crystal ?
Thanks
Rich
Faster clock
Re: Faster clock
With all generic native mode devices it is necessary to specify the clock frequency. The easiest way to do that is to select the "Target Options" entry on the Options menu. On the resulting dialog, you can choose the processor frequency and a number of other parameters. After doing so, pressing the "Apply" button will generate a list of "device parameter" directives that match the configuration chosen. These can then be copied and pasted into the main module (if "Option DeviceParameter" is selected) or the project file (if "--device-parameter" is selected).rich wrote:what specifically do i need to change to make the Atmega328p run with an 18.432 MHz crystal ?
- Attachments
-
- native_setup.jpg (91.24 KiB) Viewed 4257 times
- Don Kinzer
The bootloader is not part of the load image for your application. Typically, one would program the bootloader into the target device once using the AVR programmer and thereafter use that bootloader to load iterations of the application onto the device.rich wrote:[...] does a boot loader get programmed into the AVR device or is it necessary to use an AVR programmer each time the code is updated ?
- Don Kinzer