Running The Application - Atmel AT32UC3 Series Application Note

Space vector modulation using avr32 uc3 microcontroller
Table of Contents

Advertisement

9. Running the application

9.1
Loading the Code
32094B–AVR32–05/09
The AVR32 UC3 ISP solution offers an easy way to download files into AVR32 products on
Atmel Evaluation Kits through the JTAG link (via the JTAGICE mkII debugger tools) or the USB
bootloader.
Follow the steps below to build the application, load and run the code:
If you are using GCC with the AVR32 GNU Toolchain :
- Make sure the board is powered off.
- Plug power cable on EVK1100 and power it at 12V.
- In case you use a JTAG link:
- Plug the JTAGICE mkII between the PC and the EVK1100 using the JTAG
connector.
- Open a Cygwin or a Linux shell, go to the
CONTORL/AT32UC3A0512ES/GCC
make rebuild program run
- In case you use USB bootloader:
- Plug the USB cable between the PC and the EVK1100 using the USB connector.
- Open a Cygwin or a Linux shell, go to the
CONTORL/AT32UC3A0512ES/GCC
make rebuild isp program run
If you are using AVR32 Studio:
Please follow the UC3 Software Framework procedure in application note AVR32008
If you are using IAR Embedded Workbench for Atmel AVR32:
- Make sure the board is powered off.
- Plug the JTAGICE mkII between the PC and the EVK1100 using the JTAG connector.
- Plug power cable on EVK1100 and power it at 12V.
®
- Open IAR
and load the associated IAR project of this application (located in the directory
EVK110x-MOTOR-CONTORL/AT32UC3A0512ES/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 microcontroller to finally switch
on the debug mode.
- Click on the "Go" button in the "Debug" menu or press F5.
The code then starts running.
APPLICATIONS/EVK110x-MOTOR-
directory and type :
APPLICATIONS/EVK110x-MOTOR-
directory and type :
).
AVR32710
17

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents