I've just installed MCUExpresso 11.1, loaded an SDK for the K64 Tower, and created a project to run the supplied Hello World program. No (intentional) changes of any kind. I should say this is on a Windows 10 machine. I have the Tower plugged into a USB port. All files were installed in their default locations.
It compiles OK, but when I run it, I get a dialog box that says:
"Launching 'twrk64f120m_hello_world_gary.axf' has encountered a problem.
Could not determine GDB version using command: gdb--version"
When I click on Details, it adds
"Could not determine GDB version using command gdb--version
Could not find platform independent libraries <exec_prefix>
Consider setting SPYTHONHOME to <prefix>[<exec_prefix>]
ImportError: No module named site."
So, what does that mean, and how do I resolve this?
Best Regards
Gary Olmstead
Ventura DA
Solved! Go to Solution.
I believe your issue is on point 7, is that correct?
Could you please send me a screenshot of the window that is displayed when you select debug?
Regards
Soledad
Well, I would if I could find it. The help feature says it's available on the Project Explorer view, but nothing says "Project Explorer". Obviously, I haven't made any changes, it's still however it comes.
Hi,
I want to check the debug configurations, could you please share a screenshot similar to the following?
Regards
Soledad
Soledad --
What version of the program are you running? I don't see "Debug Configuration" on any menu. I see "Project > Properties" which is grayed out. Nothing else.
This is what I could find. The menu selection only appears when there's a compiled file to debug. It doesn't look anything like yours, aside from the bug in the upper right.
Soledad --
I've figured out that the screens and menus reconfigure themselves, probably not at random, but according to some criteria that are not obvious and not documented in the User Guide.
Here's a screen that's closer to what you want, or at least has several of the same tabs, but is completely rearranged from yours.
Hello,
Please follow the steps to create a new project:
1. Click on New project:
2. Select the device
3. Select the name, drivers and other options and click Finish
4. At this point, you create a new project and you can see it in the workspace
5. Using the Quickstart panel Build the project:
6. Using the Quickstart panel Debug the project:
7. A new window will be displayed, click OK
8. At this point, you will be able to debug your project.
Regards
Soledad
I believe your issue is on point 7, is that correct?
Could you please send me a screenshot of the window that is displayed when you select debug?
Regards
Soledad
Hi Soledad --
Well, it worked perfectly. My windows look exactly like your windows, and the code runs just fine. As far as I can tell, the only difference is that for this exercise, I closed everything else, and only this code was present.
I had been using the menus, which should work, except that the menus are context sensitive, and important choices appear and disappear depending on where you clicked last. Now that I know how to make the Quickstart window appear when I need it, I'll use that from now on.
Thank you very much for your help, and even more for your patience.
Gary Olmstead
Ventura CA
Soledad --
I looked at both of the links you suggested. They are both from several years ago, and the steps they suggest don't exist anymore. Besides that, the first one says that if you have a problem with GDB, just kill it, but doesn't say what to do after that.
Hi,
Could you please share your launch configuration settings?
Regards
Soledad
So, MCUExpresso doesn't know how to install itself? How is that an improvement over CodeWarrior?
Hi,
The message indicates that it cannot find or launch the program. Please check that your firewall is not blocking the gdb executables.
In addition please check the following articles:
Troubleshooting Tips: Failed Debugging with GDB | MCU on Eclipse
Emulating Eclipse ‘Run’ with ‘Debug’ Configuration | MCU on Eclipse
I hope this helps, have a nice day!
Regards
Soledad