2021-05-07 01:33 AM
hello
I have been purchased one of STEVAL-PTOOL1V1 evaluation board.
I am going to develop sample code which provided by company, but some errors occurred in building new file process by IAR & Keil IDE.
errors of following:
no definition for "MC_Core_Start"......
no definition for "MC_Core_Stop"......
no definition for "MC_Core_Brake".....
it seems the sample code which provided by your company is not complete & same functions are just declared & no defined.
it would be appreciated if you provided a revision to mentioned sample code.
thanks & best regards.
2021-05-12 02:39 AM
Hello @amoos.1,
from which software package did you start to generate your custom code?
I suggest you download the STSW-PTOOL1V1 firmware package and start making your changes from this.
Let me know if this help you.
2021-06-14 05:07 AM
Hello @amoos.1,
any update about your project progress? Were you able to fix the errors?
2021-07-01 05:43 AM
thanks to ur guidance cristina.
i downloaded the firmware package that u sent. issues were fixed and .hex file was made.i have new issue and can not resolve that.
IAR IDE generates a message error during download and debug progress."fatal error:there were warnings during download of flash loader,see log window session aborted:"
it would be appreciated if guide me more!
EDIT: removed personal info
2021-07-01 07:36 AM
Hi @amoos.1,
A first suggestion is check the ST-Link reset type. Sometimes the ST debug interface cannot connect due to the processor state.
From the menu bar select Project->Options then ST-Link from the list on the left.
The Reset box is normally set to Normal but can be changed to Connect during reset which will hold the processor in reset while connecting the debugger before any code can execute.
Let me know if this help you, otherwise please share the debug log.
2021-07-02 10:28 AM
thanks to ur guidance cristina.
i have been tested "connect during reset" mode in IAR IDE and ST-LINK Utility software but my problem was not resolved.my debug log pictures is following: thanks and best regards cristina
2021-07-05 12:54 AM
Hi @amoos.1,
could you check and share (screenshots are ok) your project configuration?
2021-07-06 11:01 AM
hello cristina
screenshots are following:
thanks and best regards
2021-07-07 01:59 AM
Hi @amoos.1,
it seems an issue related to firmware-software coupling.
I add the STM32 Motor Control tag, @Laurent Ca... could you help on this topic?
2021-07-09 10:52 AM
thanks Cristina to ur help,
i need to help immediately .could u link me to ur technical team to resolve this issue?
thanks and best regards.