picbasic pro problem


Closed Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2007
    Posts
    26

    Default picbasic pro problem

    HI to all!

    I did worked with microcode studio and pbp allready, there was some time I didn't and now would like to get back to it again....

    So I did take my PIC16F877, programmer and go to play, I did make simple code for 16F877:

    DEFINE LCD_DREG PORTD
    DEFINE LCD_DBIT 4
    DEFINE LCD_RSREG PORTD
    DEFINE LCD_RSBIT 1
    DEFINE LCD_EREG PORTD
    DEFINE LCD_EBIT 0
    DEFINE LCD_BITS 4
    DEFINE LCD_LINES 2
    DEFINE LCD_COMMANDUS 2000
    DEFINE LCD_DATAUS 50

    pause 1000
    LCDOUT $FE, $C0
    LCDOUT $FE, 1, "Hello"
    end

    than I get MSCMonitor red line on MCSNext....don't know why?
    I tried newer version os PBP, than everything is okay, except when I program PIC I don't get anything on LCD....

    Now, everything is connected okay and definitions are okay....when I program PIC with HEX i have it works, I also have source code of that HEX, when I try to compile it, it works and I get HEX, but when I program PIC with that hex it don't work.....and when I compare HEX i have compiled and when I do compile now they are different.

    Can you tell what would cause pbp compile program but it won't work....?

  2. #2
    Join Date
    Jul 2008
    Location
    TURKIYE-KONYA
    Posts
    51


    Did you find this post helpful? Yes | No

    Default

    there will be many reasons.

    i think the problem is about your config settings.

    compare the orginal .hex file configurations with your new .hex file.

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