Serout/Serout2 and PIC18F97J60 (100 pin)


Closed Thread
Results 1 to 11 of 11

Hybrid View

  1. #1
    Join Date
    Aug 2006
    Location
    Italy
    Posts
    72

    Default Something is working now...

    Thank you Skimask,
    is exactly what I did last night.
    Conclusion:
    The chip is FRIED!
    There is something wrong with the PortD and PortC.
    Actually a new board with another chip it work properly!

    My apologises...

    I've also apologized with MeLabs... even if I submitted another issue to them.
    The new (old) one is related to the fact that the PIR1.5 register seems never find a character in the buffer even if I know that is sure there.
    DEFINE HSER_CLROERR 1 and DEFINE HSER2_CLROERR 1 are both at the top of the program.
    Things start going bad if I use some I2C command and then inquiry the PIR1.5
    What I do not understand is that inquiring PIR3.5 (for the other attached device), it work regularly at any speed (between 2400 and 115200)
    the only way to get data from the device attached is to use HSerin with a timeout of 10ms...
    If I DON'T USE any I2C commands, both PIR1.5 and PIR3.5 reflect the correct data and behaviour...
    I've already posted this strange things in a more detailed post:
    http://www.picbasic.co.uk/forum/showthread.php?t=8638

    Thank you all guys.
    Hope in some hint...
    Last edited by mikebar; - 20th May 2008 at 05:04. Reason: Forgot greetings...

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898

    Default

    That's weird... i'll order few sample of this chip just for fun...
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  3. #3
    Join Date
    Aug 2006
    Location
    Italy
    Posts
    72

    Default

    Mister-e,
    thank you very much for your curiosity.
    Be prepared. The package IS EXTREMELY SMALL!

    Let me know if you discover sothing.

    Thank you again.

  4. #4
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898

    Default

    No problem, it's an interesting PIC anyways. I'm impressed the 40$ PICKIT 2 support it... while some much more expensive programmer i have don't
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. HSERIN2 not working on PIC18F97J60 ???
    By mikebar in forum Serial
    Replies: 8
    Last Post: - 4th May 2008, 16:20

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