![]() |
![]() |
![]() |
|
|
|||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
Experienced Member
|
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. |
|
|
|
|
|
(permalink) | |||
|
Moderator
|
Quote:
Quote:
Quote:
It takes a non crossed cable. If you have the space you can do without the RS232 cable. |
|||
|
|
|
|
|
(permalink) | ||
|
Experienced Member
|
Quote:
|
||
|
|
|
|
|
(permalink) | |
|
Moderator
|
Quote:
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. |
|
|
|
|
|
|
(permalink) | |
|
Experienced Member
|
Quote:
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) |
|
|
|
|
|
|
(permalink) | |
|
Experienced Member
|
A problem in another programmer... TAIT Serial Programer.
When i feed firmware into PIC16F877A or any other program(blinking LED) an error occur.. Quote:
Where is mistake??? What should be VPP voltages??? Why it is saying at 005 adress why not on 000h address??? |
|
|
|
|
|
|
(permalink) |
|
Experienced Member
|
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? |
|
|
|
|
|
(permalink) |
|
Experienced Member
|
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? |
|
|
|
|
|
(permalink) |
|
Experienced Member
|
Which is the best way...
Connecting Serial port to inchwormfirst ??? or connecting supply first??? same question for disconnecting... |
|
|
|
|
|
(permalink) |
|
Experienced Member
|
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 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.. |
|
|
|
|
|
(permalink) | |
|
Experienced Member
|
Quote:
|
|
|
|
|
|
|
(permalink) | |
|
Experienced Member
|
Quote:
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. |
|
|
|
|
|
|
(permalink) |
|
Moderator
|
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. |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|
|
||||
| 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 |