Start Back Next End
  
ZBasic Language Reference
122
ZBasic Microcontrollers
The easiest way to build a bootloader image is to use the batchfile makeboot.bat.  Near the beginning
of that file you’ll find several configuration items including the operating frequency (F_CPU), the download
baud rate (BAUD) and the target device (DEVICE).  For xmega devices, you’ll need to set BAUD_SEL to
select the baud rate; BAUD and F_CPU aren’t used in that case.  After making the desired changes, run
the batchfile to effect the build; the resulting .hex file containing the bootloader will then be found in the
boot subdirectory in a file named for the device, e.g. zboot\boot\atmega644p_boot.hex for the
ATmega644P.
Previous page Top Next page