Code: Select all
void setup() {
pinMode(PB_0, OUTPUT);
}
void loop() {
digitalWrite(PB_0, HIGH);
delay(1000);
digitalWrite(PB_0, LOW);
delay(1000);
}
Code: Select all
Sketch uses 15108 bytes (0%) of program storage space. Maximum is 1572864 bytes.
Global variables use 928 bytes (0%) of dynamic memory, leaving 326752 bytes for local variables. Maximum is 327680 bytes.
-------------------------------------------------------------------
STM32CubeProgrammer v2.11.0
-------------------------------------------------------------------
ST-LINK SN : 066FFF525282494867182729
ST-LINK FW : V2J39M27
Board : NUCLEO-F413ZH
Voltage : 3.25V
SWD freq : 4000 KHz
Connect mode: Under Reset
Reset mode : Hardware reset
Device ID : 0x463
Revision ID : Rev A
Device name : STM32F413/F423
Flash size : 1.5 MBytes
Device type : MCU
Device CPU : Cortex-M4
BL Version : --
Memory Programming ...
Opening and parsing file: sketch_oct17a.ino.bin
File : sketch_oct17a.ino.bin
Size : 15.25 KB
Address : 0x08000000
Erasing memory corresponding to segment 0:
Erasing internal memory sector 0
Download in Progress:
File download complete
Time elapsed during download operation: 00:00:00.473
RUNNING Program ...
Address: : 0x8000000
Application is running, Please Hold on...
Start operation achieved successfully
Board -> Generic STM32F4 series
Port -> /dev/ttyACM0
Debug symbols and core logs -> none
Optimize -> Smallest (-Os default)
Board Part Number -> Generic F413ZHTx
C Runtime Library -> Newlib nano (default)
Upload Method -> STM32CubeProgrammer (SWD)
USB Support -> none
U(S)ART Support -> Enabled (Generic "Serial")
USB Speed -> Low/Full speed
Any help on this?
And second question is how to print on serial (this one connected to board programmer) on black/blue pill it was simple like Serial.begin(9600); Serial.println("test"); ?