PDA

View Full Version : MCSP and ICD2 Microchip



NL2TTL
- 25th July 2006, 08:24
I want to use In Circuit Debugging from Microcode studio Pro in combination with my ICD2 Programmer. Can anybody tell me how i configure the Programmer in MCSP.

What executable and more i have to set.

f5bqp
- 5th January 2008, 19:59
Hi,

Did you succeed to make ICD2 working with MCDP?
I'm interested in this.

Many thanks

bbazor
- 5th January 2008, 23:34
Rentron has a tutor on how to use the ICD @

http://www.rentron.com/PicBasic/MCS_X3.htm


Ben

NL2TTL
- 7th January 2008, 10:27
@f5bqp Not yet but i use a lot of serout for debugging at the moment


@bbazor thats for the Epic not Microchip ICD2

mister_e
- 7th January 2008, 14:24
Nope that's not for EPIC Either, it's for Mecanique MicroCodeStudio ICD. I no longer have an ICD-2 but from what i remind you have to include a specific header. These can be found in in PBP folder (ICDDEFSx.BAS). MPLAB.txt tell you how to use it.

NL2TTL
- 10th January 2008, 09:18
Thank you mister_e, i'm using a ICD2 clone now.

ICD2 Clone (http://www.htvision.com/product_eng.asp?intProdID=338&strCatalog_NAME_eng=&strSubCatalog_NAME_eng=&strSubCatalogID=4&intCatalogID=&CurCatalogID=10015)

I will try to use In circuit debug with this one i let it know.

Ioannis
- 12th January 2008, 12:37
ICD2 works great as a debugger tool with ASM code from within MPLAB. Besides it was designed for this purpose. You cannot debug at PicBasic level your code because it is compiled and the produced asm file has nothing to do with the commands in Basic.

On the other hand the Microcode ICD can debug your Basic code by inserting extra commands (increasing the size of your hex code...) and displaying the variables you want on screen through serial connection. This means that your PIC must have USART and dedicate this 2 pins Tx and Rx to the Debuger.

Ioannis