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 6th May 2008, 08:28 AM   (permalink)
Experienced Member
 
Kryten is on a distinguished road
Default

That wont help. Mplab somethimes has only USB option for ICD2 in settings-> com. I have tried everything i can think of but nothing seems to help (yeh i have just reinstalled Mplab 8.10)
__________________
Simplicity rules

Good enought - its perfect ??

2 Gig of free online backup space

Are you a Chemist?
Kryten is offline   Reply With Quote
Old 6th May 2008, 08:50 AM   (permalink)
Super Moderator
 
Nigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to behold
Default

Quote:
Originally Posted by Kryten
That wont help. Mplab somethimes has only USB option for ICD2 in settings-> com. I have tried everything i can think of but nothing seems to help (yeh i have just reinstalled Mplab 8.10)
That's because you don't have any COM ports, reassign it to COM1 and reboot the computer, then check COM1 exists in control panel.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is online now   Reply With Quote
Old 6th May 2008, 08:52 AM   (permalink)
Experienced Member
 
Kryten is on a distinguished road
Default

well i have don it but will try again (as it is part of my final project to become an electronics enginner)
__________________
Simplicity rules

Good enought - its perfect ??

2 Gig of free online backup space

Are you a Chemist?
Kryten is offline   Reply With Quote
Old 6th May 2008, 10:16 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

Quote:
Originally Posted by Kryten
So little update from me.

Mplab cant "see" my rs232 serial usb adaptor (strange) so it cant open the correct port (com1)

Anyone got any ide what i can do?
What do you see in the device manager under
Ports(COM & LPT)?
__________________
search engine for electronic parts
Junebug USB PIC programmer kit. USB Bit Wacker
3v0 is online now   Reply With Quote
Old 6th May 2008, 11:53 AM   (permalink)
Experienced Member
 
Kryten is on a distinguished road
Default

I see
Prolific USB-to-Serial Comm Port (com1)

And when i try to connect now i get just:
ICD0021: Unable to connect with MPLAB ICD 2
MPLAB ICD 2 Ready

So i guess i need to use Bill's BL and try to see if it helps

Edit:

It also helps connecting the D-sub9 the correct way
__________________
Simplicity rules

Good enought - its perfect ??

2 Gig of free online backup space

Are you a Chemist?

Last edited by Kryten; 6th May 2008 at 12:12 PM.
Kryten is offline   Reply With Quote
Old 6th May 2008, 12:06 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

Given that this has gone away

Quote:
ICDWarn0027: The selected baud rate is not supported by your system. Chances are it will work anyway, but if persistent communications occur, consider switching to a lower baud rate.
ICD0019: Communications: Failed to open port: (Windows::GetLastError() = 0x2, 'Systemet finner ikke angitt fil.
It seems you are making progress.

Before you reprogram the chip see if you can get MPLAB to reprogram it. Under debugger or programer in the main menu "Download New OS" or similar.
__________________
search engine for electronic parts
Junebug USB PIC programmer kit. USB Bit Wacker
3v0 is online now   Reply With Quote
Old 6th May 2008, 12:22 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

The PL2303 is common but can be tough to get running with the ICD2. Try different drivers (I have one in my downloads section that may work)
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is online now   Reply With Quote
Old 6th May 2008, 12:37 PM   (permalink)
Experienced Member
 
Kryten is on a distinguished road
Default

Quote:
Originally Posted by blueroomelectronics
The PL2303 is common but can be tough to get running with the ICD2. Try different drivers (I have one in my downloads section that may work)
I will try that.
I have just spent some time checking that everything is wiredup correctly and it is according to the schematics that Lothar Stoltz has made... Im using a MAX232A with 0.1uF caps...

It looks like crap but it should work (based on the schematics)
Attached Images
File Type: jpg DSC_2453.JPG (359.9 KB, 9 views)
__________________
Simplicity rules

Good enought - its perfect ??

2 Gig of free online backup space

Are you a Chemist?
Kryten is offline   Reply With Quote
Old 7th May 2008, 07:25 AM   (permalink)
Experienced Member
 
Kryten is on a distinguished road
Default

Does anyone know wehter its possibel to check ansd see if my MAX232A is faulty?

I dont have acesse to a scope only a DMM
__________________
Simplicity rules

Good enought - its perfect ??

2 Gig of free online backup space

Are you a Chemist?
Kryten is offline   Reply With Quote
Old 7th May 2008, 08:02 AM   (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 beholdPommie is a splendid one to behold
Default

If you remove your 876A and short pins 17 & 18 of the socket, you should be able to run hyperterminal and see what you type in the window. Make sure you select the right com port and set flow control to "none". If you can see what you type then you max232 is working fine.

Mike.
Pommie is online now   Reply With Quote
Old 7th May 2008, 08:04 AM   (permalink)
Experienced Member
 
ericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to behold
Default

Quote:
Originally Posted by Kryten
Does anyone know wehter its possibel to check ansd see if my MAX232A is faulty?

I dont have acesse to a scope only a DMM
hi Kryten,
Look at this jpg.

I have indicated the states on the drawing.

On the loop back test link [bottom of MAX] the two states are shown one above the other.

Disconnect from thePIC while testing.!

Any questions, ask..
Attached Images
File Type: jpg MAX1.jpg (32.3 KB, 11 views)
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Nigel's: www.winpicprog.co.uk/
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/
ericgibbs is online now   Reply With Quote
Old 7th May 2008, 09:59 AM   (permalink)
Experienced Member
 
Kryten is on a distinguished road
Default

Hmm i think i must test both versions today (need only a hyperterminal cous there isnt one i Vista )
__________________
Simplicity rules

Good enought - its perfect ??

2 Gig of free online backup space

Are you a Chemist?
Kryten is offline   Reply With Quote
Old 7th May 2008, 10:11 AM   (permalink)
Experienced Member
 
ericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to behold
Default

Quote:
Originally Posted by Kryten
Hmm i think i must test both versions today (need only a hyperterminal cous there isnt one i Vista )
hi,
Look here:

http://www.bb-elec.com/tech_articles...2_loopback.asp
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Nigel's: www.winpicprog.co.uk/
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/
ericgibbs is online now   Reply With Quote
Old 7th May 2008, 11:38 AM   (permalink)
Experienced Member
 
Kryten is on a distinguished road
Default

have a look at the first page here and see that i have been there in order to test my USB-to-series-adaptor.

But i vill try it again (maybe only the software to check the max232)
And i found a HyperTerminal for download.. so i think it will work..
__________________
Simplicity rules

Good enought - its perfect ??

2 Gig of free online backup space

Are you a Chemist?
Kryten is offline   Reply With Quote
Old 7th May 2008, 02:39 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

A loopback test will only check the connections, the timing or latency is not checked. USB to RS232 is only an emulation and as such may not be 100%
In my experience only one USB to RS232 adapter works perfectly and that's the expensive Digi (I/O networks) ones.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is online now   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
Help with ICD2 clone!!!!!!!!!!!! juanbbv Micro Controllers 17 5th April 2008 05:07 AM
Debugging 877A with MPLAB williB Micro Controllers 10 7th May 2007 03:53 PM
Need help badly on Inchworm and MPLAB thushy Micro Controllers 14 11th March 2007 06:05 PM
Some Question About Inchworm Ayne Micro Controllers 29 7th March 2007 03:07 AM
Inchworm project started williB Micro Controllers 69 5th March 2007 06:55 PM



All times are GMT. The time now is 06:19 PM.


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