fpiSTM wrote: Sat Dec 12, 2020 7:10 am
Could you shared all your config?
core version, Arduino IDE version, selected options...
STM32 Cores version 1.9.0 and Arduino IDE version 1.8.13 installed.
Selected options:
- Board: "Nucleo-64"
- Board part number: "Nucleo L476RG"
- U(S)ART support: "Enabled (generic 'Serial')"
- USB support (if available): "CDC (generic 'Serial' supersede U(S)ART)"
- USB speed (if available): "Low/Full Speed"
- Optimize: "Smallest (-Os default)"
- C Runtime Library: "Newlib Nano (default)"
- Upload method: "Mass Storage"
- Port: "COM3"
Upload method: "Mass Storage" output:
Code: Select all
1 File(s) copied
Upload complete on NODE_L476RG (D:)
Remaining upload methods produce following outputs:
Upload method: "STM32CubeProgrammer (SWD)"
Code: Select all
-------------------------------------------------------------------
STM32CubeProgrammer v2.6.0
-------------------------------------------------------------------
ST-LINK SN : 066BFF565653756687243410
ST-LINK FW : V2J37M26
Board : NUCLEO-L476RG
Voltage : 3.26V
SWD freq : 4000 KHz
Connect mode: Under Reset
Reset mode : Hardware reset
Device ID : 0x415
Revision ID : Rev 4
Device name : STM32L4x1/STM32L475xx/STM32L476xx/STM32L486xx
Flash size : 1 MBytes
Device type : MCU
Device CPU : Cortex-M4
Memory Programming ...
Opening and parsing file: Blink.ino.bin
File : Blink.ino.bin
Size : 23124 Bytes
Address : 0x08000000
Erasing memory corresponding to segment 0:
Erasing internal memory sectors [0 11]
Download in Progress:
File download complete
Time elapsed during download operation: 00:00:00.875
RUNNING Program ...
Address: : 0x8000000
Application is running
Start operation achieved successfully
Upload method: "STM32CubeProgrammer (Serial)"
Code: Select all
-------------------------------------------------------------------
STM32CubeProgrammer v2.6.0
-------------------------------------------------------------------
Serial Port COM3 is successfully opened.
Port configuration: parity = even, baudrate = 115200, data-bit = 8,
stop-bit = 1.0, flow-control = off
Timeout error occured while waiting for acknowledgement.
Timeout error occured while waiting for acknowledgement.
Error: Activating device: KO. Please, verify the boot mode configuration and check the serial port configuration. Reset your device then try again...
Upload method: "STM32CubeProgrammer (DFU)"
Code: Select all
-------------------------------------------------------------------
STM32CubeProgrammer v2.6.0
-------------------------------------------------------------------
Error: Target device not found
Establishing connection with the device failed