5 years, 8 months ago.

STM Nucleo F303K8 erased after power off?

Hi all.

I'm using a STM F303K8 with mbed and have just created a small program that reads a hall sensor on pin PA_9 and if detected, lights up the onboard LED.

I then disconnected the USB and connected it to a USB power adapter, but the board doesn't run the program.

I've reprogrammed it and then powered it through the VIN pin on the board, but the same thing happens.

Program compiles fine and I can transfer the bin to the board over USB, either using the filesystem or ST LINK transfer and the program works as expected, however, when the USB cable is disconnected from the board, the program is not retained in the F303K8 and I have to program it again...?

Is this the norm for Nucleo boards? Am I doing something wrong?

Thanks in advance.

Its been one week and four days and not even one comment/response?

Does anyone else have the same issue?

I'm obviously doing something wrong, but I don't know what it is. I've tried several things as listed in the original post.

Is anybody even listening to this?

Please help!

posted by Glenn Johnson 18 Jul 2018
Be the first to answer this question.