CodeVisionAVR

High Performance ANSI C Compiler
for Atmel AVR microcontrollers

X-Graph

Rabbit SBC - Atmel AVR XMega SBC - Arduino Shields
Touchscreen LCD - GPRS - MP3 - WiFi - Ethernet


CodeVisionAVR C Compiler

CodeVisionAVR








150.00€  145.00€
Save: 3% off


V3.12 released 3 June 2014

NEW: CodeVisionAVR Development Kit = CodeVisionAVR Advanced + XG7100 + JTAGICE3 in-circuit debugger.

CodeVisionAVR can be used to compile and upload ARDUINO programs.

High Performance ANSI C Compiler for the Atmel AVR microcontrollers.
  • Integrated Development Environment
  • Automatic Program Generator
  • Graphic Library with support for the X-Graph XG7100 TFT LCD modules (Advanced version)
  • In-System Programmer for the Atmel AVR family of microcontrollers
This product includes 1 year of free updates and e-mail technical support. After this period you can purchase a support package (CodeVisionAVR Support) to continue to receive free updates and support.

This is a download (CodeVisionAVR) ONLY product. You get a confirmation e-mail immediately (within seconds) after your PayPal or creditcard payment.
Test first? Check the CodeVisionAVR Evaluation version.

CodeVisionAVR is the only Integrated Development Environment on the market that features an Automatic Program Generator (CodeWizardAVR) for the new XMEGA devices.

Now with an enhanced CodeWizard, the new LCD Vision 1.03 Font & Image Editor/Converter (Advanced version only !) and Graphic LCD Libraries for the XG7100 and many more common LCD drivers.

The compiler is supplied with many examples, including Graphic LCDs, SD/MMC Card FAT, XMEGA ADC, DAC, TWI, 1 Wire, EBI and the ports of Atmel’s Application Notes AVR1300 “Using the XMEGA ADC”,  AVR1605 “XMEGA Boot Loader”, AVR270 “USB Mouse”, AVR272 “CDC Demo UART to USB Bridge”, Wiznet W5100 web server.

The popular FreeRTOS is now ported to CodeVisionAVR.


New to CodeVisionAVR? DELCOMp highly advises first time buyers to purchase a CodeVisionAVR Development Kit.

The Development Kit provides all the hardware, software and tools required to get started.

The CodeVisionAVR Development Kit 1 contains everything if you already own a JTAGICE3 debugger:
  • CodeVisionAVR Advanced
  • One XG7100 ATXMega SBC with 4.3" graphic LCD and touchscreen
