-
Notifications
You must be signed in to change notification settings - Fork 3k
[Exporters] Uvision5 project configuration missing Program Algorithm List #3049
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@sarahmarshy, please have a look at the above problem description. |
Thank you very much for the detailed description, I have noticed some of the problem with flash algo. We will have a look at this to resolve. |
@theotherjimmy, it is not only a problem of Nucleo boards but also of Discovery boards. Maybe more, I tested exporting and opening in uVision with some other tagrgets, I've never seen an entry in the Programming Algorithm list. |
I don't think we populate it. |
So I updated the title to better match the problem. |
@theotherjimmy @sarahmarshy How to get those flash algos in the debugger settings? |
Has this been resolved? |
Description
When exporting a project, e.g. with
and opening it in uVision5 the project can be compiled and flashed without problems. Nevertheless the project configuration is incomplete, as described under Steps to reproduce.
But when you want to change a debuger option, e.g switching on Reset and Run, the project can't be used any longer to flash the mcu. When you try it, an error message appeares which doesn't help to solve the problem. The reason is an empty flash algorithm config. Adding an algorithm is not possible. The offered list doesn't contain the correct entry but several other. Please see the screendump at the end.
The exact behaviour depends on mcu and uvison5 version:
Repairing a project does mean:
These steps are not really obvious so changing a debugger setting means bricking the project file!
A similar behavior was already repaired before the above PR. Based on the discussion there maybe it is a problem of STM targets in uVision5. But we didn't examined all targets. Creating the .uvoptx solved the problem at that time. Maybe the current format of this files is the problem.
Bug
Target
NUCLEO_xxx
Toolchain:
uvision5
Toolchain version:
5.20 and 5.21a
mbed-cli version:
0.9.9
meed-os sha:
mbed-os 5.2 rc3
873686c Merge pull request #3033 from ARMmbed/release-candidate
and current master
7bcc63b Merge pull request #2977 from andreaslarssonublox/ublox_drivers
Expected behavior
Programming Algorithm should contain one line with the flash algorithm
Actual behavior
Programming Algorithm is empty
Steps to reproduce
It looks like this:

possible algorithms before repairing as described above:

It should look like this:

and now Add offers these algorithms:

The text was updated successfully, but these errors were encountered: