Software Design
39
JAJU324B – March 2015 – Revised July 2017
翻訳版
—
最新の英語版資料
http://www-s.ti.com/sc/techlit/TIDU832
Copyright © 2015–2017, Texas Instruments Incorporated
EMI/EMC
規格準拠、産業用温度範囲のデュアルポート・ギガビット・イーサネットの
リファレンス・デザイン
3.1.3
Creating the Micro SD-Card Image
To create the TIDA-00204_Firmware_AM3359_SD-Card_Image to boot the demo application firmware
from the micro SD-Card, the following equipment is required:
•
A pre-formatted micro SD-Card with FAT file system
•
A PC with a micro SD-Card reader
•
Win32 Disk Imager installed on PC
Copy the MLO and app binary file to the micro SD-Card. After that, invoke the Win32 Disk Imager. See an
example of the program shown in
.
図
図
25. Procedure to Create SD-Card Image With Win32 Disk Imager
Select
Read
to write the current inserted micro SD-Card into the name image in this example called
"test.img". This image was renamed to TIDA-00204_SD-Card_Image_rev1_0 and then included into the
TIDA-00204 software package.
3.2
PC Test Software for UDP Packet Transfer Based on TI’s NDK
The tests for the Gigabit Ethernet communication path developed with the Texas Instruments NDK
2_24_00_11 software package. From this software package, the following source file was used:
•
c:\ti\ndk_2_24_00_11\packages\ti\ndk\winapps\testudp.c
For more information on the testudp files, see Section 2.2.3.3 of the NDK document
.
With original executable testudp.exe, the utilization was around 1%, which was below the needs for this
design; therefore, modification was done. The original source was modified adding hyper threading to
enable higher utilization. To compile the source file, MinGW was used.
注
注
:
To use the hyper threading on a Windows PC, add libwinpthread-1.dll in the same directory
as the executable. The library file libwinpthread-1.dll can be downloaded from the internet.
With hyper threading, 25% utilization was achieved on a single Gigabit Ethernet port and 20% each in
case of on dual Gigabit Ethernet port 1 and port 2.
Two variants were generated as explained in the following two sections.