The CodeVisionAVR Development Kit 2 includes the JTAGICE3 debugger:
  • CodeVisionAVR Advanced
  • One XG7100 ATXMega SBC with 4.3" graphic LCD and touchscreen
  • Atmel JTAGICE3 in-circuit debugger and programmer
  • Application that runs under Windows® XP, Vista, Windows 7 and Windos 8, 32bit and 64bit
  • Easy to use Integrated Development Environment and ANSI C compatible Compiler
  • Editor with auto indentation, syntax highlighting for both C and AVR assembler, function parameters and structure/union members autocomplete
  • Besides it’s own IDE, CodeVisionAVR can be used an Extension integrated in Atmel Studio 6.1 or later
  • Supported data types: bit, bool, char, int, short, long, float
  • Fast floating point library with hardware multiplier and enhanced core instructions support for all the new ATmega chips
  • AVR specific extensions for:
    • Transparent, easy accessing the EEPROM & FLASH memory areas, without the need of special functions like in other AVR compilers
    • Bit level access to I/O registers
    • Interrupt support
    • Support for placing bit variables in the General Purpose I/O Registers (GPIOR) available in the new chips (ATtiny2313, ATmega48/88/168, ATmega165/169/325/3250/329/3290/645/6450/649/6490, ATmega1280/1281/2560/2561/640, ATmega406 and others)
  • Compiler optimizations:
    • Peephole optimizer
    • Advanced variables to register allocator, allows very efficient use of the AVR architecture
    • Common Block Subroutine Packing (what our competition calls “Code Compressor”), replaces repetitive code sequences with calls to subroutines. This optimizer is available as Standard in CodeVisionAVR, at no additional costs, not like in our competitor’s products.
    • Common sub-expression elimination
    • Loop optimization
    • Branch optimization
    • Subroutine call optimization
    • Cross-jumping optimization
    • Constant folding
    • Constant literal strings merging
    • Store-copy optimization
    • Dead code removing optimization
    • 4 memory models: TINY (8 bit data pointers for chips with up to 256 bytes of RAM), SMALL (16 bit data pointers for chips with more than 256 bytes of RAM), MEDIUM (for chips with 128k of FLASH) and LARGE (for chips with 256k or more FLASH). The MEDIUM and LARGE memory models allow full FLASH addressing for chips like ATmega128, ATmega1280, ATmega2560, etc, the compiler handling the RAMPZ register totally transparently for the programmer. This feature is available as Standard in CodeVisionAVR, at no additional costs, not like in our competitor’s products.
    • User selectable optimization for code Size or Speed
  • Possibility to insert inline assembler code directly in the C source file
  • VERY EFFICIENT USE OF RAM: Constant character strings are stored only in FLASH memory and aren't copied to RAM and accessed from there, like in other compilers for the AVR
  • C Source level debugging, with COFF symbol file generation, allows variable watching (including structures and unions) in Atmel Studio 6.1 and AVR Studio 4.19 debuggers
  • Fully compatible with Atmel’s In-Circuit Emulators: AVR JTAG-ICE, AVR Dragon, etc.
  • Chips supported by CodeVisionAVR Standard:
    • ATtiny4, ATtiny5, ATtiny9, ATtiny10, ATtiny20, ATtiny40 (reduced core)
    • ATtiny13, ATtiny13A
    • ATtiny1634
    • ATtiny167, ATtiny87
    • ATtiny22
    • ATtiny2313, ATtiny2313A, ATtiny4313
    • ATtiny24, ATtiny44, ATtiny84
    • ATtiny25, ATtiny45, ATtiny85
    • ATtiny26, ATtiny46, ATtiny86, ATtiny166
    • ATtiny261, ATtiny461, ATtiny861
    • ATtiny43U
    • ATtiny441, ATtiny841
    • ATtiny48, ATtiny88
    • ATtiny828
    • AT90S2313
    • AT90S2323, AT90S2343
    • AT90S2333, AT90S4433
    • AT90S4414, AT90S8515
    • AT90S4434, AT90S8535
    • AT90S8534
    • AT90CAN32, AT90CAN64, AT90CAN128
    • AT90PWM2, AT90PWM2B, AT90PWM3, AT90PWM3B, AT90PWM216, AT90PWM316
    • AT90USB1286, AT90USB1287, AT90USB646, AT90USB647, AT90USB162, AT90USB82
    • ATmega103
    • ATmega128, ATmega182A, ATmega1280, ATmega1281
    • ATmega128RFA1
    • ATmega64RFR2, ATmega128RFR2, ATmega256RFR2
    • ATmega1284, ATmega1284P
    • ATmega16
    • ATmega16HVA, ATmega 8HVA
    • ATmega16HVB, ATmega32HVB
    • ATmega16M1, ATmega32M1, ATmega64M1
    • ATmega16U4, ATmega32U4
    • ATmega161
    • ATmega162
    • ATmega163
    • ATmega164, ATmega164P
    • ATmega164A, ATmega164PA, ATmega324A, ATmega324PA, ATmega644A, ATmega644PA, ATmega1284, ATmega1284P
    • ATmega165
    • ATmega169, ATmega169A, ATmega169PA
    • ATmega2560, ATmega2561
    • ATmega32
    • ATmega32C1, ATmega64C1
    • ATmega32U6
    • ATmega323
    • ATmega324, ATmega324P
    • ATmega325, ATmega325P, ATmega3250, ATmega3250P
    • ATmega329, ATmega329P, ATmega3290, ATmega3290P
    • ATmega406
    • ATmega48, ATmega48P, ATmega88, ATmega88P, ATmega168, ATmega168P, ATmega328P
    • ATmega603
    • ATmega64
    • ATmega640
    • ATmega644, ATmega644P
    • ATmega645, ATmega6450
    • ATmega649, ATmega6490
    • ATmega8, ATmega8U2, ATmega16U2, ATmega32U2
    • ATmega8515
    • ATmega8535
    • ATxmega128A1, ATxmega192A1, ATxmega256A1, ATxmega384A1, ATxmega64A1
    • ATxmega128A3, ATxmega192A3, ATxmega256A3, ATxmega256A3B, ATxmega64A3
    • ATxmega16A4, ATxmega32A4, ATxmega64A4, ATxmega128A4
    • ATxmega128D3, ATxmega192D3, ATxmega256D3, ATxmega64D3
    • ATxmega16D4, ATxmega32D4, ATxmega64D4, ATxmega128D4
    • FPSLIC AT94K05, AT94K10, AT94K20, AT94K40
    • AT43USB355
    • AT76C711
    • AT86RF401
    • ATA6285, ATA6286, ATA6289
  • Supplementary libraries for:
    • Alphanumeric LCD modules, with possibility to allocate the LCD signals to any pin of any I/O port
    • Graphic LCD modules with XG7100, SSD1289, SSD1963, KS0108, SED1335, S1D13700, SED1520, SED1530, SPLC501C, ST7565, ST7920, T6963C, UC1701 and PCD8544 (Nokia 3310, 5510) controllers, with possibility to allocate the LCD signals to any pin of any I/O port
    • software bit-banged Philips I²C Bus (master mode) with possibility to allocate the signals to any pin of any I/O port
    • National Semiconductor LM75 Temperature Sensor
    • Maxim/Dallas Semiconductor DS1621 Thermometer/Thermostat
    • Philips PCF8563 and PCF8583 Real Time Clocks
    • Maxim/Dallas Semiconductor DS1302 and DS1307 Real Time Clocks
    • Maxim/Dallas Semiconductor 1 Wire protocol
    • Maxim/Dallas Semiconductor DS1820/DS18B20/DS1822 1 Wire Temperature Sensors
    • Maxim/Dallas Semiconductor DS2430/DS2433 1 Wire EEPROMs
    • SPI
    • TWI (master and slave modes) for both AVR and XMEGA devices
    • MMC/SD/SD HC FLASH Memory Card drivers and FAT12, FAT16, FAT32 access libraries for both AVR and XMEGA devices
    • Power management
    • Delays
    • BCD and Gray code conversion
  • Built-in CodeWizardAVR Automatic Program Generator, allows you to write in a matter of minutes all the code needed for implementing the following functions:
    • External memory access setup, including the XMEGA EBI
    • Chip reset source identification
    • XMEGA oscillator, PLL, prescallers and peripheral clocks initialization
    • Input/Output Port initialization
    • External Interrupts initialization
    • Timers/Counters initialization
    • Watchdog Timer initialization
    • USART initialization and interrupt driven buffered serial communication with the following parameters: 7N2, 7E1, 7O1, 8N1, 8N2, 8E1 and 8O1
    • Analog Comparator initialization
    • ADC initialization
    • XMEGA DAC initialization
    • XMEGA RTC initialization
    • SPI Interface initialization
    • CAN Interface initialization
    • TWI initialization
    • I²C Bus, LM75 Temperature Sensor, DS1621 Thermometer/Thermostat, PCF8563, PCF8583, DS1302 and DS1307 Real Time Clocks initialization
    • 1 Wire Bus and DS1820/DS1822 Temperature Sensors initialization
    • Alphanumeric and Graphic LCD module initialization
    • USB controller
  • Built-in Serial Communication Terminal for debugging RS232, RS422, RS485
  • Built-in In-System AVR Chip Programmer, compatible with the Atmel STK500, STK501, STK502, STK600, AVRISP (serial), AVRISP MkII (USB), AVR Dragon, JTAGICE MkII, Atmel AVR910 application note, Kanda Systems STK200+ and STK300 development boards, Vogel Elektronic VTEC-ISP, Dontronics DT006 features automatic programming after successful compilation. Supported chips:
    • ATtiny4, ATtiny5, ATtiny9, ATtiny10, ATtiny20, ATtiny40
    • ATtiny13/13A
    • ATtiny167/87
    • ATtiny22
    • ATtiny2313/2313A/4313
    • ATtiny24/44/84
    • ATtiny25/45/85
    • ATtiny26/46/86/166
    • ATtiny261/461/861
    • ATtiny43U
    • ATtiny48/88
    • AT90S2313
    • AT90S2323/2343
    • AT90S2333/4433
    • AT90S4414/8515
    • AT90S4434/8535
    • AT90CAN32/64/128
    • AT90PWM2/3 (B) /216/316
    • AT90USB1286/1287/646/647/162
    • ATmega603/103
    • ATmega64/128
    • ATmega128RFA1
    • ATmega1280/1281
    • ATmega16
    • ATmega16M1/32M1/64M1
    • ATmega16U4/32U4
    • ATmega161
    • ATmega162
    • ATmega163
    • ATmega164, ATmega164P
    • ATmega164A/164PA/324A/324PA/644A/644PA/1284/1284P
    • ATmega165
    • ATmega169/169A/169PA
    • ATmega2560/2561
    • ATmega32
    • ATmega32C1/64C1
    • ATmega32U6
    • ATmega323
    • ATmega324, ATmega324P
    • ATmega325/325P/3250/3250P
    • ATmega329/329P/3290/3290P
    • ATmega48/88/168, ATmega48P/88P/168P/328P
    • ATmega640
    • ATmega644, ATmega644P
    • ATmega645/6450
    • ATmega8, ATmega8U2, ATmega16U2, ATmega32U2
    • ATmega8515
    • ATmega8535
    • ATxmega128A1, ATxmega192A1, ATxmega256A1, ATxmega64A1
    • ATxmega128A3, ATxmega192A3, ATxmega256A3, ATxmega256A3B, ATxmega64A3
    • ATxmega16A4, ATxmega32A4, ATxmega64A4, ATxmega128A4
    • ATxmega128D3, ATxmega192D3, ATxmega256D3, ATxmega64D3
    • ATxmega16D4, ATxmega32D4, ATxmega64D4, ATxmega128D4
    • AT86RF401
    • ATA6286, ATA6285, ATA6289

