am57x uart download sop - e2e.ti.com · sw required stuffs •activeperl –with 64bit os windown7,...

22
AM57x UART Download SOP 1 TI Rio 2016/11/1

Upload: vanphuc

Post on 28-Apr-2019

237 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: AM57x UART Download SOP - e2e.ti.com · SW Required Stuffs •Activeperl –With 64bit OS windown7, we choose the AtivePerl (x86). –Due to the ActivePerl (x64) is not working on

AM57x UART Download SOP

1

TI Rio 2016/11/1

Page 2: AM57x UART Download SOP - e2e.ti.com · SW Required Stuffs •Activeperl –With 64bit OS windown7, we choose the AtivePerl (x86). –Due to the ActivePerl (x64) is not working on

Outline.

• 1. HW/SW required stuffs.

• 2. HW setting.

• 3. SW setting.

• 4. Demo SOP

2

Page 3: AM57x UART Download SOP - e2e.ti.com · SW Required Stuffs •Activeperl –With 64bit OS windown7, we choose the AtivePerl (x86). –Due to the ActivePerl (x64) is not working on

This is the AM57 GP EVM

3

Page 4: AM57x UART Download SOP - e2e.ti.com · SW Required Stuffs •Activeperl –With 64bit OS windown7, we choose the AtivePerl (x86). –Due to the ActivePerl (x64) is not working on

Check the GP EVM version is beyond A2

4

Page 5: AM57x UART Download SOP - e2e.ti.com · SW Required Stuffs •Activeperl –With 64bit OS windown7, we choose the AtivePerl (x86). –Due to the ActivePerl (x64) is not working on

Connect the J3/J4/J6 to [1:2]

5

Page 6: AM57x UART Download SOP - e2e.ti.com · SW Required Stuffs •Activeperl –With 64bit OS windown7, we choose the AtivePerl (x86). –Due to the ActivePerl (x64) is not working on

Connect the J5

6

Page 7: AM57x UART Download SOP - e2e.ti.com · SW Required Stuffs •Activeperl –With 64bit OS windown7, we choose the AtivePerl (x86). –Due to the ActivePerl (x64) is not working on

HW Required Stuffs.

• Connect the J3/J4/J6, set them as [1:2:3] (connect the 1:2 for each)

• Connect the J5

• Plug the UART to PC/NB

7

Page 8: AM57x UART Download SOP - e2e.ti.com · SW Required Stuffs •Activeperl –With 64bit OS windown7, we choose the AtivePerl (x86). –Due to the ActivePerl (x64) is not working on

SW Required stuffs

• Windows Perl download:

– Win7.

– ActivePerl (x86)

– TeraTerm.

– serial-boot.pl Script for UART download required for AM57.

• uBuntu Perl download.

– uBuntu 12.04

– Perl for uBuntu

– SerialPort package

– serial-boot.pl Script for UART download required for AM57.

8

Page 9: AM57x UART Download SOP - e2e.ti.com · SW Required Stuffs •Activeperl –With 64bit OS windown7, we choose the AtivePerl (x86). –Due to the ActivePerl (x64) is not working on

Window Perl to make the UART download procedure

9

Page 10: AM57x UART Download SOP - e2e.ti.com · SW Required Stuffs •Activeperl –With 64bit OS windown7, we choose the AtivePerl (x86). –Due to the ActivePerl (x64) is not working on

SW Required Stuffs

• Activeperl

– With 64bit OS windown7, we choose the AtivePerl (x86).

– Due to the ActivePerl (x64) is not working on win7.

– http://www.activestate.com/activeperl/downloads

10

Page 11: AM57x UART Download SOP - e2e.ti.com · SW Required Stuffs •Activeperl –With 64bit OS windown7, we choose the AtivePerl (x86). –Due to the ActivePerl (x64) is not working on

Start to follow the steps to operate the perl

11

Trigger

Perl Package Manager

PPM will bring this screen.

Install the “serialport”

Don’t forget to click

“install”

Serial port is ready for used

by perl.

Page 12: AM57x UART Download SOP - e2e.ti.com · SW Required Stuffs •Activeperl –With 64bit OS windown7, we choose the AtivePerl (x86). –Due to the ActivePerl (x64) is not working on

Config the right comport used by perl

12

Page 13: AM57x UART Download SOP - e2e.ti.com · SW Required Stuffs •Activeperl –With 64bit OS windown7, we choose the AtivePerl (x86). –Due to the ActivePerl (x64) is not working on

The perl UART download complete log…

13

Page 14: AM57x UART Download SOP - e2e.ti.com · SW Required Stuffs •Activeperl –With 64bit OS windown7, we choose the AtivePerl (x86). –Due to the ActivePerl (x64) is not working on

Then, after seeing “CCCC”, trigger “ymodem” to send the “u-boot.im)

Page 15: AM57x UART Download SOP - e2e.ti.com · SW Required Stuffs •Activeperl –With 64bit OS windown7, we choose the AtivePerl (x86). –Due to the ActivePerl (x64) is not working on

Once “u-boot.img” is download complete, the kernel will bring up natually.

Page 16: AM57x UART Download SOP - e2e.ti.com · SW Required Stuffs •Activeperl –With 64bit OS windown7, we choose the AtivePerl (x86). –Due to the ActivePerl (x64) is not working on

Success !!

Page 17: AM57x UART Download SOP - e2e.ti.com · SW Required Stuffs •Activeperl –With 64bit OS windown7, we choose the AtivePerl (x86). –Due to the ActivePerl (x64) is not working on

uBuntu Perl to make the UART download procedure

17

Page 18: AM57x UART Download SOP - e2e.ti.com · SW Required Stuffs •Activeperl –With 64bit OS windown7, we choose the AtivePerl (x86). –Due to the ActivePerl (x64) is not working on

18

Find the right UART-USB comport that AM57 used.

Input this command:

./serial-boot.pl -p /dev/ttyUSB0 -s u-boot-spl.bin -d1 -t40

Page 19: AM57x UART Download SOP - e2e.ti.com · SW Required Stuffs •Activeperl –With 64bit OS windown7, we choose the AtivePerl (x86). –Due to the ActivePerl (x64) is not working on

19

It will show download complete for the “u-boot-spl.bin”!!

Note: The screen might be ilde, please press “enter” to let it go on.

Page 20: AM57x UART Download SOP - e2e.ti.com · SW Required Stuffs •Activeperl –With 64bit OS windown7, we choose the AtivePerl (x86). –Due to the ActivePerl (x64) is not working on

20

Then, continue to download the u-boot.img by inputting this command:

sx -kb --ymodem u-boot.img < /dev/ttyUSB0 > /dev/ttyUSB0

Page 21: AM57x UART Download SOP - e2e.ti.com · SW Required Stuffs •Activeperl –With 64bit OS windown7, we choose the AtivePerl (x86). –Due to the ActivePerl (x64) is not working on

21

Then, it will runs complete.

Just wait the AM57 boot screen !! Success !

Page 22: AM57x UART Download SOP - e2e.ti.com · SW Required Stuffs •Activeperl –With 64bit OS windown7, we choose the AtivePerl (x86). –Due to the ActivePerl (x64) is not working on

22