Difference between revisions of "STM32MP15 Evaluation boards - starting for the first time"

[quality revision] [unchecked revision]
m

Template:ArticleMainWriter Template:ReviewersList Template:ArticleApprovedVersion

This article aims to present how to configure and start for the first time an STM32MP157x-EV1 Evaluation board that has just been flashed. It is valid both for the STM32MP157A-EV1 and STM32MP157C-EV1 Evaluation boards: the part numbers are specified in the STM32MP15 microprocessor part numbers article.

Warning.png To start efficiently the board, it's recommended to go through the Starter Package article relative to your board: Category:Starter Package


Now that the image is flashed on the STM32MP157x-EV1 Evaluation board, let's finalize the system configuration:

  • Step 1: check the configuration of the switches and jumpers:
    • especially, the The boot related switches that must be configured so that the device (e.g. microSD card ) on which the image has been flashed , is selected as the boot source.
    • note also that the jumpers relative The jumpers related to the UART4 of the STM32MP15 microprocessor device must be set such as this so that UART4 is used by the ST-LINK/V2-1 controller (7)
The figure below shows the boot switches for the recommended boot from microSD card.
Boot from microSD card
  • Step 2: (optionally) connect a USB keyboard and/or a USB mouse (not provided) using the USB type-A ports (10 and 11).
  • Step 3: (optionally) connect an Ethernet cable (not provided) to the dedicated connector.(13)

STM32MP157C-EV1 - board connections


  • Step 4: if the Flash device is the a microSD card, check that it 's is inserted into the dedicated slot (5).
  • Step 5: connect the delivered power supply (5V, 3A) to the power connector (6) of the MB1263 daughterboard. Check that the display board (MB1230) is well connected. If well connectedIn this case, the 2 green LEDs (8) are lighted in greenswitched on.
  • Step 6: (optionally) install and configure a remote Terminal program (e.g. Minicom on Ubuntu Linux PC or Tera Term on Windows PC) onto your host PC, and connect
    • either the ST-LINK/V2-1 USB micro-B port (7) to an a host PC that runs a Terminal program with ST-LINK/V2-1 virtual port (recommended method)
    • or the RS232 UART4 connector (12) to the host PC that runs a Terminal program with COM1 port.
      • the ST-LINK/V2-1 USB micro-B port (7) and the RS232 UART4 connector (12) can't cannot be used simultaneously: see how to set the JP4 and JP5 jumpers to select one of the two configurations
  • Step 7: press the reset button (9) to reset the board

The board boots and the system will be available after few seconds.

<noinclude>

{{ArticleMainWriter|Jean-ChristopheT}}
{{ReviewersList | NathalieS, BernardP, GeraldB, DenisH}}
{{ArticleApprovedVersion | Jean-ChristopheT | NathalieS (Passed, 11Dec'17) | No previous approved version | BrunoB - 26Jan'18 - 5961 | 29Jan'18}}

[[Category:Sub-articles]]

This article aims to present how to configure and start for the first time an STM32MP157x-EV1 Evaluation board that has just been flashed.  It is valid both for the STM32MP157A-EV1 and STM32MP157C-EV1 Evaluation boards: the part numbers are specified in the [[STM32MP15 microprocessor#Part number codification|STM32MP15 microprocessor part numbers]] article.
{{Warning|To start efficiently the board, it's recommended to go through the Starter Package article relative to your board: [[:Category:Starter Package]]}}</noinclude>


Now that the image is flashed on the STM32MP157x-EV1 Evaluation board, let's finalize the system configuration:
*<span id{{=}}"step1">'''Step 1'''</span>: check the configuration of the [[STM32MP157C-EV1 - hardware description#Switches and jumpers | switches and jumpers]]

** especially, the :
** The boot related switches that must be configured so that the device (e.g. microSD card ) on which the image has been flashed, is selected as the boot source

** note also that the jumpers relative.
** The jumpers related to the UART4 of the STM32MP15 microprocessor device must be set such as this so that UART4 is used by the ST-LINK/V2-1 controller ('''7''')
:The figure below shows the boot switches for the recommended boot from microSD card.
[[File:STM32MP157x-EV1_boot_switches_microSD_card.png|thumb|center|link=|Boot from microSD card]]

*<span id{{=}}"step2">'''Step 2'''</span>: {{highlight|'''(optionally)'''}} connect a USB keyboard and/or a USB mouse (not provided) using the USB type -A ports ('''10''' and '''11''').


*<span id{{=}}"step3">'''Step 3'''</span>: {{highlight|'''(optionally)'''}} connect an Ethernet cable (not provided) to the dedicated connector .('''13''')

{{:STM32MP157C-EV1 - board connections}}
<br>

*<span id{{=}}"step4">'''Step 4'''</span>: if the Flash device is thea microSD card, check that it's  is inserted into the dedicated slot ('''5''').


*<span id{{=}}"step5">'''Step 5'''</span>: connect the delivered power supply (5V, 3A) to the power connector ('''6''') of the MB1263 daughterboard. Check that the display board (MB1230) is well connected. If well connectedIn this case, the 2 green LEDs ('''8''') are lighted in greenswitched on.

*<span id{{=}}"step6">'''Step 6'''</span>: {{highlight|'''(optionally)'''}} install and configure a [[How to get Terminal | remote Terminal program]] (e.g. Minicom on Ubuntu Linux PC or Tera Term on Windows PC) onto your host PC, and connect
** either the ST-LINK/V2-1 USB micro-B port ('''7''') to ana host PC that runs a Terminal program with ST-LINK/V2-1 virtual port ({{Highlight|recommended method}})
** or the RS232 UART4 connector ('''12''') to the host PC that runs a Terminal program with COM1 port.

*** the ST-LINK/V2-1 USB micro-B port ('''7''') and the RS232 UART4 connector ('''12''') can'tcannot be used simultaneously: see [[STM32MP157C-EV1 - hardware description#UART4 related jumpers: RS232 or ST-LINK/V2-1?|how to set the JP4 and JP5 jumpers]] to select one of the two configurations

*<span id{{=}}"step7">'''Step 7'''</span>: press the reset button ('''9''') to reset the board 

The board boots and the system will be available after few seconds.
Line 11: Line 11:
   
 
Now that the image is flashed on the STM32MP157x-EV1 Evaluation board, let's finalize the system configuration:
 
Now that the image is flashed on the STM32MP157x-EV1 Evaluation board, let's finalize the system configuration:
*<span id{{=}}"step1">'''Step 1'''</span>: check the configuration of the [[STM32MP157C-EV1 - hardware description#Switches and jumpers | switches and jumpers]]
+
*<span id{{=}}"step1">'''Step 1'''</span>: check the configuration of the [[STM32MP157C-EV1 - hardware description#Switches and jumpers | switches and jumpers]]:
** especially, the boot related switches must be configured so that the device (e.g. microSD card ) on which the image has been flashed, is selected as the boot source
+
** The boot related switches that must be configured so that the device (e.g. microSD card ) on which the image has been flashed is selected as boot source.
** note also that the jumpers relative to the UART4 of the STM32MP15 microprocessor device must be set such as this UART4 is used by the ST-LINK/V2-1 controller ('''7''')
+
** The jumpers related to the UART4 of the STM32MP15 microprocessor device must be set so that UART4 is used by the ST-LINK/V2-1 controller ('''7''')
 
:The figure below shows the boot switches for the recommended boot from microSD card.
 
:The figure below shows the boot switches for the recommended boot from microSD card.
 
[[File:STM32MP157x-EV1_boot_switches_microSD_card.png|thumb|center|link=|Boot from microSD card]]
 
[[File:STM32MP157x-EV1_boot_switches_microSD_card.png|thumb|center|link=|Boot from microSD card]]
   
*<span id{{=}}"step2">'''Step 2'''</span>: {{highlight|'''(optionally)'''}} connect a USB keyboard and/or a USB mouse (not provided) using the USB type A ports ('''10''' and '''11''')
+
*<span id{{=}}"step2">'''Step 2'''</span>: {{highlight|'''(optionally)'''}} connect a USB keyboard and/or a USB mouse (not provided) using the USB type-A ports ('''10''' and '''11''').
   
*<span id{{=}}"step3">'''Step 3'''</span>: {{highlight|'''(optionally)'''}} connect an Ethernet cable (not provided) to the dedicated connector ('''13''')
+
*<span id{{=}}"step3">'''Step 3'''</span>: {{highlight|'''(optionally)'''}} connect an Ethernet cable (not provided) to the dedicated connector.('''13''')
   
 
{{:STM32MP157C-EV1 - board connections}}
 
{{:STM32MP157C-EV1 - board connections}}
   
 
<br>
 
<br>
*<span id{{=}}"step4">'''Step 4'''</span>: if the Flash device is the microSD card, check that it's inserted into the dedicated slot ('''5''')
+
*<span id{{=}}"step4">'''Step 4'''</span>: if the Flash device is a microSD card, check that it is inserted into the dedicated slot ('''5''').
   
*<span id{{=}}"step5">'''Step 5'''</span>: connect the delivered power supply (5V, 3A) to the power connector ('''6''') of the MB1263 daughterboard. Check that the display board (MB1230) is well connected. If well connected, the 2 LEDs ('''8''') are lighted in green.
+
*<span id{{=}}"step5">'''Step 5'''</span>: connect the delivered power supply (5V, 3A) to the power connector ('''6''') of the MB1263 daughterboard. Check that the display board (MB1230) is well connected. In this case, the 2 green LEDs ('''8''') are switched on.
   
 
*<span id{{=}}"step6">'''Step 6'''</span>: {{highlight|'''(optionally)'''}} install and configure a [[How to get Terminal | remote Terminal program]] (e.g. Minicom on Ubuntu Linux PC or Tera Term on Windows PC) onto your host PC, and connect
 
*<span id{{=}}"step6">'''Step 6'''</span>: {{highlight|'''(optionally)'''}} install and configure a [[How to get Terminal | remote Terminal program]] (e.g. Minicom on Ubuntu Linux PC or Tera Term on Windows PC) onto your host PC, and connect
** either the ST-LINK/V2-1 USB micro-B port ('''7''') to an host PC that runs a Terminal program with ST-LINK/V2-1 virtual port ({{Highlight|recommended method}})
+
** either the ST-LINK/V2-1 USB micro-B port ('''7''') to a host PC that runs a Terminal program with ST-LINK/V2-1 virtual port ({{Highlight|recommended method}})
** or the RS232 UART4 connector ('''12''') to the host PC that runs a Terminal program with COM1 port
+
** or the RS232 UART4 connector ('''12''') to the host PC that runs a Terminal program with COM1 port.
*** the ST-LINK/V2-1 USB micro-B port ('''7''') and the RS232 UART4 connector ('''12''') can't be used simultaneously: see [[STM32MP157C-EV1 - hardware description#UART4 related jumpers: RS232 or ST-LINK/V2-1?|how to set the JP4 and JP5 jumpers]] to select one of the two configurations
+
*** the ST-LINK/V2-1 USB micro-B port ('''7''') and the RS232 UART4 connector ('''12''') cannot be used simultaneously: see [[STM32MP157C-EV1 - hardware description#UART4 related jumpers: RS232 or ST-LINK/V2-1?|how to set the JP4 and JP5 jumpers]] to select one of the two configurations
   
 
*<span id{{=}}"step7">'''Step 7'''</span>: press the reset button ('''9''') to reset the board  
 
*<span id{{=}}"step7">'''Step 7'''</span>: press the reset button ('''9''') to reset the board  
   
 
The board boots and the system will be available after few seconds.
 
The board boots and the system will be available after few seconds.