cancel
Showing results for 
Search instead for 
Did you mean: 

How to retartget MCU in STM32CubeIDE (from STM32L433RCT6P to STM32L433RCT6)

freeflyer
Associate III

I have developed software in STM32CubeIDE using the NUCLEO-L433RC-P dev board.

This board uses the STM32L433RCT6P (which has an external SMPS for VDD12 pins) but the PCB I am designing uses the STM32L433RCT6 (without external SMPS).

When my PCB arrives, I will need to retarget the MCU in STM32CubeIDE from the STM32L433RCT6P to the STM32L433RCT6, but I cannot see how to do this.

I tried to create a new project (including the .ioc file) using STM32CubeMX and copy files accross, but got into a mess and could not get it to work.

Ideally I would like to be able to easily switch between both MCUs, so that I can continue to develop the software on the NUCLEO-L433RC-P until my PCB arrives.

How do I retarget my software to the STM32L433RCT6 ?

3 REPLIES 3
MM..1
Chief III

Official create new project and import ioc into it. (imported is pinout and setings)

Unofficial ioc is text file open in editor (PSPAD NOTEPAD) and change ID , use one from official ioc ...

Thanks, I did try that but with no sucess

I generated a new project in STM32CubeMX for the STM32L433RCT6, then copied the .ioc file into my existing STM32CubeIDE project (for the STM32L433RCT6P)

But when I open the .ioc in STM32CubeIDE, it still shows the VDD12 pins (which are only used on the STM32L433RCT6P)

freeflyer_0-1752000921270.png

 

freeflyer
Associate III

I restated STM32CubeIDE and this time it worked, although I've obviously lost all my periperhal and IO settings etc

So I edited the original .ioc file and did a find for STM32L433RCTxP and replace with STM32L433RCTx 

This appears to have worked, but in the folder there is a (linker?) file which has the 'P' designation called "STM32L433RCTXP_FLASH.ld" i.e. has the P suffix

Will this be ok or do I need .id file without the P suffix ?

 

Can I flash this build using STM32L433RCTx to the NUCLEO-L433RC-P ?  There are no VDD12 pins on the STM32L433RCTx which means there will be 2 additional GPIO pins, but so long as I dont use these additional GPIO pins will the NUCLEO-L433RC-P still work ?