element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Embedded and Microcontrollers
  • Technologies
  • More
Embedded and Microcontrollers
Blog MAX32660 Evaluation Kit - part 1: IDE install and Build First Example
  • Blog
  • Forum
  • Documents
  • Quiz
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Embedded and Microcontrollers to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Jan Cumps
  • Date Created: 9 Dec 2018 5:04 PM Date Created
  • Views 5156 views
  • Likes 7 likes
  • Comments 13 comments
  • RoadTest
  • max32660
  • maxim
  • road_test
Related
Recommended

MAX32660 Evaluation Kit - part 1: IDE install and Build First Example

Jan Cumps
Jan Cumps
9 Dec 2018

I'm road testing the  Ultra-Low Power Arm Cortex-M4 Darwin MCU EVM.

In this blog post (I don't have the hardware yet): Trying if I can use Maxim's Eclipse bundle.

image

Maxim hasn't altered Eclipse, but they provide an install that sets up a fully working environment with debugger and examples.

Here's my real-time blog about the first experience.

 

 

Eclipse as IDE

 

The Maxim Webinar: What Can You Do With the World’s Smallest ArmRegistered CortexRegistered M4 with FPU Microcontroller?  discusses mbed (on- and offline), Arduino and Eclipse as the three free environments of choice.

I prefer to have an IDE with fully integrated build and debug functionality (and with version control integration). For me personally, Eclipse is way ahead of the two others on those fronts.

 

image

source: element14 webinar

 

The controller's homepage has a link  to the toolchain installer, for Windows and Linux..

That installs (I tested the Windows version) Eclipse, the GDB OpenOCD debug plug-in (what a great open source development !!),

USB driver, compiler chain (with MiniGW supporting the build).

And it installs firmware libs, example projects and documentations for our microcontroller.

 

Once installed, everything works out of the box - just execute eclipse.bat, not eclipse.exe.

The install is so kind to not put any of the modules in your standard path (thank you Maxim !!) .

The batch file takes care that the environment (e.g. MiniGW) is configured before Eclipse starts.

(it would be good if Maxim documented that in the Eclipse Quick Start guide - it prevents compilation errors).

The overall experience is perfect. Installation works as it should.

After importing the first two examples - one bare metal, one with FreeRTOS - they both compiled without errors and warnings.

I used the instructions for another controller in the family.

 

Examples

 

Maxim has a set of examples for this controller. Most of them show how the peripherals work. Very practical, and I'll review them.

But they should 'just work as per spec'.

 

More interesting are the low power example and the RTOS project.

These two can reveal how the device compares to others out there - in the same low power niche.

I'll also focus on the DMA, Real Time Clock and watchdog examples because they are device specific.

 

Out of curiosity, I'd also like to investigate the 'Instruction Cache' example.

I've seen the option with other controllers.

But I never saw an example that compares execution times on an ARM controller with instruction cached enabled vs disabled.

 

image

 

A little gripe: when you add new source files or folders to the project, you have to edit the Makefile.

This is not Eclipse-like. You are expected to just add sources and source folders and everything works automatically. You can use the exclude option to  not add files to a build.

Other manufacturers that have an Eclipse flavour comply with that natural Eclipse use.

 

image

It's not a big deal but it's a hurdle.

It makes the learning ramp unnecessary steeper if you haven't stumbled on this comment (written for another device, not available from the MAX32660 homepage).

 

edit: one example - Instruction Cache Example - fails to compile, because the icc.h file is missing.

I'll try to find out why ...

 

Summary

 

This first review, checking out the software, is a positive experience.

The "Hello World!" example build finished without errors - a relief for any reviewer. That sets the expectations for the real work...

 

edit: I have now received the device and the first debug session worked perfect too. See the comments below.

 

 

 

Some notes to myself for further activities

first review the low power example in depth, with debugger, and then without debugger and with power measurements

Then make the DSP example that my friend martinvalencia and I ported to other controllers before. The MAX32660 explicitly positions itself as a DSP capable device.

 

 

part 1: IDE install and Build First Example
part 2: Mod the PCB for Power Measurement
part 3: Power Measurement
part 4a: Low Power Sensor design - Barometer Hardware
part 4b: Low Power Sensor design - Barometer i2c and Init
part 4c: Low Power Sensor design - Barometer, Not Yet Power Optimised
MAX32660 Evaluation Kit - part 5: FreeRTOS Example
side note A: C++ Eclipse Project
side note B: Create a Release Configuration
  • Sign in to reply

Top Comments

  • Jan Cumps
    Jan Cumps over 6 years ago in reply to Jan Cumps +3
    If you follow these instructions , you can add the terminal functionality in the Eclipse installation of Maxim.
  • Jan Cumps
    Jan Cumps over 6 years ago +2
    One of the projects, the Instruction Cache Example, fails to build in the Maxim's toolchain. The header fie icc.h is mising. I found one on github for another controller (part of the mbed-os part of their…
  • DAB
    DAB over 6 years ago +2
    Good start Jan. DAB
  • ramkoppu
    ramkoppu over 4 years ago in reply to colporteur

    Sorry for the typo in my last comment. I was saying I could not find maximum document which has vector table details similar to STM32 reference manual. Do you know any such document for MAX32660?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • colporteur
    colporteur over 4 years ago

    I like your approach to the RoadTest. Looking forward to follow-up.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • ramkoppu
    ramkoppu over 4 years ago

    Hi,

    I could find reference manual similar to STM32 which usally contains Vector table and individual peripheral register mapping. Does Maximum similar document for this device?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • dtquang
    dtquang over 6 years ago

    Hi,

     

    I am trying to work with the MAX32660 EVSYS. Unfortunately, I am unable to getting into the debugging session.

     

    I got the error with the when trying to connect to GDB server.

     

    localhost:3333: Operation timed out.

     

    What could be the problem? Or do I brick the EVKit?

     

    Can you please give me some advice?

     

    Thank you for your help.

    Quang.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Jan Cumps
    Jan Cumps over 6 years ago in reply to Jan Cumps

    I got reply from tech support Maxim. My support ticket will be handled after new year.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube