November 07, 2024, 09:02:25 PM

PIC32-HMZ144 Harmony BSP

Started by ScottSD, April 05, 2017, 10:26:59 PM

Previous topic - Next topic

ScottSD

Hello,

I am new to the forum. I received an Olimex PIC32-HMZ144 from a display vendor with some experimental code on it. I've been able to write new display code and program the PIC32MZ on it, but noticed there is not a BSP (board support package) for this Olimex board listed in the Microchip Harmony Configurator.

What is the best way to create a Harmony config for the Olimex board without there being a BSP for it?

Any input you can offer is appreciated.

kyrk.5

I think your question can be split up in two questions:
- How it is possible to create a config for *any* given board in Harmony? => This question you should place on some Microchip forum. Or try to google topics like this
- Have anybody done this already for this olimex board => I guess with this question you are on the right place, but I fear the answer will be no. Mostly because I guess lot of embedded developers will use either self developed drivers or 3rd party purchased software, where also support is included. So there is no real need for Harmony. But who knows... Maybe somebody did it already...


LubOlimex

Hello,

The official demo for PIC32-HMZ144 can be used with Harmony configurator already. Please download this archive: https://www.olimex.com/Products/PIC/Development/PIC32-HMZ144/resources/PIC32_HMZ144_demo.zip and read the text file inside that is called "README-FIRST.txt". The important parts are:

1. Use the same version of Harmony as we used (v1.06.01)

2. Place the project in a specific folder:

"
Microchip Harmony Configurator (MHC) requires all *.configs available in order to be initialized. But having all of them in the project would make the archive too big. So in the archive are left only the libraries that are necessary for rebuilding. So if you want to change the configurations from MHC you have to copy the project inside the Microchip harmony directory "..\apps\usb\device\" and then open the MHC from MPLABX.
"

Best regards,
Lub/OLIMEX

Technical support and documentation manager at Olimex

tancioste

#3
Hi All,
I've just received a brand new Olimex PIC32-HMZ board.
I'm using the latest harmony release (2_05_01) and I create a new BSP config.
I just want to share these files with you.
A good getting started page could be this post:
http://michaelwieckowski.com/creating-a-custom-board-support-package-bsp-for-harmony-2-04/
I create a ZIP file, inside it you will find:
- A new "DS60001320.hconfig" to be used instead of the original one (C:\microchip\harmony\v2_05_01\bsp\config\DS60001320.hconfig)
- A folder "pic32_hmz144". Just copy this folder in the BSP folder (C:\microchip\harmony\v2_05_01\bsp\)
Restart MPLAB IDe and you are done.

Download ZIP file:
https://mega.nz/#!qVoj0KKK!2MinP0q_tWuddKDHKaO5og73cKpC1lNzlhN4dxdd9KM

You'll find a new BSP board "Olimex pic32_hmz144". I also added the possbility to use (and autoconfig) the UEXT PINS. If you select "PINS Configurations for UEXT port" all the UEXT port PINS will be selected and configured automatically.
Now...anyone knows How Attach a file to this post? I can't find any attach option...


Stefano

LubOlimex

Hey Stefano,

Thank you for the effort and the contribution.

QuoteNow...anyone knows How Attach a file to this post?

There is no such option in the forums. If you wish to share a file, you need to host it elsewhere and provide a link here.
Technical support and documentation manager at Olimex

tancioste

Quote from: LubOlimex on February 05, 2018, 09:27:29 AM
Hey Stefano,

Thank you for the effort and the contribution.

QuoteNow...anyone knows How Attach a file to this post?

There is no such option in the forums. If you wish to share a file, you need to host it elsewhere and provide a link here.

Thank you, I've added the download link to my previus post.
https://mega.nz/#!qVoj0KKK!2MinP0q_tWuddKDHKaO5og73cKpC1lNzlhN4dxdd9KM

carlos789

Hello :
I am a new user of this board, I am a professor at a University in Argentina and we want to use the PIC32 HMZ144 board in a Digital Chair. Someone could upload the Harmony project again with a dedicated BSP, from the link https://mega.nz/#!qVoj0KKK!2MinP0q_tWuddKDHKaO5og73cKpC1lNzlhN4dxdd9KM, which doesn't work. I have the DEMO-V3 project from
OLIMEX, but when compiling it generates a lot of errors.

Thank you very much and greetings
Carlos