Maxim Integrated MAXQ2000 Getting Started Download Page 5

and you will be asked to name a directory on your PC to which these files will be copied. In this case the files
were copied to directory C:\MAXQ2000USBKIT\Example Code, but it can be any location you choose.

Hardware Setup

The hardware of the MAXQ2000 USB EV kit is very straight-forward; it has no jumpers or other hardware
configuration settings. Schematics for the EV kit board are provided on the included USB flash drive
(Documentation button). By examining the schematics, one can see that there are very few components on
the board.

The board contains three indicator LEDs: D1, D2, and D3. LED D1 emits green light and is a power indicator.
It will be illuminated whenever the board is receiving power from the USB port. LED D3 emits red light and is
illuminated when there is communication over the USB port. LED D2 emits green light and is connected to
port pin P3.7 through a current-limiting resistor to the board's 3.3V power supply. LED D2 can be illuminated
by setting this port pin to a logic zero with software.

All power for the board is provided through the USB connector. The USB-to-serial chip (FT232R) regulates
the 5V input power to 3.3V for the other circuitry on the board. A separate low-drop-out regulator, U3,
provides a 2.5V supply used exclusively by the MAXQ2000 microcontrollers, U1 and U5. Microcontroller U1 is
a dedicated controller programmed to perform serial-to-JTAG conversion. Microcontroller U5 is the general-
purpose device; it is loaded with and executes the user's application code. Both microcontrollers operate from
a 12MHz clock supplied from the FT232R device. For this clock to be available, the USB connector on the kit
must be connected to a powered (nonsuspended) USB host.

Loading the Executable File

There are several ways that an executable program file can be loaded into and run by the MAXQ2000 EV kit
board. For instance, one can load a .HEX-formatted file using the Microcontroller Tool Kit (MTK) available on
the provided USB flash drive or 

downloaded

 from the Maxim website. However for this application note, we

will use MAX-IDE to load the program into the kit board. To load the temperature example, follow the steps
below.

If it is not already connected, plug the EV kit into an open USB socket on your PC. The power LED D1
will illuminate. LED D3 will flash a few times and stop to indicate a burst of activity on the USB bus.
If the MAX-IDE program is not already running, start it by selecting Start 

 All Programs 

 MAX-IDE 

 MAX-IDE. You can also locate the MAX-IDE icon and click on it.

If you have not already done so, set the Device Options as described in the 

Installing the MAX-IDE

section above.
Now select Project 

 Open Project, and navigate to the directory where the assembly-language

temperature example program was copied (e.g., C:\MAXQ2000USBKIT\MAX-IDE\Temperature). Select
the 2000test.prj file, and click OPEN.

The MAX-IDE will open the project and load the assembly-language source file (2000test.asm) into the
display window (

Figure 5

). By opening the project, MAX-IDE will establish communications with the EV kit as

verified by the messages at the bottom of the screen. However, the MAX-IDE will not actually be loaded into
the kit until the program is executed. Make sure that the board is plugged into an active USB port prior to
opening the project. Otherwise, you will have to wait a relatively long timeout period before the program
decides that it cannot talk to the kit.

Page 5 of 9

Summary of Contents for MAXQ2000

Page 1: ...isplay ambient temperature is provided Overview The MAXQ2000 USB Thumb Evaluation Kit is a proven platform for conveniently evaluating the MAXQ2000 RISC microcontroller The evaluation EV kit board is a small thumb drive form factor with a USB interface Figure 1 By installing the MAX IDE assembly language Integrated Development Environment on a connected computer applications can be developed and d...

Page 2: ...The autorun function stored on the stick may cause the setup program to run automatically depending on your operating system and its settings If the program does not start automatically explore the drive and double click the Setup exe file in the root directory This will bring up the MAXQ2000 EV kit main menu shown in Figure 2 Click on the USB Serial Drivers button at the right of the screen This ...

Page 3: ...must be configured to use this COM port This configuration process is described in more detail below For now simply record the COM port assignment for later configuration Installing the MAX IDE The MAX IDE program is a full featured application development and debugging environment for MAXQ microcontrollers It works with all MAXQ EV kits and provides the following features Project based developmen...

Page 4: ... COM4 This would also be a good time to check the Device Configuration File and the Desired JTAG Clock Frequency kHz set them to the values shown if they do not appear already Figure 4 Configuring the options for the MAX IDE Example Program There are several MAXQ2000 example applications provided on the USB flash drive in the folder examples One of these example programs is written in MAXQ assembl...

Page 5: ... available the USB connector on the kit must be connected to a powered nonsuspended USB host Loading the Executable File There are several ways that an executable program file can be loaded into and run by the MAXQ2000 EV kit board For instance one can load a HEX formatted file using the Microcontroller Tool Kit MTK available on the provided USB flash drive or downloaded from the Maxim website How...

Page 6: ...ar with the MAX IDE s capabilities this would be a good time to go exploring You can pause the program by clicking the pause button to the right of the run button Figure 6 Activating the pause button will cause several things to occur The MAX_IDE will halt the program and place a highlight bar over the next line of code to be executed Figure 7 The register contents shown in the table at the right ...

Page 7: ...an be found in the MAXQ Development Tools Guide available from Maxim PDF 864KB C Code Examples There are two other example programs contained on the USB flash drive Countdown and Temperature both contained under the Examples IAR subdirectory on the Flash drive The Countdown program uses an internal timer to generate a 1s interval to count down from an initial value The count is displayed on the LC...

Page 8: ...latform for conveniently evaluating the MAXQ2000 RISC microcontroller The board is a small thumb drive form factor with a USB interface The EV kit includes a USB flash drive memory device containing the MAX IDE With MAX IDE and the kit board the user can develop and debug applications for the MAXQ2000 RISC microcontroller Several example programs and an evaluation copy of the IAR C compiler and to...

Page 9: ...APPLICATION NOTE 4277 AN4277 AN 4277 APP4277 Appnote4277 Appnote 4277 2013 Maxim Integrated Products Inc Additional Legal Notices http www maximintegrated com legal Page 9 of 9 ...

Reviews: