ICD & PBP && how to get it to work


Results 1 to 27 of 27

Threaded View

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


    Did you find this post helpful? Yes | No

    Default

    compile for ICD ops, ICD run, then bring up the serial communicator
    If you're using MCS+ ICD, then you should not be trying to use the standard serial
    communicator in MCS+.

    Inside the ICD window HSEROUT will display whatever you send in the lower section of
    the ICD window. When it lands on an HSEROUT while running the ICD, and small serial
    ICD terminal window will automatically pop-up asking for input.

    Code:
    DEFINE LOADER_USED 1 ' using MCS+ bootloader
    DEFINE OSC 20 ' <-- DEFINE your OSC speed. gotta have this for MCS ICD.
    
    MyVar VAR BYTE
    
    Loop2:
          HSERIN [MyVar] ' <-- window pops-up waiting for input
          HSEROUT ["MyVar = ",DEC MyVar,13,10] '<-- displays input
          PAUSE 500
          GOTO Loop2
    I've attached a screen capture of the above running in MCS+ ICD. Tested on an
    18F4431.

    If you still have trouble try blinking an LED with the ICD just to make sure you have
    everything setup properly.
    Attached Images Attached Images  
    Regards,

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

Similar Threads

  1. Pbp - icd
    By Charles Linquis in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 16th March 2010, 04:26
  2. MCSP ICD does not work
    By ardhuru in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 19th May 2008, 21:15
  3. ICD Woes
    By spad13m in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 14th February 2008, 05:56
  4. How to set ICD-2 clone to work with PBP?
    By G-R-C in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 20th October 2006, 02:50
  5. PBP "USART.BAS" Doesn't Work
    By Corey in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 21st October 2003, 12: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