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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • 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
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • 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
Smart Security and Surveillance
  • Challenges & Projects
  • Design Challenges
  • Smart Security and Surveillance
  • More
  • Cancel
Smart Security and Surveillance
Forum Forum Thread 2 EchoGuard – MAX32630FTHR Setup & First Blink Program Upload
  • News
  • Projects
  • Forum
  • DC
  • Leaderboard
  • Files
  • Members
  • More
  • Cancel
  • New
Join Smart Security and Surveillance to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 2 replies
  • Subscribers 46 subscribers
  • Views 122 views
  • Users 0 members are here
Related

Forum Thread 2 EchoGuard – MAX32630FTHR Setup & First Blink Program Upload

Nidhee
Nidhee 25 days ago

Electric plug Hardware Setup & First Code Upload

 Connecting the Boards

image

To begin the setup:

  • The MAX32625PICO is connected to the Analog Devices MAX32630FTHR using the provided socket-to-socket connector cable
  • Both boards are then connected to the computer using USB cables (included in the kit)

 This setup allows the PICO board to act as a programmer for the main board.


Gear️ Development Environment Setup

Setting up the software environment can be a bit confusing, as most available tutorials are quite old. So here is a simple and working method.


Step 1: Install VS Code

imageimage

  • Install Visual Studio Code (if not already installed). Link : https://code.visualstudio.com/Download

Step 2: Install PlatformIO

image

  • Go to Extensions in VS Code
  • Search for PlatformIO IDE
  • Install it

 What is PlatformIO?
PlatformIO is an extension that makes it easy to develop, build, and upload code to embedded boards. It manages libraries, toolchains, and programming automatically.

You can see that I have already installed it.

Warning️ After installation, restart VS Code.


Step 3: Create New Project

imageimage

  • Click on the alien icon Alien (PlatformIO) on the left
  • Click New Project

Fill details:

  • Project Name: max32630_test
  • Board: Maxim MAX32630FTHR Application Platform
  • Framework: Mbed

Click Finish and wait for setup.


Step 4: Create Main Code File

image

  • Open src folder
  • Create new file → main.cpp

Paste this test code:

#include "mbed.h"

// onboard LED
DigitalOut led(LED1);

int main() {
while (true) {
led = !led;
ThisThread::sleep_for(500ms);
}
}

Warning️ Important Setup (OpenOCD)

To upload code properly, we need OpenOCD.


 Step 5: Download OpenOCD

  • Download from:
     https://gnutoolchains.com/arm-eabi/openocd/
  • Download the latest .7z file
  • Extract it to C:\

imageimage

Make sure folder contains:

  • bin
  • drivers
  • share

Step 6: Find Target Config

Go to:

share → openocd → scripts → target

image

Find file:

  • max32630.cfg OR
  • max3263x.cfg

 Remember this name


 Step 7: Update platformio.ini

image

Add these lines:

upload_protocol = custom
upload_command = C:\openocd-20251211\OpenOCD-20251211-0.12.0\bin\openocd.exe -s C:\openocd-20251211\OpenOCD-20251211-0.12.0\share\openocd\scripts -f interface/cmsis-dap.cfg -f target/max3263x.cfg -c "program .pio/build/max32630fthr/firmware.elf verify reset exit"

debug_tool = cmsis-dap

 Save the file


Step 8: Build & Upload

image

  • Click Heavy check mark (Build) at bottom
  • Wait for “Build Success”
  • Then click → (Upload)

Warning️ Important:

  • Always Save → Build → Upload
  • Do NOT upload directly

Upload Indicator (Important Observation)

image

During the upload process:

 The MAX32625PICO board starts blinking a green LED

This indicates:

  • Code is being transferred
  • Communication between PC and main board is active

This is a useful visual confirmation that the upload process is working correctly.


 Result

image

If the video does not play here, you can watch it directly using the link below.

https://drive.google.com/file/d/1YMvs5PkrrpxZdh-ltdrRpU_LBdpHd_BW/view?usp=sharing

After uploading:

To demonstrate this, I changed the timing to 0.5 seconds.

The onboard LED on the Analog Devices MAX32630FTHR starts blinking
 This confirms:

  • Board is working
  • Code is running
  • Setup is successful

 Next Step

In the next update, I will:

  • Connect the microphone module
  • Start reading real-time sound signals
  • Begin implementing sound-based detection 

If there is a simpler or more efficient setup method, feel free to share your suggestions.

  • Sign in to reply
  • Cancel

Top Replies

  • Nidhee
    Nidhee 24 days ago in reply to saramic +2
    Ah nice, appreciate the ffmpeg commands — super helpful. Thank you so much
  • saramic
    saramic 25 days ago

    nice write up - I wander if an animated gif uploads better to the platform?

    image

    if curious, assuming you have ffmpeg installed

    # generate a pallete for good colour selection
    ffmpeg -y -t 10 -i Video.mp4 -vf \
        fps=10,scale=320:-1:flags=lanczos,palettegen ~/palette.png
    
    # generate a 7 frame per second 320 scaled animated gif 
    ffmpeg -t 10 -i Video.mp4 -i ~/palette.png \
      -filter_complex "fps=7,scale=320:-1:flags=lanczos[x];[x][1:v]paletteuse" \
      MAX32630FTHR_blink.gif

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Nidhee
    Nidhee 24 days ago in reply to saramic

    Ah nice, appreciate the ffmpeg commands — super helpful. Thank you so much

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • 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 © 2026 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