• AVR Freaks

Helpful ReplyHot!Learning to use the LCP Curiosity Board DM164137

Page: 12345.. > >> Showing page 1 of 15
Author
Chet
Senior Member
  • Total Posts : 167
  • Reward points : 0
  • Joined: 2020/06/07 12:24:08
  • Location: 0
  • Status: offline
2020/06/19 07:05:44 (permalink)
0

Learning to use the LCP Curiosity Board DM164137

Just bought this board (DM164137) and I am having trouble loading the example files.  I plug in the board and input the data MPLABX asks for and the dashboard in MPLABX-IDE shows a checksum: blank, no code loaded.   The dashboard in the document for this curiosity board shows a checksum: 0 X 6FD5.  Another read me file appears to have the codes in files xxxx.c but only up to a PIC16F18445 and I have a PIC16F446. Besides that I have not yet found how to use the xxx.c files.  Where do I go from here?
#1
katela
Super Member
  • Total Posts : 1833
  • Reward points : 0
  • Joined: 2013/06/11 05:25:18
  • Location: South Africa
  • Status: offline
Re: Learning to use the LCP Curiosity Board DM164137 2020/06/19 07:19:29 (permalink)
0
Did you select the correct PIC that you have on the board in MPLAB X IDE?
You must be specific when you post a question in the forum, no one can see what you are seeing, that's why post the full information, and if possible screenshots of your error messages. Like what file is: xxx.c files ?
You can start with Microchip minutes for step by step how to install the software and blink and LED: https://microchipdeveloper.com/boards:curiosity-videos
 
 

Free online Microcontroller Tutorials and Projects for Hobbyists and students. From beginners to advanced. Website: www.studentcompanion.co.za
YouTube Tutorials: https://www.youtube.com/StudentCompanionSA
#2
Chet
Senior Member
  • Total Posts : 167
  • Reward points : 0
  • Joined: 2020/06/07 12:24:08
  • Location: 0
  • Status: offline
Re: Learning to use the LCP Curiosity Board DM164137 2020/06/19 07:35:40 (permalink)
0
There were no error messages. Having trouble attaching a picture of my dashboard setup.
 
#3
Chet
Senior Member
  • Total Posts : 167
  • Reward points : 0
  • Joined: 2020/06/07 12:24:08
  • Location: 0
  • Status: offline
Re: Learning to use the LCP Curiosity Board DM164137 2020/06/19 07:43:34 (permalink)
0
Here is a picture of my dashboard.

Attachment(s)

Attachments are not available: Download requirements not met
#4
Chet
Senior Member
  • Total Posts : 167
  • Reward points : 0
  • Joined: 2020/06/07 12:24:08
  • Location: 0
  • Status: offline
Re: Learning to use the LCP Curiosity Board DM164137 2020/06/19 07:48:18 (permalink)
0
I am using the MPLABX-IDE file recently downloaded and the XC8 compiler.  The document I referred to on this curiosity board showed a checksum: 0 X 6FD5 on their dashboard and they never mention having to compile anything.  Thanks for your reply.
#5
katela
Super Member
  • Total Posts : 1833
  • Reward points : 0
  • Joined: 2013/06/11 05:25:18
  • Location: South Africa
  • Status: offline
Re: Learning to use the LCP Curiosity Board DM164137 2020/06/19 07:50:42 (permalink)
0
Chet
Just bought this board (DM164137) and I am having trouble loading the example files.  

Which example files you are referring to? And how are you loading them?

Free online Microcontroller Tutorials and Projects for Hobbyists and students. From beginners to advanced. Website: www.studentcompanion.co.za
YouTube Tutorials: https://www.youtube.com/StudentCompanionSA
#6
Chet
Senior Member
  • Total Posts : 167
  • Reward points : 0
  • Joined: 2020/06/07 12:24:08
  • Location: 0
  • Status: offline
Re: Learning to use the LCP Curiosity Board DM164137 2020/06/19 08:05:26 (permalink)
0
Here is attached a copy of the page referring to the examples that should have already been on the chip as I understand the other document that talks about the LPC curiosity board. 

Attachment(s)

Attachments are not available: Download requirements not met
#7
katela
Super Member
  • Total Posts : 1833
  • Reward points : 0
  • Joined: 2013/06/11 05:25:18
  • Location: South Africa
  • Status: offline
Re: Learning to use the LCP Curiosity Board DM164137 2020/06/19 08:20:20 (permalink)
0
Don't always assume, they sometimes release new versions of the same Curiosity, the new version has PK4 programmer unlike the old one, so that document you are referring to was written in 2018, maybe the new Curiosity is shipped with a different PIC then the one used in those examples, I'm not sure.
If you build your code in MPLAB X, you will get the program checksum.
Why are you stressing about the examples that should already be in the chip, while you can simply program your chip with those examples in a few minutes as part of learning?
There are plenty of Curiosity LPC sample projects on Microchip GitHub page or MPLABXpress example page.

