Menu

Serial Data Corrupted When Sending Strings

2019-12-04
2019-12-04
  • William Roth

    William Roth - 2019-12-04

    PROBLEM:
    Hardware Serial "HserPrint" Prints erroneous data.
    Software Serial "Ser1Print" Prints erroneous data

    CHIP: 18F25K42, 18F25K83 (& likely many others)
    GCBASIC Version 98.06

    SYMPTOMS:
    When printing strings, the serial data sent is erroneous.
    This occurs with both software and hardware serial
    Sending raw data with "HserSend" or Ser1Send appears ok

       @@@  This only happens when sending strings @@@
    

    *** Reverted to GCBASIC 98.02 and the issue is resolved

    DISCUSSION:
    If I recall correctly we had this issue before with certain chips (K42, etc)
    and the issue was related to memory handling...specifically with strings.

    It appears that this issue has been reintroduced in GCB at some point
    after Ver 98.02. I only have 98.02 and 98.06 and cannot figure out how
    to download any other older versions.

    I will attach Source and ASM in the morning if not sooner.

    Bill

     

    Last edit: William Roth 2019-12-04
  • Anobium

    Anobium - 2019-12-04

    Thank you.

    Very odd. I cannot reproduce. That is not say this not happening. This is probably a fix within the dat file - I have specific fixes for the K42 and K83 in the upcoming release.

    I will let you have 0.97.07 that is the current release candidate. Ping me when you are online and able to download.


    Re previous releases. See https://sourceforge.net/projects/gcbasic/files/GCBasic%20-%20Complete%20IDE%20including%20GCGB/IDE%20Archived%20Releases/GCB%40Syn/Previous%20Releases/

    All old versions are at the URL above. Select the File tab / GCBasic - Complete IDE including GCGB / IDE Archived Releases / GCB@Syn / Previous Releases and they are all there.

     
  • William Roth

    William Roth - 2019-12-04

    @Evan
    Since you could not replicate, I verified the issue one more time. Still bad in 9806 ( 2 installations) and still good in 9802. So I completely removed all installations of GCB 9806 on my system and did a clean reinstall of everything related to GCB. Is working ok now with the clean install.

    Very odd since I barely used GCB since 9806 was installed and do not recall making any changes that could have caused this issue.

    Problem solved.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.