I am trying to use STEVAL-STWINKT1B for predictive maintenance application as an standalone device using Battery pack provided in the kit. But i need to flash the program everytime i remove the battery. I wanted to know if there is a way to keep it within the board and not requiring to flash the program everytime i restart the board.
Maybe i am missing something while programming the board. Any help would be much appreciated.
Hi @Community member Thanks for the response, I was wrong in that term. The program stayed in the flash memory. I understood the problem.
I need to connect it to the USB the first time whenever i start the board. So if the power supply is cut from the battery pack, and i reconnect the battery again the board doesn't start working but if i give it power through the laptop the code starts running and then i can keep it running as a standalone device on the battery.
Is there a way to get the board running directly by connecting the battery after unplugging it instead of giving the initial power through the laptop?
This is not a board I'm using. Would suggest a review of the schematic in terms of power sources and flow.And then reviewing the code to understand what what the expectation and provisions are there for initial power up scenarios.
Does it need the laptop, or does a USB juice-box type battery, or charger suffice?