2023-08-10 03:30 AM
Hello everyone, I work in a team where we manufacture an electric car. We currently use Arduino Mega as our ECU, but we want to shift to STM. We already have a STM32-L152RE Nucleo board. I am not able to run any sort of program on the board. The code gets uploaded but never runs. What might be the potential issues, is there any specific method to upload the code to this particular Nucleo board.
Solved! Go to Solution.
2023-08-10 05:41 AM
How do you know it's not running as opposed to being stuck somewhere during initialization? Debug it, step through the code and see where it gets hung up.
2023-08-10 05:41 AM
How do you know it's not running as opposed to being stuck somewhere during initialization? Debug it, step through the code and see where it gets hung up.
2023-08-10 06:40 AM
2023-08-10 08:36 AM
Hmm, that is odd. Are you going into low-power modes at all? Are you remapping the SWDIO or SWCLK pins? If not, not really sure what could be going on. Perhaps upload a code with no functionality and see if that works. I don't think there's anything special about that board. If there is, the user manual should discuss it.
2023-08-11 03:32 AM
No, I'm not remapping any pins. I also tried running a code with no functionality, but I'm getting the same error. Is it possible that there is some problem with the cable or Mini-B port on the Nucleo Board