View previous topic :: View next topic |
Author |
Message |
klantz12
Joined: 20 Feb 2011 Posts: 2
|
PIC C to PIC16F877A on PICmicro 28/40 Development board |
Posted: Sun Feb 20, 2011 7:37 am |
|
|
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: 9241 Location: Greensville,Ontario
|
|
Posted: Sun Feb 20, 2011 8:38 am |
|
|
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
|
|
Posted: Sun Feb 20, 2011 8:59 am |
|
|
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
|
|
Posted: Mon Feb 21, 2011 12:42 am |
|
|
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. |
|
|
|