From a9f313afa9a65a692718b8609fd47ae1dcb60523 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Tue, 16 Nov 2010 12:30:00 +0000 Subject: Slow AVRISP-MKII clone PDI/TPI programming speed back to 250KHz due to issues with the XPLAINBridge when PDI programming at faster rates. Speed up XMEGANVM_WaitWhileNVMControllerBusy() by preloading the status register address into the pointer register of the target's NVM controller and then reading via a faster indirect load command. --- Projects/AVRISP-MKII/makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Projects/AVRISP-MKII/makefile') diff --git a/Projects/AVRISP-MKII/makefile b/Projects/AVRISP-MKII/makefile index 5135722fd..28f893956 100644 --- a/Projects/AVRISP-MKII/makefile +++ b/Projects/AVRISP-MKII/makefile @@ -60,13 +60,13 @@ # MCU name -MCU = at90usb1287 +MCU = at90usb162 # Target board (see library "Board Types" documentation, NONE for projects not requiring # LUFA board drivers). If USER is selected, put custom board drivers in a directory called # "Board" inside the application directory. -BOARD = USBKEY +BOARD = USBTINYMKII # Processor frequency. @@ -80,7 +80,7 @@ BOARD = USBKEY # does not *change* the processor frequency - it should merely be updated to # reflect the processor speed set externally so that the code can use accurate # software delays. -F_CPU = 8000000 +F_CPU = 16000000 # Input clock frequency. -- cgit v1.2.3