• AVR Freaks

AnsweredHot!? re mplab xpress

Author
dLLund
New Member
  • Total Posts : 8
  • Reward points : 0
  • Joined: 2020/05/04 09:54:25
  • Location: 0
  • Status: offline
2020/05/04 21:49:37 (permalink)
0

? re mplab xpress

hi.  newbie here.  please be very gentle.  can i use xpress w/ pickit3 ?  can i use xpress w/ pic10f200 chip ?  just getting started.  thank you.  david Lund  70yo
#1
jfd
Administrator
  • Total Posts : 30
  • Reward points : 23
  • Status: offline
Re: ? re mplab xpress 2020/05/05 06:13:26 (permalink) ☼ Best Answerby dLLund 2020/05/18 19:34:58
+2 (2)
Hi david,
 
You can use express with PicKIT 3. I wonder why you'd want to use Xpress? You can get the full featured IDE for free. You can use the PIC10F200. You'll run into a lot of constraints with that itty-bitty chip. He's our smallest. Samples are free. Demo boards are cheap. I'd suggest you look on https://www.microchipdirect.com/ for a small demo board that's closest to your purpose and use that with the desktop version of the IDE. Integration with the MCC code generator is easier and you'll have all sorts of code that does useful stuff, whether you want to analyze it, or use it.
 
Make sure you download the wonderful MPLAB XC8 compiler! https://www.microchip.com/mplab/compilers You can use the free version until  you need advanced optimizations. Do you know C? There are lots of good books on the subject and you can always dive down into assembly language, if you want to.
 
Here are some great webinars:
https://www.microchip.com/webinars
 
Good luck on your adventure!
 
Best,
jfd
#2
jfd
Administrator
  • Total Posts : 30
  • Reward points : 23
  • Status: offline
Re: ? re mplab xpress 2020/05/05 06:14:50 (permalink) ☄ Helpfulby dLLund 2020/05/05 06:49:16
+1 (1)
BTW, download the whole IDE here: https://www.microchip.com/mplab/mplab-x-ide
 
#3
katela
Super Member
  • Total Posts : 1809
  • Reward points : 0
  • Joined: 2013/06/11 05:25:18
  • Location: South Africa
  • Status: online
Re: ? re mplab xpress 2020/05/05 06:24:29 (permalink) ☄ Helpfulby dLLund 2020/05/25 05:16:16
+1 (1)
If I understand correctly your question, you want to program your PIC10F200 with Pickit3 using the MPLAB Xpress IDE. If so, you will need to use the USB bridge. It's explained in this Microchip video: https://youtu.be/6OmGROb--Aw
 

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
#4
dLLund
New Member
  • Total Posts : 8
  • Reward points : 0
  • Joined: 2020/05/04 09:54:25
  • Location: 0
  • Status: offline
Re: ? re mplab xpress 2020/05/05 06:43:37 (permalink)
0
jfd
thank you for your prompt & informative reply.  why the pic10f200 ?  i'm planning to follow along w/ a series of circuitbread tutorials, using the pic10f200, on you tube.  why xpress ?  i have very limited choices of computers to use here at home.  none are running windows.  i'm still tinkering w/ how to run windows programs w/ my trusty old puppy linux.  baby steps for this 70yo 'baby'. 
thanks again. 
dLLund
#5
dLLund
New Member
  • Total Posts : 8
  • Reward points : 0
  • Joined: 2020/05/04 09:54:25
  • Location: 0
  • Status: offline
Re: ? re mplab xpress 2020/05/05 06:52:03 (permalink)
+1 (1)
katela 
thank you for your helpful, informative reply. 
dLLund
 
#6
mpgmike
Super Member
  • Total Posts : 436
  • Reward points : 0
  • Joined: 2014/01/23 17:27:06
  • Location: NJ
  • Status: online
Re: ? re mplab xpress 2020/05/05 06:55:34 (permalink) ☄ Helpfulby dLLund 2020/05/25 05:16:00
+2 (2)
MPLABX is available for Windows 7+, Mac OS, and Linux.  If you spend any time on this forum you will see many folks are not using Windows.
 
Also regarding the PIC10F200 choice, take a look at the PIC10F320, as it is far superior, and in the same class.
post edited by mpgmike - 2020/05/05 06:58:38

I don't need the world to know my name, but I want to live a life so all my great-grandchildren proudly remember me.
#7
jfd
Administrator
  • Total Posts : 30
  • Reward points : 23
  • Status: offline
Re: ? re mplab xpress 2020/05/05 06:56:12 (permalink) ☄ Helpfulby dLLund 2020/05/25 05:15:47
+2 (2)
Hi David,
 
