HELP!!! OSD Hserout problem??


Closed Thread
Results 1 to 11 of 11

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,627


    Did you find this post helpful? Yes | No

    Default Re: HELP!!! OSD Hserout problem??

    Hi Ed,
    Of course you're not sending an infected file - intentionally - but people are being careful, just like you and that's a good thing. It's not to much code to post but you really should use the proper code tags so it ends up in a scrollable window and doesn't loose indentation etc. See here: https://www.bbcode.org/examples/?id=15 for instructions on how to use it.

    Back to your problem then....
    I tried compiling your code for the 18F452 and it compiled without any errors. I also tried the mentioned 16F876A but then I get a couple of error from the assembler (Argument out of range 8207 not between 0 and 8191) however selecting another random 16F series device (like the 16F1829) makes it compile without any errors.

    For which device are you trying to compile?
    What version of PBP are using?
    What version of MPASM are you using?

    /Henrik.

  2. #2
    Join Date
    Mar 2011
    Location
    Los Angeles, California
    Posts
    322


    Did you find this post helpful? Yes | No

    Default Re: HELP!!! OSD Hserout problem??

    Hi Henrik!
    Thank you! Ultimately I would like to use the 18F1320. I just tried to compile with the 16F876A as that was what Grant said was the PIC the code was written for. I am using the latest PBP 3.1 and MPASM 8.92, Windows 7 64 bit.

    Thanks, Ed

  3. #3
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,627


    Did you find this post helpful? Yes | No

    Default Re: HELP!!! OSD Hserout problem??

    But when I compile for the 16F876A I don't get the same errors you're reporting.

    I just tried again, on a machine with PBP 3.0.8.4 and MPASM 5.61 (from MPLABX 2.35) and for the 16F876A I get the same errors I reported earlier - I do not get any of the errors you report. The errors I *do* get is most likely because the code is too big to fit in the 876A - as Richard points out. Where your Syntax Errors is coming from I have no idea.

    The compiled code size for an 18F series device is 15242 bytes and the 18F1320 is an 8k device so it won't fit as is.

    I'd probably update MPLAB to a newer version, you'll need it to use the new devices added in PBP3.1

    /Henrik.

  4. #4
    Join Date
    May 2013
    Location
    australia
    Posts
    2,720


    Did you find this post helpful? Yes | No

    Default Re: HELP!!! OSD Hserout problem??

    Where your Syntax Errors is coming from I have no idea
    .

    most likely code ed is compiling != code posted.



    LOOKUP2 c,[D[0],D[1],D[2],D[3],D[4],D[5],D[6]],Co
    is this a deliberate ploy to fill unused code space ?
    Warning I'm not a teacher

Similar Threads

  1. Problem with HSEROUT/HSERIN
    By financecatalyst in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 3rd July 2013, 10:43
  2. HSEROUT problem
    By karlosguay in forum Serial
    Replies: 3
    Last Post: - 11th January 2012, 20:44
  3. HSEROUT problem
    By Williamaybe in forum Serial
    Replies: 15
    Last Post: - 18th July 2008, 06:17
  4. HSEROUT problem at 20MHz
    By manxman in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 27th May 2006, 23:55
  5. HSEROUT Problem
    By Keith in forum General
    Replies: 2
    Last Post: - 25th June 2005, 16:09

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