Arduino Core for Maxim's MAX326xx series based Boards
Arduino support package to program Maxim boards.
See the wiki page for additional details about the specific boards and
some minor differences in the implementation of the Arduino APIs.
Setup Maxim board support in the Arduino Environment
NOTE: If you already have latest version of Arduino installed on your computer, skip step 1 and 2.
Verify the setup
- Download latest version and install the Arduino IDE for Windows, Linux or Mac OS.
- Open the Arduino IDE.
- For Windows, and Linux, go to File->Preferences. For Mac OS, go to Arduino->Preferences.
- In the Dialog box, locate Additional Boards Manager URLs field, paste the following URL and click OK.
- Go to Tools->Board->Boards Manager...
- In the search field, type "maxim".
- Select Maxim's 32-bit Microcontroller and click Install.
- Once the installation is completed, close the Boards Manager.
- Go to Tools->Board. In the section Maxim ARM (32-bit) Boards, select your board from list of Supported Boards.
- Plug in your board and under Tools->Port select the appropriate serial port for your board.
- Go to Tools->Programmer and select DAPLink.
- In the Arduino IDE, go to File->Examples->01.Basics->Blink.
- Click the Verify button or go to Sketch->Verify/Compile.
- Prepare board for programming:
- using USB bootloader: Connect the target to host with micro USB cable. Press and hold the Boot button (alternately know as GPIO button), then press and release the Reset button. Once the LED turns on, release the Boot button.
- using MAXDAP adapter: Connect MAXDAP adapter to target board with ribbon cable and then connect micro USB cables to both the boards.
- Click the Upload button or go to Sketch->Upload.(Requires USB Write access; For details read MAXDAP.)
- If you are using the USB bootloader, the target will reset itself and start running the application code. If you are using a MAXDAP adapter, you must press the Reset button to run.
- MAXDAP is backward compatible, customized extension of the DAPLink open-source project created by ARM. It provides the standard CMSIS-DAP debugging interface along with a USB CDC UART and USB MSC drag-n-drop programming.
- The drag-n-drop programming interface looks like a USB drive so that no drivers or software are required. You need to have permission to write to a USB storage device in order to use the drag-n-drop programming function.