Here is my progress.
First I compared two hex files selected randomly (19xx and avsph) :
Only 4 lines are different (2 to 5).
Now the question is, how to make the link with the keys?
{ 0x07,0x00,0x02,0x40,0x00,0x0A,0x04,0xC2,0xA4,0x02,0x02,0x20,0x04,0x3C,0x2F,0xEB,0xE0,0x63,0x81,0xC0}; //19xx
{ 0x0F,0x00,0x02,0x40,0x00,0x08,0x04,0xC0,0xB1,0x20,0x79,0xAB,0xE9,0xC6,0xCF,0x09,0x42,0x5B,0x52,0x38}; //avsph
[EDIT]
I think I got it:
19xx
:10000000FB2B00308A000408840A82070034
07347E
:10001000
0034
0234
4034
0034
0A34
0434
C234
A4348A
:10002000
0234
0234
2034
0434
3C34
2F34
EB34
E034D2
:10003000
6334
8134
C03461346A3465345F34663487
avsph
:10000000FB2B00308A000408840A82070034
0F3476
:10001000
0034
0234
4034
0034
0834
0434
C034
B13481
:10002000
2034
7934
AB34
E934
C634
CF34
0934
423423
:10003000
5B34
5234
383461346A3465345F34663446
So now I need to:
- replace those 20 values by 0xFF
- understand how is calculated the checksum for each line (it's probably well documented somewhere in the datasheet or on the web)