Test and Measurement Forum

PS/2 serial protocol decoding

Forum for discussing PicoScope version 6 (non-automotive version)

PS/2 serial protocol decoding

Postby waione » Mon Aug 11, 2014 9:32 am

Could you please support this protocol decoding? it's very similar to SPI. Thanks.
Last edited by waione on Mon Aug 11, 2014 2:07 pm, edited 1 time in total.
waione
Newbie
 
Posts: 0
Joined: Sat Aug 09, 2014 9:14 am

Re: PS/2 serial protocol decoding

Postby Martyn » Mon Aug 11, 2014 12:29 pm

The latest version of the software has the facility to create custom serial decoding protocols, so should help with this.
Martyn
Technical Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2355
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: PS/2 serial protocol decoding

Postby waione » Mon Aug 11, 2014 2:03 pm

Which one:
PicoScope R6.9.14
or
Picoscope Beta R6.10.2
or
Dev kit?
waione
Newbie
 
Posts: 0
Joined: Sat Aug 09, 2014 9:14 am

Re: PS/2 serial protocol decoding

Postby Martyn » Mon Aug 11, 2014 2:10 pm

Both versions
Martyn
Technical Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2355
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: PS/2 serial protocol decoding

Postby waione » Mon Aug 11, 2014 2:26 pm

How?
By modifying ProtocolPlugin.xsd ?
waione
Newbie
 
Posts: 0
Joined: Sat Aug 09, 2014 9:14 am

Re: PS/2 serial protocol decoding

Postby Martyn » Mon Aug 11, 2014 2:46 pm

We are in the process of creating instructions on how to do this, the software was released before we have had time to complete them. In principal create an xml file, like the one attached, based on the xml schema file ProtocolPlugin.xsd
Attachments
CustomProtocol.xml
(1.3 KiB) Downloaded 93 times
Martyn
Technical Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2355
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: PS/2 serial protocol decoding

Postby waione » Mon Aug 11, 2014 2:54 pm

:shock: :mrgreen: :idea: :wink:
Thanks. :D
waione
Newbie
 
Posts: 0
Joined: Sat Aug 09, 2014 9:14 am

Re: PS/2 serial protocol decoding

Postby waione » Wed Aug 13, 2014 3:55 am

In PS/2 protocol,
Host send a byte to Device using falling-edge clock,
Device send byte to Host using rising-edge clock.

Can the custom decoding do that? :D

Reference:
http://computer-engineering.org/ps2protocol/
waione
Newbie
 
Posts: 0
Joined: Sat Aug 09, 2014 9:14 am

Re: PS/2 serial protocol decoding

Postby Martyn » Wed Aug 20, 2014 8:47 am

There are two methods to create decoders, using XML based on the schema will work for simple protocols, using a C# dll can be used for more complicated protocols which may be applicable in this case.

I am waiting for some more information on the second method and will be posting some details shortly.
Martyn
Technical Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2355
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: PS/2 serial protocol decoding

Postby Mark_O » Sat Oct 18, 2014 8:03 am

Martyn wrote:There are two methods to create decoders, using XML based on the schema will work for simple protocols, using a C# dll can be used for more complicated protocols which may be applicable in this case.

I am waiting for some more information on the second method and will be posting some details shortly.


Hi, Martyn. Not to bug you guys, but it's been almost 2 months since we'd be hearing about the details "shortly". ;)

Interest is high, because these new capabilities will be very welcome, and add considerably to the power of Pico for protocol decoding. The fact that it's on it's way is good news. The fact that it's already in place in existing software, but we're just lacking documentation on using it is a bit frustrating.
Mark_O
Advanced
 
Posts: 44
Joined: Fri Oct 03, 2014 5:58 am

Re: PS/2 serial protocol decoding

Postby Martyn » Tue Oct 21, 2014 9:09 am

After some feedback with regards to the Custom Serial Decoding, we are revisiting the best approach to provide a user friendly method of setting up protocols. This will require further development work so this option will not be available until this work is completed. Sorry for the delay.
Martyn
Technical Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2355
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: PS/2 serial protocol decoding

Postby Mark_O » Fri Mar 20, 2015 10:33 pm

Martyn,

it's a bit confusing when the previous info was:

There are two methods to create decoders, using XML based on the schema will work for simple protocols, using a C# dll can be used for more complicated protocols which may be applicable in this case.

and

We are in the process of creating instructions on how to do this, the software was released before we have had time to complete them.

Then apparently documenting the already completed software was abandoned, since:

...we are revisiting the best approach to provide a user friendly method of setting up protocols. This will require further development work so this option will not be available

So now we've gone from "two methods" to NO mechanism available, and 5 months later there's no time-frame for the next one? I'm having trouble understanding how this is "the best approach"?
Mark_O
Advanced
 
Posts: 44
Joined: Fri Oct 03, 2014 5:58 am

Re: PS/2 serial protocol decoding

Postby Martyn » Tue Mar 24, 2015 1:28 pm

We are still working towards a release with serial decoding, hopefully not too long now before a beta release.

The code has been completely rewritten from the ground up to provide better support for the existing protocols, as well as being able to support new protocols moving forwards.
Martyn
Technical Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2355
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: PS/2 serial protocol decoding

Postby Mark_O » Tue Mar 24, 2015 2:32 pm

We are still working towards a release with serial decoding, hopefully not too long now before a beta release.

Thanks! I'll keep an eye out for it.

The code has been completely rewritten from the ground up to provide better support for the existing protocols, as well as being able to support new protocols moving forwards.

That's good news... especially since the serial decode capabilities of ps6 are so heavily promoted as a major selling point.

It's really important for these capabilities to be solid, and work properly. Which from my readings in this Forum, is apparently not currently the case. It will be good to have the reality match the advertising claims.

Once you have the custom decoder functionality in beta, feel free to give me a shout. I have a lot of expertise with quite a few comms protocols, and CAN in particular (J1939, CANOpen, ISO-15765, UDS, ISO-14229, etc.). So I may able to give you a boost in that area, that competing products wouldn't have.
Mark_O
Advanced
 
Posts: 44
Joined: Fri Oct 03, 2014 5:58 am


Return to PicoScope 6 for Windows

Who is online

Users browsing this forum: No registered users and 0 guests