This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Run HET IDE without simulator?

Hello

I've had big trouble trying to run the HETIDE on W7 W8 and now on windows 10. Followed every guide on how to get this running, tried on different computers, reported my problems of this forum and asked for help, but still no luck! 

I think the root of the problem is the simulator. It's made for NT/2000/XP and unfortunately I no loger have an XP computer.

I would be happy without the simulator. Is there a switch for starting up the HET IDE without the simulator? 

I have not tried "the patch" on windows 10 becasue it's no loger available on the link I've got from TI previously. I think the problems are bigger than this patch can solve anyway, but can I please have the link again?

This is most anoying and I urgetly need this software to work! I now have a fresh computer with nothing else on than windows 10 pro. Please, what can I do to make it run? Is anyone else running this on anything higher than windows XP?

  • Henrik,

    Your question has been forwarded to our HET IDE expert.

    Thanks for using our forum.

  • Henrik,

    If you just want to assemble your code, the hetp.exe executable for the HET assembler is included in the HET IDE distribution and can be run from the command line.

    The simulator application is a 32-bit System-C code compiled with Visual Studio 2008.   Do you have installed the Microsoft Visual C++ 2008 Redistributable - x86 on your windows machine?  As far as I know this is the main external component that you need.

    I run all day on Win7 Pro x64 - without issue, and have used it also on Win 7 Pro x32 and Win 8.1 Pro x64.   I do think I have run the application compatibility and set for Win XP compatability.  I've also gotten asked w. the UAC question will I allow the program to make changes to the system... always click yes.  I do have local admin rights on the machines I run on though.  

    We're getting ready to release an update with the patches rolled in.  The first patch is to fix a problem where the simulator and front end are communicating over a fixed TCP/IP port #4242.  If this port is blocked or already in use, the IDE starts but can't communicate w. the simulator.     If your IDE starts but doesnt' communicate w. the simulator (which means it'll hang when you try to launch a simulation) then the patch will help you.    We have to reset the link upon request as it times out after a week, so let us know and we can enable it for you.

    Best Regards,

    Anthony

  • Anthony,

    The application starts, but I reinstalled the C++ 2008 Redist anyway. Problem presists. I have local admin rights and run it using XP compatibillity mode and always click yes on the UAC question.

    This is what I get in the output window:

    Connected to Simulator
    Starting the simulator ....
    Constructed frontend interface 1 ...
    Clock is set to 12.5 HET_NS

    It then consumes 40% CPU load and the menus is unresponsive and can't do anything really. I don't believe I'm doing anything wrong, it just doesn't work. I tried a wide range of computers from win 7 to win 10 and it's all the same.

    Best regards

    Henrik
  • Henrik,

    If it's possible would you please run TcpView from technet.microsoft.com/.../sysinternals
    and see who is listening on port 4242? It should be Simulator.exe. Just want to make sure the GUI is talking to the right program and not exchanging messages with some other program..
  • This is what it looks like:

    It says established...

    Best Regards

    Henrik

  • Thanks Henrik,

    That looks right.

    I don't think you're doing anything wrong and I really wish we could reproduce the issue so we could figure out what's going wrong. I'll have to research a bit on what the best way to debug this would be. (if there's a log file or if there's a way to get you a patched exe that gives more info. for example...)

    It'd also be good to get some details about the machine(s) that you're using - CPU, memory, and whether there's anything different that you can think of about them that may be a clue.

    Sorry about this and definitely owe you for your help debugging the problem.

    Best Regards,
    Anthony
  • I've got a Swedish version of windows, maybe something gets localized wrong?

    If you have a patched version generating logs or even send me the visual studio project and I'll take a look at it :)

    Best Regards

    Henrik
  • Thanks Henrik,

    That may be a good clue. I'm downloading a Swedish edition of Win7 Pro (32 bit) now and will try it in a VM to see if I can reproduce the crash. Will keep you posted.

    Best Regards,
    Anthony
  • Henrik,

    I was able to run the HET IDE in a VM running the swedish win7 pro x32 bit edition.  That's a clean install from the DVD ISO image.  I gave it 2G RAM to work with.  I didn't need to give it any compatibility mode settings.   

    There were a few issues although not sure if they are related to the VM or the swedish edition:

    1) synapticad didn't install automatically.    I had to find the installer in the /bin subdir (allproducts_synapticad_16_04f.exe) and run this manually.

     but ...  this issue caused the IDE to not start w. an error message that syncadlauncher.dll wasn't in the path.  It didn't cause a crash.

    2) I got a few messages from windows firewall where I had to grant access to allow the program to run.

      (thank you google translate or I wouldn't know what the message said).

    but then I was able to run a simulation, exit, restart...

    Might be worth making sure that a firewall isn't blocking the program - if you haven't already checked.  

    Otherwise gotta keep researching this to see if we can get you something that will give more debug info.    

    BTW I do think I've only run this on Intel CPUs.   Are you also running on an Intel or another processor.   I don't see any processor specific optimizations turned on but I haven't checked the Qt lib build or the system-c build yet.

    Here's some screenshots to show you what I saw including the error from windows firewall:

  • Henrik,
    One of my colleagues did remember this post: e2e.ti.com/.../534036

    I did install synapticad in the default location C:\Synapticad on the VM when I tested. Would be good to know if you've also done this too.

    Thanks and Best Regards,
    Anthony
  • Hi

    Good to hear somebody can run the program :) I've tested i5 and i7 CPUs only with plenty of RAM.

    If I run syncad.exe and then HETIDE. Vola, "WaveViewer Free" is running, but the HET IDE is still really slugish and consumes about 40% CPU. I've ofcource tested without firewalls.

    Synapticad is installed in c:\synapicad and SYNCAD_HOME is set to "C:\SynaptiCAD"

    I will also try and run it on a VM.

    Thank you for all your efforts.

    Best regards

    Henrik
  • Hi Henrik,

    One of my colleagues (Sunil) thinks he remembers a forum post in the past where a special character in the path variable was causing a problem like this with the IDE.

    Maybe another option is to minimize the path that is used when launching the HET IDE.

    You could try something simple like this:

    To see if this helps the HET IDE start.

    BTW - I don't need to start synapticad manually when launching a simulation.  Just needed to start the Synapticad *installer* after the HET IDE installer, because for some reason the one didn't call the other.

    Best Regards,
    Anthony

  • I tried a clean path as suggested. the HET Ide starts (still consumes high CPU) clicked "assemble and load it then crashed. Windows event viewer said:

    Felet uppstod i programmet med namn: HET.exe, version 0.0.0.0, tidsstämpel 0x4f2680cc
    , felet uppstod i modulen med namn: QtCore4.dll, version 4.6.2.0, tidsstämpel 0x4b7cda63
    Undantagskod: 0xc0000005
    Felförskjutning: 0x0001ea86
    Process-ID: 0x1130
    Programmets starttid: 0x01d0cfb1d91a329a
    Sökväg till program: C:\Program Files (x86)\Texas Instruments\Hercules\HET\HET.exe
    Sökväg till modul: C:\Program Files (x86)\Texas Instruments\Hercules\HET\QtCore4.dll
    Rapport-ID: 4db0054c-bb76-4825-8c52-12cb56ed9e5d
    Fullständigt namn på felaktigt paket:
    Program-ID relativt till felaktigt paket:

    I don't think you need google translate to understand..

    Above is taken from a PC running Windows 10 pro x64 Swedish, i5 16Gb ram.

    Please note my HET.exe is installed (be default) in c:\program files (x86)\...and yours is installed in c:\ti\hercules\.... maybe that could cause any problems?

    Best Regards

    Henrik
  • I moved to c:\ti\.. but no luck. Also tried to clean up my windows environment path but no luck. Crash above is probably because the HETIDE wasn't run in windows XP compatibillity mode from the command prompt?

    Best regards

    Henrik
  • Henrik,
    I actually did a google translate - but it couldn't translate Felförskjutning.. Does that mean the 'address accessed' or something to that effect? Makes me wonder if the problem occurs during reading configuration files at startup - something like calling a QT string function but passing it a null pointer or the like. I saw an error in this vein the other day when I had a .hnc file that was out of date - as the disassembly loaded it used the line count from the .hnc file which was larger than that of the file that was actually being read - and this caused a crash due to null pointer.
    Would it be possible for you to send me a .zip file of the installation folder from your machine? I want to check the other files that the HET IDE reads to see if there's any problem in them.
    Thanks and Best Regards,AnthonyThanks and Best Regards,Anthony
  • I just tried an "old" i5 8Gb laptop which I updated to windows 10 pro swedish  version. Installed het ide (runing the installer in XP compatibillity mode) and it works...I don't know what to say...I've notised it consumes less memory compared to the my computers that it doesn't work on. 30Mb compared to 50-60Mb of ram. and the cpu load is now close to zero. 

    I'll zip down the files and send to you tomorrow. I will also try uninstall and reinstall using xp compatibillity mode as this is the only thing that differs from before.

    Best Regards

    Henrik

  • Thanks Henrik, glad to hear it at least works on one machine for you. Hopefully you can work with that until we figure this out.
    Best Regards,Anthony
  • Henrik,I just installed Win 10 pro x64 in a VM and it ran the HET IDE.
    I had the same issues as Win 7 :
    a) the installer didn't actually run the Synapticad installer - I had to find it and run it manually
    b) I got the firewall message twice and had to allow it both times.
    But after that it's running and passing waveforms to Synapticad.
    Curious if you don't mind showing me a directory 'tree' of the Synapticad folder. I want to make sure there is a \win32\bin for example and that the folder name isn't changed for the locale. The IDE program seems to have parts of the path hard coded like that and maybe a change in one of these names is causing the issue.
    Best Regards,Anthony
  • Henrik,

    I found some instructions on making Win7 output a crash dump.  I think if you do this and send me the file, either I have a much better chance to figure out the issue.  Might need to change the build to a release w. debug info and try again -  but we can cross that bridge if we need to.  

    I tried this on my computer and created a crash (if you assemble, then open the .hnc file in a text editor, and copy the last 4 .word lines to duplicate them, then save and launch the debugger - this causes a true crash due to null pointer).    I haven't looked at the results yet to see what they tell me but I do see a pretty big dump file.

    To turn this on you need to set some registry keys.     So you have to run a CMD shell as administrator and then copy/paste these lines:

    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\Het.exe" /v DumpCount /t REG_DWORD /d 10

    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\Het.exe" /v DumpType /t REG_DWORD /d 2

    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\Het.exe" /v DumpFolder /t REG_EXPAND_SZ /d ^%LOCALAPPDATA^%\TI\Het\CrashDumps

    reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\Het.exe" /v CustomDumpFlags /t REG_DWORD /d 0

    You can then double check in regedit - should look like this:

    I'll need to look into whether we can get the installer to set these keys for the next release so you don't need to do it manually, but for now this is the only way I think.

    When you run the HET IDE and it crashes, it'll create a .dmp file.  If you would please send this to me I'll see what I can glean from it.

    The dump file will look like this - note that the %LOCALAPPDATA% folder is hidden by default so you have to probably paste it into the explorer bar to get to the folder.   (or, if it's too much a pain you could change the dump directory registry key to C:\temp or something easier to find for you...)

    Caveat here is that I'm new to .dmp files - so might not pan out but I think it's the best step to try next.


    Thanks and Best Regards,

    Anthony

  • ps. just thought of this. In case it's Simulator.exe that crashes you could also set up a set of 4 keys as above, but using Simulator.exe as the key name (just replace Het.exe w. Simulator.exe).
  • I have now enabled dump files for both het.exe and the simulator.exe. They don't crash when running in XP compatibillity mode. I you want me to run without the compatibillity mode let me know.

    As the installation of the SynaptiCAD completes "successfuly" this pops up:

    Maybe that's a clue...

    My synapticad folder, let me know if you need a specific folder expanded:

    4061.HET.zip

    Attached a zip of my HET folder ("het\bin\allproducts_synapticad_16_04f.exe" removed due to it's size).

    Best Regards

    Henrik

  • Yes, I'm up and running and my PWM algorithm works too so I'm happy :)
  • 3755.d9db2502-46d7-4dd8-a222-662b12fb3396.zip

    Attached is a crash report from synapticad. Note this is not a windows dump file, but from some synapticad crash report tool. It doesn't say much though...

  • Some more input...

    If I reinstall het and synapticad, the HETIDE startus up and looks normal with no project loaded.
    Before opening any project for the first time, menus are ok and every thing is responsive and memory and CPU usage are low.
    If I open any project like the tutorials for example. It then CPU usage ramps up (about 10 seconds ramp up, before it reaches 40%).

    The next time HETIDE is started it starts up with the previous loaded project and is unresposive from start.

    Best regards

    Henrik
  • Hi Henrik,
    Thank you for putting up the syncad log file and the directory folder. I'll look at these now and I asked a contact at synapticad for some help too.
    Just to clarify though - your message about being up and running - is this now negated by the last message? Or do you have one working setup and this problem with the re-install is on another setup. Just want to find out if you're blocked or have a workaround for the moment. For the 40% CPU problem it would probably be good to get an application crash dump from HET.exe. But it has to crash in order to do this. With the 40% load - does it eventually crash - or is it just sitting unresponsive at 40%?
    Best Regards,Anthony
  • Looks like your HET folder matches mine with the exception of projects xml file - you have different paths but your paths have no spaces or special characters from what I see... and your syncad "IOR" file is slightly different - but that's it. I'll need to find out what the IOR file does - but it doubt it's the problem as it's only a few characters different - probably just a different HET configuration.
  • I'm ok, no worries.

    The reinstall issues are from another setup/computer.
    It doesn't crash if XP compatibillity mode is on. Just stays unresponsive.

    Best regards

    Henrik
  • Hi Henrik,
    Contact at Synapticad thinks that the error message is likely due to installing an older 16.04f version of synapticad over top of a newer version.
    Suggestion is to uninstall Synapticad, completely delete the folder, and then install 16.04f again.
    Does this sound like something that might have happened / is it worth trying?
    Thanks and Best Regards,Anthony
  • I did uninstall synapticad before reinstallation. There were many files remaining in the folder after the "unwise" was done. I deleted the folder and then installed . I've been trying both versions, maybe the registry is clobbered with something I didn't check.

    Best Regards
    Henrik
  • Tried reinstall synapticad again, this time without error.

    I've notised there is network traffic going on from the HETIDE while it's unresponsive. 0.5Mbit/s...isn't that much for doing nothing?

  • Below are two screenshots from wireshark. Frist the DNS query and then the DNS response. As you can see there are about 5000 DNS querys per 8 seconds. Might give you a clue...

    Best Regards 

    Henrik Liljedahl

  • Hi Henrik,

    Thanks - this could be a huge hint.  

    On the machine where you see this happening, what happens if you type 'ping localhost' in a cmd prompt?

    I think we do expect that 'localhost' is going to be resolved to the local machine's loopback adapter, so if this

    assumption is wrong it could explain the issue.

    Thanks and Best Regards,

    Anthony

  • Hi Anthony,

    >ping localhost

    Pinging swhenrik [::1] with 32 bytes of data:
    Reply from ::1: time<1ms
    Reply from ::1: time<1ms
    Reply from ::1: time<1ms
    Reply from ::1: time<1ms

    Ping statistics for ::1:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms

    Best Regards

    Henrik

  • Thanks Henrik! So that seems like the issue isn't with the name 'localhost' being translated into a different language. There does seem to be a change starting in Win7 with the %WinDir%\System32\drivers\etc\hosts file - localhost's entry is commented out and it's said to be moved to DNS.... another indicator that this may be the source of the trouble. More research to do on this issue .. but this seems like it may be a promising lead.
  • Searching for a solution for a sluggish HET IDE program, I stumbled upon this topic that describes the issues I'm having perfectly. There seems to be an issue in W10. On W7 HET IDE runs fine, but on my W10 computer HET IDE becomes inoperable after a couple of seconds. Network activity is high at the start, and drops quickly. Is there any news regarding this topic?

  • Hello Patrick,

    I will forward your post to a former team member and hope that they may be able to address your question. Our core team that supports Hercules is located in Houston and many have been impacted by Hurricane Harvey and it's subsequent flooding in the Houston Area. Please know that we will do our best to support you and your questions but there may be substantial delays due to the current weather related events we are experiencing.
  • So we fixed the issues we found and released a new version of the HET IDE a while back.  You can download it here: