GUI for nvram-hack based "emulator"
#51
Member
Thread Starter
Join Date: Jun 2001
Location: Eh?
Posts: 391
Likes: 0
Received 0 Likes
on
0 Posts
Car: 1988 Monte Carlo SS
Engine: 5.7L TPI
Transmission: T5
Axle/Gears: 3.73
Originally Posted by junkcltr
Rbob was correct. The BPW was disabled due to VATS. With VATS disabled in the aujp_rt.bin everything reported correctly on the ALDL link.
Neat to see someone else reach this milestone.
#52
TGO Supporter
Join Date: Aug 2001
Location: NJ/PA
Posts: 1,008
Likes: 0
Received 0 Likes
on
0 Posts
Car: Yes
Engine: Many
Transmission: Quite a few
And my solution was exact for the problem mentioned before. Once I closed Tunerpro, I was able to fire up the bench, see no PW, download the eprom, and call it 'test'. re-enter Tunerpro, open 'test' flip the flag bit, close TP, open the utility, upload the updated new 'test' bin, and watch the PW pop up on the scope screen.
This is too sweet, I'm gonna have alot of fun with this!
This is too sweet, I'm gonna have alot of fun with this!
#53
Supreme Member
iTrader: (1)
Join Date: Jan 2002
Location: garage
Posts: 4,432
Likes: 0
Received 1 Like
on
1 Post
Engine: 3xx ci tubo
Transmission: 4L60E & 4L80E
I changed the desired idle vs. temp. and saw the changes in the ALDL datastream. It worked fine. The TCL "reset" command caused the ALDL stream to lock up. It also caused the emulator to need a complete power down or TP would not recognize it. Only a ECM power-down & power-up would fix it.
I think the TCL "reset" problem is because of the malformed command.
I think the TCL "reset" problem is because of the malformed command.
#54
TGO Supporter
Join Date: Jan 2000
Location: In your ear. No, the other one.
Posts: 1,861
Likes: 0
Received 0 Likes
on
0 Posts
Car: '89 Trans Am WS6
Engine: 350 TPI
Transmission: T5WC
Axle/Gears: 3.08 posi
Originally Posted by junkcltr
I noticed before that TP will grab a comm port and not release it when not datalogging. Therefore, the TCL script can't get the port.
Index of /beta/Builds
Give it a go and let me know if it works. Remember to disconnect from your ECM (ALDL) in TunerPro before running your script.
#55
Member
Thread Starter
Join Date: Jun 2001
Location: Eh?
Posts: 391
Likes: 0
Received 0 Likes
on
0 Posts
Car: 1988 Monte Carlo SS
Engine: 5.7L TPI
Transmission: T5
Axle/Gears: 3.73
Originally Posted by junkcltr
I changed the desired idle vs. temp. and saw the changes in the ALDL datastream. It worked fine. The TCL "reset" command caused the ALDL stream to lock up. It also caused the emulator to need a complete power down or TP would not recognize it. Only a ECM power-down & power-up would fix it.
I think the TCL "reset" problem is because of the malformed command.
I think the TCL "reset" problem is because of the malformed command.
BTW: the AUJP_RT.BIN works in a real car...
#56
Member
Thread Starter
Join Date: Jun 2001
Location: Eh?
Posts: 391
Likes: 0
Received 0 Likes
on
0 Posts
Car: 1988 Monte Carlo SS
Engine: 5.7L TPI
Transmission: T5
Axle/Gears: 3.73
Originally Posted by junkcltr
I think the TCL "reset" problem is because of the malformed command.
change this:
<code>proc resetEcm {} {
global _serialPortSpawnId
if {$_serialPortSpawnId == ""} {return}
aldlSend $_serialPortSpawnId "F4 59 04 01 60 00"
aldlReceive $_serialPortSpawnId
return OK
}</code>
to this:
<code>proc resetEcm {} {
global _serialPortSpawnId
if {$_serialPortSpawnId == ""} {return}
aldlSend $_serialPortSpawnId "F4 5A 04 01 60 00 00"
aldlReceive $_serialPortSpawnId
return OK
}</code>
#57
Supreme Member
iTrader: (1)
Join Date: Jan 2002
Location: garage
Posts: 4,432
Likes: 0
Received 1 Like
on
1 Post
Engine: 3xx ci tubo
Transmission: 4L60E & 4L80E
I will give Mangus' TP4.13 with the comm port code change with the TCL script with the updated "reset" command this weekend.
I have been doing a lot of commenting on the $58 BBZB code. I have been tracing through it to see how different parts of it are affected by the Mode 4 command. I might start adding the NVRAM code modifications to it this weekend.
I have been doing a lot of commenting on the $58 BBZB code. I have been tracing through it to see how different parts of it are affected by the Mode 4 command. I might start adding the NVRAM code modifications to it this weekend.
#58
Member
Thread Starter
Join Date: Jun 2001
Location: Eh?
Posts: 391
Likes: 0
Received 0 Likes
on
0 Posts
Car: 1988 Monte Carlo SS
Engine: 5.7L TPI
Transmission: T5
Axle/Gears: 3.73
Originally Posted by Mangus
I just fixed this for you. Build here:
Index of /beta/Builds
Give it a go and let me know if it works. Remember to disconnect from your ECM (ALDL) in TunerPro before running your script.
Index of /beta/Builds
Give it a go and let me know if it works. Remember to disconnect from your ECM (ALDL) in TunerPro before running your script.
Last edited by MonteCarSlow; 04-27-2006 at 08:06 AM.
#59
Supreme Member
iTrader: (1)
Join Date: Jan 2002
Location: garage
Posts: 4,432
Likes: 0
Received 1 Like
on
1 Post
Engine: 3xx ci tubo
Transmission: 4L60E & 4L80E
I tested the TCL "reset" command on the bench with the aujp_rt.bin. It seemed to work fine. I could change CAL stuff and reset and the ALDL worked properly everytime.
I tried the beta TP4.13 with the comm port release on WIN98 SE and it created fatal execution errors with the KERNEL32.DLL and WISH84.DLL when I ran the TCL script. I would open TP and ALDL log, then click the double arrow icon to stop the ALDL connection. Then I would run the NVRAM TCL script and it would report "failed to allocate". The windows debug box showed the error was with KERNEL32.DLL.
If I closed TP and ran the NVRAM TCL script it was fine.
I tried the beta TP4.13 with the comm port release on WIN98 SE and it created fatal execution errors with the KERNEL32.DLL and WISH84.DLL when I ran the TCL script. I would open TP and ALDL log, then click the double arrow icon to stop the ALDL connection. Then I would run the NVRAM TCL script and it would report "failed to allocate". The windows debug box showed the error was with KERNEL32.DLL.
If I closed TP and ran the NVRAM TCL script it was fine.
#60
TGO Supporter
Join Date: Jan 2000
Location: In your ear. No, the other one.
Posts: 1,861
Likes: 0
Received 0 Likes
on
0 Posts
Car: '89 Trans Am WS6
Engine: 350 TPI
Transmission: T5WC
Axle/Gears: 3.08 posi
What the heck is wish84.dll? I've never heard of it nor can I find any info on it anywhere!
Weird.
Which program is crashing when you run the script? The executable the script is running, or TunerPro?
Weird.
Which program is crashing when you run the script? The executable the script is running, or TunerPro?
#61
Supreme Member
iTrader: (1)
Join Date: Jan 2002
Location: garage
Posts: 4,432
Likes: 0
Received 1 Like
on
1 Post
Engine: 3xx ci tubo
Transmission: 4L60E & 4L80E
WISH84.DLL is from running the TCL script. All TCL srcipts run on top of the WISH84.DLL executable.
It seems like TP didn't release the comm port completely and WISH is having a problem getting it. It might be just a problem with WIN98 SE and how MS cleans up releasing the comm port.
It does cause a problem with TP afterwards though. The font in TP becomes large and bold. Once it completely locked up TP so that I had to kill it with the task manager. The other times it closed using the normal method but the font was still large and bold. It looks to be about 12 to 14 point font.
I can screenshot it if that helps. I did have a problem running electronics workbench with TP open last week. With TP open, I ran electronics workbench it came up with a fatal execution error. I never had an error from it before with other programs running.
I might move to WINXP on the laptop. Not sure how bad it will be on a 300Mhz machine so I have been trying to avoid it. I really like the NVRAM module setup so I will upgrade the OS if I have to.
It seems like TP didn't release the comm port completely and WISH is having a problem getting it. It might be just a problem with WIN98 SE and how MS cleans up releasing the comm port.
It does cause a problem with TP afterwards though. The font in TP becomes large and bold. Once it completely locked up TP so that I had to kill it with the task manager. The other times it closed using the normal method but the font was still large and bold. It looks to be about 12 to 14 point font.
I can screenshot it if that helps. I did have a problem running electronics workbench with TP open last week. With TP open, I ran electronics workbench it came up with a fatal execution error. I never had an error from it before with other programs running.
I might move to WINXP on the laptop. Not sure how bad it will be on a 300Mhz machine so I have been trying to avoid it. I really like the NVRAM module setup so I will upgrade the OS if I have to.
#62
TGO Supporter
Join Date: Jan 2000
Location: In your ear. No, the other one.
Posts: 1,861
Likes: 0
Received 0 Likes
on
0 Posts
Car: '89 Trans Am WS6
Engine: 350 TPI
Transmission: T5WC
Axle/Gears: 3.08 posi
Originally Posted by junkcltr
WISH84.DLL is from running the TCL script. All TCL srcipts run on top of the WISH84.DLL executable.
It seems like TP didn't release the comm port completely and WISH is having a problem getting it. It might be just a problem with WIN98 SE and how MS cleans up releasing the comm port.
It seems like TP didn't release the comm port completely and WISH is having a problem getting it. It might be just a problem with WIN98 SE and how MS cleans up releasing the comm port.
Now, if the TCL is causing these font issues in TunerPro that you're describing, that means one of two things is happening:
a) TunerPro is allocating and using memory beyond it's own application space and WISH is (rightfully) using that memory, in which case TunerPro is "in the wrong", or
b) TCL is allocating and using memory beyond it's own application space and TunerPro is (rightfully) using that memory, in which case TCL is "in the wrong."
It could very well be A, and since you're seeing a font issue, that's a good pointer in the direction that I should look.
Can you attach (or email me) a screen of the issue?
Thanks again for the continued assistance, Junk.
#63
Supreme Member
iTrader: (1)
Join Date: Jan 2002
Location: garage
Posts: 4,432
Likes: 0
Received 1 Like
on
1 Post
Engine: 3xx ci tubo
Transmission: 4L60E & 4L80E
I did some more testing with other programs and TP running.
I have attached a few screenshots from a digital camera. I reduced the resolution so the file size would be smaller. The images are from a session where I connected the emulator and ALDL to the ECM bench. I then opened TP and clicked the double arrow icon to ALDL log. The emulator was recognized when TP was run initially.
I changed a few bin items and saved. All was fine. I then minimized TP and ran MS-Word. It came up with the "not enough memory box". I took some pictures of it. I then maximized TP and the bin items I was editing were now bold font. I tried running MS-Word again and the TP bin item box came up blank when I went back to TP. Notice in the pics that the TP window box lost the "window name" at the upper left corner. I then closed TP and went to shutdown, but the normal WIN98 popup menu was replaced by a strange "Windows 98 SE" message box. I took pics of that too.
I did not get strange results when the ALDL was not connected most of the time. One time TP did freeze with the emulator not connected and the ALDL not connected with no other programs running. I made a few bin changes and saved. TP then froze and I had to ctl-alt-del to kill it. No errors came up so there was nothing I could take a pic of that would be out of the norm. The font was normal before it froze.
I can test out other specific situations if you need a certain sequence of events to be done to help debug it. The zip file contains JPG images (screenshots) and is 530K. I will remove it after you download it.
Thanks,
Junk
I have attached a few screenshots from a digital camera. I reduced the resolution so the file size would be smaller. The images are from a session where I connected the emulator and ALDL to the ECM bench. I then opened TP and clicked the double arrow icon to ALDL log. The emulator was recognized when TP was run initially.
I changed a few bin items and saved. All was fine. I then minimized TP and ran MS-Word. It came up with the "not enough memory box". I took some pictures of it. I then maximized TP and the bin items I was editing were now bold font. I tried running MS-Word again and the TP bin item box came up blank when I went back to TP. Notice in the pics that the TP window box lost the "window name" at the upper left corner. I then closed TP and went to shutdown, but the normal WIN98 popup menu was replaced by a strange "Windows 98 SE" message box. I took pics of that too.
I did not get strange results when the ALDL was not connected most of the time. One time TP did freeze with the emulator not connected and the ALDL not connected with no other programs running. I made a few bin changes and saved. TP then froze and I had to ctl-alt-del to kill it. No errors came up so there was nothing I could take a pic of that would be out of the norm. The font was normal before it froze.
I can test out other specific situations if you need a certain sequence of events to be done to help debug it. The zip file contains JPG images (screenshots) and is 530K. I will remove it after you download it.
Thanks,
Junk
Last edited by junkcltr; 04-29-2006 at 02:41 PM.
#64
TGO Supporter
Join Date: Jan 2000
Location: In your ear. No, the other one.
Posts: 1,861
Likes: 0
Received 0 Likes
on
0 Posts
Car: '89 Trans Am WS6
Engine: 350 TPI
Transmission: T5WC
Axle/Gears: 3.08 posi
Heh. Your computer is inhabited by evil spirits, dewd.
The Win98 menu bitmap is a feature of the start menu. You probably have it disable by default, and whatever this corruption is, it's causing the start menu itself to not show up, but the bitmap still shows.
So the memory used by the table's grid control is being stomped on, and it appears some OS memory is being stomped on.
How much memory is in this particular PC?
Let's take this offline to keep from further hijacking... email me at mmansur at hotmail
The Win98 menu bitmap is a feature of the start menu. You probably have it disable by default, and whatever this corruption is, it's causing the start menu itself to not show up, but the bitmap still shows.
So the memory used by the table's grid control is being stomped on, and it appears some OS memory is being stomped on.
How much memory is in this particular PC?
Let's take this offline to keep from further hijacking... email me at mmansur at hotmail
#66
I've seen word cause problems with other programs.
Word appears to get corrupted after a while and stops playing nice.
Never had a problem with Excel,Acrobat reader,TP, and a text editor open at same time. I try not to do that with the 98se/128meg machine though.
Word appears to get corrupted after a while and stops playing nice.
Never had a problem with Excel,Acrobat reader,TP, and a text editor open at same time. I try not to do that with the 98se/128meg machine though.
#67
Re: GUI for nvram-hack based "emulator"
To program a chip on the bench you would need power to b1 and b16 ,ground to b5,b6,b9 and a12 along with the aldl hooked up?
thanks for helping me learn
thanks for helping me learn
#68
Member
Thread Starter
Join Date: Jun 2001
Location: Eh?
Posts: 391
Likes: 0
Received 0 Likes
on
0 Posts
Car: 1988 Monte Carlo SS
Engine: 5.7L TPI
Transmission: T5
Axle/Gears: 3.73
Re: GUI for nvram-hack based "emulator"
Assuming a 727
C1, B10 to 12V
C6 to GND
Assuming a 730
BA6, BB1 to 12V
BD1 to GND
A lot of the power input pins are internally connected together...
C1, B10 to 12V
C6 to GND
Assuming a 730
BA6, BB1 to 12V
BD1 to GND
A lot of the power input pins are internally connected together...
Last edited by MonteCarSlow; 06-27-2007 at 07:17 AM.
#70
Re: GUI for nvram-hack based "emulator"
http://downloads.activestate.com/Act...ases/8.4.19.3/
this seemed to work but i don't have a test bench to check it.
https://www.thirdgen.org/forums/atta...-rtp4-tool.zip
this seemed to work but i don't have a test bench to check it.
https://www.thirdgen.org/forums/atta...-rtp4-tool.zip
#71
Member
Re: GUI for nvram-hack based "emulator"
Hey guy's sorry for dredging up an ancient thread but I recently bought one of these NVRAM modules from Moates and I'd like to get to using it but I can't get the GUI for uploading bins to it to work. I have downloaded the latest TCL distribution from their site (the link here no longer works) But when i try to load the GUI I get a "cant find package Iwidgets" error Is there some other Library I need to install? Or is there another easier way of sending the bin to this device?
#72
Supreme Member
iTrader: (1)
Join Date: Apr 2004
Location: Browns Town
Posts: 3,178
Likes: 0
Received 3 Likes
on
3 Posts
Car: 86 Monte SS (730,$8D,G3,AP,4K,S_V4)
Engine: 406 Hyd Roller 236/242
Transmission: 700R4 HomeBrew, 2.4K stall
Axle/Gears: 3:73 Posi, 7.5 Soon to break
Re: GUI for nvram-hack based "emulator"
What OS are you using?
I haven't used it on anything newer than XP.
that may be part of the problem.
Also I install to a non 'program files" location so the winders protections of read only do not get imposed on you.
Once you get it to work I have a couple tweaks that can make it work using shortcut keys instead of the GUI all the time (much quicker to UL/DL, when making changes)
I haven't used it on anything newer than XP.
that may be part of the problem.
Also I install to a non 'program files" location so the winders protections of read only do not get imposed on you.
Once you get it to work I have a couple tweaks that can make it work using shortcut keys instead of the GUI all the time (much quicker to UL/DL, when making changes)
#73
Supreme Member
iTrader: (1)
Join Date: Apr 2004
Location: Browns Town
Posts: 3,178
Likes: 0
Received 3 Likes
on
3 Posts
Car: 86 Monte SS (730,$8D,G3,AP,4K,S_V4)
Engine: 406 Hyd Roller 236/242
Transmission: 700R4 HomeBrew, 2.4K stall
Axle/Gears: 3:73 Posi, 7.5 Soon to break
Re: GUI for nvram-hack based "emulator"
This thread may help too.
https://www.thirdgen.org/forums/diy-...ram-vista.html
I can't find the thread where I described how to change the script files for 'hot-key" UL, DL, save, etc.
will keep looking (might be on TP site)
https://www.thirdgen.org/forums/diy-...ram-vista.html
I can't find the thread where I described how to change the script files for 'hot-key" UL, DL, save, etc.
will keep looking (might be on TP site)
#74
Member
Re: GUI for nvram-hack based "emulator"
Thanks, I did get it to work by downloading the oldest version on their site and installing it over the newest 5.xxx version apparently they don't use the iwidgets library so much any more.
Thread
Thread Starter
Forum
Replies
Last Post
Pac J
Tech / General Engine
3
05-17-2020 10:44 AM