Step 5 : Flash and Boot the OS ============================== .. tab-set:: .. tab-item:: Flash and Boot the OS * In this program, you are going to learn .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow * How to ? .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow Topics in this section, * :ref:`Flash and Boot ` .. _zephyr_rpi_step7_0: .. tab-set:: .. tab-item:: Flash and Boot * Open one normal linux terminal and run minicom once you plug in the board. .. code-block:: c $ sudo minicom -D /dev/ttyACM0 * You should see the following output .. code-block:: text Welcome to minicom 2.8 OPTIONS: I18n Port /dev/ttyACM0, 08:59:31 Press CTRL-A Z for help on special keys *** Booting Zephyr OS build zephyr-v3.5.0-4169-ga897005b989a *** LED state: OFF LED state: ON LED state: OFF LED state: ON LED state: OFF LED state: ON LED state: OFF LED state: ON LED state: OFF LED state: ON LED state: OFF LED state: ON LED state: OFF LED state: ON LED state: OFF LED state: ON LED state: OFF LED state: ON LED state: OFF LED state: ON LED state: OFF LED state: ON LED state: OFF LED state: ON LED state: OFF LED state: ON LED state: OFF LED state: ON LED state: OFF LED state: ON LED state: OFF LED state: ON * Flash using west flash: using runner stm32cubeprogrammer * Now run west flash in the venv terminal .. code-block:: c $ west flash -- west flash: rebuilding [1/1] cd /home/test/zephyrproject/zephyr/build/zephyr && /home/test/zephyrproject/.venv/bin/python3 /h...ripts/build/check_init_priorities.py --elf-file=/home/test/zephyrproject/zephyr/build/zephyr/zephyr.elf -- west flash: using runner stm32cubeprogrammer -- runners.stm32cubeprogrammer: mass erase requested ------------------------------------------------------------------- STM32CubeProgrammer v2.15.0 ------------------------------------------------------------------- ST-LINK SN : 003700263232510239353236 ST-LINK FW : V3J12M3 Board : B-U585I-IOT02A Voltage : 3.29V SWD freq : 8000 KHz Connect mode: Under Reset Reset mode : Hardware reset Device ID : 0x482 Revision ID : Rev X Device name : STM32U575/STM32U585 Flash size : 2 MBytes Device type : MCU Device CPU : Cortex-M33 BL Version : -- Debug in Low Power mode enabled Mass erase ... Mass erase successfully achieved ------------------------------------------------------------------- STM32CubeProgrammer v2.15.0 ------------------------------------------------------------------- ST-LINK SN : 003700263232510239353236 ST-LINK FW : V3J12M3 Board : B-U585I-IOT02A Voltage : 3.29V SWD freq : 8000 KHz Connect mode: Under Reset Reset mode : Hardware reset Device ID : 0x482 Revision ID : Rev X Device name : STM32U575/STM32U585 Flash size : 2 MBytes Device type : MCU Device CPU : Cortex-M33 BL Version : -- Debug in Low Power mode enabled ------------------------------------------------------------------- Choose flashing speed for Cortex M33 series.(default speed=Reliable) ------------------------------------------------------------------- Memory Programming ... Opening and parsing file: zephyr.hex File : zephyr.hex Size : 15.77 KB Address : 0x08000000 Erasing memory corresponding to segment 0: Erasing internal memory sectors [0 1] Download in Progress: [==================================================] 100% File download complete Time elapsed during download operation: 00:00:00.789 RUNNING Program ... Address: : 0x8000000 Application is running, Please Hold on... Start operation achieved successfully