Abstract
This article continues the introduction of an ultra low power, feature rich microcontroller module and explains how to program and debug it using popular, free of charge tools. Unlike many other high end microcontroller modules, this one is available in a DIP footprint, allowing easy prototyping for professional engineers and hobbyists alike. While Part 1 describes how to create a project in Eclipse, Part 2 describes how to configure Eclipse to work with the PICO.
Reconfiguring Eclipse to Work with the PICO Hardware
The project created in Part 1 was designed around the MAX32625EVKIT hardware, which is different from the PICO hard- ware, so the file describing the hardware on the EV kit needs to be changed to reflect the hardware on the PICO. The original boards.c file is stored in: C:\Maxim\Firmware\MAX32625\Libraries\Boards\EvKit_V1\ Source and the new boards.c file for the PICO is stored in the zip file, which can be downloaded using the link at the end of this article. Copy the whole Boards directory from the zip file into the directory where the main program is saved as shown in Figure 1. This directory describes the components included in the PICO PCB.

The PICO contains a bootloader to enable the program to be run. The bootloader also allows the binary file to be loaded using drag and drop. Eclipse will overwrite this bootloader if the program is loaded into the MAX32625 with the default settings. The linker file, called max32625.ld, brings all the programs together into a binary file to be loaded into the host microcontroller. It also determines which part of memory the program is loaded into and this needs to be modified so as not to overwrite the bootloader. The modified linker file is contained in the downloaded zip file.