PDA

View Full Version : Simple Question



koossa
- 13th December 2005, 08:39
Goog day

I want to make use of the bootloader to do updates and in circuit debugging using MCSP, if I setup my circuit as the example below sugested by the mecanique.co.uk website, will I be able to do serial communication through this port as well?

<img border=1 src="http://www.mecanique.co.uk/code-studio/loader/reset-circuit-small.gif">

Dave
- 13th December 2005, 11:49
koossa, Yes you will, This is the proven circuit used by many of us and it will also allow you to connect other equipment at a later time. Good luck...

Dave Purola.
N8NTA

koossa
- 13th December 2005, 12:22
Thank you DAVE!!!

koossa
- 13th December 2005, 12:46
Is the Polarity of the 1uF capacitor on Pin 6 of the Max232 the correct way arround?

keithdoxey
- 13th December 2005, 14:06
Yes.

Its the smoothing capacitor for VEE the internally generated NEGATIVE supply voltage

koossa
- 14th December 2005, 13:56
I upload the HEX file (16F877_04.hex) to my PIC using the Picstart plus, I have changed the settings in MPLAB as follow:

<img src="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=656&stc=1&d=1134568334">

Is this correct?

koossa
- 14th December 2005, 14:29
Please help!!

I have changed my Schematic to look exactly like the one below and have uploaded the 16F877_04.hex with Picstart plus and MPLAB, then in Microcode studio plus I select Microcode Loader as my Programmer and changed the "ICD Serial Port" dropdown to COM2. From the menu I have then select "Project","Compile and Program".
It then pops up with a dialog box "Reset Required, Please reset the target microcontoller...." I have then press the reset button on my circuit, but the dialog box just stays there which means nothing happened.
I have measured the voltage between MCLR and GND and it is 5v?

<img src="http://www.mecanique.co.uk/code-studio/loader/reset-circuit-small.gif">

MikeTamu
- 14th December 2005, 14:41
What OSC speed are you running at?

koossa
- 14th December 2005, 14:43
16F877 /20P Microcontroller @ 4MHz.