what is ICD?


Closed Thread
Results 1 to 4 of 4

Thread: what is ICD?

Hybrid View

  1. #1
    iCiuk's Avatar
    iCiuk Guest


    Did you find this post helpful? Yes | No

    Default

    Hi all,
    I have a circuit with 16F88 and I want debug code using ICD.
    What is wrong in follows steps?

    1) I maked a RS232 interface with MAX232N like the schema showing in the http://rentron.com/PicBasic/MCS_X3.htm
    2) I connected the T1IN (pin 11) to RB5/SS/TX/CK (pin 11) and R1OUT (pin 12) to RB2/SDO/RX/DT (pin 8).
    3) I compiled and program this code:

    DEFINE OSC 4
    OSCCON = %01101110
    I VAR BYTE
    L1:
    I = I + 1
    TOGGLE PORTB.4
    PAUSE 1000
    GOTO L1

    4) When I run ICD the timeout error occurs.

    Thanks.

  2. #2
    iCiuk's Avatar
    iCiuk Guest


    Did you find this post helpful? Yes | No

    Default

    Hi,
    I disassembler the code with ICD.
    I see that the OSCCON is set only when my code start (arround PC=195), I think that ICD do not function beacuse the ICD code running with low default speed processor (32 khz) and the comunications with ICD software are not correct (ICD SW work with 19.200k at 4MHz cpu speed).

    If it is true, how I can fix the speed without install a external crystal?

    Thanks.

Similar Threads

  1. ICD, ICSP and Picbasic Pro
    By mwhatley in forum mel PIC BASIC Pro
    Replies: 17
    Last Post: - 8th August 2024, 20:42
  2. DT Interupts and ICD?
    By ShaneMichael in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 14th November 2009, 02:02
  3. ICD Woes
    By spad13m in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 14th February 2008, 05:56
  4. Another MSCP ICD question
    By keithdoxey in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 31st July 2006, 00:07
  5. Problems with MicroCode Studio ICD
    By Muzza in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 5th July 2006, 02:37

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts