2024-10-25 07:54 PM
Building Discovery Debug and Release errors
STM8L152C6 MPU
The command: "cxstm8 -i..\..\..\..\libraries\stm8l15x_stdperiph_driver\inc -i..\..\inc -i..\..\..\..\librairies\stm8l15x_stdperiph_driver\inc +mods0 -pp -i"C:\Program Files\COSMIC\CXSTM8_32K\Hstm8" -clRelease\ -coRelease\ ..\..\..\..\libraries\stm8l15x_stdperiph_driver\src\stm8l15x_adc.c " has failed, the returned value is: 1
exit code=1.
discover.elf - 2 error(s), 0 warning(s)
No errors for Debug Build
How to see what the Release Build error was and where? How to fix?
Cannot Read STM8L152C6T6:
0x00 1000-0x00 10FF
0x00 1100-0x00 11FF
0x00 1200-0x00 12FF
…………
0x00 1700-0x00 17FF
Option bytes 0 0x00 4800-0x00 487F
All feedback is most welcome! Thanks.
2024-12-12 11:33 AM
I had this working now for Debug and Release but have a new problem using STVD. When I bring up STVD and Discovery.stw, the upper right area windows that used to show Debug and Release is missing. It should look more like UM0991 pg 33/52 Figure 26 where there are two boxes that in this particular intro example case show stvd_project and Debug where it should show Debug and Release options for this Discovery project. I tried to attach a screen capture file but that does not work with Reply..
I also get discover.wed errors with access permission failure but ignoring this still worked for Buildings.
Any ideas why the problem and a fix? Thanks.
2024-12-12 12:04 PM
Right click in the toolbar area and be sure that project is checked.
2024-12-12 04:03 PM
Yes, it is selected.
2024-12-13 07:26 AM
Delete the WDB and WED files that have the same name as the workspace.This solved my missing top level menu problem as well as messed up toolbars showing up in places that I couldn't move or delete.
2024-12-13 11:11 AM
Wow! This worked. Amazing that you found this glitch. I renamed the files to a leading underscore that they will remain in existence but not accessed by the Build. The Build still tries to modify the discovery.lkf file but I write protected it and that seems to be OK. On starting STVD, I do get an access issue to discovery.wed but ignore it.
Thanks very much.