RomRaider Logo

RomRaider

Open Source ECU Tools
 FAQ •  Register •  Login 

RomRaider

Documentation

Community

Developers

It is currently Sat Feb 21, 2026 1:10 pm

All times are UTC





Post new topic Reply to topic  [ 58 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
 Post subject: Re: Nissan reflashing kernel
PostPosted: Sat Sep 17, 2016 2:00 am 
Offline
Newbie

Joined: Sun Jun 08, 2014 2:55 pm
Posts: 40
Just got my VQ25DET up and running last night (taken ages to find a spare loom for these).

Doing ROM dump at the moment with nisprog/NisssanDataScan. Found I had to connect a few times to get it going (same issue was found as TB48 patrol)

AUD port is the same as the TB48 AT patrol if you look at the Piasini diagrams for hookup. SCI pins are all over the place, but can be found by tracing the lines from the 7055.

Looking up of sashas posts with the SCI pin locations from the 7055 (in the subaru section on this forum) confirmed my test points

I'm not sure there is a WDT timer pin for this one (usually external controller chip, but this ECU doesnt appear to have any external chips) so I will have to monitor the RESET line on the 7055 to see if it WDT does kick in


Top
 Profile  
 
 Post subject: Re: Nissan reflashing kernel
PostPosted: Sat Sep 17, 2016 2:58 am 
Offline
Experienced
User avatar

Joined: Thu Jan 09, 2014 3:07 am
Posts: 652
darkhalf wrote:
I'm not sure there is a WDT timer pin for this one

Hmm, strange - do you have pics of the ECU innards? is it a twin-cpu model ?

> Connect a few times
yea... fast init timing is finnicky at best. As Sasha pointed out in another thread, running a media program in background (audio player, whatever) may actually be beneficial as they seem to often reduce the OS tick interval. Previously I recommended running as few programs possible in parallel, this may be the exception !

_________________
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: Nissan reflashing kernel
PostPosted: Sat Sep 17, 2016 3:00 am 
Offline
Experienced
User avatar

Joined: Thu Jan 09, 2014 3:07 am
Posts: 652
But yeah, for those who may have missed the update on the campaign page - the funding goal was met (HUGE thanks to everyone who pitched in !), I'll release the initial source code and compiled kernels within a day or two.

Again, thanks a lot to all the backers, this is going to be great!


Top
 Profile  
 
 Post subject: Re: Nissan reflashing kernel
PostPosted: Mon Sep 19, 2016 1:31 am 
Offline
Experienced
User avatar

Joined: Thu Jan 09, 2014 3:07 am
Posts: 652
Source code is now up :
https://github.com/fenugrec/npkern

precompiled kernels coming soon on the repo, as soon as I wrestle git into submission. I'm including one here for 180nm devices (7058 and newer (maybe uncommon) 7055)


You do not have the required permissions to view the files attached to this post.

_________________
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: Nissan reflashing kernel
PostPosted: Tue Sep 20, 2016 2:58 am 
Offline
Newbie

Joined: Wed Jul 20, 2016 12:58 am
Posts: 4
fenugrec wrote:
Source code is now up :
https://github.com/fenugrec/npkern

precompiled kernels coming soon on the repo, as soon as I wrestle git into submission. I'm including one here for 180nm devices (7058 and newer (maybe uncommon) 7055)


Woohoo! Excited to mess with it. I'll be sending my 370z rom asap. Thanks for all your awesome work.


Top
 Profile  
 
 Post subject: Re: Nissan reflashing kernel
PostPosted: Tue Sep 20, 2016 7:36 am 
Offline
Newbie

Joined: Sat Aug 27, 2016 5:05 am
Posts: 10
fenugrec wrote:
Source code is now up :
https://github.com/fenugrec/npkern

precompiled kernels coming soon on the repo, as soon as I wrestle git into submission. I'm including one here for 180nm devices (7058 and newer (maybe uncommon) 7055)

Wow that looks like pure awesomeness! the best contribution for nissan & SH705x crowd, big thanks for that!

I'm eager to mess with the kerns. What compiler were you using? I'm going to fire up the crossdev and build the compiler, wonder if I should start with something rather old (aka stable) like some early 4.x version (4.1-4.4)?
UPD: 4.1.2 & 4.9.3 are OK (haven't yet tested the binaries with the ECU)


Top
 Profile  
 
 Post subject: Re: Nissan reflashing kernel
PostPosted: Wed Sep 21, 2016 7:14 am 
Offline
Newbie

Joined: Sun Jun 08, 2014 2:55 pm
Posts: 40
Quote:
Hmm, strange - do you have pics of the ECU innards? is it a twin-cpu model ?

Looks like stripey beat me to it. Same as ECU here:
http://www.romraider.com/forum/viewtopic.php?f=45&t=13163


Top
 Profile  
 
 Post subject: Re: Nissan reflashing kernel
PostPosted: Thu Oct 06, 2016 7:57 pm 
Offline
Experienced

Joined: Mon Jul 02, 2007 11:46 am
Posts: 430
Silly question but is there a similar thread on ECU Flash to have this implemented into the Tactrix cable? I know you mentioned its trivial to make the changes to that format. Just trying to catch up on the sections ive been missing in romraider!!! Awesome work btw, i think you sold yourself short on the goal though :(

_________________
--2008 3.6 Tribeca --
--2007 STI limited Panda--
--Twinscroll GT40R 2.35L--


Top
 Profile  
 
 Post subject: Re: Nissan reflashing kernel
PostPosted: Fri Oct 07, 2016 12:54 am 
Offline
Experienced
User avatar

Joined: Thu Jan 09, 2014 3:07 am
Posts: 652
_Leo_ wrote:
I'm eager to mess with the kerns. What compiler were you using?

Sorry must've missed your post - I'm just using the latest gcc build provided on https://gcc-renesas.com/
but I'm pretty sure which version you use is of no consequence, as long as it's less than ~10 years old !


Bamofo wrote:
Silly question but is there a similar thread on ECU Flash to have this implemented into the Tactrix cable?

no idea, you mean on the openecu forums ? I tried registering there once or twice and failed, so screw them !

Bamofo wrote:
Awesome work btw, i think you sold yourself short on the goal though

Thanks - but as it is the goal was only met at the last minute thanks to someone generous who saw the value of this. Despite the extra "stretch goals" that I thought interesting, there wasn't that much traction after all.
That said, I do accept private donations (beer, gold coinage, etc ) even if the campaign is over ! P-)


Top
 Profile  
 
 Post subject: Re: Nissan reflashing kernel
PostPosted: Tue Oct 18, 2016 11:24 pm 
Offline
Experienced

Joined: Tue May 24, 2016 5:45 am
Posts: 217
Anyone successfully flashed with the kernel yet?


Top
 Profile  
 
 Post subject: Re: Nissan reflashing kernel
PostPosted: Wed Oct 19, 2016 4:31 am 
Offline
Experienced
User avatar

Joined: Thu Jan 09, 2014 3:07 am
Posts: 652
heh I assume you mean "except me" -- I've reflashed a few blocks about 6-7 times tonight on my bench ECU. Stay tuned for important changes to nisprog "soon", i.e. different command syntax and "more better smartness" in determining which blocks to flash etc.


Top
 Profile  
 
 Post subject: Re: Nissan reflashing kernel
PostPosted: Wed Oct 19, 2016 5:49 pm 
Offline
Experienced

Joined: Tue May 24, 2016 5:45 am
Posts: 217
fenugrec wrote:
heh I assume you mean "except me" -- I've reflashed a few blocks about 6-7 times tonight on my bench ECU. Stay tuned for important changes to nisprog "soon", i.e. different command syntax and "more better smartness" in determining which blocks to flash etc.


Hah, yeah of course.

Although it's exciting to hear about "smartness" for per block flashing.

I really want to test this out on my old Sh7055 stuff to see if it will work at all. I'm assuming that everything I've been messing with is .35 chips and not the latter stuff that's more similar to the Sh7058 so it may be futile.


Last edited by murphys_law on Thu Oct 20, 2016 7:33 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Nissan reflashing kernel
PostPosted: Thu Oct 20, 2016 12:38 pm 
Offline
Newbie

Joined: Tue May 24, 2016 9:32 am
Posts: 10
My car is almost back on the road so I will also be interested to see how this works on the 7051. Managed to get a newer model ecu with a 7055 Processor in it but unable to figure out how to get the NATS.... Sigh


Last edited by Jchau1 on Sun May 21, 2017 9:56 am, edited 2 times in total.

Top
 Profile  
 
 Post subject: Re: Nissan reflashing kernel
PostPosted: Fri Oct 21, 2016 5:09 am 
Offline
Newbie

Joined: Tue Dec 01, 2015 2:53 am
Posts: 34
Okay so now that I've played around with the kernel a bit here's what I have done (this was done on a Windows Surface Pro running Windows 10):

EEPROM dump
Full ROM Dump (1 MB ROM in 3:30 mins, avg 4.9 kb/s !!)
Block 12 Dump
Block 12 Reflash (128 kb in ?? seconds, I would guess around 4 kb/s)

I think that's everything.... either way, verified to be working on my PC / ECU :)


Top
 Profile  
 
 Post subject: Re: Nissan reflashing kernel
PostPosted: Sat Oct 22, 2016 12:36 am 
Offline
Experienced

Joined: Tue May 24, 2016 5:45 am
Posts: 217
AK Eyes wrote:
Okay so now that I've played around with the kernel a bit here's what I have done (this was done on a Windows Surface Pro running Windows 10):

EEPROM dump
Full ROM Dump (1 MB ROM in 3:30 mins, avg 4.9 kb/s !!)
Block 12 Dump
Block 12 Reflash (128 kb in ?? seconds, I would guess around 4 kb/s)

I think that's everything.... either way, verified to be working on my PC / ECU :)

Awesome!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 58 posts ]  Go to page Previous  1, 2, 3, 4  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 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