|
RomRaider
Documentation
Community
Developers
|
| Author |
Message |
|
pirelli2006
|
Post subject: Re: Read/Write a CAN enabled ECU with RomRaider Posted: Mon Dec 13, 2021 2:58 am |
|
 |
| Experienced |
Joined: Tue Apr 03, 2018 6:56 am Posts: 124
|
when i want read from ecu: Code: java.io.FileNotFoundException: null\16GW9B_read.bin (Системе не удается найти указанный путь) at java.io.FileOutputStream.open0(Native Method) at java.io.FileOutputStream.open(Unknown Source) at java.io.FileOutputStream.<init>(Unknown Source) at java.io.FileOutputStream.<init>(Unknown Source) at com.romraider.io.j2534.api.TestJ2534NCS.<init>(Unknown Source) at com.romraider.io.j2534.api.TestJ2534NCS.main(Unknown Source) Ending session: 000007E01081 End session ACK: 000007E85081 What is it? What is this error. How fix it. I can't read any cars.
|
|
| Top |
|
 |
|
dschultz
|
Post subject: Re: Read/Write a CAN enabled ECU with RomRaider Posted: Mon Dec 13, 2021 9:33 am |
|
 |
| RomRaider Developer |
Joined: Wed May 20, 2009 9:49 pm Posts: 7314 Location: Canada eh!
|
|
The file is saved in the directory starting with System.getenv("HOME"). It seems you have no "HOME" environment variable, set one first then run the read command.
|
|
| Top |
|
 |
|
pirelli2006
|
Post subject: Re: Read/Write a CAN enabled ECU with RomRaider Posted: Mon Dec 13, 2021 1:18 pm |
|
 |
| Experienced |
Joined: Tue Apr 03, 2018 6:56 am Posts: 124
|
|
Thanks for your understanding and your time, I tried everything I knew, even tried to find something on the Internet. I do not understand how to set this home folder. Even studied your code, but to no avail. Tell me what needs to be done. I can't figure it out myself. I tried it on different computers, but I'm doing something wrong. I installed the program, launched it, then the logger and added xml, chose CAN nsc. Looked at settings.xml in .Romraider.
|
|
| Top |
|
 |
|
dschultz
|
Post subject: Re: Read/Write a CAN enabled ECU with RomRaider Posted: Mon Dec 13, 2021 9:29 pm |
|
 |
| RomRaider Developer |
Joined: Wed May 20, 2009 9:49 pm Posts: 7314 Location: Canada eh!
|
In the command window type: Code: set HOME=<some_existing_directory_where_you_want_the_file_saved>
example: set HOME=C:\temp
now run the read command.
|
|
| Top |
|
 |
|
pirelli2006
|
Post subject: Re: Read/Write a CAN enabled ECU with RomRaider Posted: Tue Dec 14, 2021 12:59 am |
|
 |
| Experienced |
Joined: Tue Apr 03, 2018 6:56 am Posts: 124
|
|
Thank you so much for your help and your hard work. Set home worked when I selected an existing folder. The program does not create folders.
|
|
| Top |
|
 |
|
dschultz
|
Post subject: Re: Read/Write a CAN enabled ECU with RomRaider Posted: Tue Dec 14, 2021 9:24 am |
|
 |
| RomRaider Developer |
Joined: Wed May 20, 2009 9:49 pm Posts: 7314 Location: Canada eh!
|
pirelli2006 wrote: The program does not create folders. Correct. It relies on environment variables. What OS are you using that doesn't specific a user home directory in the environment?
|
|
| Top |
|
 |
|
pirelli2006
|
Post subject: Re: Read/Write a CAN enabled ECU with RomRaider Posted: Tue Dec 14, 2021 11:56 am |
|
 |
| Experienced |
Joined: Tue Apr 03, 2018 6:56 am Posts: 124
|
|
| Top |
|
 |
|
dschultz
|
Post subject: Re: Read/Write a CAN enabled ECU with RomRaider Posted: Tue Dec 14, 2021 6:38 pm |
|
 |
| RomRaider Developer |
Joined: Wed May 20, 2009 9:49 pm Posts: 7314 Location: Canada eh!
|
|
Is HOME a different environment variable name in your Locale?
For me it is: HOME=C:\Users\Dale
|
|
| Top |
|
 |
|
shawn72
|
Post subject: Re: Read/Write a CAN enabled ECU with RomRaider Posted: Sat Jul 02, 2022 7:59 pm |
|
 |
| Newbie |
Joined: Thu Oct 01, 2020 8:07 am Posts: 8
|
|
ive been trying to read a CAN ecu with romraider as described but im not getting correct results, could someone look at the log and downloaded file and advice me
You do not have the required permissions to view the files attached to this post.
|
|
| Top |
|
 |
|
dschultz
|
Post subject: Re: Read/Write a CAN enabled ECU with RomRaider Posted: Sun Jul 03, 2022 8:49 am |
|
 |
| RomRaider Developer |
Joined: Wed May 20, 2009 9:49 pm Posts: 7314 Location: Canada eh!
|
|
In your RomRaider install directory there is a log4J.properties file. It may be in the lib\ sub-directory. Open the file in a text editor and change the log level on the first line to: log4j.rootLogger=trace, stdout, file
Save the file and then try your read command again. The output will contain the lower level Openport 2 read/write commands. Post that, it may give a hint as to why it is not reading.
|
|
| Top |
|
 |
|
shawn72
|
Post subject: Re: Read/Write a CAN enabled ECU with RomRaider Posted: Mon Jul 04, 2022 8:59 am |
|
 |
| Newbie |
Joined: Thu Oct 01, 2020 8:07 am Posts: 8
|
|
log after change attached
You do not have the required permissions to view the files attached to this post.
|
|
| Top |
|
 |
|
dschultz
|
Post subject: Re: Read/Write a CAN enabled ECU with RomRaider Posted: Mon Jul 04, 2022 8:44 pm |
|
 |
| RomRaider Developer |
Joined: Wed May 20, 2009 9:49 pm Posts: 7314 Location: Canada eh!
|
|
The ECU is reporting 7F2322, a NACK (7F) to read (23) with code 22 (conditionsNotCorrect or requestSequenceError). I'm not sure why as the other commands seem to report as expected.
|
|
| Top |
|
 |
|
pirelli2006
|
Post subject: Re: Read/Write a CAN enabled ECU with RomRaider Posted: Tue Jul 05, 2022 8:46 am |
|
 |
| Experienced |
Joined: Tue Apr 03, 2018 6:56 am Posts: 124
|
|
for this car, reading the full firmware is impossible without a code patch.
|
|
| Top |
|
 |
|
shawn72
|
Post subject: Re: Read/Write a CAN enabled ECU with RomRaider Posted: Tue Jul 05, 2022 12:38 pm |
|
 |
| Newbie |
Joined: Thu Oct 01, 2020 8:07 am Posts: 8
|
pirelli2006 wrote: for this car, reading the full firmware is impossible without a code patch. can you do this?
|
|
| Top |
|
 |
|
dschultz
|
Post subject: Re: Read/Write a CAN enabled ECU with RomRaider Posted: Tue Jul 05, 2022 9:19 pm |
|
 |
| RomRaider Developer |
Joined: Wed May 20, 2009 9:49 pm Posts: 7314 Location: Canada eh!
|
|
Is it possible to read starting at 0x8200 ?
|
|
| Top |
|
 |
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
|
|