All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [tpm2] Regarding storing simple data into nv memory of slb9670(tpm 2.0)
@ 2018-08-01  9:21 Peter Magnusson
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Magnusson @ 2018-08-01  9:21 UTC (permalink / raw)
  To: tpm2

[-- Attachment #1: Type: text/plain, Size: 1467 bytes --]

I would suggest you perform the things you want to do first on a high
level operating system (e.g. Linux) using tpm2_nvwrite / tpm2_nvread
and using TSS2_LOG=all+TRACE to get traces of what actually is
communicated with the TPM.

Then you replicate your success again on the MCU / SPI, feeding it
similar SPI commands as shown in the traces.

On Fri, Jul 27, 2018 at 3:00 PM Abbaraju Manojsai
<abbarajumanojsai(a)gmail.com> wrote:
>
> We interfaced  slb 9670   (TPM 2.0) with Msp430 16 bit controller through spi which does not support Linux Kernel.
>
> Our Main Task , is store a few bytes of data in NV memory as simple way into SLB 9670  (TPM 2.0)
>
> Now we able to access the spi communication of slb 9670 with controller,
>
> we tested the reading sample  registers of slb 9670   like DIDVID register , version id of slb 9670, status register  and  writing a values  into registers through spi communication.
>
> so spi  read and spi write communication is working  with chip  by accessing this registers.
>
> Our Main Task , is store a few bytes of data into Nv memory of SLB 9670.please help me.
>
> i am not able to properly understand the tcg stack documents of tpm 2.0
>
> so kindly help me at what are required steps , should i follow ?
>
> Regards,
>
> Manoj ,
> +91-9063249308.
>
> _______________________________________________
> tpm2 mailing list
> tpm2(a)lists.01.org
> https://lists.01.org/mailman/listinfo/tpm2

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [tpm2] Regarding storing simple data into nv memory of slb9670(tpm 2.0)
@ 2018-07-27 13:00 Abbaraju Manojsai
  0 siblings, 0 replies; 2+ messages in thread
From: Abbaraju Manojsai @ 2018-07-27 13:00 UTC (permalink / raw)
  To: tpm2

[-- Attachment #1: Type: text/plain, Size: 855 bytes --]

 We interfaced  slb 9670   (TPM 2.0) with Msp430 16 bit controller through
spi which does not support Linux Kernel.

Our Main Task , is store a few bytes of data in NV memory as simple way
into SLB 9670  (TPM 2.0)

Now we able to access the spi communication of slb 9670 with controller,

we tested the reading sample  registers of slb 9670   like DIDVID register
, version id of slb 9670, status register  and  writing a values  into
registers through spi communication.

so spi  read and spi write communication is working  with chip  by
accessing this registers.

Our Main Task , is store a few bytes of data into Nv memory of SLB
9670.please help me.

i am not able to properly understand the tcg stack documents of tpm 2.0

so kindly help me at what are required steps , should i follow ?

Regards,

Manoj ,
+91-9063249308.

[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 3452 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-08-01  9:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-01  9:21 [tpm2] Regarding storing simple data into nv memory of slb9670(tpm 2.0) Peter Magnusson
  -- strict thread matches above, loose matches on Subject: below --
2018-07-27 13:00 Abbaraju Manojsai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.