STM32 Cube Programmer

From media_wiki
Revision as of 23:32, 24 February 2023 by U731219879 rc (talk | contribs) (Created page with "Erases, programs, views and verifies the content of the device Flash memory '''Getting Started''' Setting up and connecting your NUCLEO board. 1. Start STM32 Cube Programm...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Erases, programs, views and verifies the content of the device Flash memory

Getting Started Setting up and connecting your NUCLEO board.

 1. Start STM32 Cube Programmer application.
 2. Attach the USB cable to the NUCLEO board
 3. Attach the USB cable to your computer.
 4. Find the ST-LINK configuration panel located on the right side of the Main Menu.
 5. Locate Under the Not Connected status a Blue (ST-Link) button with a drop down menu.
 6. Ensure ST-Link is selected and not UART or USB in the drop down menu.
 7. Now click on the Green Connect button to connect the NUCLEO board with the built in ST-Link to the computer
 8. Ensure the Not connected status message has changed to Connected and the ST-LINK configuration should be greyed out. 
 9. Ensure you are connected by reading the Target information.

Reading and displaying target memory

 1. Ensure the ST-Link is connected and working as stated above.
 2. Specify the Address and the Size of the data to be read.
 Example: Address 0x08000000 Size 0x8000 Data Width 8 bit
 Size reference:
       0X400 X 4 = 1600 (default)
      0X4000 X 4 = 16000
      0X8000 X 4 = 32000 (full size of flash for NUCLEO-C0316)
 3. Select Read or Read all

Reading and displaying a file from a previously saved program.

 1. To open and display a file, just click on the “+” and select “Open File”
 2. Select the file from the list in the directory.
      Example: myfile.bin
      The file size is displayed in the “Size” field.
      The start address of hex, srec, or ELF files, is displayed in the “Address” field.

For a binary file it is 0x0 in the “Address” field.