AnsweredAssumed Answered

SPI Boot Packing 8Bit

Question asked by garygru on Jul 8, 2013
Latest reply on Jul 19, 2013 by Harshit.Gaharwar

Hi all,


I'm not sure if I understand the boot packing of the sharc processors right:


This is in the assembler listing of the boot kernel (which should reside in the beginning of the .ldr-file)


     5     06be04000000    29     Call user_init (DB);

     6     0f7b00000000    30     IMASK = 0;             // mask all interrupts



These are the instructions in my 8Bit-binary .ldr-file


0000 0804 BE06

0000 0000 7B0F



I wonder that they are already byte reversed. Shall I reverse 'em again, i.e. transmitting 0x06 than 0xBE, 0x04 ,….?

That's what I do in the screenshot. (interpreted as SPI Mode 3, LSBF)