This section describes how to compile and load the code using one of the compiler supported.
This software was written for the GNU GCC and IAR Systems compiler for 32-bit AVR Microcontrollers. Other compilers may or may not work.
- See also AVR32709: AVR32 UC3 Audio Decoder Over USB application note
- Plug the USB power cable on evaluation kit.
- Make sure the Power LED is on.
Stand-alone GCC + JTAG
- The GNU Toolchain for 32-bit AVR Microcontrollers must be preliminary installed.
- Plug the JTAGICE mkII between the PC and the EVK using the JTAG connector.
- Open a shell.
- Go to the /applications/uc3-audio-player/[...]/gcc/ directory and type:
`make rebuild program run'
Stand-alone GCC + USB DFU BOOTLOADER
- The GNU Toolchain for 32-bit AVR Microcontrollers must be preliminary installed.
- Make sure the USB power cable is plugged on the left USB port of the board (USB USER).
- Open a shell.
- Go to the /applications/uc3-audio-player/[...]/gcc/ directory and type:
`make rebuild isp program run'
AVR32Studio
- See "AVR32769: How to Compile the standalone AVR32 Software Framework in AVR32 Studio V2".
IAR + JTAG
- Make sure you have the latest `IAR for 32-bit AVR Microcontrollers' installed on your PC.
- Plug the JTAGICE mkII between the PC and the EVK using the JTAG connector.
- Open `IAR for 32-bit AVR Microcontrollers' and load the associated IAR project of this application (located in the director /applications/uc3-audio-player/[...]/iar/).
- Press the `Debug' button at the top right of the IAR interface.
- The project should compile. Then the generated binary file is downloaded to the target to finally switch to the debug mode.
- Click on the `Go' button in the `Debug' menu or press F5.