MPLAB X IDE and the MPLAB XC compilers run natively on Linux. You don't have to run them on Windows, or some sort of emulator.
 
Best,
jfd
#8
dLLund
New Member
  • Total Posts : 8
  • Reward points : 0
  • Joined: 2020/05/04 09:54:25
  • Location: 0
  • Status: offline
Re: ? re mplab xpress 2020/05/24 05:19:29 (permalink)
0
jfd 
re programming an arduino, reference is made to a 'bootloader' being pre-programmed on the up chip.  re programming a pic10f200, what provides the 'bootloader' ?  does the ide software automatically add the bootloader to the downloaded compiled sketch, or perhaps does the pickit3 or 4 automatically add the bootloader during download ?  thanks in advance for your help.  i'm making only glacial progress. 
dLLund
post edited by dLLund - 2020/05/24 05:21:50
#9
ric
Super Member
  • Total Posts : 27637
  • Reward points : 0
  • Joined: 2003/11/07 12:41:26
  • Location: Australia, Melbourne
  • Status: online
Re: ? re mplab xpress 2020/05/24 05:31:31 (permalink)
+4 (4)
dLLund
jfd 
re programming an arduino, reference is made to a 'bootloader' being pre-programmed on the up chip.  re programming a pic10f200, what provides the 'bootloader' ?

The PIC10F200 is not an Arduino. There is no bootloader in the chip.
 (There is so little code memory in a PIC10F200 that any "bootloader" would take almost all of it)

does the ide software automatically add the bootloader to the downloaded compiled sketch,

PIC programs are not called "sketches", that just applies to Arduino apps.
The IDE does not automatically add anything.

or perhaps does the pickit3 or 4 automatically add the bootloader during download ? 

No, nothing is added.
Are you reading some PIC reference that implies a bootloader is used?
 

I also post at: PicForum
Links to useful PIC information: http://picforum.ric323.co...opic.php?f=59&t=15
NEW USERS: Posting images, links and code - workaround for restrictions.
To get a useful answer, always state which PIC you are using!
#10
ric
Super Member
  • Total Posts : 27637
  • Reward points : 0
  • Joined: 2003/11/07 12:41:26
  • Location: Australia, Melbourne
  • Status: online
Re: ? re mplab xpress 2020/05/24 05:36:05 (permalink)
+2 (2)
n.b. I agree with the earlier suggestion that the PIC10F200 is a really poor chip to start with.
You will very quickly run out of code memory as soon as you try to do anything with it. There are much better 8 pin PICs available for about the same price.
 

I also post at: PicForum
Links to useful PIC information: http://picforum.ric323.co...opic.php?f=59&t=15
NEW USERS: Posting images, links and code - workaround for restrictions.
To get a useful answer, always state which PIC you are using!
#11
dLLund
New Member
  • Total Posts : 8
  • Reward points : 0
  • Joined: 2020/05/04 09:54:25
  • Location: 0
  • Status: offline
Re: ? re mplab xpress 2020/05/24 05:53:48 (permalink)
0
ric 
thank you for your helpful replies.  so, i infer that the pic10f200 does not require a bootloader.  if this is incorrect, please advise.  unfortunately, my knowledge of latin phrases is as scarce as truthful, honest politicians.
dLLund
#12
ric
Super Member
  • Total Posts : 27637
  • Reward points : 0
  • Joined: 2003/11/07 12:41:26
  • Location: Australia, Melbourne
  • Status: online
Re: ? re mplab xpress 2020/05/24 05:56:30 (permalink)
+2 (2)
Does not require a bootloader, and in fact, could not possibly use a bootloader.
The only way to get a program into it is to program it directly with a programmer like a PK3.
 

I also post at: PicForum
Links to useful PIC information: http://picforum.ric323.co...opic.php?f=59&t=15
NEW USERS: Posting images, links and code - workaround for restrictions.
To get a useful answer, always state which PIC you are using!
#13
dLLund
New Member
  • Total Posts : 8
  • Reward points : 0
  • Joined: 2020/05/04 09:54:25
  • Location: 0
  • Status: offline
Re: ? re mplab xpress 2020/05/24 06:10:01 (permalink)
0
ric
thank you 
dLLund
#14
ric
Super Member
  • Total Posts : 27637
  • Reward points : 0
  • Joined: 2003/11/07 12:41:26
  • Location: Australia, Melbourne
  • Status: online
