All About Circuits Forum  

Go Back   All About Circuits Forum > Software, Microcomputing, and Communications Forums > Embedded Systems and Microcontrollers

Notices

Embedded Systems and Microcontrollers Discussion forum for projects and working with embedded systems and microcontrollers (FPGAs, PICs, AVRs). Get help with hardware issues and embedded programming.

Reply   Post New Thread
 
Thread Tools Display Modes
  #1  
Old 10-28-2010, 12:52 PM
t06afre's Avatar
t06afre t06afre is offline
Senior Member
 
Join Date: May 2009
Posts: 5,806
Default A goldmine for the PIC programmer. Hardware design tricks. And MPLAB getting started

I guess many in the forum know about the "Compiled Tips N Tricks Guide" That is free documents full of golden nuggets for the PIC user. It will help you get most out of your 8 bit PIC MCU. It explain the the different methods and tricks in detail. Rather than giving program examples. So it will be very helpful to all who use PIC MCUs. It is about 137 pages long. If you have not read it yet. Give it a try. Ideal for students
http://ww1.microchip.com/downloads/e...Doc/01146B.pdf
A programmer is useless, unless he/she are able to utelize the power of the availible tools. And herby be able to debug and simulate code. The hobbyist may not have accsess to fancy (and expensive) hardware debugging tools. But the fact is that many errors can be tracked down with the software simulator tool named MPLAB SIM.
Microchip do have something named Webseminars. The are located here http://www.microchip.com/stellent/id...GE&nodeId=2795 Sorry to say but the selection menue is very awkward to use and select from. I have compiled a list. That I think will be useful for the MPLAB novice. The list include both using MPLAB and debugging. Start on top of the list and work yourself downwards. My last tips for the beginner. Then you are starting on a new project. Always use the project wizard in MPLAB. Never program without confering with the datasheet. Keep attention to details.
http://www.youtube.com/watch?v=py6s0ivnlmY
http://www.microchip.com/stellent/id...cName=en528144 (Introduction to MPLAB IDE)
http://www.microchip.com/stellent/id...cName=en542701 (Introduction to the MPLAB SIM Software Simulator)
http://www.youtube.com/watch?v=HwdllrufnOA (Using Asynchronous Stimulus with the MPLAB Simulator video only at this moment)
http://www.microchip.com/stellent/id...cName=en542928 (Using Stimulus for Algorithm Verification with the MPLAB IDE Simulator)
http://www.microchip.com/stellent/id...cName=en534868 (Roadmap and downloads links for the Microchip owned brands of C compilers)

Last edited by t06afre; 09-14-2011 at 11:53 AM. Reason: New links as the old ones went MIA
Reply With Quote
The Following 29 Users Say Thank You to t06afre For This Useful Post:
ActivePower (07-10-2012), alexan_e (09-06-2011), amitr12345 (06-18-2013), bkochis (12-24-2010), chaithra shree (01-31-2013), DickCappels (08-02-2012), Eric007 (08-29-2011), gerty (10-29-2010), gfgenefitzgerald (02-28-2011), Guinness1759 (01-06-2011), HallMark (03-16-2012), HBN (03-29-2014), jj_alukkas (08-01-2011), karas (02-21-2012), kazi2207 (01-02-2013), kurd (06-08-2012), Mr.Gadget (03-10-2013), Peca (01-18-2011), R!f@@ (10-28-2010), radiohead (08-15-2012), raphaelriv29 (01-01-2014), Rbeckett (10-29-2010), richiechen (01-03-2012), RRITESH KAKKAR (03-19-2012), spark8217 (01-22-2012), sudheer9133 (06-08-2011), syed_husain (03-23-2011), tom66 (11-04-2010), yehdev_cc (11-13-2010)
  #2  
Old 10-28-2010, 04:27 PM
PRS's Avatar
PRS PRS is offline
Senior Member
 
Join Date: Aug 2008
Location: Yakima Washington
Posts: 859
Default

Thanks to6. That is a goldmine. I studied microprocessors at the university, using the M68000, but I've never played with microcontrollers. I bought a PicKit 3 and I was enthusiastic at first, then I realized I had to learn C and MPLAB IDE, and I got slowed down. I have yet to make an LED turn on and off. But I keep working at it.
__________________
Paul
Yakima, Washington
Reply With Quote
The Following User Says Thank You to PRS For This Useful Post:
Jaden5165 (09-22-2011)
  #3  
Old 10-29-2010, 05:37 AM
thatoneguy's Avatar
thatoneguy thatoneguy is offline
Senior Member
 
Join Date: Feb 2009
Location: Midwest USA
Posts: 6,356
Blog Entries: 4
Default

That is a great source of some information that would otherwise take a lot of datasheet reading to find out!

PRS, Try out SourceBoost C, I posted the code to make a blinking LED in the other thread on that topic currently in Embedded Systems, I think. I even included a .hex file for 16F627 stupidbot.
Reply With Quote
  #4  
Old 10-29-2010, 06:08 PM
PRS's Avatar
PRS PRS is offline
Senior Member
 
Join Date: Aug 2008
Location: Yakima Washington
Posts: 859
Default

