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.

EVMK2EX: EVM will not boot from NAND

Part Number: EVMK2EX

Hi,

Related to my last post (https://e2e.ti.com/support/processors/f/791/t/778137) where I was having trouble booting from NAND on our own custom PCB, we have moved to the EVMK2E dev kit to continue development.

However he processor still does not boot from NAND.

I am using the Platform Development Kit (PDK) nandwriter located at C:\ti\pdk_k2e_4_0_12\packages\ti\boot\writer\nand\evmk2e\bin (the binary provided, I did not rebuild). Following the instructions in section 4.6.3.4.5.3 here http://software-dl.ti.com/processor-sdk-rtos/esd/docs/05_01_00_11/rtos/Foundational_Components.html to program a simple binary into the NAND memory. This binary just flashes 2 of the user LEDs and was verified on the dev kit via debugger programming as working. Also the binary itself was loaded directly to 0x0C000000 and verified to run.

Although the program comes back saying it was successful and it has verified the flash, I observe the same behaviour I see on our custom board where the processor is not booting and continues to cycle through the bootloader. I tried the app.bin with and without GP header included with no difference, here they are 

*����������������PIO���������������������/��O���B�$��D#xc�@���+�B���@���##p���@���K�B�!B���A��@�����K+�K�F���:!�FFHJ��K+ИGK+ИG !

H(�H����u� )���_���.*|*��0��0���/����/�@-����M��@��O�`B@�~����������������0��0��� ��6	�0@�R������� �`@������������`@����� �������!F��B���Ch�k��G F���p�B��B����F��Ev��$4U�;�G�B��B��B����F��Ev����$4U�;�G�B��p��D�T*?�ʲF���49��+���,,�Ͳ,E�%E�E٤�� �?	�B�UB�U2�B���7,��&F��B�[�B��6��,�ɲD��B���pGFF���0�F��FF�Q��kB����C�h�#A�� ����"�an��0���Ԑ&Ց(FX�C�S!F_�bn��"�Rbf��r�cn(�
%O��5�ԣ���(F	�0�(F����m��(F	�0��m����0�����B���CFh���� ����Q�;�O��o��"��CO�L�,L�L��"����Q�;0�������������pG@���+�@��P��@�}�pG-��OB��S����CF���Fh@�F��B���C"F��h����s����Ha6����O�the�4'������1KE�=<k���s���2*4�+2�0F��0�����`.���h����O�|�sh"h;�B�u`'`*����������BѐGsh[E����0�B�г�������B���G��FF.����F�G���#FFF��#F���F#`"��3\0cf��3�a�����aA��BA�S��B��C"b�XcbA�URA�uS��B��C�b�b��@��A�iq��A���FB�` ��@���k*����"!`h@�YS�����C!�c�;s���2�����h"	!�����h"!����#B�` �c��@��@��B�` ��@��@��B�t ��@�عB�t ��@�Թ8�B�$B����D��Ed���<U�=�G,�ѽ�8@𲽓h+������-��O���F�F�F8�i�����p?���$�&���O�|J���z5FUE+F2FaF(�SFHFݱ�G(D��@�Ӏ��0��(����UE+F��$�(�SF2FaFHF-����e7��!FHF�z�(@�>������p����
g����VF hO��s���s�.X��𤀳E[F���o/�biu!i�B��]D��rR�B��F*F�o��FHF�8�(���ZF!i��6����"�bB����#a���F�`3F `eaFQF����h5F"h&����`D#`���D@��(?���� h���.�����7��FFF;F�FWF.s�({�"i�E hSFai(�3F�h�B
D��""�Bؿ"*zљB�Fej:F�iHF�Gݺ�
� ���0/Dv]��P-�� ���� pG!FHF��(�д�0C�@O��0������#i�B�ei�B��)F�B��0Fo�@���RF�i��ejHF�G��v��E]FQF(�5F*F���h"h[�`*D"`+��!FHF��(�����S�l�FS�|3.��2F
!8F�
�0�(?�z�0��
u�F3FF�9F*F���#h!FHF+D#`�W�(�Л�HF�A�F(�(�!iHF�����0"�� #���F9F�F���h"h��D�`#``�"��0�� v�O��0f�-��C�8w��FЈFFO�	��T=ԣ�!F0F=+ٴ�03��GI�	k�h��?h/��HF����pG�pG�pG�pG�-��O�-��F'�)����%"$B��W��G:D��Sh�B�Zh��h0F"��hDZh�`B��`Z`�� F����%��B��!!Q��s@�g��������k
�+@�U�+�݁�\�[��O�s@$O�?B��W��G;D��[h�B��)��G��h�B�Zh"�Q)��dF:i����bE�{h&�Sh#�Y)�X�)��̀��������O��yh�W�0�����C��{`���G�0 �� � �@�B8�B�$�@4B����	�F�F��0�E�<�*��C��h�E�6�Yh!�J*���h����E�0F]`B���@������������PZP��T�hch#�	�E��,�""+ؿB�*�ҀB�L#B����C��J0Fh��0�3���X��(�h�(�AF�����?�F�(��	XE�!�B�"��BhCD`�]����1������`�0F������S�D3�D�O�S����AF�a�����Ch���AD!A��O��BCD��`й���#��01٩�`h!�O��)�@�``����<�B�D"��B�hB�H h��@�B��`bhh"��B��`�B����""+ؿB���0F$�[���D�0FZhB�Z`�P� F�����	�9�8���$# F3`����D��u0F�Qh�`A��`Q`�0� F����bC�0FE�e`4�`S`� � F�����h�B�4?��I��0FE�U`���A�������P�P�� F������#������S�DF�h0FT�_KhC�K`�`�`���'�Y
)0�)d��\[1��8X���EP�Ah!��Bـh�E�����{h���� �`s�T+ٳ��W���x�w�!�BYмhbh"�C�	�981���+�o�n�
�����Eq������4��{h#�{`@�B��""(�"�x�@�B��DF@�{h�O���C{`��T)$��on1�����)���h	�B�J`��@�TR�Bث�}�|���B�"��BhCD`�������xw1�n�O�~s$O�~���0F�����h��@�TP�B����}O�~p|1��~!�Q�{h����%�p�Ͳ<�T
�x�B�C���4�x�B��F���,�D�x�B�DC�x�BМBF��� p�pG
F��*CB�BF1hS@��6&��?��<F,����F�� F����FA��I�@:#�h`KhC`�h�`�h�`iaKiCa�i�a�i�ajbKjCb�j�b�j�bkcKkCc�k�c�k�c@0@1@:��02�h`KhC`�h�`�h�`01:��2�Q�;@�;:��2����;�;���`FpG�*Ӌ�����������;�;��1�; �;��:��:�;�;��xpKxCp�x�p`FpG�B�
ً�B
ل2�"F�M�B�M���pG*M�@���F=Ѣ�� ��	�T�l45E� lT�lE�lT�lE�lT�l�BE�l���3-O�D��*FD�F,FV��<,G����,�$�4#D!D*��;
D�K�B�O���pGF���B�d ��@���B�d ��@���-��O�F��)��F�F����
�-T���%�����"#�*F!���FUE8�C�+@�9��B�	I�B��[��K��0KEn��� �KD[h�*��@��QF@F�����F�T�<��#�;D�B�#�2$*�'�*!h��F"F�
�`QhY`�h�`!F@F�4�@F���� � �3�B���� F���	�`�`r{h*��3C{`��0C���0@F�F��u�PF����F����O����y+CB�{`J`@F��01C���0�����[h�#�	�D�E��Ҁ���T�<�Yh!��DHEnܚF�hZ�2$*�`�`��*!h��RFٙ`*ah����`�h��4�a$*�h��� Ya!i�4�aai�a��i4`ahQ`�h�`Y��	I���J`@FZh�C]`������?�C�T�<�Yh!�D��E����F��2$*�	�`�`�hZ��`�`�!FPFfFFTF��t�U�T�<�Yh!���E����F�hZ�2$*�	�`�`��*!h��RFٙ`*ah����`�h��4�a$*�h��� Ya!i�4�aai�a��i4`FahfFQ`�hTF�`�#O�
��0 �`*chC`%����h��P�<#�D�	��!F�����/D��	��pI�{`@FT�<�F�CD�\��l���h$*����`�h�`��!i�!i�aaiAa�i��!FPF������7��8�B�x$��DFF##`�-�C�8�#h+��+`8���F���T�(��#m��#�S��#e����-��AF�� FFF����"#���� ��"�R;F��(F2F���A���F������B� e#�SC�S�������p�
FB�x$��DFFF(F##`���C�p�#h+��3`p�8�B���CFFh��k+?д� ��H� i��E�XX� i�!kQ��@�B�(F�V��� ##c i"�$#��B��������ci"�`[B�a8� 8��X�bi�`(�Ѵ�0B�C�@��O��08�������� r����(F!F�Z��� i��B�@	#O��0+`��8��-��CB��T��DFFF h�F����B���C�����H1+D�Zh*ؿ��@���+=�O��p���F����H FO�X``��H1������U�2��� hC�"`��R� �����-O����������@������q����A������	��s��H1�� h��.�O��0���8�B�x$��DFF##`���C�8�#h+��+`8��p�)H�FF��k+H�bn��0�@ԙ0�!F(F�T��jF3��i(F�G(��O��6��<�!kA��@�B�(F�n�##cal!�(F�g�#cd���cn"���ՠm��������0Fp��m������0+��fn��&0Fp�+�н�����bn��0��Գ�m������!i(F�6���m����0Fp���0-��AF���FG�bhC�c��*\ݦj.VЛ���p�UO��i� m�� �*F#@F�GBJУ��j�i[�#kbh���k�F#@F�GEJд�0!"i#�c���a`"`� e!k��p��@�B�@F���  c���&i���%h&`�ci#��`
�+F2Fgj@F�i�G(��D5�-�� ����k*������0+��+�+���p��(FC�@�������P-���� �#��@�� �@�C��!i"�bc`��!`���-�ѣ磉O��0C�@�����B�@O��0�����8�
FF��k������kn�ԁ� F)F��B�kn�Fԫ��
� F8�������(��F F8��m���� F8��m���������B��W��GFF�����h��~a1]h%�)D!�a!����T���_�!0F��R��h+D�B�0F���� ��aB0F��E�0кhB�#��C-0FE�hU`	`���� ��!0F��.��h�+��B����DB�!��A$hC�S``���)U���FF��Y�T��B��W��G��,�k�hZh�B"�R��Z`�:�T�L�@h-!D��hdE{���������@`�A�k`iP��V�K
+v؋	�9�8���X8�B~�Zh"��Bwٛh�B���h���`�`0F���@���pG@h�(�јhDILA��Bh��h�`�`j`iP���
D�T�<�D���`�`B����CB�i`h�`�B�B�L#��C0Fh�� �0F���@��׺�#�zh��@W�0C��{`:��G�0P0F�`���@����(Eјh
D�hB��`�`i`�P��+�T+��o�n����\�[�}�F��|h"F��#C{`����U��j`iP�������x�w�a�@�TR�B����}�|O�~s��~"�R�A�j``����%p�
FB�x$��DFFF(F##`�:�C�p�#h+��3`p�p�F����FF)ڢ�#3`��O�c+`�p�F@#+`�p�jF�v�(���O�`O�b�pC��S����[	3`*`�p���F���C!`��!pGp����FjFF�����F(F��.���@�YS���C�c��0 `C� aaa���3C���p�(F���H�����#�C�����0���#��CC�"`��#��#���0���p�
FB�x$��DFFF(F##`��C�p�#h+��3`p�8�FB�x$��DFFF##`��C�8�#h+��+`8��8�B�x$��DFF##`�w�C�8�#h+��+`8��)�>���H�IBJ��H�CB�B@��B�#�������������O��F��������@�(����s���@�(���s��A�@�(���As���@�(���s���o�@�(����c��o�@�(���c��Ao�@�(���Ac��o�@�(���c���_�@�(����S��_�@�(���S��A_�@�(���AS��_�@�(���S���O�@�(����C��O�@�(���C��AO�@�(���AC��O�@�(���C���?�@�(����3��?�@�(���3��A?�@�(���A3��?�@�(���3���/�@�(����#��/�@�(���#��A/�@�(���A#��/�@�(���#����@�(�������@�(�����A�@�(���A���@�(�������@�(�������@�(�����A�@�(���A���@�(�����H�@BpG��H�@BpG8� �O��p@�pG��������#��H�@BpG(ȿo�@��O�@��)��-�@������@���pG�pG�B�x#��CX"O��0`pG�B�x#��CX"O��0`pG�B�x#��CX" `pGB�x#��CX"O��0`pG�B�x#��CX"O��0`pG�B�P"��BB��!��Ah+�FD`FpGB�x#��CX"O��0`pG�����������FpG�������FpGStarting�!
���!�$%t%3ͫ4m���T*�%�%�%�%�%�%�%�%&&&&&&&&$&$&,&,&4&4&<&<&D&D&L&L&T&T&\&\&d&d&l&l&t&t&|&|&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&''''''''$'$',','4'4'<'<'D'D'L'L'T'T'\'\'d'd'l'l't't'|'|'�'�'�'�'�'�'�'�'�'�'�'�'�'�'�'�'�'�'�'�'�'�'�'�'�'�'�'�'�'�'�'�'(((((((($($(,(,(4(4(<(<(D(D(L(L(T(T(\(\(d(d(l(l(t(t(|(|(�(�(�(�(�(�(�(�(�(�(�(�(�(�(�(�(�(�(�(�(�(�(�(�(�(�(�(�(�(�(�(�())))))))$)$),),)4)4)<)<)D)D)L)L)T)T)\)\)d)d)l)l)t)t)|)|)�)�)�)�)�)�)�)�)�)�)�)�)�)�)�)�)�)�)�)�)�)�)�)�)������q
 
����������������PIO���������������������/��O���B�$��D#xc�@���+�B���@���##p���@���K�B�!B���A��@�����K+�K�F���:!�FFHJ��K+ИGK+ИG !

H(�H����u� )���_���.*|*��0��0���/����/�@-����M��@��O�`B@�~����������������0��0��� ��6	�0@�R������� �`@������������`@����� �������!F��B���Ch�k��G F���p�B��B����F��Ev��$4U�;�G�B��B��B����F��Ev����$4U�;�G�B��p��D�T*?�ʲF���49��+���,,�Ͳ,E�%E�E٤�� �?	�B�UB�U2�B���7,��&F��B�[�B��6��,�ɲD��B���pGFF���0�F��FF�Q��kB����C�h�#A�� ����"�an��0���Ԑ&Ց(FX�C�S!F_�bn��"�Rbf��r�cn(�
%O��5�ԣ���(F	�0�(F����m��(F	�0��m����0�����B���CFh���� ����Q�;�O��o��"��CO�L�,L�L��"����Q�;0�������������pG@���+�@��P��@�}�pG-��OB��S����CF���Fh@�F��B���C"F��h����s����Ha6����O�the�4'������1KE�=<k���s���2*4�+2�0F��0�����`.���h����O�|�sh"h;�B�u`'`*����������BѐGsh[E����0�B�г�������B���G��FF.����F�G���#FFF��#F���F#`"��3\0cf��3�a�����aA��BA�S��B��C"b�XcbA�URA�uS��B��C�b�b��@��A�iq��A���FB�` ��@���k*����"!`h@�YS�����C!�c�;s���2�����h"	!�����h"!����#B�` �c��@��@��B�` ��@��@��B�t ��@�عB�t ��@�Թ8�B�$B����D��Ed���<U�=�G,�ѽ�8@𲽓h+������-��O���F�F�F8�i�����p?���$�&���O�|J���z5FUE+F2FaF(�SFHFݱ�G(D��@�Ӏ��0��(����UE+F��$�(�SF2FaFHF-����e7��!FHF�z�(@�>������p����
g����VF hO��s���s�.X��𤀳E[F���o/�biu!i�B��]D��rR�B��F*F�o��FHF�8�(���ZF!i��6����"�bB����#a���F�`3F `eaFQF����h5F"h&����`D#`���D@��(?���� h���.�����7��FFF;F�FWF.s�({�"i�E hSFai(�3F�h�B
D��""�Bؿ"*zљB�Fej:F�iHF�Gݺ�
� ���0/Dv]��P-�� ���� pG!FHF��(�д�0C�@O��0������#i�B�ei�B��)F�B��0Fo�@���RF�i��ejHF�G��v��E]FQF(�5F*F���h"h[�`*D"`+��!FHF��(�����S�l�FS�|3.��2F
!8F�
�0�(?�z�0��
u�F3FF�9F*F���#h!FHF+D#`�W�(�Л�HF�A�F(�(�!iHF�����0"�� #���F9F�F���h"h��D�`#``�"��0�� v�O��0f�-��C�8w��FЈFFO�	��T=ԣ�!F0F=+ٴ�03��GI�	k�h��?h/��HF����pG�pG�pG�pG�-��O�-��F'�)����%"$B��W��G:D��Sh�B�Zh��h0F"��hDZh�`B��`Z`�� F����%��B��!!Q��s@�g��������k
�+@�U�+�݁�\�[��O�s@$O�?B��W��G;D��[h�B��)��G��h�B�Zh"�Q)��dF:i����bE�{h&�Sh#�Y)�X�)��̀��������O��yh�W�0�����C��{`���G�0 �� � �@�B8�B�$�@4B����	�F�F��0�E�<�*��C��h�E�6�Yh!�J*���h����E�0F]`B���@������������PZP��T�hch#�	�E��,�""+ؿB�*�ҀB�L#B����C��J0Fh��0�3���X��(�h�(�AF�����?�F�(��	XE�!�B�"��BhCD`�]����1������`�0F������S�D3�D�O�S����AF�a�����Ch���AD!A��O��BCD��`й���#��01٩�`h!�O��)�@�``����<�B�D"��B�hB�H h��@�B��`bhh"��B��`�B����""+ؿB���0F$�[���D�0FZhB�Z`�P� F�����	�9�8���$# F3`����D��u0F�Qh�`A��`Q`�0� F����bC�0FE�e`4�`S`� � F�����h�B�4?��I��0FE�U`���A�������P�P�� F������#������S�DF�h0FT�_KhC�K`�`�`���'�Y
)0�)d��\[1��8X���EP�Ah!��Bـh�E�����{h���� �`s�T+ٳ��W���x�w�!�BYмhbh"�C�	�981���+�o�n�
�����Eq������4��{h#�{`@�B��""(�"�x�@�B��DF@�{h�O���C{`��T)$��on1�����)���h	�B�J`��@�TR�Bث�}�|���B�"��BhCD`�������xw1�n�O�~s$O�~���0F�����h��@�TP�B����}O�~p|1��~!�Q�{h����%�p�Ͳ<�T
�x�B�C���4�x�B��F���,�D�x�B�DC�x�BМBF��� p�pG
F��*CB�BF1hS@��6&��?��<F,����F�� F����FA��I�@:#�h`KhC`�h�`�h�`iaKiCa�i�a�i�ajbKjCb�j�b�j�bkcKkCc�k�c�k�c@0@1@:��02�h`KhC`�h�`�h�`01:��2�Q�;@�;:��2����;�;���`FpG�*Ӌ�����������;�;��1�; �;��:��:�;�;��xpKxCp�x�p`FpG�B�
ً�B
ل2�"F�M�B�M���pG*M�@���F=Ѣ�� ��	�T�l45E� lT�lE�lT�lE�lT�l�BE�l���3-O�D��*FD�F,FV��<,G����,�$�4#D!D*��;
D�K�B�O���pGF���B�d ��@���B�d ��@���-��O�F��)��F�F����
�-T���%�����"#�*F!���FUE8�C�+@�9��B�	I�B��[��K��0KEn��� �KD[h�*��@��QF@F�����F�T�<��#�;D�B�#�2$*�'�*!h��F"F�
�`QhY`�h�`!F@F�4�@F���� � �3�B���� F���	�`�`r{h*��3C{`��0C���0@F�F��u�PF����F����O����y+CB�{`J`@F��01C���0�����[h�#�	�D�E��Ҁ���T�<�Yh!��DHEnܚF�hZ�2$*�`�`��*!h��RFٙ`*ah����`�h��4�a$*�h��� Ya!i�4�aai�a��i4`ahQ`�h�`Y��	I���J`@FZh�C]`������?�C�T�<�Yh!�D��E����F��2$*�	�`�`�hZ��`�`�!FPFfFFTF��t�U�T�<�Yh!���E����F�hZ�2$*�	�`�`��*!h��RFٙ`*ah����`�h��4�a$*�h��� Ya!i�4�aai�a��i4`FahfFQ`�hTF�`�#O�
��0 �`*chC`%����h��P�<#�D�	��!F�����/D��	��pI�{`@FT�<�F�CD�\��l���h$*����`�h�`��!i�!i�aaiAa�i��!FPF������7��8�B�x$��DFF##`�-�C�8�#h+��+`8���F���T�(��#m��#�S��#e����-��AF�� FFF����"#���� ��"�R;F��(F2F���A���F������B� e#�SC�S�������p�
FB�x$��DFFF(F##`���C�p�#h+��3`p�8�B���CFFh��k+?д� ��H� i��E�XX� i�!kQ��@�B�(F�V��� ##c i"�$#��B��������ci"�`[B�a8� 8��X�bi�`(�Ѵ�0B�C�@��O��08�������� r����(F!F�Z��� i��B�@	#O��0+`��8��-��CB��T��DFFF h�F����B���C�����H1+D�Zh*ؿ��@���+=�O��p���F����H FO�X``��H1������U�2��� hC�"`��R� �����-O����������@������q����A������	��s��H1�� h��.�O��0���8�B�x$��DFF##`���C�8�#h+��+`8��p�)H�FF��k+H�bn��0�@ԙ0�!F(F�T��jF3��i(F�G(��O��6��<�!kA��@�B�(F�n�##cal!�(F�g�#cd���cn"���ՠm��������0Fp��m������0+��fn��&0Fp�+�н�����bn��0��Գ�m������!i(F�6���m����0Fp���0-��AF���FG�bhC�c��*\ݦj.VЛ���p�UO��i� m�� �*F#@F�GBJУ��j�i[�#kbh���k�F#@F�GEJд�0!"i#�c���a`"`� e!k��p��@�B�@F���  c���&i���%h&`�ci#��`
�+F2Fgj@F�i�G(��D5�-�� ����k*������0+��+�+���p��(FC�@�������P-���� �#��@�� �@�C��!i"�bc`��!`���-�ѣ磉O��0C�@�����B�@O��0�����8�
FF��k������kn�ԁ� F)F��B�kn�Fԫ��
� F8�������(��F F8��m���� F8��m���������B��W��GFF�����h��~a1]h%�)D!�a!����T���_�!0F��R��h+D�B�0F���� ��aB0F��E�0кhB�#��C-0FE�hU`	`���� ��!0F��.��h�+��B����DB�!��A$hC�S``���)U���FF��Y�T��B��W��G��,�k�hZh�B"�R��Z`�:�T�L�@h-!D��hdE{���������@`�A�k`iP��V�K
+v؋	�9�8���X8�B~�Zh"��Bwٛh�B���h���`�`0F���@���pG@h�(�јhDILA��Bh��h�`�`j`iP���
D�T�<�D���`�`B����CB�i`h�`�B�B�L#��C0Fh�� �0F���@��׺�#�zh��@W�0C��{`:��G�0P0F�`���@����(Eјh
D�hB��`�`i`�P��+�T+��o�n����\�[�}�F��|h"F��#C{`����U��j`iP�������x�w�a�@�TR�B����}�|O�~s��~"�R�A�j``����%p�
FB�x$��DFFF(F##`�:�C�p�#h+��3`p�p�F����FF)ڢ�#3`��O�c+`�p�F@#+`�p�jF�v�(���O�`O�b�pC��S����[	3`*`�p���F���C!`��!pGp����FjFF�����F(F��.���@�YS���C�c��0 `C� aaa���3C���p�(F���H�����#�C�����0���#��CC�"`��#��#���0���p�
FB�x$��DFFF(F##`��C�p�#h+��3`p�8�FB�x$��DFFF##`��C�8�#h+��+`8��8�B�x$��DFF##`�w�C�8�#h+��+`8��)�>���H�IBJ��H�CB�B@��B�#�������������O��F��������@�(����s���@�(���s��A�@�(���As���@�(���s���o�@�(����c��o�@�(���c��Ao�@�(���Ac��o�@�(���c���_�@�(����S��_�@�(���S��A_�@�(���AS��_�@�(���S���O�@�(����C��O�@�(���C��AO�@�(���AC��O�@�(���C���?�@�(����3��?�@�(���3��A?�@�(���A3��?�@�(���3���/�@�(����#��/�@�(���#��A/�@�(���A#��/�@�(���#����@�(�������@�(�����A�@�(���A���@�(�������@�(�������@�(�����A�@�(���A���@�(�����H�@BpG��H�@BpG8� �O��p@�pG��������#��H�@BpG(ȿo�@��O�@��)��-�@������@���pG�pG�B�x#��CX"O��0`pG�B�x#��CX"O��0`pG�B�x#��CX" `pGB�x#��CX"O��0`pG�B�x#��CX"O��0`pG�B�P"��BB��!��Ah+�FD`FpGB�x#��CX"O��0`pG�����������FpG�������FpGStarting�!
���!�$%t%3ͫ4m���T*�%�%�%�%�%�%�%�%&&&&&&&&$&$&,&,&4&4&<&<&D&D&L&L&T&T&\&\&d&d&l&l&t&t&|&|&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&�&''''''''$'$',','4'4'<'<'D'D'L'L'T'T'\'\'d'd'l'l't't'|'|'�'�'�'�'�'�'�'�'�'�'�'�'�'�'�'�'�'�'�'�'�'�'�'�'�'�'�'�'�'�'�'�'(((((((($($(,(,(4(4(<(<(D(D(L(L(T(T(\(\(d(d(l(l(t(t(|(|(�(�(�(�(�(�(�(�(�(�(�(�(�(�(�(�(�(�(�(�(�(�(�(�(�(�(�(�(�(�(�(�())))))))$)$),),)4)4)<)<)D)D)L)L)T)T)\)\)d)d)l)l)t)t)|)|)�)�)�)�)�)�)�)�)�)�)�)�)�)�)�)�)�)�)�)�)�)�)�)�)������q
 (added .txt extension to be able to upload). The DEVSTAT value is 0x10067.

This is now on TI hardware using TI provided binaries to program the NAND. The only variable is the binary image I have attached which works independently. Can someone verify that this works on their kit and help debug why I cannot get the processor to boot from NAND Flash using this binary. My objective is to use this to validate the boot process on our custom PCB so we can go ahead with production.

Thanks,

Jasvinder

  • I've now created a .bin file using the tiimage.exe tools as described in section 4.6.3.1.4.1 of software-dl.ti.com/.../Foundational_Components.html so am fairly sure my binary should be in the correct format? I can verify that it appears to have been written to the NAND too. Please can someone verify my results here? (Board still doesnt boot from NAND)

  • Sorry for the delay. This is being looked at.

    Best Regards,
    Yordan
  • Jasvinder,

    Apologize for the delay in getting to this as I have been tied up with other priority issues. If you see the Processor SDK RTOS documentation for the device, you will notice that the boot image created is only supported for SPI boot and not NAND boot on the EVM.

    While both SPI and NAND boot use GP header format, the formatting of the image for writing to flash is slightly different. The only example that I am aware of for K2E for NAND are the Keystone II Boot examples that we had provided here:
    processors.wiki.ti.com/.../KeystoneII_Boot_Examples

    The exact instructions to use the NAND writer for booting from ROM are provided in that article. If you notice the NAND writer in the software package comes with input.txt file where you need to change the ECC generation format, to write the image on the NAND in the correct format with correct ECC data recognized by the ROM. This is a critical step as the ROM expects the ECC data to be in the format listed here:
    processors.wiki.ti.com/.../DM365_Nand_ECC_layout (Also applies to K2E)

    I am now wondering if you are running into the same issue on your custom board where the ECC data was not written correctly to the spare are of the NAND pages.

    Regards,
    Rahul
  • Jasvinder,

    I have attached the nandwriter and an boot image that I have been able to flash and boot on the K2E EVM for your reference. The image is generated using the Keystone II Boot Examples package that I listed above. Please try this out and let me know if it also works with your setup.

    K2e_nand_boot_binaries.zip

    Documentation to flash the binaries:

    http://processors.wiki.ti.com/index.php/KeystoneII_Boot_Examples#Running_NAND_example

    Note: NANDWriter from MCSDK should be the same even in PRSDK but to be safe, I provided you the binary that I used for my testing.

    Regards,

    Rahul

  • Jasvinder,

    Did you get a chance to try the binaries and test the NAND boot on K2E EVM. Are you still having any issues with this setup.

    Please close this issue if support is no longer required on this issue and share your findings/solution so it benefits the E2E community

    Regards
    Rahul
  • Hi Rahul,

    Sorry for the delayed response. We had suspected (thanks to your analysis in this thread https://e2e.ti.com/support/processors/f/791/t/778137verify it. It is useful to know the format it should be in. I can confirm that the binaries you provided were able to write/boot from NAND on the evmk2e.

    I can confirm it was the ECC format that was the issue within nand_writer_input.txt with rbl_ecc needing to be 1 instead of 0. I have also been able to propagate this change to our own code on our own board and can confirm the EVM and our own PCB both boot from NAND. It's disappointing that the documentation for the recommended SDK (PDK) that I was following omits this step compared to the legacy SDK documentation. It is also omitted in the documentation included with the nandwriter source of the legacy SDK, which includes all the other steps.

    As it is stated that the nandwriter will program the NAND memory, may I suggest that at least the current documentation be updated to highlight this critical step for anyone coming across this in the future so that the processor will boot from the image that is written. If this differs between dev kits/procssors then I guess it should be mentioned what format is required for each. I am talking about section 4.6.3.4.5.3.2 in http://software-dl.ti.com/processor-sdk-rtos/esd/docs/05_01_00_11/rtos/Foundational_Components.html .

    Otherwise thank you for your detailed help and swift responses.

    Jas