Microcode Studio Plus Loader?


Closed Thread
Results 1 to 14 of 14

Hybrid View

  1. #1
    Join Date
    Sep 2005
    Location
    Campbell, CA
    Posts
    1,107


    Did you find this post helpful? Yes | No

    Default

    You need to insure that the serial port is working properly on both machines.

    On my PC, I simply connect pins 2&3 together on the serial cable and hit a key. If the character echoes, then the PC end is working.

    On the PIC side - Write a very simple program, such as:

    DEFINE OSC 20 (or whatever it is)

    DEFINE HSER_RCSTA 90H
    DEFINE HSER_TXSTA 20H
    DEFINE HSER_BAUD 9600
    DEFINE HSER_CLROERR 1
    DEFINE LOADER_USED 1

    Dummy VAR BYTE

    Begin:

    HSEROUT ["Press Any Key "]
    HSERIN [Dummy]
    HSEROUT ["You Pressed ",Dummy,13,10]
    GOTO Begin

    END

    The program above will prove that the PIC is sending and receiving characters - something it must do before any bootloader can work.
    Charles Linquist

  2. #2


    Did you find this post helpful? Yes | No

    Default

    Hi Charles

    Both sides are working perfectly, I am doing serial comms using HSEROUT and HSERIN.

    Thx

  3. #3
    Join Date
    Sep 2005
    Location
    Campbell, CA
    Posts
    1,107


    Did you find this post helpful? Yes | No

    Default

    Make sure Microcode Loader is set to use the correct serial port on your PC.
    Charles Linquist

  4. #4


    Did you find this post helpful? Yes | No

    Default

    Yes, I have set that to Comm2.

  5. #5


    Did you find this post helpful? Yes | No

    Default

    I'm Using the PIC16F877 20/P with a 4MHz Crystal and then upload the 16F877_04.hex file.

    Could my problem maybe be the "20/P"

    Thx!

Similar Threads

  1. 16F877A Microcode Studio won't compile
    By curt66111 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 25th November 2009, 19:35
  2. Interrupt & device setup for a PIC16F628A in Microcode Studio Plus
    By wildpikachu in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 3rd May 2008, 16:28
  3. Microcode studio loader problem
    By woodygjw in forum General
    Replies: 2
    Last Post: - 10th September 2007, 01:18
  4. Microcode studio and USB pics
    By KPDes in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 27th May 2007, 09:28
  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 : 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