I tried to run two FreeMaster and talk to two targets in two different com ports, it works fine, but next day, FreeMaster is not responding when I try to start it, only a cursor cycle appears for hours, I uninstall and then re-install FreeMaster 3.2.2.2, still not responding, I then delete register file in \.com.zero\ folder, still not fix it. Please let me know whether FreeMaster can run two targets in the same PC? How can I make FreeMaster to talk to at least one target? Please help! Thank you!
Solved! Go to Solution.
Hello,
please help me better understand the issue. I have some questions:
Thanks,
Michal
Hello,
please help me better understand the issue. I have some questions:
Thanks,
Michal
Hi, MichalH,
Many thanks for your help. I did all your suggestions and the last step deleting registry key: HKEY_CURRENT_USER\SOFTWARE\Freescale\FreeMASTER that fixes my problems. I can see the registry folder is corrupted and full lots of unwanted folders and am not sure why and how these folders are got in there. I guess because I ran two FreeMaster windows in the same PC, even with different targets in different communication ports. IS this means that I cannot run two FreeMaster windows in the same PC simultaneously?
Hello,
well, it is true that there are just one registry folder and it is used by any running instance. So if two instances are running, they both use the same.
On the other side, the write access to registry is synchronized by Windows. Corruption shall not occur. Also, writing to registry takes place only when closing the FreeMASTER or creating new project.
We are running/using multiple instances quite often, and never seen an issue like this.
Do you still have a backup copy of the "corrupted" registry entries you have seen? It would perhaps help us to understand what has happened.
Thanks,
Michal
Hi, MichalH,
Thank you for detailed explanations! Sorry, I deleted the HKEY in RegEdit last time, did not back it up, cannot find them in recycle bin now. Clearly these folders are random numbered temporary folders used by FreeMaster, there is no such folders in uncorrupted registered HKEY entry. Yes, I run two instances fine, but cannot start FreeMaster on the next day, I think the corruption of registry occurred after FreeMaster was closed.
Another possible cause corruption is that I run two different MCU targets via two different communication ports, but the two FreeMaster project names are the same (however, they are in different folders) because I only change MCU code, I will rename Free Master project name to try them next time. Is this make sense?
Hello,
so it seems the issue is easily repeatable on your side. Can you please do some experiments?:
Thank you for your cooperation!
Regards,
Michal
Hi, Michal,
I did the tests that you suggested, there is no problem occurred, I did not JSON-RPC or ActiveX communication. I also changed name of project so that two different project names that do not cause confuse and not corrupt window registry. I only run Free Master in this test, there is no any other software running, that also help. I even re-start PC and test again, still no problem.
Thank you very much for help!