Anding 0 Posted September 14, 2019 Share Posted September 14, 2019 Hello, I am a new user attempting the blink example. Here is the error that I get java.io.IOException: Cannot run program "C:\Users\andre\AppData\Local\Energia15\packages\energia\tools\dslite\7.2.0.2096/DebugServer/bin/DSLite": CreateProcess error=2, The system cannot find the file specified I have already installed the drivers from https://energia.nu/guide/install/windows/ and restarted the PC. The device is a LaunchPad (Tiva C) w/tm4c123 (80MHz) on COM3. I'm using Window 10 PRO, with latest updates. Energia 1.8.7E21. Many thanks for any thoughts Quote Link to post Share on other sites
Anding 0 Posted September 14, 2019 Author Share Posted September 14, 2019 I tried installing TI's own LMFlashProgrammer and Code Composer Studio in case they were needed, but the error still remains unfortunately Quote Link to post Share on other sites
StefanSch 10 Posted September 16, 2019 Share Posted September 16, 2019 Error says it can not find the executable for DSLite. Have you checked if the file is there. Maybe there was in issue and the tool DSLite did not even got installed. Quote Link to post Share on other sites
Anding 0 Posted September 16, 2019 Author Share Posted September 16, 2019 Hi Stefan, Thank you for your interest. Please see attached image from my filesystem. I am not sure if the tool is there or not? I'm new at Energia. I don't know how it's structured and I had rather assumed that all of the necessary components would be included automatically, but perhaps this is an easy fix if not? Quote Link to post Share on other sites
Anding 0 Posted September 16, 2019 Author Share Posted September 16, 2019 One more image of the folder itself Quote Link to post Share on other sites
energia 485 Posted September 16, 2019 Share Posted September 16, 2019 Hi Anding, It seems that the TivaC installation did not complete. Can you do the following: In the board manager click remove on the TivaC package. Go to the directory C:\Users\andre\AppData\Local\Energia15\staging\ and delete all files and folders Go to C:\Users\andre\AppData\Local\Energia15\packages\energia\tools\dslite\ and delete the folder 7.2.0.2096 Go to C:\Users\andre\AppData\Local\Energia15\packages\energia\hardware\ and delete the folder tivac Now restart Energia Start Energia and reinstall the TivaC package. Robert Quote Link to post Share on other sites
Anding 0 Posted September 17, 2019 Author Share Posted September 17, 2019 Hi Robert, I think you have correctly diagnosed the problem. When I perform step 6, Energia hangs at this point (and I now recall this happened before) Here is as much information as I can find out I'd be very grateful for any thoughts on next steps. I've already disabled antivirus for the install and also removed old versions of Java that were installed on my system. Quote Link to post Share on other sites
Anding 0 Posted September 18, 2019 Author Share Posted September 18, 2019 I attempted a fresh install on a completely different PC with, unfortunately, exactly the same result. The board managers hangs when attempting to install the Tiva C boards. I guess this may be some issue with the board managers as it's occurred on two entirely separate machines. Quote Link to post Share on other sites
energia 485 Posted September 18, 2019 Share Posted September 18, 2019 Note that it can take quite a bit of time for the installation to finish? How long did you wait? Quote Link to post Share on other sites
Anding 0 Posted September 20, 2019 Author Share Posted September 20, 2019 Hi Robert, good question to ask. I ran the board manager again. After 15 minutes the installation was still "stuck" at the stage shown above. After 25 minutes I came back and found that it had progressed with the following message: I had previously confirmed that the \tools\ folder was completely empty. I ignored the error shown and was pleased to find that the Tiva C board definitions had indeed installed correctly. I was able to run the blink example from the video. I should have been more patient, but >15 minutes is longer than I expected, especially as this is just a "plug in", not a major stand-alone software package. Perhaps it would be helpful to have some more visible progress indication or even a warning that the installation might take 15-20 minutes? Anyway, thank you for your help. These TI, Tiva C Launchpads are great boards. They don't always get as much attention as the alternatives, but they have so much more potential and are really a gift at < US$20. I'm pleased that the Energia software is around to support them! Quote Link to post Share on other sites
energia 485 Posted November 10, 2019 Share Posted November 10, 2019 Please repeat these steps again and do not cancel the installation process until it is done. It seems that it takes a long time on your machine and it might look like it hangs but that's not the case. In the board manager click remove on the TivaC package. Go to the directory C:\Users\andre\AppData\Local\Energia15\staging\ and delete all files and folders Go to C:\Users\andre\AppData\Local\Energia15\packages\energia\tools\dslite\ and delete the folder 7.2.0.2096 Go to C:\Users\andre\AppData\Local\Energia15\packages\energia\hardware\ and delete the folder tivac Now restart Energia Start Energia and reinstall the TivaC package. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.