For In-System programming of the other AVR chips (AT90S1200, ATtiny12, ATtiny15L) please use our Universal Programming software ChipBlasterAVR

CodeVisionAVR Evaluation V3.12

Free, 4kbytes code size limited version. PCF8563, PCF8583, DS1302, DS1307, DS2430, DS2433 libraries are not included. Includes also the Evaluation version of the LCD Vision font editor, with disabled saving of the generated font C source code.

CodeVisionAVR V3.12

Commercial version including the full LCD Vision font editor, password protected setup. Note: an Advanced license is required to use LCD Vision and the color graphic TFT LCD libraries.

CodeVisionAVR User Manual cvavrman.zip

Please create a BACKUP copy of the downloaded setup file on a secure media.

CodeVisionAVR V3 is designed to be used both in its own IDE and also as an Extension in Atmel Studio 6.1 or later version.
It is compatible with Windows® XP, Vista, Windows 7 and Windows 8, 32 and 64-bit operating systems.
For the Extension to be installed correctly, Atmel Studio 6.1 must be already present on the computer, before the CodeVisionAVR installer is launched.
Important Notes:
  • When installing and using Atmel Studio and CodeVisionAVR, the user must be logged in as Administrator in Windows.
  • During Atmel Studio installation under Windows XP, the checkbox Protect my computer and data from unauthorized program activity must be unchecked.
  • If the older AVR Studio 5 or Atmel Studio 6.0 are present on the computer, they must be first fully uninstalled before installing Atmel Studio 6.1 and CodeVisionAVR.
  • The Naggy extension for Atmel Studio is not compatible with CodeVisionAVR.
    When using CodeVisionAVR, Naggy must be disabled from the Atmel Studio's menu: Tools|Disable Naggy.
After Atmel Studio has been installed, you may unzip the downloaded file in a temporary directory and launch the CodeVisionAVR installer.
Note: When installing CodeVisionAVR under Windows Vista, the User Account Control must be disabled, as outlined in the instructions.

CodeVisionAVR can be also used with its own IDE and the AVR Studio 4.19 debugger, without having to install Atmel Studio.
This may be useful if the user wants to preserve disk space or has a slower computer.

Some users may wish to install both Atmel Studio 6.1 and AVR Studio 4.19 on the same computer.
In this case the debugger to be used can be selected in the Settings|Debugger menu of the CodeVisionAVR IDE.

Details about using CodeVisionAVR with these debuggers are available in the Help topics:
  • Using the CodeVisionAVR Extension for Atmel Studio
  • CodeVisionAVR C Compiler Reference|Using the AVR Studio 4.19 Debugger
and in the chapters: 1 and 4.21 of the CodeVisionAVR User Manual.

V3.12 Commercial Release (3 June 2014)
  • Compiler
    • Improved CodeVisionAVR project export to Atmel Studio when there is no exact chip type match
    • When importing a CodeVisionAVR project in Atmel Studio 6.2, ensure that the active build configuration of the new created Atmel Studio solution matches the one from the CodeVisionAVR project .prj file
    • Fixed errors which occurred when using the USB library for the ATmega U2, U4 and AT90USB82/162 chips
  • CodeWizardAVR
    • Fixed: ADC reference type and clock frequency settings were not correctly read from the CodeWizardAVR .cwp project file
  • Chip Programmer
    • Fixed: Reading chip signature, lock bits and calibration bytes didn't work correctly for STK600, AVRISP, AVR Dragon and JTAGICE when Atmel Studio 6.2 was installed
