Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
6 years, 1 month ago.
Can I program a STM32F411RC chip using the Nucleo-STM32F411RE platform in ST-Link?
Good day,
Can I program a STM32F411RC chip on my own PCB using the Nucleo-STM32F411RE platform in ST-Link? I have programmed a STM32F303K8 chip using the Nucleo-STM32F303K8 platform in ST-Link with no issues. When I try to program the STM32F411RC chip using the Nucleo-STM32F411RE platform, the chip will connect without it failing and the code will push to the chip, but does nothing when it is in operation.
1 Answer
6 years, 1 month ago.
Hello Robert,
You can program an STM32411RC chip (that is to download the binary code to its flash memory) installed on your own PCB with any NUCLEO board equipped with ST-LINK/V2-1 programmer/debugger (see chapter 6.2.4 Using ST-LINK/V2-1 to program and debug an external STM32 application
in the User Manual).
- However, when you build a program with MBED for a NUCLEO-F411RE board and you'd like to download such program to an STM32F411RC chip, make sure that it does not exceed 256kB (see Table 2. STM32F411xC/xE features and peripheral counts on page 12 in the Datasheet).
- Also remember to connect an 8MHz crystal (decoupled with 20pF capacitors) to OSC_IN, OSC_OUT pins of the STM32F411RC chip on your board (see https://os.mbed.com/questions/83299/How-to-Program-STM32F411RE-MCU-using-STL). This is necessary because the STM32F411RE chip located on a NUCLEO-F411RE board is getting its clock signal from the ST-LINK's oscillator but no such is available on your own PCB to provide clock signal for the STM32F411RC chip.