<!DOCTYPE Tree SYSTEM "IPSA.dtd">
<Tree chk="-537211122" type="Script" onEnd="default" onBackExit="back">
<Header>
<IFile>
<FileName name="CQCA_lecture_PIN">
</FileName>
<Modif date="26/11/2019" site="Actia" user="nayadi">
</Modif>
</IFile>
<ITool exedate="21/11/2019" name="fr.actia.flowchart.editor.model.engineID" revision="7.6.0.201911201058">
</ITool>
</Header>
<precel>
<TreeInfo posc=3 posl=1 ident=10>
<Comment>Déverrouillage CQCA lecture Pin
</Comment>
</TreeInfo>
</precel>
<cel>
<Start posc=5 posl=1 destc="5" destl="3" ident=11>
</Start>
<Act posc=5 posl=3 destc="5" destl="5" ident=15>
<UserInterface>
<Display>
<OpenWaitPopup>
<Paragraph>
<ThesauRef code="22920" thesauName="POLUXDATA">
</ThesauRef>
</Paragraph>
</OpenWaitPopup>
</Display>
</UserInterface>
</Act>
<End posc=15 posl=41 ident=18>
</End>
<Act posc=15 posl=37 destc="15" destl="41" ident=22>
<UserInterface>
<Display>
<CloseWaitPopup>
</CloseWaitPopup>
</Display>
</UserInterface>
</Act>
<Act posc=5 posl=5 destc="5" destl="7" ident=24>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="CQCA_UNLOCK_RESULT">
</TextBuffer>
</Destination>
</Clear>
</MathAndLogic>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="CQCA_KEY">
</TextBuffer>
</Destination>
</Clear>
</MathAndLogic>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="CQCA_SA2_VALUE">
</TextBuffer>
</Destination>
</Clear>
</MathAndLogic>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="CQCA_SEED">
</TextBuffer>
</Destination>
</Clear>
</MathAndLogic>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="OUT_GET_SEED">
</TextBuffer>
</Destination>
</Clear>
</MathAndLogic>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="$RAWVALUE$2711$">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="IN_GET_SEED">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="$RAWVALUE$2712">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="IN_SEND_KEY">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="OUT_SEND_KEY">
</TextBuffer>
</Destination>
</Clear>
</MathAndLogic>
</Act>
<Act posc=5 posl=7 destc="5" destl="9" ident=25>
<Comment>----------------------------
</Comment>
<Comment>récupération de la graine
</Comment>
<Comment>----------------------------
</Comment>
<ECUCommunication>
<ECUFunctionCall name="APPGEN_RAW">
<TextBuffer name="IN_GET_SEED">
</TextBuffer>
<Destination>
<TextBuffer name="OUT_GET_SEED">
</TextBuffer>
</Destination>
</ECUFunctionCall>
</ECUCommunication>
</Act>
<Test posc=5 posl=9 destyesc=5 destyesl=11 destnoc=13 destnol=9 ident=26>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<FloatVar name="VCHK">
</FloatVar>
</Source>
<Source>
<HexaInt>03
</HexaInt>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Act posc=13 posl=9 destc="15" destl="37" ident=27>
<Comment>----------------------------
</Comment>
<Comment>Erreur de fonction de déverrouillage
</Comment>
<Comment>----------------------------
</Comment>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="FALSE">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="CQCA_UNLOCK_RESULT">
</TextBuffer>
</Destination>
</Assignment>
<Assignment>
<Source>
<ASCIIString value="GETSEED_ERROR">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="CQCA_UNLOCK_TYPE_ERROR">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Test posc=5 posl=11 destyesc=13 destyesl=11 destnoc=5 destnol=13 ident=28>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<TextBuffer name="OUT_GET_SEED">
<Position>
<ValPos>1
</ValPos>
</Position>
<Length>6
</Length>
</TextBuffer>
</Source>
<Source>
<ASCIIString value="ES|02|">
</ASCIIString>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Act posc=13 posl=11 destc="15" destl="37" ident=29>
<Comment>----------------------------
</Comment>
<Comment>Erreur nack
</Comment>
<Comment>----------------------------
</Comment>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="FALSE">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="CQCA_UNLOCK_RESULT">
</TextBuffer>
</Destination>
</Assignment>
<Assignment>
<Source>
<ASCIIString value="NACK">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="CQCA_UNLOCK_TYPE_ERROR">
</TextBuffer>
</Destination>
</Assignment>
<Assignment>
<Source>
<TextBuffer name="OUT_GET_SEED">
<Position>
<ValPos>15
</ValPos>
</Position>
<Length>6
</Length>
</TextBuffer>
</Source>
<Destination>
<TextBuffer name="CQCA_UNLOCK_FRAME">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Test posc=5 posl=13 destyesc=5 destyesl=15 destnoc=13 destnol=13 ident=30>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<TextBuffer name="OUT_GET_SEED">
<Position>
<ValPos>1
</ValPos>
</Position>
<Length>6
</Length>
</TextBuffer>
</Source>
<Source>
<ASCIIString value="ES|00|">
</ASCIIString>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Act posc=13 posl=13 destc="15" destl="37" ident=31>
<Comment>----------------------------
</Comment>
<Comment>Erreur de communication
</Comment>
<Comment>----------------------------
</Comment>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="FALSE">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="CQCA_UNLOCK_RESULT">
</TextBuffer>
</Destination>
</Assignment>
<Assignment>
<Source>
<ASCIIString value="COM_ERROR">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="CQCA_UNLOCK_TYPE_ERROR">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Act posc=5 posl=15 destc="5" destl="17" ident=32>
<MathAndLogic>
<Assignment>
<Source>
<TextBuffer name="OUT_GET_SEED">
</TextBuffer>
</Source>
<Destination>
<TextBuffer name="TKN_IN_STRING">
</TextBuffer>
</Destination>
</Assignment>
<Assignment>
<Source>
<ASCIIString value="RAWDATA">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="TKN_IN_MNEMO">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<SubTree posc=5 posl=17 destc="5" destl="19" ident=33 FileName="script_tokenizer.s" IsCritical="NO">
<FilePath path="util">
</FilePath>
</SubTree>
<Act posc=5 posl=19 destc="5" destl="21" ident=34>
<MathAndLogic>
<Assignment>
<Source>
<TextBuffer name="TKN_OUT_VALUE">
<Position>
<ValPos>5
</ValPos>
</Position>
<Length>4
</Length>
</TextBuffer>
</Source>
<Destination>
<TextBuffer name="CQCA_SA2_VALUE">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Test posc=5 posl=21 destyesc=5 destyesl=23 destnoc=9 destnol=23 ident=35>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<TextBuffer name="CQCA_SA2_VALUE">
</TextBuffer>
</Source>
<Source>
<ASCIIString value="0000">
</ASCIIString>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Test posc=9 posl=23 destyesc=9 destyesl=25 destnoc=13 destnol=23 ident=36>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL">
<Source>
<TextBuffer name="CQCA_SA2_VALUE">
<Position>
<ValPos>1
</ValPos>
</Position>
<Length>4
</Length>
</TextBuffer>
</Source>
<Source>
<ASCIIString value="FFFF">
</ASCIIString>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Act posc=13 posl=23 destc="15" destl="37" ident=37>
<Comment>----------------------------
</Comment>
<Comment>Erreur valeur différente 00 et FF
</Comment>
<Comment>----------------------------
</Comment>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="FALSE">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="CQCA_UNLOCK_RESULT">
</TextBuffer>
</Destination>
</Assignment>
<Assignment>
<Source>
<ASCIIString value="VALUE_ERROR">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="CQCA_UNLOCK_TYPE_ERROR">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Act posc=5 posl=23 destc="4" destl="25" ident=38>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="0000">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="CQCA_KEY">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Act posc=9 posl=25 destc="9" destl="27" ident=49>
<TeleXX_CQCA>
<TeleXX_CQCA_VinToPin>
<TextBuffer name="CQCA_KEY">
</TextBuffer>
</TeleXX_CQCA_VinToPin>
</TeleXX_CQCA>
</Act>
<Act posc=9 posl=27 destc="6" destl="29" ident=20>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="PIN1">
</TextBuffer>
</Destination>
</Clear>
</MathAndLogic>
<MathAndLogic>
<Assignment>
<Source>
<TextBuffer name="CQCA_KEY">
<Position>
<ValPos>1
</ValPos>
</Position>
<Length>2
</Length>
</TextBuffer>
</Source>
<Destination>
<TextBuffer name="PIN1">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Act posc=4 posl=25 destc="4" destl="26" ident=12>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="PIN1">
</TextBuffer>
</Destination>
</Clear>
</MathAndLogic>
<MathAndLogic>
<Assignment>
<Source>
<TextBuffer name="CQCA_KEY">
<Position>
<ValPos>1
</ValPos>
</Position>
<Length>2
</Length>
</TextBuffer>
</Source>
<Destination>
<TextBuffer name="PIN1">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Act posc=9 posl=31 destc="7" destl="33" ident=23>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="PIN2">
</TextBuffer>
</Destination>
</Clear>
</MathAndLogic>
<MathAndLogic>
<Assignment>
<Source>
<TextBuffer name="CQCA_KEY">
<Position>
<ValPos>3
</ValPos>
</Position>
<Length>2
</Length>
</TextBuffer>
</Source>
<Destination>
<TextBuffer name="PIN2">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Act posc=4 posl=26 destc="13" destl="36" ident=13>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="PIN2">
</TextBuffer>
</Destination>
</Clear>
</MathAndLogic>
<MathAndLogic>
<Assignment>
<Source>
<TextBuffer name="CQCA_KEY">
<Position>
<ValPos>3
</ValPos>
</Position>
<Length>2
</Length>
</TextBuffer>
</Source>
<Destination>
<TextBuffer name="PIN2">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Test posc=6 posl=29 destyesc=9 destyesl=31 destnoc=8 destnol=29 ident=14>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="V29">
</TextBuffer>
</Destination>
</Clear>
</MathAndLogic>
<MathAndLogic>
<Assignment>
<Source>
<TextBuffer name="PIN1">
</TextBuffer>
</Source>
<Destination>
<TextBuffer name="PIN1">
</TextBuffer>
</Destination>
</Assignment>
<Assignment>
<Source>
<FloatVar name="VMEM">
</FloatVar>
</Source>
<Destination>
<FloatVar name="V29">
</FloatVar>
</Destination>
</Assignment>
</MathAndLogic>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL" case="INSENSITIVE">
<Source>
<FloatVar name="V29">
</FloatVar>
</Source>
<Source>
<FloatNumber>2
</FloatNumber>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Act posc=8 posl=29 destc="9" destl="31" ident=16>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="0">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="PIN11">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
<MathAndLogic>
<Assignment>
<Source>
<TextBuffer name="PIN11">
</TextBuffer>
</Source>
<Destination>
<TextBuffer name="PIN_F">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
<MathAndLogic>
<Assignment>
<Source>
<TextBuffer name="PIN1">
</TextBuffer>
</Source>
<Destination>
<TextBuffer name="PIN11">
<Position>
<ValPos>2
</ValPos>
</Position>
<Length>1
</Length>
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
<MathAndLogic>
<Assignment>
<Source>
<TextBuffer name="PIN_F">
</TextBuffer>
</Source>
<Destination>
<TextBuffer name="PIN1">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Test posc=7 posl=33 destyesc=13 destyesl=36 destnoc=9 destnol=35 ident=17>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="V30">
</TextBuffer>
</Destination>
</Clear>
</MathAndLogic>
<MathAndLogic>
<Assignment>
<Source>
<TextBuffer name="PIN2">
</TextBuffer>
</Source>
<Destination>
<TextBuffer name="PIN2">
</TextBuffer>
</Destination>
</Assignment>
<Assignment>
<Source>
<FloatVar name="VMEM">
</FloatVar>
</Source>
<Destination>
<FloatVar name="V30">
</FloatVar>
</Destination>
</Assignment>
</MathAndLogic>
<MathAndLogic>
<LogicalTest>
<For>
<DataComparison type="EQUAL" case="INSENSITIVE">
<Source>
<FloatVar name="V30">
</FloatVar>
</Source>
<Source>
<FloatNumber>2
</FloatNumber>
</Source>
</DataComparison>
</For>
</LogicalTest>
</MathAndLogic>
</Test>
<Act posc=9 posl=35 destc="13" destl="36" ident=19>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="0">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="PIN22">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
<MathAndLogic>
<Assignment>
<Source>
<TextBuffer name="PIN22">
</TextBuffer>
</Source>
<Destination>
<TextBuffer name="PIN_F2">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
<MathAndLogic>
<Assignment>
<Source>
<TextBuffer name="PIN2">
</TextBuffer>
</Source>
<Destination>
<TextBuffer name="PIN_F2">
<Position>
<ValPos>2
</ValPos>
</Position>
<Length>1
</Length>
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
<MathAndLogic>
<Clear>
<Destination>
<TextBuffer name="PIN2">
</TextBuffer>
</Destination>
</Clear>
</MathAndLogic>
<MathAndLogic>
<Assignment>
<Source>
<TextBuffer name="PIN_F2">
</TextBuffer>
</Source>
<Destination>
<TextBuffer name="PIN2">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
<Act posc=13 posl=36 destc="15" destl="37" ident=21>
<MathAndLogic>
<Assignment>
<Source>
<ASCIIString value="TRUE">
</ASCIIString>
</Source>
<Destination>
<TextBuffer name="CQCA_UNLOCK_RESULT">
</TextBuffer>
</Destination>
</Assignment>
</MathAndLogic>
</Act>
</cel>
</Tree>
