Shop OBEX P1 Docs P2 Docs Learn Events
sx sim not werkin right?? — Parallax Forums

sx sim not werkin right??

jaydag71jaydag71 Posts: 8
edited 2007-02-18 23:07 in General Discussion
·I just downloaded and installed the sx ide- it apparently has the sx sim attached in the suite. When I tried it out the first few times it wascoming up when I pushed the sim button, then it wascoming up with no command window, and now both are not coming up at all?? I tried re-installing the sx ide but stillno luck..what is the scoop here? Am I doing somthing wrong?

·Also, am I correct in assuming that I can use the sx ide for assembling asm without having any hardware? I wanted to use the ide and sim to learn assembly without having to buy hardware- I have been using PCSim for learning but it is really old and outdated- plus different arch,just not well suited to learn I have discovered.

·thanks in advancefor advice,jd

Comments

  • sealion99sealion99 Posts: 23
    edited 2007-02-18 16:57
    Yes, you can use SX Sim to program in both ASM and SX/B without hardware.· I've been doing that for the past month or so and it works fine.· Actually, it is a nice system to learn on since the debugging facilities are a bit more powerful in SXSim then in the actual hardware.· And, of couse, it is totally FREE!

    I'm not sure why you are having problems with SX Sim, it has been working fine for me.· However, I do believe the version that installs with the IDE is an older version.· You should download the latest version from the SX Sim topic here in the forum.· To install all you have to do is copy the files into the 'Program Files\Parallax Inc\SX-Key v3.2\Tools\SXSim' folder.

    There are also some things which don't work in SXSim, but most of these are related to the Watchdog timer and the Timers in the SX48/SX52.· I would try uninstalling the IDE and re-installing and then copy over the latest SXSim files into the Tools folder and see if that gets it back running for you.

    Chris
  • jaydag71jaydag71 Posts: 8
    edited 2007-02-18 20:17
    ·Hi Christ and others, thanksfor the reply-- I did try to do the re-installation route and also copying the simonly into the IDE toolsfolder but niether have worked for me...the reinstallation just yields the exact same results andthe copying works and allows the sim to come up when button pushed but does not load the assembled source into the regs or anything,plus when I do try and do aload using the seperate sim prog I get an error code each time (13)- I just tried to load the supplied 'test' source but get issued the error.

    ·I think that the IDE sim is actually a newer version than the oneI triedto copy-it was dated later and contained more data than the seperate version of the sim??

    ·I really don't know what else to try here?? I cannot use the sim seperately dueto errs and cannot bring up the IDE sim so what next?I dunno...suggestions?
  • jaydag71jaydag71 Posts: 8
    edited 2007-02-18 21:06
    ·Ok,. Ido things a bit backwards sometimes, this case no exception.
    ·After getting stumped with the results I went through and read the posting above this one started by the author of the sim software. On the 8th page of that thread I found the solution--one must delete the .sim file located in the IDE's dir, so on my machine it was c:\program files\parallax inc\filename.sim .

    ·If one deletes this file (unsure what it is intended for but...) then everything is back to the way it should be,why? I dunno but it werked so no complain here.

    ·Again thanksto responders, I should have done more reading in first instance.

    regards,jd
  • Guenther DaubachGuenther Daubach Posts: 1,321
    edited 2007-02-18 23:07
    jd,

    sorry for not coming in earlier.

    With earlier versions of SXSim, it could happen that some windows were minimized when SXSim was launched after it was terminated before with some windows minimized. The most recent version, available for download in this forum has this fixed. Nevertheless, I wonder how a file named "filename.sim" could be created on your computer which then messed up SXSim. I'll double-check if this is a "feature" in SXSim, and fix it when necessary for the next version.

    In general - it is a good idea do delete any *.sim files when SXSim "misbehaves". Deleting *.sim files simply means that the "last simulation settings" of any previously opened *.lst with SXSim file is lost, so you can always manually restore these settings.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Greetings from Germany,

    G
Sign In or Register to comment.