Rules | Recent posts | topic RSS | Search | Register  | Log in

Short version of help for the ICD2
Goto page Previous  1, 2
 
Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers
Author Message
cherreram



Joined: 05 Mar 2008
Posts: 5


Post18 Apr 2008 17:42   Short version of help for the ICD2

for dgs117,
ICD2 version of Lothar Stolz uses a FT232BM to emulate an USB port, but it isn't one. FT232 firmware creates a COM port to comunicate with MPLAB. That's why velocity is limited to 57Kbps. Really it is a COM port and not an USB.
So, version of Lothar Stolz is really a serial ICD2.
Back to top
dgs117



Joined: 12 Sep 2007
Posts: 8
Location: Lithuania


Post23 Apr 2008 10:58   Re: Short version of help for the ICD2

Yes, I know that, but it's a good starting point for building a more advanced ICD2 with full USB support. I use it only for programming, so it satisfies my needs for now.

cherreram wrote:
for dgs117,
ICD2 version of Lothar Stolz uses a FT232BM to emulate an USB port, but it isn't one. FT232 firmware creates a COM port to comunicate with MPLAB. That's why velocity is limited to 57Kbps. Really it is a COM port and not an USB.
So, version of Lothar Stolz is really a serial ICD2.
Back to top
alunaro



Joined: 15 Jan 2002
Posts: 88
Location: Another world


Post30 May 2008 16:55   Tested firmwares

Because i'm bored and when i'm bored i do stupid things... i'm going to test in my PICS (b) ICD2 clone, the 3 firmwares that are supplied in this thread. No problem, it's not the first time i used it for experiments... and i still am alive Very Happy

I will comment my results later...

Added after 2 hours 30 minutes:

I have tested the firmwares for PICS clone using 877A instead 877. They work well.


A question, the 2nd firmware for 4550... where is? i suppose that modifications are included in the 3rd.
Back to top
sbampa12



Joined: 17 May 2008
Posts: 5


Post05 Jun 2008 17:46   Re: Short version of help for the ICD2

Hello, I am new in this forum, and this is my first post (and my english could not to be the best, so sorry).

2 weeks ago I started the ICD2 Clone (based on potyo2-rev1, zip).
I made the pcb, and soldered all the components, placed the jumper near the 4066.
So I conected this to the computer, installed the drivers, download the SO, and conected in MPLab (8.10). All works very well.

But some days ago I do one pcb to program pic 16F628A, for test of the icd2 clone.
But for my surprise it does not work (write). I can conect, but I can't write/read the 'device'. And whatever I do the MPLab always show:

Connecting to MPLAB ICD 2
...Connected
Setting Vdd source to MPLAB ICD 2
ICDWarn0020: Invalid target device id (expected=0x83, read=0x0)
...Reading ICD Product ID
Running ICD Self Test
...Passed
MPLAB ICD 2 Ready

The problem is:
ICDWarn0020: Invalid target device id (expected=0x83, read=0x0)


I don't know what to do. I revised the conector, the solder, the cable. I change the pic (anothers 16F628A, and some olds 16f84A) and always I have the same problem.

Anybody can help me? please

Thanks for all.

Mario Sbampato - São Paulo / Brazil

Added after 4 minutes:

OBS: The ics are not EXACTLY the same. I used:

CD4066
74126N
SN74LS125AN
SN74LS07N

I don't think that the problem is these ICs.
Back to top
kal-el-8



Joined: 22 Mar 2008
Posts: 2


Post08 Jun 2008 14:23   Re: Short version of help for the ICD2

Hi sbampa12, did you select the correct pic in maplab? You go to the menu: Configure->select device-> (and then select the pic you are trying to connect)

regards
Back to top
blueroomelectronics



Joined: 17 Sep 2006
Posts: 1141
Helped: 56
Location: Toronto, Canada


Post08 Jun 2008 22:06   Re: Short version of help for the ICD2

Old poster but it may shed some light on your first MPLAB program

You can download the hires PDF version from my site in the downloads section.
Back to top
dgs117



Joined: 12 Sep 2007
Posts: 8
Location: Lithuania


Post10 Jun 2008 12:06   Re: Short version of help for the ICD2

The one use of ICD2 Smile

I made my own dev board for PIC18F4520. It's more or less like EasyPIC4. There is an on-board MPLAB 7.60a compatible ICD2 (upper right corner). Yesterday I demonstrated this board as my final work for bachelor's degree. It works but still needs a lot of improvements. The board features a lot of perphereals, like I2C (for eeprom), SPI (for MAX7219), OneWire (for DS1820), RS232 (MAX232), analog input (two potentiometers), socket for resonator, piezo buzzer, two connectors for LCD 2x16 and GLCD 128x64, pull-up/down resistors, push buttons, LED's, each port has a connector for external devices. Each device can be connected/disconnected with a dip switch or a jumper (like in EasyPIC's).

I could publish the schematics and all but I wont, coz the design is not perfect yet. It will be (I hope) after summer Smile

Back to top
OurWay



Joined: 29 May 2008
Posts: 8


Post11 Jun 2008 4:39   Short version of help for the ICD2

thank you
Back to top
usmanstar2



Joined: 14 May 2008
Posts: 15


Post14 Jun 2008 16:24   Short version of help for the ICD2

Can any body send me the snapshot of MPLAB ICD2 Debugging.
you only need to just debug the Assembly code of LED On/OFF program.
And take a snapshot by pressing Printsys button and paste in paint and send me.

I want to see.
thanx

Added after 1 minutes:

Debugging shows every thing like Register, Assembly code , memory, disassembly etc.
Back to top
Joemon



Joined: 14 Aug 2006
Posts: 10


Post23 Jun 2008 20:38   Short version of help for the ICD2

To Blueroom,
I tried making your Inchworm+, and the device passes the self-test and connects through MPLAB (7.60) however, when it says "Device ID error, expected =0x1C1, value read = 0xE1" when i try to download operating system for dsPIC 30F4011. I used MAX 232 (ST232 is not available anywhere) with 10uF caps, could this be the reason ?
Back to top
blueroomelectronics



Joined: 17 Sep 2006
Posts: 1141
Helped: 56
Location: Toronto, Canada


Post23 Jun 2008 22:03   Short version of help for the ICD2

Test your Inchworm+ with a more basic PIC like the 16F628A as it only requires 5 connections, sounds like you have not connected all the GND & VDD pins on your dsPIC.
Back to top
Post new topic  Reply to topic    EDAboard.com Forum Index -> Microcontrollers
Page 2 of 2 All times are GMT + 2 Hours
Goto page Previous  1, 2


Abuse
Administrator
Moderators
topic RSS 
sitemap