CE Home
Navigation
Go Back   CrazyEngineers Forum > CE : Technical Discussions > Project Ideas & Seminar Topics
Notices


Advertisements
Reply
 
LinkBack Thread Tools Display Modes

  #1 (permalink)
Old 28th November 2007, 09:53 PM
CE - Apprentice
 
preeste's Avatar
 
Join Date: 2nd November 2007
I'm a Crazy computer Engineer
Posts: 39
Default Mplab!!!! Help!!!!

hi there peeps

I need some help urgently....i am trying to program a pic16F877 using MPLAB v5.70.40. I have an ICD1? how do i go about doing this....i have the c-code done, i have complied and build the project with mo errors...whats the next step?

help please.....confused
preeste is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #2 (permalink)
Old 1st December 2007, 07:43 AM
ash
Moderator
 
ash's Avatar
 
Join Date: 12th July 2007
Location: IIUM, Malaysia
I'm a Crazy Communications Engineer
Posts: 1,534
Default Re: Mplab!!!! Help!!!!

Hm, I've never used an ICD before. Im not too familiar with MPLAB too cause I've used another compiler.. though I believe MPLAB is a kick ass program anyway. Does the ICD have an ICSP function to flash the PIC? If you have sucessfully compiled the c code, you should be able to find it's HEX file. All you need to do is download (or is it upload?) this into you PIC. Try looking through the manual of MPLAB v5.40 to see the instructions, since only this version is compatible with the ICD1, right?
ash is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)
Old 5th December 2007, 06:54 PM
CE - Apprentice
 
preeste's Avatar
 
Join Date: 2nd November 2007
I'm a Crazy computer Engineer
Posts: 39
Default Re: Mplab!!!! Help!!!!

hey....sory for the delay...yeah thats right...mplab v5 is the only one that supports the icd1. i could find the hex file, the problem though is once its downloaded you cannot actually hit the run button...it was all really weird...going to leave it for a while though....really busy at work.

Ash i need to thank you once again for all your help....it really was priceless and i cant ever tell you how helpful it was.

this site rocks!!!!!
preeste is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)
Old 6th December 2007, 07:43 AM
ash
Moderator
 
ash's Avatar
 
Join Date: 12th July 2007
Location: IIUM, Malaysia
I'm a Crazy Communications Engineer
Posts: 1,534
Default Re: Mplab!!!! Help!!!!

No problemo.. glad to help! Well, usually once you download the HEX, the code will run immediately. It was quite a revelation to me when we tested our motors.. the robot almost drove off the table, tangling the serial cable attached to it, haha.
ash is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)
Old 6th December 2007, 11:55 AM
CE - Apprentice
 
preeste's Avatar
 
Join Date: 2nd November 2007
I'm a Crazy computer Engineer
Posts: 39
Default Re: Mplab!!!! Help!!!!

that must have been a great feeling....well tons better than just gawking at your motor hopin it would move if you stared hard enough! .....anyways later
preeste is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

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
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT +5.5. The time now is 04:57 AM.
Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
Member comments are owned by the poster. Copyright © 2005-2008 CrazyEngineers.com. All rights reserved.

Advertisements