Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
SiNut Newbie Joined: 12/03/2015 Location: United StatesPosts: 12
Posted: 05:18pm 28 Oct 2019
Copy link to clipboard
Print this post
I am building a battery management system using the STM32L452RET processor. It uses a NUCLEO-L452 board with an interface board that has analog, relay driver and CAN bus circuitry on it. The system will eventually run custom firmware. However the ARMmiteL4 provides a simple and quick way to check out the hardware and exercise the different interfaces. The latest version of ARMmiteL4 code (2019-05-09_041753) runs just fine and provides access to the analog and digital interfaces.
I built ten of these systems and have loaded the ARMmiteL4 code on them all. Everyone accepts the .BIN file and responds with the startup message and displays the “>” prompt. Six of the boards then accept my Basic test file and operate exactly as expected. However the rest accept a few characters of input and then lock up entirely with no further response. Sometimes they go as far as to accept the “XMODEM receive” command but then lock up during the transfer. In all cases a reset will bring them back with the startup message and “>” prompt only to lock up again after accepting a few characters. I have reflashed the ARMmiteL4 image after erasing the processors entirely but to no avail. I have also tried changing the baud rate of the console at the prompt, again with the same results.
All the NUCLEO-L452 boards were purchased in a batch and are the same revision number. All the processors have the same numbers on them. All the crystals on the boards are running at a frequency within a few hertz of each other. These NUCLEO boards behave in the same manner without my interface board attached.
My questions are: - Has anyone else experienced similar behavior, running the ARMmiteL4 code across multiple copies of a system?
- Is there any reason the ARMmiteL4 code will not run on the STM32L452 processor? It appears to be built around the same core as the rest of the series.
- Is there a way I can get a copy of the ARMmiteL4 source code to delve into this mystery further? I guess this last question is really for PeterM.
I would appreciate any suggestions on how to get all the systems running consistently. The ARMmite environment is excellent for testing and quickly prototyping different algorithms and I would hate to give it up. Thank you.