Free online Microcontroller Tutorials and Projects for Hobbyists and students. From beginners to advanced. Website: www.studentcompanion.co.za
YouTube Tutorials: https://www.youtube.com/StudentCompanionSA
#8
RISC
Super Member
  • Total Posts : 5776
  • Reward points : 0
  • Status: offline
Re: Learning to use the LCP Curiosity Board DM164137 2020/06/19 08:38:57 (permalink)
0
Hi,
Don't care about the checksum 
Lucky you. You have the new Pkob4 debugger 
It flashes much faster than the old one (Pkob) wink: wink.
Additionally ou have a virtual COM PORT (USB CDC). So you can send some data to a terminal software like Teraterm using printf without the need to buy an external Click board.
I suggest you use microchipdeveloper website to get started with MPLAB X / MCC / ... :
https://microchipdeveloper.com/mcc:overview
Regards
#9
Chet
Senior Member
  • Total Posts : 167
  • Reward points : 0
  • Joined: 2020/06/07 12:24:08
  • Location: 0
  • Status: offline
Re: Learning to use the LCP Curiosity Board DM164137 2020/06/19 09:36:53 (permalink)
0
To Katela, I took your advice and went to MPLABXpress.  Tried to download an example and got messages to load Java and some kind of USB bridge.  I loaded Java and when I tried to load the USB bridge I got a message on my computer that the file may damage the computer. At this point I consumed vast amounts of computer memory storing everything from MPLABX-IDE since I am new to this and was not sure what all I needed.  I wanted a simple program on the curiosity board so I could get use to things before having to program.  And now you ask why am  I stressing  about this?
 
To RISC, thanks for the microchip developer link.
#10
WeHongKongers
Super Member
  • Total Posts : 229
  • Reward points : 0
  • Status: offline
Re: Learning to use the LCP Curiosity Board DM164137 2020/06/19 09:49:37 (permalink)
0
I suspect he does not know how to load MCC yet.  LoL: LoL
 
MCC is very funny.  Try to load it first.
#11
Chet
Senior Member
  • Total Posts : 167
  • Reward points : 0
  • Joined: 2020/06/07 12:24:08
  • Location: 0
  • Status: offline
Re: Learning to use the LCP Curiosity Board DM164137 2020/06/19 10:04:28 (permalink)
0
I have MCC loaded. How do you do code in MCC?
#12
katela
Super Member
  • Total Posts : 1833
  • Reward points : 0
  • Joined: 2013/06/11 05:25:18
  • Location: South Africa
  • Status: offline
Re: Learning to use the LCP Curiosity Board DM164137 2020/06/19 10:32:23 (permalink)
0 (2)
Chet
How do you do code in MCC?

Getting started with MCC: https://youtu.be/JxSSVtTj_fA
Opening MCC in MPLABXPRESS: https://microchipdevelope...ng-mcc-in-mplab-xpress
You can also export the MPLABXpress project to a local folder so that you can use the offline MPLAB X IDE. You don't have to work from the cloud.

Free online Microcontroller Tutorials and Projects for Hobbyists and students. From beginners to advanced. Website: www.studentcompanion.co.za
YouTube Tutorials: https://www.youtube.com/StudentCompanionSA
#13
dan1138
Super Member
  • Total Posts : 3731
  • Reward points : 0
  • Joined: 2007/02/21 23:04:16
  • Location: 0
  • Status: offline
Re: Learning to use the LCP Curiosity Board DM164137 2020/06/19 11:30:38 (permalink) ☄ Helpfulby WeHongKongers 2020/06/19 12:01:29
+3 (3)
Chet,

As you are new to the Microchip "experience" your frustration is typical.

You will need to acquire expertise with how to deal with Integrated Development Environments(IDE), installation of software on workstations and Information Technology(IT) infrastructure management. There is a lot to learn.

<rant>
Every release of the MPLABX IDE Microchip has tried to make the user interface "simpler" for new users.

All they have succeeded in doing is making it dumber and break published tutorials for development boards that new users have just received.

The cause of most of this mayhem comes from the actual physical hardware you received was developed with an IDE at least one revision out of date before it can be shipped to anyone.

So the LCP Curiosity Board (DM164137) sample projects you can get from the Microchip web site have not been validated with and updated for use with the latest release of the development tools. It was built using MPLABX v4.xx so the project files have to be "imported" (corrupted) by MPLABX v5.xx before they can be used. The date of this code package is May 31, 2018. The DM164137 User's Guide was updated in 2020 with new screen shots of the IDE yet Microchip did not update the code posted on the web site.

