Hallo Soeren,

It's suggested to prepare a sample dumps and a "unit test" where the
output of the decoder is compare with a sample output. Unfortunately I
have problems with the configuration of the utility runtc that actualy
performs the "unit test".

The ACR-ISP decoder is stacked on the SPI decoder. This decoder can be
configured to run with sigrok-cli as

    -P spi:clk=SPICLK:mosi=MOSI:miso=MISO

and also PulseView displays everything correctly. But I failed to
configure runtc:

runtc -P spi -p clk=1 -p miso=0 -p mosi=2 -O spi:python -i
isp_atmega8L_read_lock.sr

Nothing more get out of the decoder than
    0-0 spi: ['CS-CHANGE', None, None]

I used any combination of the pin option "-p" with no success. Can you
get the data out of the SPI decoder? This data is necessary as the input
for the AVR-ISP decoder.

I hope it's okay to send a very short file on this list.


Best regards,
Helge


Am 10.07.2020 um 17:59 schrieb Soeren Apel:
> Hello Helge,
>
> Thanks for contributing! Please see
> https://sigrok.org/wiki/Protocol_decoder_HOWTO#Submitting_your_decoder
>
> Regards
>  -Soeren

Attachment: isp_atmega8L_read_lock.sr
Description: Binary data

_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to