cancel
Showing results for 
Search instead for 
Did you mean: 

Can't program STM32N6570-DK on macOS?

jmole
Visitor

Hi, I am trying to bring up some software on an STM32N6570-DK.

I'm able to upload example code from the STM32CubeIDE when the board is in DEV mode, e.g. when BOOT1 is set to 1. I followed the steps in this KB article: FSBL Explained 

However, I am unable to even connect to the board with STM32CubeProgrammer, even when in DEV mode. Here are the logs from STM32CubeProgrammer:

 

Port 0

10:59:00 : STM32CubeProgrammer API v2.13.0 | MacOS-64Bits
10:59:21 : UR connection mode is defined with the HWrst reset mode
10:59:21 : ST-LINK SN : 002000413234510E37333934
10:59:21 : ST-LINK FW : V3J16M9
10:59:21 : Board : STM32N6570-DK
10:59:21 : Voltage : 3.29V
10:59:21 : Error: ST-LINK error (DEV_CONNECT_ERR)

Port 1
10:59:25 : UR connection mode is defined with the HWrst reset mode
10:59:25 : ST-LINK SN : 002000413234510E37333934
10:59:25 : ST-LINK FW : V3J16M9
10:59:25 : Board : STM32N6570-DK
10:59:25 : Voltage : 3.29V
10:59:25 : Error: Cannot connect to access port 1! If you are trying to connect to a device with TrustZone enabled please try to connect with HotPlug mode. If you are trying to connect to H5 device and your target is already locked with password or certificate, please open your device using Debug Authentication.

Port 2
10:59:34 : UR connection mode is defined with the HWrst reset mode
10:59:35 : ST-LINK SN : 002000413234510E37333934
10:59:35 : ST-LINK FW : V3J16M9
10:59:35 : Board : STM32N6570-DK
10:59:35 : Voltage : 3.29V
10:59:35 : SWD freq : 8000 KHz
10:59:35 : Connect mode: Normal
10:59:35 : Reset mode : Hardware reset
10:59:35 : Error: Unable to get core ID
10:59:35 : Error: Cannot identify the device

 

I have tried a bunch of different options in the CLI as well, with no success.

I am also unable to find any loader scripts for N6 in the Programmer GUI:

jmole_0-1759444960595.png

 

And I found in the ROT demo code, MacOS is specifically listed as not supported.

 

So my questions:

1) Is it actually possible to program flash for this part on MacOS?

2) What kind of workflow do I need to set up to be able to write program code to flash and have it boot?

3) Is it possible (or recommended) to flash the BSEC-OTP to BSEC-Open in order to use the DVK like a normal flash MCU?

@B.Montanari @Julian E. 

0 REPLIES 0