This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Boot OMAP-L138 with UART

Other Parts Discussed in Thread: OMAP-L138, OMAPL138

Dear all:

I tried to boot L138 with UART, but failed, pls see the infomation below:

(Serial Port): Opening COM1 at 115200 baud...
(AIS Parse): Waiting for BOOTME... (power on or reset target now)
(AIS Parse): BOOTME received!
(Serial Port): Read error! (The operation has timed out.)
(AIS Parse): I/O Error in read!
(AIS Parse): Boot aborted.
(Serial Port): Closing COM1.

I only use UART_TXD and UART_RXD in my design, other pins of UART not used, is it ok? where is the problem, pls help me!

 

  • Are you using a USB->Serial port device to connect to the host? We have seen some issue with these and are updating the host tools.

    Can you try either one of the attached unreleased tools to see if this corrects your problem?

    Command line:

    (Rename.txt to .exe)

    MZ����@���	�!�L�!This program cannot be run in DOS mode.
    
    $PEL
    �0M��B�� �@  @�<�O�@>  H.text�� � `.rsrc@>�@�@@.reloc�@Bp�H^(N0Arp(
    rp~rp(
    (
    r�p~r�p(
    (
    *0���i��i��		-}8z+�X�i�		-�}}}}}	 TFS}{��		-}88��r_po	
    ,�+		:�o
    
    o
    
    
    ,\
    rcp(
    -
    rgp(
    -,
    rkp(
    -(+0X�}X�X+}+}
    +
    }+�X{		-8<X�i�		:)����ijnYm
    	nj�		-}8�+t�		-B.+,{	��		-�}	+}+
    }+�X{		-8�X�i�		:|���{��		-\(
    
    o
    . ���+		-r�p(
    r�p}+r�p(
    r�p}+*0(
    o
    o
    
    o
    j!�i*�Zo
    j ���jZjZXs
     �(
    (
    (
    rp(
    rmp~(
    (
    r�p�r�p(
    (
    �r�p�o
    ��rp�o
    rp(
    �(
    (
    rp(
    rp(
    (�{-(
    8�rp{rap(
    (
    { �s
    �~( 
    o!
    ~o"
    �Qu!��-*o#
    (
    rip(
    r�p(
    
    �Mo#
    (
    
    �:r-p(
    �s$
    s%
    �~o&
    +
     �('
    ~o(
    ,
    ()
    �+-�()
    �- (*
    &r�p(
    ~o+
    ++~o(
    �-r�p(
    ~o+
    +~o,
    _��-��(r�p(
    o-
    (.
    o#
    (
    �~
    �-r�p(
    
    +r'p~rSp(
    (
    
    +	*ZyQ"#{�("04{
     TFS.+	(+r�p(
    +�
    *0�rp(
    �s�s�ss
    {
    }e2}c �}d{	(cr>p~rap(
    (
    o&��
    	-rbp(
    +��o/
    (
    z*k=�'&(
    *0j
    ��
    	-~o0
    +~XYo1
    X
    �
    	-��!r�po#
    r7	p(
    (
    �+*$A!"0V~o2
    ��-~o3
    �!
    r;	po#
    r7	p(
    (
    �+*-!"0u�
    rw	p� ���
    r�	p�r�	p�r�	p�r�	p�r�	p���
    r�	p�r�	p�r�	p��*(4
    *0�(4
    }g}h}i}j}f}`}a}b}c �}d}e{f��
    - }k+({f��
    - �}k+	}k*0	 ATSX Y_d
    +*0	 TTSR Y_d
    +*0	 ����_ `
    +*0
    YX[Z
    +*0	��bX�bX�bX
    +*0B�(
     �_Ҝd �_Ҝd �_Ҝd �_Ҝ+*&('
    *0�
    �({a(
    8�	({a[{d(%`
    	��-
    {c(+P	{a[{d($`
    (
    	��-+){a(��-+	8i���+*0J
    
    �(({d(%
    	{d($`
    ((3		��+-8�{c({`
    	({d(%`
    	{d($`
    (n{`j3		��+-	8�+d{c(
    	({d(%`
    	{d($`
    (3		��+-+X{`��-�+*0
    �(
    
    8�	({d(%`
    	�-	{d($`
    (	��-^{c(%X�-#{jr�	p�(5
    o+k	({d(%`
    
    +G(��-3��-{jr|
    p�(5
    o+	8���*0
    J(6
    
    %JXT+*"%JXT*0�{a[
    ]�-'{jrp��(7
    o
    +_+K{hZXo`{b(��-{jropo+X[�-�
    +	*0�{a[
    ]�-'{jr�p��(7
    o
    +_+K{iZXo`{b(��-{jrpo+X[�-�
    +	*BOOTME    DONE0
    �((" TIPA.+{jr]p�*(5
    o-{g3{e�+:��(�(%Ж(9
    {jr�po+{{ho3���+-+M-���+-+8�Y��-{jr0
    po+Y+���-{jr�
    po8���-a{jr�
    po(��-8�{jrpo YSX( ��-8b{c(("{jrlp��*(7
    oX{jr�po(!��-8 YSXYE>���=�6x	>�r
    r
    mr
    r
    r
    r
    r
    r
    �  YSXYE�*XX	
     cYSX;�8<
    {jrpo("("("("({d(%`({d(%`({d(%`({d(%`�-;{k{d(%`{k(#{jr^po8k	{jr�po8U	{jrQpo("({d(%`("
    	({d(%`	({d(%`	((#{jr�p	�*�*(7
    o8�{jrpo("({d(%`("
    	({d(%`("({d(%`("({d(%`{jrEp	�*�*(7
    o8�{jr�po{f��-\("
    
    ({d(%`("
    	({d(%`	dZ
    	}k+!{f��-{k
    +
    	{d(%`	(#8{jr+po("({d(%`("
    	({d(%`("({d(%`	({d(%`	((#{jr�p	�*�*(7
    o8D-%{jryp�*(5
    o8{jr�po("({d(%`("
    	({d(%`	��-
    	{d(%`	(#{jr�p	�*�*(7
    o8h-%{jryp�*(5
    o8;{jrpo("({d(%`{jrep�*(5
    o8�{jr�po8�{jr�po8�{jrpo{d($`(("��-{jr]po(#+V{jr�po YSX(!`("	{jr�p	�*(5
    o	(#8�{jr5po("({d(%`("({d(%`("({d(%`�-;{k{d(%`{k(#{jr^po8&{jrpo("
    
    ({d(%`
     ��_d
    +.("({d(%`Xj
    n�-��-;{k{d(%`{k(#{jr^po8V{jr�po("({d(%`�-;{k{d(%`{k(#{jr^po{jrp�*(5
    o8�{jrSpo("({d(%`�-;{k{d(%`{k(#{jr^po{jr�p�*(5
    o88-%{jryp�*(5
    o8�{jrpo{k0X{d(%`{k0X(#{jr[po{k{d(%`{k(#{jr�po+^-"{jryp�*(5
    o+4{jr3po+!{jr{p�*(5
    o+�:!���3{g��+:��(�(%З(9
    {jr�po{h{do+1���-{jrpo+X�-��-��-{jr_po+{jr�po+*
    *
    *
    *
    *
    *
    *
    *
    *
    *
    *
    *
    *
    *
    *(4
    *0"{z��-{r�
    +
    +*0"{z��-{r�i
    +
    +*0
    {w
    +*R/0+}w*0	{x
    +*&}x*0{y
    +*&}y*0{z
    +*&}z*B ��(B*F(C*F(C*0� ��}s}t}u}v}w}y}z(4
    }r}s}t{t}x}u}v(9(=(?(D(I*0(8Z
    #@l(;
    i�*}r{v�-{
    +g	(J Y_b+@ �_�-b{sa+b{r	� (J�X��-�	X
    	nj�-�+j
    +X	 Y_b+8 �_�-b{sa+b{r	��X��-�	X
    	nj�-�*0	�i(F
    +*0�(<��-@{t}x(>��-(G}x+(H}x+E{x{ua}x(>��-(G}x+(H}x{x{ua}x{x
    +*0�{x
    (8Z#@l(;
    #�?Ym
    r�p���{v��(4r]p�����(4r�p��*�(4{v�:�(8��-N+3_d{r	_nZXX�bZX�`jaԕa
    X(8[�-�+u+c_d{r	_X�a�a
    r�p�X��(�	_X�a�*��*�(4X�-�8�(8��-V+;_b{r Y_d	_nZX�bZXX�`jaԕa
    X(8[�-�+}+k_b{r Y_d	_X�a�a
    r�p�X��(�	_X�a�*��*�(4X�-�+*0�{x
    �i(8Z#@l(;
    #�?Ym
    {v�:�(8��-P+5_bZ�bZX�`X{r Y_d	_�a
    X(8[�-�+:+(_b�X{r Y_d	_�a
    X�-�8�(8��-R+>�_[]YZX_b(<
    X{r Y_d	_�a
    X�-�+H+6�_]YX_b�X{r Y_d	_�a
    X�-�{ua}x{x+*03(<��
    -{t}x+{t{ua}x*09
    +"_�
    	-
    Y_b`
    dXX�
    	-�+*0	{{�
    +*0
    {{�i
    +*0
    {�
    +*R/0+}�*0{�
    +*&}�*0{ �}| ��}} ��}~}}�(4
     �}| ��}} ��}~{}}�}}�(T*0S �}| ��}} ��}~}}�(4
    }|{}}�(T*0r �}| ��}} ��}~}}�(4
    }|}}{}}�}~}(N(T*0(MZ
    #@l(;
    i�1}{{�-|
    +j	(\Y_b�+A �_�-b{|a�+b�{{	(\�X��-�	X�
    	�-�+k
    +[	Y_b�+9 �_�-b{|a�+b�{{	�X��-�	X�
    	�-�*0�{}
    �i(MZ#@l(;
    #�?Y�
    {�:�(M��-H+-_c{{	_ZX�bZ�`a�a�
    X(M[�-�+3+!_c�{{	_�a�a�
    X�-�8�(M��-P+5_b{{Y_c	_Z�bZX�`a�a�
    X(M[�-�+:+(_b{{Y_c	_�a�a�
    X�-�{~a�}�{�+*0�{}
    (MZ#@l(;
    #�?Y�
    {�:�(M��-L+1_c{{	_ZXX�bZX�`a�a�
    X(M[�-�+4+"_c{{	_X�a�a�
    X�-�8�(M��-T+9_b{{Y_c	_ZX�bZXX�`a�a�
    X(M[�-�+<+*_b{{Y_c	_X�a�a�
    X�-�{~a�}�{�+*0�{}
    �i(MZ#@l(;
    #�?Y�
    (M��-Q+6_bZ�bZX�`�X{{Y_c	_�a�
    X(M[�-�+:+(_b�X{{Y_c	_�a�
    X�-�{~a�}�{�+*06{}
    {�{~a�}}(U&}}{�+*08{}
    {�{~a�}}(V&}}{�+*0.{}
    {�}}(W&}}{�+*:{}}�*0<
    +%_�
    	-Y_b�`�
    c�XX�
    	-�+*0�rOp(`
    (=
    ,�+-0��-8�~�o>
    �-8�+6(=
    -'��-rQpr]p(
    s?
    z++[(@
    oA
    ԍ(
    joB
    &	oA
    ioC
    &		�ioD
    oE
    ~�oF
    ~�oF
    *0X (`
    ��
    	-rQpr]p(
    s?
    zoA
    ԍ(joB
    &oA
    ioC
    &+*0n!~�oG
    +6(H
    
    (=
    �
    	-(I
    �o#
    (
    �(J
    
    	-���oK
    �~�oL
    *&1"
    ER0�"
    rOpoM
    +#�oN
    �-+X�i�-�rOpoO
    �-+-oP
    
    �
    	u3��-�	z+*am"f
    sQ
    ��
    sQ
    ��*(4
    *0N#(=
    
    	-rQpr�p(
    s?
    z(R
    
    �r�po#
    (
    (
    z+*"-"0N$(=
    
    	-rQpr�p(
    s?
    z(S
    
    �r�po#
    (
    (
    z+*"-"0y%(=
    - (T
    
    ��-oK
    �+&�-(T
    
    ��-oK
    �(U
    �r�po#
    (
    (
    z*(<@\]"0y%(=
    - (T
    
    ��-oK
    �+&�-(T
    
    ��-oK
    �(V
    �r�po#
    (
    (
    z*(<@\]"(4
    *0?&
     �( �o0
    8%XoW
    Ҝ�&�Y�,"�iY/Y�
    .Y�
    ��+-�Y�
    .Y�
    ��+-sX
    YoY
    
    +sX
    oY
    
    	oZ
    ��-+[�-rp	([
    	oN
    �-(\
    �-
    +	oN
    �-
    +
    -�+:����+*&:0'
     �( �o0
    8�%XoW
    Ҝ�&�Y�,"�iY/Y�
    .Y�
    ��+-�Y�
    .Y�
    ��+-sX
    YoY
    
    +sX
    oY
    
    	oZ
    ��-+�-rp	([
    	+-�+:*���r!p+*&:(4
    *0({�
    +*0(.	��+
    -}�+	}�*0({�
    +*0(.	��+
    -}�+	}�*0){�
    +*0H#�?0+	#�?}�({{�#�?��
    -	(]
    *0*{�
    +*B}�(|*2<(t*6(u*0�+(4
    (^
    �-(_
    (l(n}�#}�}�}�}�}�}�}�(]
    (m��:�(`
    }�(^
    }�(`
    
    r+p(
    (`
    ��-_{�2
    {�Y+{�}�{�2
    {�Y+{�}�{�2
    {�Y+{�}�(k��-)(^
    }�(`
    }�rMp�(a
    rcp(
    (`
    }�(^
    }�+r_p(
    X{��-�rip(
    (k��-)(^
    }�(`
    }�rMp�(a
    (^
    }�(^
    �-|(`
    
    (_
    (`
    ��-_{�2
    {�Y+{�}�{�2
    {�Y+{�}�{�2
    {�Y+{�}�(m��:�(`
    }�(^
    }�(`
    
    r+p(
    (`
    ��-_{�2
    {�Y+{�}�{�2
    {�Y+{�}�{�2
    {�Y+{�}�(`
    
    (_
    (`
    ��-_{�2
    {�Y+{�}�{�2
    {�Y+{�}�{�2
    {�Y+{�}�*�(prOp{�rop(b
    oc
    (r(r*Rrsp(
    (x*0�,�;
    	rsp(b
    �	od
    �iY(`
    
    (
    (`
    Y��-i(`
    YY{�2
    {�Y+{�}�{�2
    {�Y+{�}�{�2
    {�Y+{�}�**ow**ox*0�-(`
    
    (^
    (k�
    	-5{�{�(e
    rMp(o#Y@Zi�(a
    {�{�(e
    {�l(oZ(f
    irOprwp(b
    oc
    (
    (e
    *0�+(`
    
    (^
    (m�-a{�{�(e
    {�oZ
    {���-'{�{�{�oZ
    X[og
    (
    +{�(
    (e
    *BSJBv4.0.30319l�#~,�#Strings+|#US�G#GUID�G�#BlobW�)	�%3;�|�gO-
    ��������
    wg���������		^	T	��	�	+
    
    K
    
    �
    w
    �
    w
    �
    ��
    ��
    ��
    �
    �(�U	j�����
    �g
    �g���6�L����������'�=��
    �
    ����	�-�4T	IT	_T	jT	sT	~T	+���_���'6'	G'
    OWaWhW2sW8�W<�W@�WD�WI�WM�W\�W`�W`�W`�W
    `	
    l'(l67(o6?(
    r6E(
    {KKZ
    �]hZ
    �coZ
    �hx��k��
    �kD
    �}�
    V��
    V��
    V�
    # ) 1#@
    M#Y �&�*� �.3#=
    NRZR�
    V�kZV�sZV�xZ�
    V��mV��mV��mV��mV��mV��mV��mV��mV��mV��mV��mV��mV��mV��mV�mV�mV�mV�)mV�7mV�GmV�WmV�fmV�umV��mV��mV��m�
    V���V���V���V���V����V��V��V���
    V��V��V���V��V��V���
    V�V�V�V�#�
    V��V�0V�4�
    V��V�8V�BV�LV�RV�WV��V�\V�`V�dV�hV�oV�uV�y�
    V��IV��IV��I����� !�)�2�9�
    V�&V�&�
    V�*V�#*/.3
    8
    @
    I Sg
    o*w&/�3�8�@�I Sg���	��
    V��V��	V��	V��	V��	�	�	�	�	
    
    
    
    (
    5
    B
    J
    #����P ��2� ��6`#��=�&��2�&��2�'�
    C�'�H<(�$H1)�eV�(�2�eM��S��]��j�eM��S��]��j%�eM&��q(��v)��,<)�e�-�)�A�2*�O�3,*�]�4L*�l�5h*�|�7�*���8�*���9�*���:�+���:-���;4.���<X.���>d.��S@/��SD�/���H�=��CI�=���J�=���K�=���L�=���M�=���N�=���O>��P>��Q>��R	>��S>��T>��U>��V>�eVX >���XP>��2Y�>��2Y�>���Y�>��6Z�>��:Z�>��?[�>��D[�>��J\?�O\?�eV]+?�e:]=?�eU^P?�e\`�?�#Vg A�.�g@A�.ihB�;ik�D�GinLF�RVq�F�[qq�F���s�F��2tG��2t$G���t<G���uTG���u`G�eVv�G�e�vHH�e�w�H�#V|�I�.�|�K�.�}<M����4N����xN�����N�����N�RV�O�[��PO�"	��DP�.	���P�?	2�@Q�e	��
    R�eV��Q�2�R�w	���R��	���R��	���S��	��LT�eV�TT��	���U��	��V�eV��V�O
    ��V�c
    �$W�w
    �<W��
    �pW��
    ��W��
    ��W��
    #��W��
    q�X�eV�X�e�� X�e'��[��
    0��[��
    q�\��
    q��\��
    6��\��
    6��\��
    V��]��
    V�J
    ")/7?)F7NU")/7")/7\NeNU?)F7?)F7\NeNUll\Neqz������������������)�7�)�7����������������)�����,;E��ZZ_fZ_fZ_fl�)��,;EZZ_fZZZ_fZl�r{�r{r{�����������)�)��������B
    �J
    J
    �J
    �J
    ieVqeqyeq�e��eV�eJ��
    C��
    P��
    W��
    \��
    #��
    a�g�3l��
    CY@�Yb��r��~2��2�e������2��2��
    ���
    ���2��2�����
    �)e���)�)V@#eM1e�1XV1^�1d��p����1�V1������
    �#)��)�)�)�
     eV� bI4v� �YeVa��yeq� �I$��9;@F�eq�La�Ya�]a�a�
     a�V�e������C����V�VY���@W��WY�e����(��4��;��I�)V2�eVm���2��
    ���a�w���#��
    2��#��
    ���-��2��8��H��N��\				P^	Tc	Xh	`q	dv	h{	l�	p�	t�	x�	|�	��	��	��	��	��	��	��	��	��	��	��	��	��	��	��	��	��	��	�^	�c	�h	��	���^�c�h	�^	�c	�h^c	c	h	�	 	(^	,c	0h	8^	<c	@h	D�	H�	L!	P&	T+	X	\0	`5	d:	h?	lD	t^	xc	|h	�c	�h	�c	�h	^	c	h	 �	$�.#p.+y.Z��������c�
    cq��(16:>BIUh}��������%/4kw�����'?Sfwk|r|������fwk|r|���
    ==BF6789;	:	=<>
    ?
    KLMNOPlkmnopqr@��/��/��A��pi
    ��<Module>slh_OMAP-L138.exeMagicFlagsTIBootAndFlashProgramCmdParamsProgramretTypeTI.AISLibAisOpsAisSetTypeAisSecureTypeAisHostTypeAisStatusAisMemTypeAisMachineTypeAisBootModesAisCRCCheckTypeReadFxnDelegateWriteFxnDelegateLogFxnDelegateAIS_ParserDebugTI.UtilLibCRCCalcMethodTI.UtilLib.CRCCRCTypeCRC32CRC16EmbeddedFileIOTI.UtilLib.IOFileIOSerialIOPositionTI.UtilLib.ConsoleUtilityProgressBarmscorlibSystemEnumValueTypeObjectMulticastDelegatevalue__MAGIC_NUMBER_VALIDMAGIC_NUMBER_INVALIDSLT_MAGIC_LOADIMAGEvalidverboseSerialPortNameCMDMagicFlagAPPFileNamewaitForBOOTMESystem.IO.PortsSerialPortMySPSystem.ThreadingThreadworkerThreadworkerThreadSucceededcmdParamsDispHelpParseCmdLineMainWorkerThreadStartTransmitAppToTargetUTIL_logUTIL_uartReadUTIL_uartWritedevStringexternalRAMStartdeviceTypesflashTypes.ctorSUCCESSFAILTIMEOUTMagicNumberSection_LoadRequestCRCEnableCRCDisableCRCJumpJump_CloseSetStart_OverCmpSection_LoadSection_FillPingGetFunctionExecFastBootReadWaitFinalFxnRegSecureKeyLoadEncSection_LoadSecSection_LoadSetSecExitModeSetDelegateKeyRemDelegateKeySeqReadEnableXmtStartWordRcvStartWordBYTESHORTINTFIELDBITSNONECUSTOMGENERICI2CSPIUARTERRORIN_PROGRESSCOMPLETEEightBitSixteenBitThirtyTwoBitSixtyFourBitARMDSPSPIMASTERI2CMASTEREMIFANANDEMACPCIHPIUSBMMC_SDVLYNQRAWLEGACYNO_CRCSECTION_CRCSINGLE_CRCInvokeIAsyncResultAsyncCallbackBeginInvokeEndInvokeposNioBitsioDelayopcodeDelayioTimeoutwaitBOOTMEsecureTypehostDevicereadFxnwriteFxnlogFxnsigSizeAIS_XMT_STARTAIS_RCV_STARTAIS_opcode2ackLOCAL_roundUpToLOCAL_b2UInt32LOCAL_UInt322bLOCAL_delayAIS_SWSAIS_POSAIS_OSLOCAL_parseIntLOCAL_parseSkipLOCAL_bufReadLOCAL_bufWritebootDebugMSGDecimalLUTBITWISEONESHOTINCREMENTALlutpolyinitRegfinalRegreflectednumBytesPerRegShiftcurrCRCcrcTypecrcCalcMethodget_Itemget_Lengthget_NumBytesPerRegShiftset_NumBytesPerRegShiftget_CurrentCRCset_CurrentCRCget_CrcTypeset_CrcTypeget_CrcCalcMethodset_CrcCalcMethodBuildTableCalculateCRCLUTBasedCRCBitWiseCRCResetCRCReflectNumItemLengthNumBytesPerRegShiftCurrentCRCCrcTypeCrcCalcMethodSimpleCRCIncrementalCRCIncrementalSimpleCRCSystem.Collections.GenericList`1resourcesfilesSystem.ReflectionAssemblyExtractFileExtractFileBytesCleanUpEmbeddedFilesSystem.IOStreamGetEmbeddedStreamGetFileDataGetFileTextSetFileDataSetFileTextwaitForSequencereadSequenceTOPBOTTOMRIGHTLEFTposYBarposXBarposYPercentposXPercentposYTextposXTextbarWidthtotalWidthpercPositiontextPositionpercenttextget_PercentPositionset_PercentPositionget_TextPositionset_TextPositionget_Percentset_Percentget_Textset_TextUpdateWriteLineWriteUpdatePercentUpdateTextPercentPositionTextPositionPercentTextargsrcvBufindexrcvSizetimeoutxmtBufxmtSizeobjectmethodcallbackresultlinehostTypesecTypehostLogFxnhostReadFxnhostWriteFxnbitsopcodenummodbauiNcommandaiscursornbufferBytesAIS_ContentsvalueformatargParamArrayAttributeKeyPolyInitialRegValFinalizeXorValReflectedBytesShiftedPerCycleDataoffsetcountinValthisAssmfileNameoverWritefilenamedataoverwritestraltStrspcharWidthpercentPostextPosstatuspbAssemblyTitleAttributeAssemblyVersionAttributeSystem.Runtime.CompilerServicesCompilationRelaxationsAttributeRuntimeCompatibilityAttributeslh_OMAP-L138System.Runtime.InteropServicesStructLayoutAttributeLayoutKindConsoleStringConcatBooleanStartsWithSubstringToLowerop_EqualityEnvironmentOperatingSystemget_OSVersionPlatformIDget_PlatformGetExecutingAssemblyAssemblyNameGetNameVersionget_Versionget_Buildget_RevisionDateTimeAddYearsget_YearClearInt32get_Majorget_MinorToStringParityStopBitsSystem.TextEncodingget_ASCIIset_EncodingOpenUnauthorizedAccessExceptionExceptionget_MessageThreadStartStartSleepget_IsAliveget_KeyAvailableConsoleKeyInfoReadKeyAbortThreadStateget_ThreadStateTypeGetTypeget_StackTraceObjectDisposedExceptionset_ReadTimeoutReadset_WriteTimeout.cctorByteFormatBitConverterToUInt32UInt32<PrivateImplementationDetails>{FA4BD147-9D60-4D1C-96E5-9F430CA860DF}CompilerGeneratedAttribute$$method0x6000025-1RuntimeHelpersArrayRuntimeFieldHandleInitializeArray$$method0x6000025-2DefaultMemberAttributeMathPowToUInt16UInt16FileExistsContainsFileNotFoundExceptionFileStreamFileModeFileAccessSeekOriginSeekCloseAddEnumeratorGetEnumeratorget_CurrentDeleteMoveNextIDisposableDisposeGetManifestResourceNamesEqualsGetManifestResourceStreamReadAllBytesReadAllTextCreateWriteAllBytesWriteAllTextReadByteASCIIEncodingGetStringset_CursorVisibleget_CursorLeftget_CursorTopCharParsePadLeftSplitSetCursorPositionFloor
    Usage:
    	slh_c [<Options> [<Optional Params>]] <AIS Image File>�g
    	<Options> can be the following: 
    		-h                               	Display this help screen.
    		-v                               	Display more verbose output returned from the �s.
    		-waitForDevice                   	Wait for the BOOTME prompt from the target device.
    		-p <PortName>                    	Use <PortName> as the serial port (e.g. COM2, /dev/ttyS1).
    
    -pvwaitfordevice/Platform is Unix/Linux./dev/ttyS0)Platform is Windows.	COM1k-----------------------------------------------------K   TI Serial Loader Host Program for    (C) 3, Texas Instruments, Inc.   Ver. .D2
    
    AAttempting to connect to device ...[This application failed to open the COM port.gMost likely it is in use by some other application._Press any key to end this program at any time.
    'Aborting program...+Abort thread error...E
    Operation completed successfully.+
    
    Interfacing to the �� via UART failed.
    Please reset or power-cycle the board and try again.../Command not recognized!'Entering AIS Parser#
    Waiting for the ��Booting AIS image failed. Trying again (you may need to reset the target)...9(Serial Port): Read error! ();(Serial Port): Write error! (OMAP-L138OMAPL138
    AM1808
    AM1810C6748C6746SPI_MEM	NANDNOR��(AIS Parse): Opcode Sync failed after {0} consecutive I/O failures.��(AIS Parse): Opcode Sync passed after {0} consecutive I/O failures.i(AIS Parse): Cannot read {0} Bytes in chunks of {1}!?(AIS Parse): I/O Error in read!k(AIS Parse): Cannot write {0} Bytes in chunks of {1}!A(AIS Parse): I/O Error in write!M(AIS Parse): Read magic word 0x{0:X8}.��(AIS Parse): Waiting for BOOTME... (power on or reset target now)Q(AIS Parse): Read invalid BOOTME string.;(AIS Parse): BOOTME received!U(AIS Parse): Performing Start-Word Sync...W(AIS Parse): Performing Ping Opcode Sync...](AIS Parse): Processing command {0}: 0x{1:X8}.M(AIS Parse): Performing Opcode Sync...E(AIS Parse): Loading boot table...Y(AIS Parse): Secure mode; sending signature.��(AIS Parse): No slave memory present; Sequential Read Enable has no effect.?(AIS Parse): Loading section...s(AIS Parse): Loaded {0}-Byte section to address 0x{1:X8}.?(AIS Parse): Filling section...w(AIS Parse): Filled {0}-Byte section with pattern 0x{1:X8}.m(AIS Parse): Secure key loading, entering secure mode.M(AIS Parse): Loading secure section...MSecure opcode (0x{0:X8}), not allowed.O(AIS Parse): Loading encoded section...M(AIS Parse): Setting boot exit mode...O(AIS Parse): Set exit mode to 0x{0:X8}.5(AIS Parse): CRC disabled.3(AIS Parse): CRC enabled.=(AIS Parse): Requesting CRC...1(AIS Parse): CRC passed!](AIS Parse): CRC failed!  Sending STARTOVER...G(AIS Parse): {0}-Byte seek applied.I(AIS Parse): Performing read-wait...E(AIS Parse): Executing function...?(AIS Parse): Performing jump...M(AIS Parse): Jump to address 0x{0:X8}.S(AIS Parse): Performing jump and close...i(AIS Parse): AIS complete. Jump to address 0x{0:X8}.I(AIS Parse): Setting Delegate Key...{(AIS Parse): Secure mode - sending delegate key certificate .[(AIS Parse): Secure mode - sending signature.G(AIS Parse): Removing Delegate Key.S(AIS Parse): Unhandled opcode (0x{0:X8}).A(AIS Parse): Waiting for DONE...M(AIS Parse): Read invalid DONE string.S(AIS Parse): Boot completed successfully.5(AIS Parse): Boot aborted.sLUT-Based CRC, NumBitsPerRegShift = {0}, Refelected = {1}5Offset = {0}, length = {1}CInterim Calculated CRC = 0x{0:X8}wData = {0:X2},Index = {1},Interim Calculated CRC = 0x{2:X8}File w was not found in the assembly or in the current directory.! is not present.Error: 	Target:	{0}	FAIL!Status Undefined {0,3:D}% [  ] 
    �%G�K�`�M��C�`��z\V4�	������TFS	( TIPAYSXYSXYSXYSXYSXYSXYSXYSX	YSX
    YSXYSXYSX
    YSXYSXYSXYSX YSX!YSX"YSX#YSX$YSX%YSXcYSXATSXTTSR $(,04	
    
    8 	 ( ! (  ! <@D
     $ D<@ 	 		  	 	  ( (	 	  (
    %
    	PT	  	 	 T T P P 	T 			TP 	 		(	((	(T(P      ()--1-l
     l l 
     
      ll 
    p(l(
    ( M  a e		- i m 
     q 
     y}�� �� �� �� �� ��m��q
    H�� 	��( ��(			((		((
    		((				((
    	����%													((	Item	TP
    
    
    					
    						) ������ 
     
    
    �� 1��	1	 ���� 
    ����  11��1
    ������	���� 
    
    l
      
    
    SerialLoaderHostTWrapNonExceptionThrowsd�~� p�_CorExeMainmscoree.dll�% @0�H�`�x���������� ��X88�0��P���4VS_VERSION_INFO���A�p�A�p�?DVarFileInfo$Translation�StringFileInfo�000004b0LFileDescriptionSerialLoaderHost@FileVersion1.65.4031.28886DInternalNameslh_OMAP-L138.exe(LegalCopyright LOriginalFilenameslh_OMAP-L138.exeDProductVersion1.65.4031.28886HAssembly Version1.65.4031.28886(<t ��A�������������I�8���������������������������������������7��������������������������������������������������x�������������������������5��������������������������������������������������������`�������������������������������������������������������������(�g��������������������������������������������������������������������$�X��������������������������������������������������������������������������������D�����������������������������������������q�������������������y�g�^�^�^�^�^�^�^�l���������|��>�����������A�����������������K�������Q�������������H���������������G��e�����������W�m������������������������������+�+���������������M�D��������������R���������������������9�����������������������S�F�������������������������������������������t� ��/�����������������������������������������I������������������������������������������������������������������������������{���������g�
    �j�������������������������������������
    �������������������������������������������������������������������������������������������������f�����������������������������������������������������������~���������������������������������������������������������������������������������������]�����������O�N����������������������������������������������������������������������������������������N�)�����������������������������������������������������z�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������]�����������O�L��������������������������������������������������������������������������������������������������I�+��������������������������������������������������,�������������������������������������������������������������z���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������N�����������������������������������������������������������������������������������^�����������N�������������������������X�����������������������B�+����������������������������������N�X�����������������������u�����������������������������������X����������������������������������������������������������X�������������������������F�F�F�C����������������F�F�F���������������������X����������������������������������_�����������M�K���������������������������X���������������������������������I�-����������������������������������������X���������������������������������|�����������������������������������������X��������������������������������������������������������������������������X�������������������������������������������������}�������������������������X������������������������������������`�����������M�I�������������������������X�����������������������������������K�-�����������}��������������������������X�����������������������������������������������������X�����������������������������X�����������������������������`������������X�����������������������������h�����������D�X�����������������������������6�����������w�X�����������������������������
    �������������X�����������������������������������������X������������������������������������������X�����������������������������X�����������������������������X��������������������������������������������������������������������������������������������������������������������������������������������?���������~�������������������������������������������������0����~p����~p����~p����~p���ppp���p0p���p0p���00p���08p���88p���88p�����������������������������������������������������������������������<: X8<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
      <assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
      <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
        <security>
          <requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
            <requestedExecutionLevel level="asInvoker" uiAccess="false"/>
          </requestedPrivileges>
        </security>
      </trustInfo>
    </assembly>
    ��<

    GUI:

    6201.UartHost.zip

    Jeff

  • Dear Jeff:

    I tried 6201.UartHost.zip, but the problem still exist, here is the information:

    (File IO): Read 23732 bytes from file I:\armubl.bin.

    (Serial Port): Opening COM1 at 115200 baud...

    (AIS Parse): Read magic word 0x41504954.

    (AIS Parse): Waiting for BOOTME... (power on or reset target now)

    (AIS Parse): BOOTME received!

    (AIS Parse): Performing Start-Word Sync...

    (Serial Port): Read error: The operation has timed out.

    (AIS Parse): I/O Error in read!

    (AIS Parse): Boot aborted.

    (Serial Port): Closing COM1.

     any suggestions?

    zhang

  • I use Serial(Female) to Serial(Female) cable, it works well by useing the SSCOM software.

  • zhang,

    What is the baud rate you are using on your board? what is the frequency of the crystal? and what is the boot mode pins setting?

  • Dear Steven:

    The baud rate is 115200 and I can receive BOOTME successfully, the crystal is 24 MHz and the boot mode is UART2.

    zhang

  • I have two boards, one crystal is 24MHz, the other is 25MHz, I can receive BOOTME from both of them successfully, Why?  Do i need more settings to L138 ? The NAND flash on my board is 1G*8 , is it the problem?

  • zhang,

    would you help to get the information using the attached GEL file?

    and for your question of 24M and 25MHz crystal. the boot mode pins should be configured as below for UART2 boot. 

    "BOOT[7:0]                 xxx1 0100"

    For BOOT[7:5] = 000, the UART peripheral runs at 115.2 kbps with a 24 MHz input clock.

    for 25MHz input clock, it should be set to "0x110", that means

    "BOOT[7:0]                 0001 0100" for 24MHz input

    "BOOT[7:0]                 1101 0100" for 25MHz input.

    dev_info.gel
  • And Zhang, can you write to your NAND with NAND flash writer?

    in the command line, flash type NAND should be specified.  I think you failed with teh GUI maybe default to SPI flash.

    "sfh_OMAP-L138.exe -flash -targetType OMAPL138  -flashType NAND ubl.bin u-boot.bin"

  • Dear Steven:

    here is the info:

    ***********************************************
    DEVID0 = 0x0B7D102F
    DEVID1 = 0x00000000
    BOOT = 0x00000016
    CHIPREV = 0x00000031
    FEATURE = 0x00000000
    L2ROMDIV = 0x000003E0
    DIEID2 = 0x00000000
    FAB1-FAB0-LOT-WFR-X-Y = 0-0-6415775-1-49-6
    SIREV,REPAIR,MAKE,CHKSUM = 1,0,0,7154
    -----
    KEY STAT = 0x00030003
    KEY CHKSUM = 0x00000000
    FUSE CODE = 00000
    -----
    DSP_ROM1 = 0x30303864
    DSP_ROM2 = 0x3430306B
    ARM_ROM1 = 0x00000000
    ARM_ROM2 = 0x00000000
    -----
    DIEID0 = 0x01006031
    DIEID1 = 0x0061E59F
    DIEID2 = 0x00000000
    DIEID3 = 0x37E40001
    ***********************************************

    I will config the boot pins later for test.

    I modified the flash_writer to CCS project, now I can use the Emulater to writer the NAND for ubl and uboot. and I never test to write the .bin file to NAND by any commands.

    Now I think there are some details that I never noticed. any suggestions?

    Br.

    zhang

  • Zhang,

    I can find your boot mode is set to 0x16 which is 00010110b that is set to UART0.

    anyway, you can get the bootme means the UART you connected is correct.

    do you have a mailbox, I can try to view your operation directly.

    Thanks.

  • Dear Steven:

    Thanks!

    I will reconfig it later. my e-mail: zhangjp2008@sina.com

    Br.

    zhang

  • Zhang,

    Are you using a PC which has a built in serial port, or are you using a USB-based serial cable? Can you try running the host on another machine? Also if you are using Windows can you use the GUI tool I attached in the previous mail?

    Jeff

  • Jeff

    I am using Serial to Serial cable, not the USB to Serial cable, I replaced the serial cable with another new one, and now it can go with the UARTHostV1.2 . here is the information:

    (File IO): Read 23732 bytes from file I:\WorkI\HH\UART_HOST\ubl.bin.

    (Serial Port): Opening COM1 at 115200 baud...

    (AIS Parse): Read magic word 0x41504954.

    (AIS Parse): Waiting for BOOTME... (power on or reset target now)

    (AIS Parse): BOOTME received!

    (AIS Parse): Performing Start-Word Sync...

    (AIS Parse): Performing Ping Opcode Sync...

    (AIS Parse): Processing command 0: 0x5853590D.

    (AIS Parse): Performing Opcode Sync...

    (AIS Parse): Executing function...

    (AIS Parse): Processing command 1: 0x58535901.

    (AIS Parse): Performing Opcode Sync...

    (AIS Parse): Loading section...

    (AIS Parse): Loaded 80-Byte section to address 0x80000000.

    (AIS Parse): Processing command 2: 0x58535901.

    (AIS Parse): Performing Opcode Sync...

    (AIS Parse): Loading section...

    (AIS Parse): Loaded 22864-Byte section to address 0x80000050.

    (AIS Parse): Processing command 3: 0x58535901.

    (AIS Parse): Performing Opcode Sync...

    (AIS Parse): Loading section...

    (AIS Parse): Loaded 612-Byte section to address 0x800072C8.

    (AIS Parse): Processing command 4: 0x58535901.

    (AIS Parse): Performing Opcode Sync...

    (AIS Parse): Loading section...

    (AIS Parse): Loaded 88-Byte section to address 0x8000752C.

    (AIS Parse): Processing command 5: 0x58535906.

    (AIS Parse): Performing Opcode Sync...

    (AIS Parse): Performing jump and close...

    (AIS Parse): AIS complete. Jump to address 0x80000000.

    (AIS Parse): Waiting for DONE...

    (AIS Parse): Boot completed successfully.

    (System): Unhandled exception

    it works well, is it?

    I have another question: How to write the UBOOT.bin to FLASH? use UARTHost or not?

    BR.

    zhang

  • Zhang, please see this wiki for more info on how to write UBOOT to FLASH. You will use the SFH instead.

    http://processors.wiki.ti.com/index.php/Serial_Boot_and_Flash_Loading_Utility_for_OMAP-L138#Restoring_the_OMAP-L138_EVM_SPI_Flash

    Jeff

  • I've just started to bring up a new board design and am seeing exactly the same problem.

    I'm using a built-in serial port, I can see the BOOTME prompt.

     

    Was the solution really just 'find another cable'? That hasn't worked for me yet!

     

    Any further pointers would be appreciated.

     

    Thanks

    Andy

  • Further to my first post,

    I've tried another PC, 2 different cables, all the suggested versions of serial flash untility, and built a new RS232- TTL level shifter. I've also tried a second of the prototypes we built.

    Still getting the same result. I/O error in read, or Read error.

    On a scope I see the bootme go to the pc, and see some respose data back from the application to my board

    The 1200- version of the serial flasher tends to crash every few runs. Whilst I appreciate it's supplied as-is, unsurported, could my issue lie with the serial flasher/my pc?

    Thanks in advance for any advice.

     

    Andy

     

  • Ok, solved my issue.

    For anyone arriving here after seeing the same kind of problems:

    1/ There are several versions of the serial flasher about. I'm using 1.67 and this eems to be the only one that works for me. SO, try them all- but go for 1.67 as a start.

    2/ Even though you can see the bootme prompt, it doesn't mean your design is correct..... due to a pcb error the TXD of uarts 0 and 2 got swapped, so the board never got the responses from the pc! DOH!

    SPI flash programmed and verified, just doesn't boot Uboot. Yet....

     

    Andy

  • Thanks for the info Andy. Can you tell us which version of the serial flashing package you downloaded (ie 2.30, 2.29 etc)? The version number you see at runtime is separate from this and does not change with new revisions.

    For your PCB error, if you set the device in UART0 boot mode and UART0_TXD and UART2_RXD were swapped, how did the PC see BOOTME?

    Jeff

  • Hi

    I am using LogicPD EVM for OMAPL138.

    I made AIS binary with following command.

    HexAIS_OMAP-L138.exe  -ini OMAP-L138_EVM_uart.ini -o E:\u-boot_uart.bin

    Then I load this binary with following command.

    slh_OMAP-L138.exe -v -waitForDevice E:\u-boot_uart.bin

    And I got following response

    ==================

    ---------------------------------------------------
       TI Serial Loader Host Program for OMAP-L138
       (C) 2010, Texas Instruments, Inc.
       Ver. 1.65
    ---------------------------------------------------


    Platform is Windows.
    Attempting to connect to device COM1...
    Press any key to end this program at any time.

    Entering AIS Parser

    Waiting for the OMAP-L138...
    (AIS Parse): Read magic word 0x41504954.
    (AIS Parse): Waiting for BOOTME... (power on or res
    (AIS Parse): BOOTME received!
    (AIS Parse): Performing Start-Word Sync...
    (AIS Parse): Performing Ping Opcode Sync...
    (AIS Parse): Processing command 0: 0x5853590D.
    (AIS Parse): Performing Opcode Sync...
    (AIS Parse): Executing function...
    (AIS Parse): Processing command 1: 0x58535901.
    (AIS Parse): Performing Opcode Sync...
    (AIS Parse): Loading section...
    (AIS Parse): Loaded 171540-Byte section to address
    (AIS Parse): Processing command 2: 0x58535906.
    (AIS Parse): Performing Opcode Sync...
    (AIS Parse): Performing jump and close...
    (AIS Parse): AIS complete. Jump to address 0xC10800
    (AIS Parse): Waiting for DONE...
    (AIS Parse): Boot completed successfully.

    Operation completed successfully.

    ==================

    But After this I am not getting any prints on the console. and My board is in the reset state.

    Can anybody tell whats wrong with the process.

    Thank you

    Nirav

    OMAP-L138_EVM_uart.ini
  • I'm experiencing exactly the same problem as the previous poster. Anyone have any suggestions?

    Thanks in advance!

  • Problem solved. I just had to use "OMAP-L138_EVM_uart_D800K002.ini" instead of "OMAP-L138_EVM_uart.ini".