UAV DevBoard: Getting Started with PIC Programming
#1

UAV DevBoard: Getting Started with PIC Programming


.pdf   UAV DevBoard.pdf (Size: 95.43 KB / Downloads: 0)

Download and install the IDE and C compiler

You should install the IDE before you connect the ICD2 to your computer, otherwise plugand-
play will get confused and will try to install the ICD2 without having the drivers that it needs.
After you install MPLAB IDE, download and install MicroChip’s C compiler. It is available
under the same area as the IDE, under MPLAB C compilers. Click on MPLAB C compilers, and
scroll to the bottom of the downloads list. Download and install “MPLAB C Compiler for dsPIC,
Evaluation Version”. This is a free download. To get it, you will need to register with MicroChip.
The only difference between the free evaluation version of the compiler and the purchased
version is that after 60 days, the optimization options turn off. However, you do not need the
optimization options, so it does not matter. You should also download the reference manual for
the compiler. You can find it under the Design->Technical Documentation->User Guides,
“MPLAB C Compiler for PIC24 MCUs and dsPIC DSCs Users Guide.” Depending on how
deeply you intend to get into the programming of the dsPIC, there are also reference manuals on
the dsPIC30F4011 hardware and programming model that you can download.

Programming the UAV DevBoard

You are now ready to program your board. It is shipped with self-test firmware already
installed. To do something more interesting, you will probably want to program it with something
else. There are several programs available on the main page of UAV DevBoard, including demos,
MatrixNav, and AileronAssist. Decide which one you want to start with, download it, and unzip
it. Then, do the following. Some of the steps can be done in a different order, as you gain
experience, it will become clear to you which ones can be shuffled around. Much of it is
“common sense”.

Writing and debugging your own firmware

At some point you may want to write your own firmware, in which case you will want to do
some debugging. The process is similar to that of programming, except that you select DEBUG
instead of RELEASE in the IDE toolbar, and you work from the debugger menu instead of the
programmer menu.
There are two debugging functions available to you that you can select from the debugger
menu, either MPLAB SIM or MPLAB ICD2. MPLAB SIM allows you to debug your firmware
without using any hardware. It is very useful in the early stages of firmware development,
particularly when you just want to validate your math. MPLAB ICD2 debugs your firmware
while it is running in your hardware. You can set breakpoints, start and stop your program, and
read and write to memory locations.
Reply

Important Note..!

If you are not satisfied with above reply ,..Please

ASK HERE

So that we will collect data for you and will made reply to the request....OR try below "QUICK REPLY" box to add a reply to this page
Popular Searches: getting around firewalls at work, virtual router could not be started, what is the technique for getting kerala lottery tickets, getting hair dyeddyed black hair, getting your student, specification of fuselage for nishant uav, pic programming code in c for obstacle detection using ir sensor,

[-]
Quick Reply
Message
Type your reply to this message here.

Image Verification
Please enter the text contained within the image into the text box below it. This process is used to prevent automated spam bots.
Image Verification
(case insensitive)

Possibly Related Threads...
Thread Author Replies Views Last Post
  Dynamic programming language seminar projects crazy 2 3,188 03-01-2013, 12:31 PM
Last Post: seminar details
  SEMINAR ON MICROENGINE PROGRAMMING IN NWP computer girl 0 997 09-06-2012, 03:09 PM
Last Post: computer girl
Music D Programming Language Computer Science Clay 2 2,565 14-03-2012, 02:35 PM
Last Post: seminar paper
Thumbs Down Extreme Programming (XP) computer science crazy 2 2,076 14-03-2012, 11:57 AM
Last Post: seminar paper
Photo Genetic Programming (Download Full Report And Abstract) computer science crazy 3 3,863 29-02-2012, 09:35 AM
Last Post: seminar paper
  GENETIC PROGRAMMING A SEMINAR REPORT Computer Science Clay 3 4,353 29-02-2012, 09:35 AM
Last Post: seminar paper
  Introduction to the C Programming Language seminar class 1 6,579 14-02-2012, 01:43 PM
Last Post: seminar paper
Brick Categorization of Programming Languages computer science crazy 1 1,867 14-02-2012, 01:43 PM
Last Post: seminar paper
  D (programming language) seminar surveyer 2 2,660 14-02-2012, 01:43 PM
Last Post: seminar paper
  Genetic programming computer science crazy 2 2,347 11-07-2011, 10:39 AM
Last Post: seminar addict

Forum Jump: