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
Forum 2-in-1: Moto-Mod doable on OSX (unix) and is there a simple step-by-step?
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Moto Mods to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 3 replies
  • Subscribers 57 subscribers
  • Views 486 views
  • Users 0 members are here
Related

2-in-1: Moto-Mod doable on OSX (unix) and is there a simple step-by-step?

marcuskirsch
marcuskirsch over 8 years ago

I am wondering if the software (SDK?) coudl run on OSX as well via terminal.

More importantly, the guides are quite techie (at least for me). Is there a simple step by step tutorial that has a simpler description?

 

Any help welcome.

  • Sign in to reply
  • Cancel
  • motomodsdev
    0 motomodsdev over 8 years ago

    Are you asking if the firmware development tools work on macOS?

    From an application/firmware standpoint, we do have a step by step for setting up a custom Raw channel.  There are also various examples here, as well as the blog posts here.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • marcuskirsch
    0 marcuskirsch over 8 years ago in reply to motomodsdev

    Yes. I am still going through the requirements list of steps to set up the initial example project.

     

    So far it looks like the Blinky example default installed and I installed the android app.

     

    Question is :

    - do I have to install firmware or is the basic RAW channel pre-installed?

    - can I do this from OSX or is the android app a better solution for simple data exchange setup between the electronics on the dev module and an android app?

     

    Currently I need minimal data transfer I assume would be an UART comms from the microcontroller I am trying t power and make comms on the back to the app.

     

    Does that make sense?

     

    BTW the 'here' link has no link, will check the examples., not sure simple GPIO is enough for my data transfer. Is ther an UART example? I am surpsirsed the examples have different firmware uploads or are they? wouldnt teh firmware compensate for various data channel setups?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • motomodsdev
    0 motomodsdev over 8 years ago in reply to marcuskirsch

    Marcus,

     

    There really isn't a "basic Raw channel" since this is custom for whatever you need.  The Blinky firmware, for instance, uses Raw to pass essentially on/off.  Looking at the termapp example, we're actually using JSON to put some more structure around it and allow sending of commands and GPIO data.  Basically, what you do with Raw is completely up to you.  If you're using Example Mode and Personality Cards, you'll note that different firmware is downloaded as you swap cards (and each has their own application).

     

    We do have OS X instructions that need some verification and documentation, but you can develop and debug your firmware on MacOS.

     

    Given your ask, I definitely recommend looking at the termapp example since this talks/listens to a UART already.  Assuming you're doing custom data, you'll use the Raw channel to transfer data between your Mod and your apk.  Whether this is literal data, or debounced/filtered/fused with other data before transferring to your apk, is up to your design.  For instance, if you were fusing an accelerometer and a gyro, you might perform calculations in the MuC on the Mod and pass up state, rather than every piece of data for your apk to handle. 

     

    "Here" from the previous note linked out just fine for me to: https://developer.motorola.com/build/examples

    As for why we have different firmwares, these are embedded systems with limited RAM and flash.  Unlike Linux which contains the kitchen sink and auto-configures based on discovery, you are designing for a much more constrained environment.  There are certainly mechanisms for more dynamic firmware for instances where maybe you use a different part in different hardware revs.

     

    We hope this helps.  Please let us know if there are further questions.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • 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