V3.11 Commercial Release (27 May 2014)
  • Compiler
    • Added an USB device library for non-Xmega chips
    • Added new USB examples for CDC Virtual Serial Port, HID Keyboard, HID Mouse, HID Joystick and Generic HID
    • Improved the code optimizer
    • Updated the header files for the Xmega A1U, B1, B3, C3, C4, E5 devices, so that the access to virtual ports VPORT0..3 structures will be performed correctly
    • Improved inline functions support
    • Improved warnings reporting
    • Fixed: functions that contained a return statement in the last line, were not added to the .map file
    • Fixed: calling a function, using a pointer stored in EEPROM, trashed the last parameter passed in R26, R27 registers when the enhanced parameters passing option was enabled in the project configuration
    • Corrected boot area size for ATxmega8E5: 1024 words instead of 2048 words
    • Fixed a compilation error in ILI9340 and ILI9341 libraries when using a data bus with bits in non-consecutive ascending order
    • Fixed the non-local jump functions (setjmp.h) not working for non-Xmega chips with > 128k bytes of FLASH
    • Fixed the non-local jump functions (setjmp.h) not working for Xmega chips with > 128k bytes of FLASH, including the boot area
    • Fixed: assembly errors when the 1 Wire functions were used with ATmega64/128 I/O ports F and G
  • CodeWizardAVR
    • Redesigned the wizard to support the new USB library
    • Improved the code generated by the wizard for ATmega16/32U4 Timer 4 and PLL
    • Fixed: incorrect generated names WDT_WPER_xxxCLK_gc for the watchdog of all Xmega chips except A, for 125, 250, 500 ms timeout intervals
    • Fixed: "Cannot focus a disabled or invisible window." message in CodeWizardAVR for Xmega after disabling a Timer/Counter
    • Fixed: incorrect initialization, by the CodeWizardAVR, of the Timer 3 clock prescaller in the TCCR3B register for the ATmega162 chip
  • Chip Programmer
    • Fixed: Arduino Mega 1280 boards use 115200 Baud rate
V3.10 Commercial Release (16 February 2014)
  • Compiler
    • Added support for the UltraChip UC1608 graphic LCD controller
    • Improved the code optimizer
    • Added full support for inline functions
  • CodeWizardAVR
    • For Xmega A1U, A3U, A4U and E5 chips corrected the checks, so that the DAC must be enabled when its output is connected to one of the analog comparator's inputs