Thanks for the tip. This morning I just went over the examples using MP-LAB C18, which is free in the student version. It includes a program that blinks an LED. I've looked over the data sheet for PIC18f45k20, which is on a board that came with PIC-KIT 3 and I am in awe. I'll never go back to microprocessors! For 70 bucks I got a complete development system. For me it's like Christmas.
__________________
Paul
Yakima, Washington
Reply With Quote
  #5  
Old 10-29-2010, 07:26 PM
bertus's Avatar
bertus bertus is online now
Super Moderator
 
Join Date: Apr 2008
Location: Amsterdam,Holland (GMT + 1)
Posts: 11,584
Default

Hello,

That is a usefull find there.
Lets make it sticky.

Bertus
__________________
You don't have to know everything, if you know where to find it.
When you do ask questions, you may look stupid.
When you do NOT ask questions, you will STAY stupid.

It would be nice to have the Timezone ( GMT +/- x ) in the location field in the profile.
(User CP -> Edit Your Details)
Reply With Quote
  #6  
Old 10-29-2010, 08:00 PM
Markd77's Avatar
Markd77 Markd77 is online now
Senior Member
 
Join Date: Sep 2009
Location: Birmingham
Posts: 2,749
Blog Entries: 1
Default

I'd also recommend:
AN556 Table read
AN526 Math utilities
Search for AN526 or AN556 on the Microchip website.
Reply With Quote
  #7  
Old 10-29-2010, 08:12 PM
bertus's Avatar
bertus bertus is online now
Super Moderator
 
Join Date: Apr 2008
Location: Amsterdam,Holland (GMT + 1)
Posts: 11,584
Default

Hello,

Microchip has a lot of application notes.
Here is the browse page:
http://www.microchip.com/stellent/id...GE&nodeId=1469

I have here the links for the two application notes:
http://ww1.microchip.com/downloads/e...tes/00526e.pdf
http://ww1.microchip.com/downloads/e...tes/00556e.pdf

Also AN607 can be handy (power-up trouble shooting):
http://ww1.microchip.com/downloads/e...tes/00607b.pdf

Bertus
__________________
You don't have to know everything, if you know where to find it.
When you do ask questions, you may look stupid.
When you do NOT ask questions, you will STAY stupid.

It would be nice to have the Timezone ( GMT +/- x ) in the location field in the profile.
(User CP -> Edit Your Details)

Last edited by bertus; 10-29-2010 at 08:55 PM.
Reply With Quote
  #8  
Old 10-29-2010, 09:54 PM
PRS's Avatar
PRS PRS is offline
Senior Member
 
Join Date: Aug 2008
Location: Yakima Washington
Posts: 859
Default

Quote:
Originally Posted by Markd77 View Post
I'd also recommend:
AN556 Table read
AN526 Math utilities
Search for AN526 or AN556 on the Microchip website.
Thanks, I'll look into it.
__________________
Paul
Yakima, Washington
Reply With Quote
  #9  
Old 10-29-2010, 09:56 PM
PRS's Avatar
PRS PRS is offline
Senior Member
 
Join Date: Aug 2008
Location: Yakima Washington
Posts: 859
Default

Quote:
Originally Posted by bertus View Post
Hello,

Microchip has a lot of application notes.
Here is the browse page:
http://www.microchip.com/stellent/id...GE&nodeId=1469

I have here the links for the two application notes:
http://ww1.microchip.com/downloads/e...tes/00526e.pdf
http://ww1.microchip.com/downloads/e...tes/00556e.pdf

Also AN607 can be handy (power-up trouble shooting):
http://ww1.microchip.com/downloads/e...tes/00607b.pdf

Bertus
Microchip seems to be the king of the micro-controller industry. They seem to be to micro-controllers what Intel and Microsoft are to home computers. I'll check out your links. Thanks.
__________________
Paul
Yakima, Washington
Reply With Quote
  #10  
Old 10-29-2010, 10:10 PM
jpanhalt jpanhalt is offline
E-book Developer
 
Join Date: Jan 2008
Location: Ohio, USA(GMT-5)
Posts: 3,619
Default

Quote:
Originally Posted by PRS View Post
They seem to be to micro-controllers what Intel and Microsoft are to home computers. I'll check out your links. Thanks.
I have been very happy with Microchip. What have they done bad to you?

John
Reply With Quote
Reply   Post New Thread

Tags
, ,


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pic programmer with win7 yellowsnow Programmer's Corner 0 04-07-2010 10:04 PM
PIC EEPROM programmer - almost working, not quite Tekk Embedded Systems and Microcontrollers 3 12-21-2009 04:38 PM
Parallel Pic Programmer Problem - Help! chileflora Embedded Systems and Microcontrollers 6 07-18-2009 09:09 AM
PIC programmer... billdfish Embedded Systems and Microcontrollers 2 02-12-2009 12:25 AM
Programmer for PIC? Duxthe1 Embedded Systems and Microcontrollers 1 11-07-2008 05:36 AM

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:24 PM.


User-posted content, unless source quoted, is licensed under a Creative Commons Public Domain License.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.