Re: ? re mplab xpress 2020/05/24 06:28:15 (permalink)
+2 (2)
dLLund
...  unfortunately, my knowledge of latin phrases is as scarce as truthful, honest politicians.dLLund

Were you referring to my use of "n.b."?
Yes, it's a Latin abbreviation of "nota bene", which literally means "note well".
It is very commonly used.

I also post at: PicForum
Links to useful PIC information: http://picforum.ric323.co...opic.php?f=59&t=15
NEW USERS: Posting images, links and code - workaround for restrictions.
To get a useful answer, always state which PIC you are using!
#15
RISC
Super Member
  • Total Posts : 5755
  • Reward points : 0
  • Status: online
Re: ? re mplab xpress 2020/05/25 03:00:50 (permalink) ☄ Helpfulby dLLund 2020/05/25 05:15:07
+1 (1)
Hi
PIC10F200 is an old device with no debug capability on chip and just 2 levels of stack...
It is usable if you have a very small program to develop (forget bootloader...)
The PIC16F15213/313 are similar more recent device with more capabilities.
Regards
#16
dLLund
New Member
  • Total Posts : 8
  • Reward points : 0
  • Joined: 2020/05/04 09:54:25
  • Location: 0
  • Status: offline
Re: ? re mplab xpress 2020/05/25 05:26:22 (permalink)
+2 (2)
risc 
thank you.  i understand that the pic10f200 is a very limited, 'entry level' uc.  i am a very limited, entry level, self-studying student, despite my advanced age.  the series of entry level, 'follow along' lessons on youtube that caught my eye uses the pic10f200, only as a learning tool.  i'm still gathering bits n pieces.  the pickit3 i ordered has not yet arrived [ebay].  a colorful plastic funnel, from the $ store, doesn't seem to work, as a substitute.  kidding  :)  .  thanks again, for helping to instruct me, w/o being pedantic.  take care n stay safe. 
dLLund
#17
jfd
Administrator
  • Total Posts : 30
  • Reward points : 23
  • Status: offline
Re: ? re mplab xpress 2020/05/25 16:25:53 (permalink) ☄ Helpfulby dLLund 2020/05/25 21:54:56
+2 (2)
Hi David,
 
Please don't mistake "smallest device" with "entry level." In fact, the gods on this forum are gods specifically because they can make these tiny devices sit up and beg. They are not for beginners. If you want to play the arduino game, get a sanctified arduino, maybe even one of the 32-bit variety. You want as much memory and as much debugging capability as you can get. You're not fighting for a fraction of a penny in a BOM (bill of materials). Get something big and lush! You deserve it. The demo boards don't cost that much more for the biggest monsters that we make. (BTW, get yourself a PICkit4, too. PICkit3 is long in the tooth, and support is deemphasized.)
 
Another caveat is that Arduino has very poor debugging capabilities. When you're in a confusing situation, Arduino doesn't help much. MPLAB X IDE (free) on the other hand supports everything that the chip does.
 
Finally, even if the guy on YouTube is using a PIC10F200, there are lots bigger and more capable devices in that family. All of the same vocabulary and peripherals will apply. Pull a ticket at support.microchip.com and one of the fine applications engineers will be happy to guide you.
 
Cheers,
jfd
#18
PStechPaul
Super Member
  • Total Posts : 2725
  • Reward points : 0
  • Joined: 2006/06/27 16:11:32
  • Location: Cockeysville, MD, USA
  • Status: online
Re: ? re mplab xpress 2020/05/25 18:59:14 (permalink) ☄ Helpfulby dLLund 2020/05/25 21:56:06
+1 (1)
I would recommend that you try the Gooligum Tutorials, which include some free lessons, a few free samples, and reasonable prices for other modules.
 
You might also learn how to use the MPLABX software simulator, which allows you to step through your program and observe the behavior of the code and variables (file registers). It also has more powerful features that may have a steep learning curve, but perhaps such a challenge may be welcome while many of us are locked down at home.
 
Here is a forum thread with links to many beginner and intermediate tutorials and guides.
 
And I found a video showing how to use the simulator for debugging:
 
https://www.youtube.com/watch?v=O4IpwgWhqLY
 
Have fun and be safe!

 
#19
dLLund
New Member
  • Total Posts : 8
  • Reward points : 0
  • Joined: 2020/05/04 09:54:25
  • Location: 0
  • Status: offline
Re: ? re mplab xpress 2020/05/25 21:58:56 (permalink)
+1 (1)
jfd & PStechPaul 
thank you for your helpful & constructive guidance & suugestions.
dLLund
#20
Jump to:
© 2020 APG vNext Commercial Version 4.5