RomRaider Logo

RomRaider

Open Source ECU Tools
 FAQ •  Register •  Login 

RomRaider

Documentation

Community

Developers

It is currently Thu Dec 25, 2025 3:04 am

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: nisprog: Using best choice, SID27 key=x. But it's not?
PostPosted: Thu Apr 29, 2021 7:24 am 
Offline
Experienced

Joined: Thu Apr 14, 2011 8:16 am
Posts: 425
I'm wanting to do away with using different nisprog.ini files for different ROMs. The keys for the ROMs that I use are already in the nisprog included list. This is the output when I connect:

Code:
Connected to ECU !
ECUID: VC264
Key candidate   dist (smaller is better)
0: 0xC9DCA40A   0
1: 0x211CE348   1
2: 0x968148AD   15

Using best choice, SID27 key=C9DCA40A. Use "setkeys" to change if required.
now using 7055.
nisprog: Settings loaded from nisprog.ini


That SID27 key is correct and the output says it's using that. Why then does this happen?:

Code:
nisprog> runkernel npk.bin
No keyset selected - try "setkeys"
nisprog>


Is there something else I need to put in my nisprog.ini to confirm the correctly automatically identified keyset so that I don't need to use the setkeys command?


Top
 Profile  
 
 Post subject: Re: nisprog: Using best choice, SID27 key=x. But it's not?
PostPosted: Fri Apr 30, 2021 12:04 pm 
Offline
Experienced
User avatar

Joined: Wed Jan 08, 2014 11:07 pm
Posts: 652
bradsm87 wrote:
That SID27 key is correct and the output says it's using that. Why then does this happen?:


Haha, that's weird. What version of nisprog is this, and what's in your .ini file ?

_________________
If you like nisprog + npkern, you can support me via https://liberapay.com/fenugrec/
For sending me encrypted/secure messages, use PGP key 0xBAC61AEB3A3E6531 available from pool.sks-keyservers.net


Top
 Profile  
 
 Post subject: Re: nisprog: Using best choice, SID27 key=x. But it's not?
PostPosted: Fri Apr 30, 2021 12:24 pm 
Offline
Experienced

Joined: Thu Apr 14, 2011 8:16 am
Posts: 425
fenugrec wrote:
bradsm87 wrote:
That SID27 key is correct and the output says it's using that. Why then does this happen?:


Haha, that's weird. What version of nisprog is this, and what's in your .ini file ?


It's 1.03b from here viewtopic.php?f=65&t=13259

nisprog.ini

Code:
set
port \\.\COM3
dumbopts 0x48
l2protocol iso14230
initmode fast
testerid 0xfc
destaddr 0x10
addrtype phys
up

npconf p3 2
npconf rxe 200

nc
setdev 1


Top
 Profile  
 
 Post subject: Re: nisprog: Using best choice, SID27 key=x. But it's not?
PostPosted: Fri Apr 30, 2021 1:12 pm 
Offline
Experienced
User avatar

Joined: Wed Jan 08, 2014 11:07 pm
Posts: 652
Ooo I think VC264 is a "lucky ROM" - I added that ECUID to the list (so nisprog recognizes it), but the keyset (0xC9DCA40A) it refers to was only added... last october ! (2020)

So, definitely a bug. Will be fixed in next release, or if you compile.

_________________
If you like nisprog + npkern, you can support me via https://liberapay.com/fenugrec/
For sending me encrypted/secure messages, use PGP key 0xBAC61AEB3A3E6531 available from pool.sks-keyservers.net


Top
 Profile  
 
 Post subject: Re: nisprog: Using best choice, SID27 key=x. But it's not?
PostPosted: Sat May 01, 2021 11:12 pm 
Offline
Experienced

Joined: Thu Apr 14, 2011 8:16 am
Posts: 425
I spent around an hour playing with cmake and msys2 attempting to compile it then gave up.

I’ll patiently await nisprog 1.04. I’m more than happy to test before release.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subsilver by phpBBservice.nl