GithubHelp home page GithubHelp logo

DM990004 works when programmed with .hex through MPLAB IPE, but not when compiled and programmed from source code using MPLAB X about aws-iot-firmware-pic32mz HOT 4 OPEN

microchiptech avatar microchiptech commented on June 28, 2024
DM990004 works when programmed with .hex through MPLAB IPE, but not when compiled and programmed from source code using MPLAB X

from aws-iot-firmware-pic32mz.

Comments (4)

MattStarfield avatar MattStarfield commented on June 28, 2024 1

from aws-iot-firmware-pic32mz.

MattStarfield avatar MattStarfield commented on June 28, 2024

I've come to believe this issue is due to the fact that this src code was developed for Harmony v1.0.9 and is incompatible with Harmony v2.0.4. I think the compile process is missing links to the BSP files included in the src code.

from aws-iot-firmware-pic32mz.

MattStarfield avatar MattStarfield commented on June 28, 2024

@mmbradley - can you weigh in on my suspicion that this src code released Dec 2016 for the DM990004 AWS-IoT-Ethernet dev board may not be compatible out of the box with Harmony v2.0.4? If so, would there be any chance to get some help with a modified src code release that will compile and run with MPLAB X v4.01 and Harmony v2.0.4?

I'm new to the Microchip programming environment and from what I've been reading in the forums, the process to bring code from Harmony v1.x to v2.x is a little more intense than a motivated noob may be able to knock out.

Any help would be greatly appreciated! :)

from aws-iot-firmware-pic32mz.

MattStarfield avatar MattStarfield commented on June 28, 2024

UPDATE (and to answer @JoAnze), the problem was as I suspected - the project was initially built with MPLAB Harmony v1.09, so the Project Properties in MPLAB X all point to a Harmony folder that is no longer readily available and thus MPLAB X can't find the Harmony libraries it needs to compile the source code. You'll need to set the project properties to look for the Harmony libraries in the appropriate folder (not the non-existent Harmony v1.09 folder).

These steps should help out...

  • First, install the latest version of MPLAB X Harmony
  • With the project open in MPLAB X and set as Main Project,
  • Go to File > Project Properties
  • Select "General"
  • In the "Source Folders" section, click the "Add" button
  • Navigate to the install folder for the latest version of Harmony you installed
  • Select folder "..harmony/v1_09" and click the "Remove" button

screenshot_1

from aws-iot-firmware-pic32mz.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.