1. Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
    Dismiss Notice

Oshonsoft simulation speed

Discussion in 'Oshonsoft' started by camerart, Dec 23, 2015.

  1. camerart

    camerart Active Member

    Joined:
    Jun 12, 2008
    Messages:
    1,322
    Likes:
    11
    Location:
    Dorset UK.
    Hi,

    I am simulating programs with Oshonsoft SIM. After I input data into the hardware UART, it then goes into the simulation very slowly. I set the speed to the fastest. On my slower computer it runs fater!

    Does anyone know what's happening, and how to speed it up, please?

    Camerart.
     
  2. ericgibbs

    ericgibbs Well-Known Member Most Helpful Member

    Joined:
    Jan 4, 2007
    Messages:
    21,187
    Likes:
    644
    Location:
    Ex Yorks' Hants UK
    hi C,
    Have you tried setting the UART TX/RX time.? its under the OPTION's.
    Also I guess you are using Define SIMULATION_WAITMS_VALUE = 1 in your program header.?

    Also set the first LCD delay to 300, leave the the remaining delays as their defaults.

    Under options set the Ultimate Refresh Interval to 1 second

    E
     

    Attached Files:

    • A37.gif
      A37.gif
      File size:
      32.3 KB
      Views:
      95
    • A38.gif
      A38.gif
      File size:
      12.8 KB
      Views:
      91
  3. camerart

    camerart Active Member

    Joined:
    Jun 12, 2008
    Messages:
    1,322
    Likes:
    11
    Location:
    Dorset UK.
    Hi Eric,

    Spot on! it was the UART write time set to 1000us. Much faster now.

    Thanks, C.
     

Share This Page