V3.09 Commercial Release (5 February 2014)
  • Compiler
    • Added support for the Samsung S6D1121 colour TFT LCD controller.  Added code example for this controller
    • Added support for the ATtiny441 and ATtiny841 chips
    • Improved the code optimizer
    • For the Advanced version, added the possibility to customize the start-up initialization code (watchdog timer disable) in the Project|Configure|C Compiler|Advanced menu. For new projects, by default, the watchdog timer is not disabled after chip reset anymore, preventing the alteration of the MCUSR register
    • Added the pgmspace.h, eeprom.h and inttypes.h header files for compatibility with AVR GCC
    • Modified the start-up code for XMEGA chips that don't have RAMPX, RAMPY, RAMPD, RAMPZ registers
    • Fixed the __GETW1STACK, __GETD1STACK, __CALL2EN macros which trashed the R26, R27 registers, used for passing the last parameter when a function was called using a pointer to function, enhanced parameter passing was enabled and the function also referenced by pointer a register variable
    • Corrected the MOSI and SCK SPI signals allocation for PORTC of XMEGA E5 chips in the SD Card library
    • Updated the SD Card library to be compatible with XMEGA E5 chips
    • Added SD Card example for the ATxmega32E5 chip
  • CodeWizardAVR
    • Added support for the XMEGA E5 chips timer/counters TC4 and TC5
    • Improved the code generated for XMEGA chips that have only one ADC channel
    • Improved the code generated by the wizard for XMEGA E5 chips SPI initialization
    • Improved the code generated by the wizard for XMEGA ADC initialization
    • Improved the code generated by the wizard for XMEGA ADC offset compensation in unsigned conversion mode
    • Improved the code generated by the wizard for XMEGA RTC/RTC32 initialization
    • Added the possibility for XMEGA chips, to specify the phase for channels B, C, D outputs in timer frequency generation mode
    • Fixed: ADC configuration settings were not fully read from the CodeWizardAVR .cwp project file
    • Fixed the code generated for the ATtiny2313/4313 watchdog initialization
    • Fixed: Timer/Counter for PORTE doesn't have the Advanced Waveform Extension for the XMEGA D3 and D4 chips
    • Fixed: the XMEGA E5 chips don't have an USB controller, so there should not be any 'USB start of frame' calibration option for the 32MHz internal oscillator
    • Fixed: MOSI and SCK SPI signals allocation for PORTC of XMEGA E5 chips
    • Corrected the code generated for XMEGA E5 chips ADC reference selection
    • Removed DAC reference selection for PORTD for XMEGA E5 chips
    • Fixed: the CodeWizard didn't allow to select the DAC output as source for the analog comparator's inputs for the XMEGA AU and E5 chips
    • Fixed: ADC noise reduction code generated for the ATtiny828 chip didn't use the __sm_adc_noise_red bit
  • CodeVisionAVR Chip Programmer
    • Improved error reporting for chip signature mismatch when using the ATPROGRAM.EXE command line utility suplied with Atmel Studio
    • Enabled PDI programming using AVR Dragon for the XMEGA B1, B3, A1U, A3U, D3, D4 and E5 chips
    • Enabled ATmega8 programming for JTAGICE and AVR Dragon in Atmel Studio 6.1 SP2 or later
    • Fixed: STK600 supports only PDI programming for the XMEGA D3, D4 and E5 chips
    • Fixed: JTAGICE supports only PDI programming for the XMEGA D3 chips
    • Updated the BODLEVEL voltage values for the XMEGA B, C, D, E chips
  • Atmel Studio Extension
    • Added compatibility with Atmel Studio 6.2
  • LCD Vision (Advanced License only)
    • Added the possibility to import Chinese, Japanese, Korean fonts 
V3.08 Commercial Release (7 November 2014)
  • Compiler
    • Added support for the ILI9340, ILI9341 colour TFT LCD controllers
    • Added support for the ST7567 graphic LCD controller
    • Improved the generated code for functions returning structures or unions
    • Improved the TWI library for XMEGA chips for better handling recovery after an I2C bus conflict
    • Fixed in the TWI library for non-XMEGA chips: matching any address for slave mode operation was not working
    • Added the missing ADC_CH_MUXPOS_PIN8_gc...ADC_CH_MUXPOS_PIN11_gc members of theADC_CH_MUXPOS_enum in the xmbits_a1.h, xmbits_a3.h, xmbits_a4.h and  xmbits_a3b.h header file
  • CodeWizardAVR
    • Improved the code generated for the XMEGA E5 ADC and Watchdog timer
    • Fixed the code generated by the wizard for initializing the XMEGA E5 OSC.DFLLCTRL register when using the internal 32MHz oscillator, calibrated by the internal 32kHz oscillator
    • Fixed: the VBAT.STATUS status bit BBBODF was not cleared if the Battery Backup System had a failure, in the code generated by the wizard for the  rtc32_battery_backup_init function, used to initialize the RTC32 peripheral for  the ATxmega256A3B chip
  • CodeVisionAVR IDE
    • Fixed: the SD card library configuration settings were reset when the active Build configuration was changed in theProject|Configure|C Compiler|Code Generation menu
  • Atmel Studio Extension
    • The CodeVisionAVR installer applies to Atmel Studio 6.1 SP2 a patch (supplied by Atmel) in order to correct some issues in watching variables during debugging of COFF object files
    • Fixed: the SD card library configuration settings were reset when the active Build configuration was changed in theProject|Configure|C Compiler|Code Generation menu.
