Today I have returned to using Keil Studio Cloud after not logging in for about a year and have found that some key parts of the functionality do not seem to be working. I have not changed any aspects of my program or the hardware set-up since last using the IDE.
The first issue is regarding downloading the firmware after it has been built/compiled. It simply does not seem to download like it used to when I last used Keil Studio
Has this functionality changed? How do I get the complied program?
The second issue is that my device will not connect. I am using an ST-LINK V2 with a custom board that functions as a NUCLEO-L073 target.
I have tried updating the STLINK to the latest firmware and have also verified that it is working fine when connecting to & programming the same board in STM32CubeProgrammer.
I have reviewed the documentation pages for troubleshooting "Connected development board or debug probe not found" (https://developer.arm.com/documentation/102497/1-6/Known-issues-and-troubleshooting/Troubleshooting/Connected-development-board-or-debug-probe-not-found) but the Windows Device Manager does not show any issues.
I have also reviewed the documentation page for troubleshooting "Connection fails when clicking Run project or Debug project", although it is not strictly relevant as it is intended for when "Keil Studio Cloud has correctly detected your development board or debug probe and the device shows as active, but the connection fails when you click Run project or Debug project. There can be multiple reasons for a connection failure." (https://developer.arm.com/documentation/102497/1-6/Known-issues-and-troubleshooting/Troubleshooting/Connection-fails-when-clicking-Run-project-or-Debug-project)
Hello keilProg,
1) there is an option that controls this. Go to "File -> Preferences -> Open Setting (UI) -> Extensions -> Build" and enable the option "Download the target binary after a successful build."
2) not sure, I just tried with a NUCLEO-L476RG (should have an ST-Link V2 -1 according to the box the board is in) and the Chrome browser. And this worked for me. Can you retry please with a real NUCLEO-L073 to see if that works?
Hi Andreas,Thanks for the feedback. Your suggestion in point 1 was very helpful.On point 2, I am still struggling to connect. It works with a brand new NUCLEO-L073 but not with my custom board. However, the custom board works with STM32CubeProg and has previously worked with Keil Studio Cloud last time I utilised that IDE. Nothing has changed on my board so I am unsure why it now does not work.ThanksElliott
Hello Elliott!
ok, point 1) resolved.
regarding 2) Do you know, if the ST-Link hardware version on your custom board is a "V2"? The NUCLEO board probably also have a "V2-1" as on my NUCLEO-L476RG.
I now also made a test with an external ST-Link V2 unit and have also issues to use it in Keil Studio Cloud. But it works in MDK 6. So, if possible can you please give it a try with the currently available MDK v6 Community Edition?
Hi Andreas,My custom board does not include the ST-Link hardware, I am using a normal ST-Link V2 to connect to an STM32L073 on my board via 6-pin SWD. So your test using a normal ST-Link V2 is a very similar set-up to what I am using and it looks like you have confirmed the issue with Keil Studio Cloud.I will try it in MDK 6 and get back to you.Thanks
ok sorry, then I got you a bit wrong form your initial post. However, then we are on the same page now. MDK 6 will then most likely work for you as well.
The issue with KSC and ST-Link V2 we will continue to investigate internally.
HI Andreas,
Any news on fixing this in Keil Studio Cloud?
Thanks
as far as I can see, KSC development is still working on this. Have you tried MDK 6 in the meantime? Does this also work for you?