Nucleo F411RE does accept new code

26 Jul 2018

Hello there,

The board I mentioned above started to behave weirdly yesterday. If I upload a new .bin via its 'drive' in windows, the board resets as it is supposed to but it doesn't use the new code. It just runs the old code instead.

How could that be?

These are all the ports I am currently using:

  • MIDI midi(PB_6, PA_10); URAT1_TX, UART1_RX
  • Serial pc(USBTX, USBRX);
  • InterruptIn btn(USER_BUTTON);
  • DigitalOut clkout(PA_9); UART1_TX
  • DigitalOut latchout(PA_8);
  • DigitalOut dataout(PB_10);

Best, Constantin

26 Jul 2018

Hello again,

It works now!

I updated the Firmware and that fixed it. However I don't understand how that could cause such a problem out of nowhere in the middle of a working session..

Best,

Constatin

27 Jul 2018

Hello My best way to get it to do just that is to compile it for the wrong board. I have several different types and swap between them on occasions. It gets me every time.

Duncan.