CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

PIC C to PIC16F877A on PICmicro 28/40 Development board

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
klantz12



Joined: 20 Feb 2011
Posts: 2

View user's profile Send private message

PIC C to PIC16F877A on PICmicro 28/40 Development board
PostPosted: Sun Feb 20, 2011 7:37 am     Reply with quote

I have the 877A on the board and then wired the simple circuit needed for the reading of a switch.

I compiled my basic program in PIC C compiler. For the programming, I do not have any ICD hardware.

I first attempted sending the hex file through Hyper Terminal to the ISP-Pro programming board which I have connected to the 28/40 with the phone cable. This was a fail.

I then tried using the ISP-Pro to Melabs universal adapter that came in my kit. I tried it once without any microcontroller attached and then with all of them attached. I connected this to the ISP Pro and then to the Melabs U2 programmer which I used with MEProg to send the hex file. when I connected the U2 to the adapter the power lights on the 28/40, the isp-pro and the U2 all went out.

Now I am back at square one trying to go directly from PIC C to the RS232 Serial port on the 28/40 board and all I get is a notification that it is connecting to ICD but no comm is selected.

Can I use MPLab or Micro Studio to make a software version of an ICD? if so how?

So frustrated after 6 hours.
temtronic



Joined: 01 Jul 2010
Posts: 9225
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Sun Feb 20, 2011 8:38 am     Reply with quote

When you compiled your program did you change the MPLAB default of 'program>build configuration> from 'debug' to 'release'?

If not, change this setting and recompile ( build F10) again.
klantz12



Joined: 20 Feb 2011
Posts: 2

View user's profile Send private message

PostPosted: Sun Feb 20, 2011 8:59 am     Reply with quote

I haven't tried MPLAB yet because I don't know how to use it really. Can I just take my hex file that I compiled in C? The big part of the project is to use our C compiler.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Feb 21, 2011 12:42 am     Reply with quote

Quote:

I first attempted sending the hex file through Hyper Terminal to the
ISP-Pro programming board which I have connected to the 28/40 with
the phone cable. This was a fail.

You apparently have this programmer:
http://www.bpmicro.com/ISP-PRO.html
They say:
Quote:
Top 3 Reasons Why People Choose Us

1. We have an award-winning Tech Support staff ready to meet your needs.

You should email their support department, and ask for help in
using their programmer with your board.


Quote:

I then tried using the ISP-Pro to Melabs universal adapter that came in my kit.

If you have a kit, then you bought it from a company. Email their tech
support department and ask them how to make the kit work.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group