Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Thread Tools Display Modes
Old 7th February 2008, 07:51 PM   (permalink)
Default INCHWORM problem...

Hi,
I am trying to make an Inchworm programmer and would like to know if the circuit connections are proper. The resistance between the pins 16 n 15 of the MAX232 IC is only 650 ohms without inserting max232 and the PIC. These pins are connected to +Vcc and Ground of the PS circuit respectively. The circuit is not applied power. Also its not connected to the computer. I have already soldered the components on to a dot pcb.

Is that normal? Plz help.
asp1987 is offline  
Reply With Quote
Old 7th February 2008, 07:55 PM   (permalink)
Default

Try appling power without the MAX232 & 16F877A and measure for 5V. There is an LED that may account for the drop.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is offline  
Reply With Quote
Old 7th February 2008, 08:10 PM   (permalink)
Default

Thanks.
I applied power and got 5V between Vcc and ground.
Then inserted MAX232 IC alone. But now the IC is getting heated up.?!
Is it ok?
asp1987 is offline  
Reply With Quote
Old 7th February 2008, 08:21 PM   (permalink)
Default

Don't use a MAX232A, use a ST232 as noted in the instruction manual for the Inchworm+ Some MAX232 don't like the larger caps, the ST232 was designed for the bigger caps.

The chip should not get hot.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is offline  
Reply With Quote
Old 8th February 2008, 06:03 PM   (permalink)
Default

Thanks a lot............It worked. MPLAB communicated with ICD2...

But I replaced the MAX232CPE IC with a MAX232EPE,not ST232. From MAXIMs datasheet,there is not much functional difference between the two. So I guess the other IC was damaged even before I connected it to the Inchworm.

But now the Target Vpp is ONLY 11.66V. MPLAB ICD2 Vpp is 12.06V(from MPLAB). Shouldn't it be atleast 12.5V?

I haven't tried to program any PIC yet. Hope it can....
asp1987 is offline  
Reply With Quote
Old 8th February 2008, 10:30 PM   (permalink)
Default

11.66 is plenty for all but the oldest PICs. MPLAB will test the value and complain if it's out of range.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is offline  
Reply With Quote
Old 12th February 2008, 06:14 PM   (permalink)
Default

Thanks bluroomelectronics.. Its working fine.
But one doubt.
When I read the program memory in debugging mode,the program starts at 0x1800-bank3. Shouldn't it start at bank0? When I load the program to pic simulator, some 6000 lines are loaded(entire momory) while my program is only
100 lines or so.
Is this normal?
asp1987 is offline  
Reply With Quote
Old 12th February 2008, 06:37 PM   (permalink)
Default

Did you include an ORG 0x000 command?
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is offline  
Reply With Quote
Old 12th February 2008, 06:58 PM   (permalink)
Default

No. Could that be the reason? I accessed various banks using 'banksel'. So could it be that the selected STATUS register is the one in BANK3?(or do all status refer to the same STATUS register?) .I am sorry if its a stupid question.
asp1987 is offline  
Reply With Quote
Old 12th February 2008, 07:03 PM   (permalink)
Default

Yes, try putting it before the first instruction. Don't use the linker though, it uses the CODE command.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is offline  
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
Keil C problem sarang1_in Micro Controllers 3 27th February 2005 05:05 AM
Problem; Random pic performance timothyjackson Micro Controllers 7 19th February 2005 06:19 PM
Big problem!! zezito Electronic Projects Design/Ideas/Reviews 4 29th October 2004 02:05 AM
12F675 Problem brodin Micro Controllers 10 29th December 2003 09:40 PM
strange color camera problem schrodingerscat Electronic Projects Design/Ideas/Reviews 5 4th October 2003 07:25 PM



All times are GMT. The time now is 01:29 PM.


Electronic Circuits  |  Electronics Wiki
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.