Home arrow Support arrow Forums

Luminary Micro Forums

<< Start < Prev 1 2 Next > End >>

vovacooper

Expert Boarder

2010/01/31 16:00

MDL BDC24 Black Jaguar to PC problem

hello.

i am trying to control the MDL-BDC24 from the com port in my computer but i can't figure the protocol.
i read all the specification's but no luck,
the bdc-comm.exe program is running fine so i siffe'd the serial code that is running between the jaguar and the program and it not look like the standard CAN protocol.

if i send:
#volt set 10
the code is:
ff 06 81 00 02 02 0a 00

if i send:
#speed set 10
the code is:
ff 08 81 04 02 02 0a 00 00 00

if i send:
#pos set 10
the code is:
ff 08 81 0c 02 02 0a 00 00 00

if i send:
#cur set 10
the code is:
ff 06 81 10 02 02 0a 00

if anyone understand the code
please help me.
thank you

login or register to reply

TI Sue

Platinum Boarder

2010/02/01 12:35

Re:MDL BDC24 Black Jaguar to PC problem

Hi vovacooper,
This is documented in chapter 5 of the RDK-BDC24 Firmware Development Package User's Guide. If you download SW-RLN-5570 from the Software Updates page: http://www.luminarymicro.com/products/software_updates.html, you can find it in the docs folder under the name SW-RDK-BDC24-UG-5570.pdf.
Regards,
Sue

login or register to reply

vovacooper

Expert Boarder

2010/02/05 07:49

Re:MDL BDC24 Black Jaguar to PC problem

it's not helping me.
i know about this document and have read it many times but the cod i am receiving is not like the code this document describes, in the document i should receive 4 bytes but i receive more then that, the code that i receive starts always with 0xFF and there is nothing about that in the document. please try to help me because i'm loosing my mind over this problem.

and one more thing, i accedentaly loaded to my MDL-BDC24
with qs-bdc-3330 and now my bdc-comm.exe program cant find it. and i cant load it with another firmware, how can i fix it?
thank you.

login or register to reply

vovacooper

Expert Boarder

2010/02/05 08:36

Re:MDL BDC24 Black Jaguar to PC problem

i figured out the second problem. i just needed to connect the one with the 3330 version true the one with the qs-bdc24 version because the 3330 version doesn't have uart support.

but please help me with my first question.

login or register to reply

awneil

Platinum Boarder

2010/02/09 04:57

Re:MDL BDC24 Black Jaguar to PC problem

vovacooper wrote:
i siffe'd the serial code that is running between the jaguar and the program
How, exactly, did you do that?

Are you sure that it's not your "siffer" giving a false FF at the start of each frame, and a number of false 00s at the end...?

Post edited by: awneil, at: 2010/02/09 05:19

login or register to reply

vovacooper

Expert Boarder

2010/02/09 09:29

Re:MDL BDC24 Black Jaguar to PC problem

The "Sniffer" is a Serial port monitor program that's shows me what happens on the serial port.


one more question:
in what conditions do i receive a"system halt" from the driver?
it seems to be random, one time if i set the volt is respond with "system halt" and one time its not.

thank you.

login or register to reply
<< Start < Prev 1 2 Next > End >>