This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SIMPLELINK-CC13XX-CC26XX-SDK: tool for OAD is broken


The tool distributed ( simplelink_cc13xx_cc26xx_sdk_6_40_00_13\tools\common\oad\keys\ is broken and generates garbage with Python 2.7
It does not work with Python 3.xx on account of using tostring instead of tobytes
We managed to fix it ourselves, but it really needs to be updated to run with latest Pytholn 3.xx

  • Example garbage (actually the reverse keys looks ok)
    >"\Program Files\Python-2.7\python.exe"
    ('Private key: ', 'c5874fac013b032e0c60ec2d89926adad024c025f19f38c0cd0505e98e28ebfc')
    (' Public Key ', 'a1a3ba6b6d71b78f24ad279110aa6ead03df836bbd75aeca1163bc4d9372521ee6c47388783feabc0cbcadeced8488e1e8c829ff37fceaa9b3d8f42acf34d3b8')
    ('Public key X : ', 'a1a3ba6b6d71b78f24ad279110aa6ead03df836bbd75aeca1163bc4d9372521e')
    <type 'str'>
    1a 3b a6 b6 d7 1b 78 f2 4a d2 79 11 0a a6 ea d0 3d f8 36 bb d7 5a ec a1 16 3b c4 d9 37 25 21 e
    ('Public key Y: ', 'e6c47388783feabc0cbcadeced8488e1e8c829ff37fceaa9b3d8f42acf34d3b8')
    6c 47 38 87 83 fe ab c0 cb ca de ce d8 48 8e 1e 8c 82 9f f3 7f ce aa 9b 3d 8f 42 ac f3 4d 3b 8
    ('Public key X in reversed format : ', '1e5272934dbc6311caae75bd6b83df03ad6eaa109127ad248fb7716d6bbaa3a1')
    ('Public key Y in reversed format: ', 'b8d334cf2af4d8b3a9eafc37ff29c8e8e18884edecadbc0cbcea3f788873c4e6')
    ('Signer Info:', '48300f7275861fe7')
    <type 'str'>
    48 30 0f 72 75 86 1f e7

  • Hi,

    I'll take a look and get back to you tomorrow.


    Marie H