V3.07 Commercial Release (10 October 2013)
  • Compiler
    • Added the ATxmega192C3 chip
    • Added support for the SSD1322 graphic OLED display controller
    • Improved the code size of the SSD1963 library
    • Fixed an error in the SSD1963 library which lead to incorrect glcd_block function display for left >= 256 and 256 colour mode
    • Improved the resistive touchscreen library so that it can handle displays with 800x480 pixels
    • Increased the maximum symbol name length from 64 to 80 characters
    • Removed the warning "Expression with possibly no effect" for: (void) (expr)
    • Improved error reporting
    • Fixed: incorrect union initialization for the example below:

     

      typedef union

      {

      long l;

      char c;

      } utest;

     

      utest test={.c='A'};   // didn't initialize correctly

      utest test={.l=12345}; // initialized correctly

      utest test={12345};    // initialized correctly

     

    • CodeWizardAVR
      • Fixed: for XMEGA D4 chips ports B and E have only 4 pins
      • Fixed: incorrect code was generated for initializing the Timer/Counter CTRLE register, when operating the timer in 8-bit mode for the XMEGA D chips
      • Fixed: the wizard failed to initialize the PCMSK0 register for the ATtiny261/461/861 chips
    • CodeVisionAVR IDE
      • Added the possibility to upload the executable program to an Arduino compatible development board after a successful Buildor using the Tools menu
      • In the project configuration, selecting the input files didn't work correctly when using the keyboard to select the file in the tree. Mouse selection however worked properly.
    • Atmel Studio Extension
      • Added the possibility to upload the executable program to an Arduino compatible development board after a successful Buildor using the Tools menu
      • Fixed: incorrect project file structure was displayed in the Project|Configure menu when the CodeVisionAVR project .prj file wasn't in the same directory as the Atmel Studio solution .atsln file
      • Fixed: the extension didn't report the linker warnings and errors.
V3.06 Commercial Release (22 August 2013)
  • Compiler
    • Enhanced the code optimizer
    • Added support for the ATmega64RFR2, ATmega128RFR2 and ATmega256RFR2 chips
    • Added the possibility to display the Function Call Tree in the Atmel Studio, for maximal data stack usage estimation
    • Made various small bug fixes and improvements in the Atmel Studio extension
    • Added the possibility to define additional global macros from the command line
    • Updated the definitions of the DTPS1DT1A and DT1B registers in tiny25.h,  tiny45.h and tiny85.h header files, in order to comply with the latest datasheet
    • Updated the header files for the XMEGA A1U, A3U, A3BU, A4U, B1, B3, D3 devices
    • Updated the XMEGA EBI SDRAM example program.
  • CodeWizardAVR
    • Added support for the ATmega64RFR2, ATmega128RFR2 and ATmega256RFR2 chips
    • Updated the ADC code generated for the ATmega128RFA1 chip
    • Updated the code generated for the ATtiny1634 CLKSR register. Added the possibility to enable system clock output on theCLKO pin.
    • Improved the generated code for buffered interrupt driven serial communication, when the buffer size is set to 256 bytes
    • Fixed generated code for initializing the Timer/Counter CTRLE register, when operating the timer in 8-bit mode for the XMEGA AU, B and C chips
    • Fixed generated code for the PORTCFG.CLKEVOUT register of the XMEGA A chips
    • Fixed generated code for the PORTCFG.EVOUT register of XMEGA B1, B3 chips
    • Fixed: It was impossible to edit some values, using the backspace key, in the CodeWizardAVR text and spin edit controls when invoking the wizard from the Atmel Studio 6.1 Tools menu.
  • Chip Programmer
    • For modern AVR chips, the signature checking is now performed before erasing the chip.  For obsolete AT90S chips, this was not possible, if the lock bits were programmed to protect the FLASH.


  • Model: CV


Copyright © 2014 CodeVisionAVR and X-Graph.