Microcode Studio ICD serial comms problem


Closed Thread
Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2009
    Posts
    4

    Smile Microcode Studio ICD serial comms problem

    Hi everyone, newbie here. I am trying to get the ICD operating in Microcode Studio Plus (MCSP) using PBP from a PIC18F458 training board bought from Futurlec. I am using a 3 signal (Rx, Tx, SG) cable from the RS232 connector (using MAX232 chip) on the board into the PC DB9 serial port. The port and board are set to 9600 baud rate and matched start/stop bits. The code compiles and programs OK but when the ICD is selected the MCSP puts out the message saying the link has timed out indicating that the PC and PIC are not communicating.

    I assume the MCSP sets up the PIC USART or do I have to change any port setting to get the chip set up? There's nothing mentioned in the Futurlec board manual that suggests the USART needs setting up. Has anyone any advice or had experience with setting up the MCSP ICD? BTW, Futurlec technical dept. don't seem to respond to any queries.

  2. #2
    Join Date
    Jul 2003
    Posts
    2,405

    Default

    Are you adding the DEFINE OSC x, where x = the frequency of the oscillator you're
    using?

    It just won't work if you're not.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  3. #3
    Join Date
    Mar 2009
    Posts
    4

    Default

    Yes oscillator frequency is defined. If I use the communicator window option and fit a DB9 connector with data turned around, presumably this would debug the MCSP/PC end of the link?

  4. #4
    Join Date
    Oct 2004
    Posts
    448

    Default

    Since you are using a trainer board, this might not be the cause; but I use breadboards, and I find the ICD works reliably only when I have a decoupling cap (0.1 uf) across Vdd and Vss.

    Regards,

    Anand

Similar Threads

  1. MpLAB icd 2 Microcode studio plus
    By mitchf14 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 26th January 2009, 22:40
  2. Do you use ICD possibilities of MicroCode Studio
    By octal in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 14th December 2007, 17:22
  3. Microcode studio loader problem
    By woodygjw in forum General
    Replies: 2
    Last Post: - 10th September 2007, 01:18
  4. Problems with MicroCode Studio ICD
    By Muzza in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 5th July 2006, 02:37
  5. How to used ICD of microcode studio
    By chai98a in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 19th November 2005, 00:29

Members who have read this thread : 1

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