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 5th March 2007, 01:38 PM   (permalink)
Experienced Member
 
Ayne is on a distinguished road
Arrow Some Question About Inchworm

I have complete my inchworm assembly kit.

it is giving,
5 Volts on TP+5 And
12.8 Volts on TP VPP.

Now my questions are,

Maximum Length of the cable from Inchworm to Targeted PIC Board???

Maximum Length of the cable from Computer to Inchworm???

What should be the speed of Serial Port(BPS)???

What about connections of serial port?? Straight or cross?? i mean 2 to 2...or .....2 to 3???

Thanks.
Ayne is offline   Reply With Quote
Old 5th March 2007, 01:57 PM   (permalink)
3v0
Moderator
 
Blog Entries: 3
3v0 is a splendid one to behold3v0 is a splendid one to behold3v0 is a splendid one to behold3v0 is a splendid one to behold3v0 is a splendid one to behold3v0 is a splendid one to behold3v0 is a splendid one to behold
Default

Quote:
Maximum Length of the cable from Inchworm to Targeted PIC Board???
Keep it short as possible.
IIRC 6 inches max.

Quote:
Maximum Length of the cable from Computer to Inchworm???
Not critical. A few feet is OK.

Quote:
What should be the speed of Serial Port(BPS)???
MPLAB allows either 19200 or 57600. The inchworm will detect the rate and work with either.

It takes a non crossed cable. If you have the space you can do without the RS232 cable.
3v0 is online now   Reply With Quote
Old 5th March 2007, 02:29 PM   (permalink)
Experienced Member
 
Ayne is on a distinguished road
Default

Quote:
Quote:
Maximum Length of the cable from Computer to Inchworm???
Not critical. A few feet is OK.
I am plaining to use 3 Meter....... What u say???
Ayne is offline   Reply With Quote
Old 5th March 2007, 02:36 PM   (permalink)
3v0
Moderator
 
Blog Entries: 3
3v0 is a splendid one to behold3v0 is a splendid one to behold3v0 is a splendid one to behold3v0 is a splendid one to behold3v0 is a splendid one to behold3v0 is a splendid one to behold3v0 is a splendid one to behold
Default

Quote:
Originally Posted by Ayne
I am plaining to use 3 Meter....... What u say???
Prior to installation of LAN at the U the math dept had RS232 cables running from one end of the building to another and between floors.

I would not do that to the inchworm.

What I say: get it working first with a short or no cable then give your long one a try.
3v0 is online now   Reply With Quote
Old 5th March 2007, 04:11 PM   (permalink)
Experienced Member
 
Blog Entries: 4
blueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to behold
Send a message via Skype™ to blueroomelectronics
Default

Quote:
Originally Posted by Ayne
I have complete my inchworm assembly kit.

it is giving,
5 Volts on TP+5 And
12.8 Volts on TP VPP.

Now my questions are,

Maximum Length of the cable from Inchworm to Targeted PIC Board???

Maximum Length of the cable from Computer to Inchworm???

What should be the speed of Serial Port(BPS)???

What about connections of serial port?? Straight or cross?? i mean 2 to 2...or .....2 to 3???

Thanks.
Most of those questions are answered in the Inchworm assembly manual.

except the RS232 cable length is rated for about 25' max, I'd keep it short for starters about 1 meter till you know its working.

Baud rate is either 19K or 57K (MPLAB)
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is offline   Reply With Quote
Old 5th March 2007, 04:47 PM   (permalink)
Experienced Member
 
Ayne is on a distinguished road
Default

A problem in another programmer... TAIT Serial Programer.

When i feed firmware into PIC16F877A or any other program(blinking LED)

an error occur..
Quote:
Verify fail at 005 address
I have used this programmer before about 6 months ago that time it was running properly... Now i pick it again from store and run it.

Where is mistake???

What should be VPP voltages???

Why it is saying at 005 adress why not on 000h address???
Ayne is offline   Reply With Quote
Old 5th March 2007, 04:54 PM   (permalink)
Experienced Member
 
Blog Entries: 4
blueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to beholdblueroomelectronics is a splendid one to behold
Send a message via Skype™ to blueroomelectronics
Default

Is this an Inchworm or TAIT question?

If its inchworm MPLAB likes to see around 12v to 13v on VPP

If its about TAIT why would you use a TAIT if you have an ICD2 clone?
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is offline   Reply With Quote
Old 5th March 2007, 05:03 PM   (permalink)
Experienced Member
 
Ayne is on a distinguished road
Default

It is about Tait programmer.

Why i am using TAIT Programmer......
Because as u know a pre programmed Microcontroller is needed to run the ICD therefore i am using TAIT to program "ICD2_Bootloader_A" file into PIC16F877A....

I have seen another a simplest programmer on the web, made with only resistors but i have mis the link....u know?
Ayne is offline   Reply With Quote
Old 5th March 2007, 07:23 PM   (permalink)
Experienced Member
 
Ayne is on a distinguished road
Default

Which is the best way...

Connecting Serial port to inchwormfirst ??? or connecting supply first???

same question for disconnecting...
Ayne is offline   Reply With Quote
Old 5th March 2007, 09:55 PM   (permalink)
Experienced Member
Pommie is a splendid one to beholdPommie is a splendid one to beholdPommie is a splendid one to beholdPommie is a splendid one to beholdPommie is a splendid one to beholdPommie is a splendid one to beholdPommie is a splendid one to behold
Default

The resistor only programmer is here.

I found that you may need a couple of diodes as well. See attachment.

Mike.
Attached Images
File Type: png LVP.png (2.4 KB, 66 views)

Last edited by Pommie; 6th July 2008 at 04:13 PM.
Pommie is online now   Reply With Quote
Old 5th March 2007, 10:58 PM   (permalink)
3v0
Moderator
 
Blog Entries: 3
3v0 is a splendid one to behold3v0 is a splendid one to behold3v0 is a splendid one to behold3v0 is a splendid one to behold3v0 is a splendid one to behold3v0 is a splendid one to behold3v0 is a splendid one to behold
Default

If you are using a purchased kit the 877 should already be programmed.
3v0 is online now   Reply With Quote
Old 6th March 2007, 07:13 AM   (permalink)
Experienced Member
 
Ayne is on a distinguished road
Default Setting during Programming???

Once i have programmed PIC16F877A with "ICD2_Bootloader_A"... but ICD is not working it say
Code:
Auto-connect not enabled - Not connecting (Try enabling auto-connect on the ICD2 settings pages.)
ICDWarn0034: Please ensure that your system's serial FIFO buffers are disabled.
Connecting to MPLAB ICD 2
ICDWarn0054:  MPLAB IDE has lost communications with the MPLAB ICD 2.  Would you like to attempt to reconnect?
Connecting to MPLAB ICD 2
ICD0021: Unable to connect with MPLAB ICD 2
MPLAB ICD 2 Ready
Connecting to MPLAB ICD 2
ICD0021: Unable to connect with MPLAB ICD 2
MPLAB ICD 2 Ready
Connecting to MPLAB ICD 2
ICD0021: Unable to connect with MPLAB ICD 2
MPLAB ICD 2 Ready
Connecting to MPLAB ICD 2
ICD0021: Unable to connect with MPLAB ICD 2
MPLAB ICD 2 Ready
Connecting to MPLAB ICD 2
ICD0021: Unable to connect with MPLAB ICD 2
MPLAB ICD 2 Ready
My cable length is 24 inches, straight connections, PIN 1 with PIN 1, 2 with 2.

What should be the setting during programming of PIC16F877A with "ICD2_Bootloader_A"... Picture Below.

My Fifos are also OFF

My Microcontroller(PIC16F877A_ is OK. I feed a program of blinking leds with TAIT programmer and it is working properly..
Attached Images
File Type: gif setting.GIF (5.3 KB, 4 views)
File Type: gif fifo.GIF (16.4 KB, 4 views)
Ayne is offline   Reply With Quote
Old 6th March 2007, 07:16 AM   (permalink)
Experienced Member
 
Ayne is on a distinguished road
Default

Quote:
If you are using a purchased kit the 877 should already be programmed.
I am not using a purchased kit... I only have PCB of inchworm of BlueRoom electronics.
Ayne is offline   Reply With Quote
Old 6th March 2007, 08:50 AM   (permalink)
Experienced Member
 
Ayne is on a distinguished road
Default

Quote:
Originally Posted by 3v0
FWII the easyest way to test the rs232 is with a loop back type test. Remove the PIC and jumper the TX and RX pins at the processor socket Then connect to the Inchworm with any terminal program. If you can see what you type the MAX232 is working. When you remove the jumper you should not see what you type.
I have also done this step on both speeds 57600 and 19200... and have succeed on both speed...

Also have cheked RTS and CTS as i short PORTB.4 with PORTB.5 with jumper.... CTS LED turn on in software, i am using Serial Input Output monitor of PIC CCS compiler.
Ayne is offline   Reply With Quote
Old 6th March 2007, 10:50 AM   (permalink)
3v0
Moderator
 
Blog Entries: 3
3v0 is a splendid one to behold3v0 is a splendid one to behold3v0 is a splendid one to behold3v0 is a splendid one to behold3v0 is a splendid one to behold3v0 is a splendid one to behold3v0 is a splendid one to behold
Default

I need to better understand what you have done.

When you programmed the 877 to blink a LED did you run it in the inchworm circuit ? If not write code to blink busy LED and check it in inchworm.

Do you have the PIC - MAX232 - DB9 exactly as in the inchworm schematics ? Check this again even if you had the LED blinking.

I think the "serial input/output" is part of the CCS IDE not the compiler. I have the compiler but not the IDE not sure exactly what it does so I do not know what that test proved for sure.

Just for kicks and giggles set MPLAB to auto-connect and to auto download the operating system (to the 877). Then try it.
3v0 is online now   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
Capacitor Question LiquidOrb24 General Electronics Chat 1 9th January 2007 07:21 PM
Basic Transmission question CamNuge General Electronics Chat 2 8th March 2006 10:08 PM
High speed data logging question cubdh23 Micro Controllers 3 19th August 2004 11:54 AM
Data Logging question with high speed!!!! cubdh23 General Electronics Chat 4 16th August 2004 06:33 PM
PBX question waqar Electronic Projects Design/Ideas/Reviews 0 30th March 2003 06:21 PM



All times are GMT. The time now is 05:54 AM.


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