The is kind of like buying a car today and getting a 2020 manual for the GPS while the maps are from 2018. With cars now you can get the dealers to update the maps. If you have a 2006 Prius a map update is a replacement DVD that costs more than a new big screen Garmin.
</rant>
post edited by dan1138 - 2020/06/19 11:33:42
#14
Chet
Senior Member
  • Total Posts : 167
  • Reward points : 0
  • Joined: 2020/06/07 12:24:08
  • Location: 0
  • Status: offline
Re: Learning to use the LCP Curiosity Board DM164137 2020/06/19 11:45:12 (permalink)
0
I am working on I suppose is the simplest of files to program this chip, "HelloWorld) to just light LED D4. I am in the MCC and have identified the input pin for D4 and the output pin for the switch S1. I have gotten what is said to be the code in C language and have opened a file in MCC and typed in the code.  There are questions on format but I will wrestle with that. How do I save this file cause when I hit the download button, I get the message that says essentially there is nothing to download.  Do I hit the "run Macro button" or what?  Thanks for any input you can provide.
#15
WeHongKongers
Super Member
  • Total Posts : 229
  • Reward points : 0
  • Status: offline
Re: Learning to use the LCP Curiosity Board DM164137 2020/06/19 12:01:18 (permalink)
+2 (2)
Chet
I am working on I suppose is the simplest of files to program this chip, "HelloWorld) to just light LED D4. I am in the MCC and have identified the input pin for D4 and the output pin for the switch S1. I have gotten what is said to be the code in C language and have opened a file in MCC and typed in the code.  There are questions on format but I will wrestle with that. How do I save this file cause when I hit the download button, I get the message that says essentially there is nothing to download.  Do I hit the "run Macro button" or what?  Thanks for any input you can provide.



Every time after you configure something or change pins in Pin Manager, you have to press "Generate Code" in the "Resource" tab.  You don't need to write any code at first.
 
MCC is for Rapid Development.
#16
katela
Super Member
  • Total Posts : 1833
  • Reward points : 0
  • Joined: 2013/06/11 05:25:18
  • Location: South Africa
  • Status: offline
Re: Learning to use the LCP Curiosity Board DM164137 2020/06/19 12:18:02 (permalink)
0
Did you watch those Microchip minutes videos?They are steps bu steps tutorials how to het started with MPLAB X IDE and MCC. Sometimes before even writing a simple code, it's better to learn first some few basics then open the IDE. Otherwise you gonna struggle with simple stuff.
The forum is a good place to ask questions when you are stuck or don't know how to solve some problems but it's not a tutorial platform. You might waste more time back and forth in the forum.

Free online Microcontroller Tutorials and Projects for Hobbyists and students. From beginners to advanced. Website: www.studentcompanion.co.za
YouTube Tutorials: https://www.youtube.com/StudentCompanionSA
#17
Chet
Senior Member
  • Total Posts : 167
  • Reward points : 0
  • Joined: 2020/06/07 12:24:08
  • Location: 0
  • Status: offline
Re: Learning to use the LCP Curiosity Board DM164137 2020/06/19 12:31:25 (permalink)
0
Changing pins in pin manager I understand but what is meant by "configure something"? And when and how do I eventually write code? And is MCC really appropriate for such simple code?
#18
dan1138
Super Member
  • Total Posts : 3731
  • Reward points : 0
  • Joined: 2007/02/21 23:04:16
  • Location: 0
  • Status: offline
Re: Learning to use the LCP Curiosity Board DM164137 2020/06/19 13:23:50 (permalink)
+3 (3)
Chet
Changing pins in pin manager I understand but what is meant by "configure something"? And when and how do I eventually write code? And is MCC really appropriate for such simple code?



Using MCC for this seems like swatting the misquote on your anvil with a 12 pound sledge hammer when all you relly need to use is a 4 ounce ball-peen hammer.
 
I will write you a single file example if you can refresh my memory as to the part number of PIC controller you have in your DM164137.
#19
Chet
Senior Member
  • Total Posts : 167
  • Reward points : 0
  • Joined: 2020/06/07 12:24:08
  • Location: 0
  • Status: offline
Re: Learning to use the LCP Curiosity Board DM164137 2020/06/19 13:30:46 (permalink)
0
Thanks dan,  It is a PIC16F18446 on the DM164137.  Thanks for your earlier comments as well.
#20
Page: 12345.. > >> Showing page 1 of 15
Jump to:
© 2020 APG vNext Commercial Version 4.5