EmCraft STM32F4 Скачать руководство пользователя страница 8

Emcraft Systems 

4.4.  Extension Interfaces 

For description of the extension interfaces provided by the Emcraft Systems STM32F4 SOM 

board refer to 

Emcraft Systems STM32F4 SOM (System-On-Module) Hardware Architecture

.  

For description of the extension interfaces provided by the Emcraft Systems SOM-BSB-EXT 

baseboard refer to 

Emcraft Systems SOM-BSB-EXT Baseboard Hardware Architecture

.  

The above mentioned documents can be downloaded from the following page:  

http://www.emcraft.com/som/stm32f4

 

5.  STM32F4 SOM Board Linux Software Set-up 

5.1.  U-Boot Environment 

When the STM32F4 SOM board is reset, the Linux bootstrap will proceed to boot the U-Boot 

firmware from the built-in Flash printing the following output to the serial console:  

U-Boot 2010.03-linux-cortexm-1.12.0 (Dec 9 2013 - 13:10:14) 

 

CPU  : STM32F4 (Cortex-M4) 

Freqs: SYSCLK=168MHz,HCLK=168MHz,PCLK1=42MHz,PCLK2=84MHz 

Board: STM-SOM Rev Rev 2.A, www.emcraft.com 

DRAM:  32 MB 

Flash: 16 MB 

In:    serial 

Out:   serial 

Err:   serial 

Net:   STM32_MAC 

Hit any key to stop autoboot:  0  

STM32F4X9-SOM>  

U-boot makes use of the so-called environment variables to define various aspects of the 

system functionality. Parameters defined by the U-boot environment variables include: 

target IP address, target MAC address, address in RAM where a Linux bootable images will 

be loaded, and many more. To examine the current settings of the environment variables, 

run 

printenv

 from the U-Boot command interface.  

U-Boot provides a command called 

saveenv

 that stores the up-to-date run-time environment 

to the persistent storage, which will be the external Flash for the U-Boot configuration used 

on the STM32F4 SOM board. You need to call 

saveenv

 any time when you want to copy 

current settings of the environment variables to the persistent storage in Flash. This is how 

you can write the current U-Boot environment to the external Flash:  

STM32F4X9-SOM> saveenv 

Saving Environment to Flash... 

... 

STM32F4X9-SOM> 

5.2.  Ethernet MAC Address 

In Linux STM32F4, the MAC address of the Ethernet interface is defined by the 

ethaddr

 U-

Boot environment variable. The value of the MAC address can be examined from the U-Boot 

command line monitor as follows:  

STM32F4X9-SOM> printenv ethaddr 

ethaddr=C0:B1:3C:88:88:88 

STM32F4X9-SOM> 

The STM32F4 SOM board comes with 

ethaddr

 set to a MAC address uniquely allocated for 

the specific board. Given that each STM32F4 SOM board has a unique MAC address allocated 

to it, there is no need to update the 

ethaddr

 variable (although it is possible to do so).  

The MAC address can be changed by modifying the 

ethaddr

 variable as follows:  

Emcraft Systems STM32F4 SOM Starter Kit Guide 

8/12 

Release 1.12.0 

 

Содержание STM32F4

Страница 1: ...Emcraft Systems STM32F4 SOM Starter Kit Guide Release 1 12 0...

Страница 2: ...ATURES 5 3 3 KNOWN PROBLEMS LIMITATIONS 6 4 HARDWARE SETUP 6 4 1 HARDWARE INTERFACES 6 4 2 JUMPERS 7 4 3 BOARD CONNECTIONS 7 4 4 EXTENSION INTERFACES 8 5 STM32F4 SOM BOARD LINUX SOFTWARE SET UP 8 5 1...

Страница 3: ...SOM is being discontinued by Emcraft all new kit orders ship with the STM32F429 SOM However for those customers who already have purchased the STM32F427 SOM Emcraft will continue to provide updates t...

Страница 4: ...32F4 2 4 Downloadable Documentation Materials The following documentation materials are available for download from Emcraft s web site to customers of this product 1 linux cortexm um 1 12 0 pdf Linux...

Страница 5: ...ntroller master mode device driver o GPIO device driver Development tools o ARMv7 optimized GNU toolchain from CodeSourcery 2010q1 is used for development of U Boot Linux and user space applications t...

Страница 6: ...re not available on the SOM interface connectors Specifically the following signals overlap with the SDRAM interface used on the SOM to connect to the external RAM and are missing on the interface con...

Страница 7: ...advanced operations such as WiFi connectivity using the USB WiFi module may require more than 500 mA for reliable operation Use the second link of the mini USB Y cable to connect to the PC for such co...

Страница 8: ...ress target MAC address address in RAM where a Linux bootable images will be loaded and many more To examine the current settings of the environment variables run printenv from the U Boot command inte...

Страница 9: ...boot this Linux configuration onto the STM32F4 SOM board just reset the board and let U Boot perform the autoboot sequence Detailed information on functionality of the pre installed Linux image can be...

Страница 10: ...ing U Boot 2010 03 linux cortexm 1 12 0 Dec 9 2013 17 19 37 Starting kernel init started BusyBox v1 17 0 Dec 9 2013 17 19 37 5 6 U Boot Build The BSP distribution comes with U Boot pre built for the S...

Страница 11: ...rial console device to the board dev ttyUSBn on Linux COMn on Windows 7 On the Windows development host run the ST LINK utility a Connect to the target the Target Connect menu b Open the Target Option...

Страница 12: ...installation configuration and basic use scenarios of the product during 3 months since the product purchase Free upgrade to new releases of the downloadable materials included in the product during 3...

Отзывы: