element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • 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
Moto Mods
  • Products
  • Manufacturers
  • Moto Mods
  • More
  • Cancel
Moto Mods
Blog Moto Mods Developer Part 11 - Load newly created Nuttx Firmware onto Reference Board
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Moto Mods to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Catwell
  • Date Created: 7 Jun 2017 3:34 PM Date Created
  • Views 10010 views
  • Likes 0 likes
  • Comments 2 comments
  • developer
  • moto-z
  • diy
  • motorola
  • cabeatwell
  • moto mods
  • university
  • motomods
  • innovation
Related
Recommended

Moto Mods Developer Part 11 - Load newly created Nuttx Firmware onto Reference Board

Catwell
Catwell
7 Jun 2017

Index of the Moto Mods Developer project:

Moto Mods Developer Part 1 - Getting Started - Virtual Machine Setup and Linux Install

Moto Mods Developer Part 2 - Getting Started - SDK Setup & Android Studio Install

Moto Mods Developer Part 3 - Firmware Setup

Moto Mods Developer Part 4 - Getting Started - Make Build-Folder, add Utility and OS files

Moto Mods Developer Part 5 - Flashing Firmware with MDK Utility

Moto Mods Developer Part 6 - Blinking an LED on the Moto Mods Perfboard

Moto Mods Developer Part 7 - Modifying the C file for the perfboard LED

Moto Mods Developer Part 8 - Configure Nuttx

Moto Mods Developer Part 9 - Updating the Hardware Manifests file

Moto Mods Developer Part 10 - Cont’d Configure and Compile Nuttx

Moto Mods Developer Part 11 - Load newly created Nuttx Firmware onto Reference Board

Moto Mods Developer Part 12 - Soldering the Test Points to use the perfboard

Moto Mods Developer Part 13 - Making custom App to control the Firmware

 

 

 

With your Moto Z Droid plugged in and on file transfer mode, Navigate to the second nuttx folder, right click and ‘Copy To…’

 

image

 

image

 

Select phone name and save it in the Phone’s Downloads folder

 

image

 

On the phone, launch MDK Utility app.

In Developer Mode, Select files→ nuttx.tftf

 

imageimageimage

 

Hit “PERFORM UPDATE”

If prompted, click continue.

 

The firmware name will show “MDK-RAWBLINKY” as we named in the Hardware Manifests file.

 

NOTE: For some reason the MDK Utility app from the app store doesn’t let you switch back to “SET MODE” once your custom firmware is loaded. The only way to use the “MDK LED Light” switch in the app is to be in SET MODE. The switch is always greyed out in DEVELOPER MODE.

 

The way around this: On github, in the MotorolaMobilityLLC repository, there is an mdkutility which is a different version that does not have modes in its APK. Download and install this APK. Load the “MDK-RAWBLINKY” firmware with the app store version of MDK Utility. Then switch to the repository APK. This will allow you to use the “MDK LED Light” switch with your custom firmware. Now the firmware should blink the LED soldered to the test point PG10. Turning the switch ON will start the blinking.

 

image

 

There you go….success. Custom blinky firmware using Moto Mods with perfboard.

 

Blink.jpg

  • Sign in to reply
  • Catwell
    Catwell over 8 years ago in reply to danchaofan

    Robin,

     

    See Part 5 on loading firmware with the MDK.

     

    Also, I learned from Motorola's MDK site. I don't have the phone anymore, to be honest. So, what I posted here is all I have left.

     

    C

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • danchaofan
    danchaofan over 8 years ago

    I just follow the instructions and tried to load the firmware using the MDK Utility. Then I got an error like this "Firmware update failed:-EINVAL". I re-tried several times but no work. Do you have any suggestions about this.

    • 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