to update new firmware ,i needed restore configuration and this result with not working pin
The pin to unlock your nano s is unrelated to any firmware update.
maybe i initialize new wallet with same seed?
If you use the same seed, it is the same wallet.
or is possible next:
that i have 12 word secret key created from 24 words
There is no '12 word secret key'.
The nano s derives your private keys from the 24 word mnemonic. Nothing else.
for example
for first word chose word numer 18 from 24 words
for second chose word number 5
and so on till 12,i am not sure about this but i remember something like this that ledger asked me random words when i unlock wallet last time
probably i have right seed but wrong order
The 'right seed' in a wrong order is NOT the correct seed.
The last word contains a checksum. So, even if you shuffle your words, the seed won't be accepted. Simply because it is NOT A VALID SEED.
Your seed is only valid (and functional) in the correct order. Changing the order of the words will give you an 'Invalid seed' error.
If your seed is being accepted (which it is) it is in the correct order. This did not cause your issue.