PALM corrupted firmware. cant reinstall - Miata Turbo Forum - Boost cars, acquire cats.

Welcome to Miataturbo.net   Members
 


MEGAsquirt A place to collectively sort out this megasquirt gizmo

Reply
 
 
 
LinkBack Thread Tools
Old 06-04-2009, 07:54 PM   #1
Hittin' Boost & Cones
Thread Starter
iTrader: (2)
 
240_to_miata's Avatar
 
Join Date: May 2007
Location: Cromwell, Connecticut
Posts: 2,572
Total Cats: 11
Default PALM corrupted firmware. cant reinstall

I was trying to get the palmlog software to work on my HI-RES code today, i took it down the road and all of the sudden the temps went wacky , the car shut off and wont turn back on. When i hook up my laptop and try to open megatune it shows this:

Name:  error2.jpg
Views: 8
Size:  18.7 KB

So i figured i would re-flash the firmware (using the stim)

and i get this:

Name:  error.jpg
Views: 6
Size:  27.3 KB


Is the chip toast?
Any help would be great. I need my car ASAP
240_to_miata is offline   Reply With Quote
Old 06-04-2009, 08:15 PM   #2
Boost Pope
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago (Over two miles from Wrigley Field. Fuck the Cubs. Fuck them in their smarmy goat-hole.)
Posts: 26,317
Total Cats: 1,915
Default

Try this:


Bootloader Download Instructions - Hyperterm

Here are instructions for using Hyperterm.exe for updating the embedded software (all Windows installations has the Hyperterminal application - use a "find-file" function to search for "hypertrm.exe"):

For Version V1.01 boards, short out the bootloader resistor (R6) on the board, for Version 2.2 put on th Bootloader jumper pin, hook upa serial cable from the computer to the MS box, and fire up Hyperterminal (Hypertrm.exe). You do not use the PC Configurator to perform the firmware upload - this is done with the terminal program Hyperterm (or similar, see below), and do not havePC Configurator, MegaTune, or any other serial data application running on your PC. At this point, leave the MS unit unpowered.

You will see a Hyperterminal screen when you execute - type in any name you want in the box, and make sure the Red telephone with the little yellow telephone next to it is highlighted.

Now, a new screen appears. On the "Connect Using" selection, select either COM1 or COM2, depending on your serial connection.

New screen with comm port settings pops up. Select 9600 baud, 8 data bits, no parity, 1 stop bit, and set flow control to "None" - this is very important.

Hyperterm terminal screen is now up. Apply power to the MS board, then hit . You should see the "Boot>" prompt appear in the terminal screen. Type "H" and you will be shown the options available in bootloader mode.

Hit "W" for "Wipe" - this erases the entire flash array (except the section running the bootloader).

Hit "P" for "Program," which will respond with the text "wait ...". Then under the "Transfer" menu, select "Send Text File..." (do not use the "Send file" mode - you are sending a text file). Set "Files of type" to "All files" and select the .s19 file containing your assembled code (megasquirt.s19).

You will see no activity on the screen for about 40 seconds. Then the prompt will come back, which means the operation is finished. Turn off power to MS and shut down Hyperterminal. Remove the jumper, and you are ready to go.
Joe Perez is online now   Reply With Quote
Old 06-04-2009, 08:17 PM   #3
Boost Pope
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago (Over two miles from Wrigley Field. Fuck the Cubs. Fuck them in their smarmy goat-hole.)
Posts: 26,317
Total Cats: 1,915
Default

... or:

Programming a Blank MS-I Processor

The steps to program a blank processor (i.e. not a group buy unit) are listed below. Make sure you have the latest version of the Prog08sz software. Get the latest version at 68hc908pgm : 68HC908 programmer kit files/software/prog08sz.zip.

1. For MegaSquirt® code (not Tomtek ignition), download the megasquirt.s19 file(s) you wish to use OR assemble megasquirt.asm(or megasquirtDT.asm, etc.) into its respective “.s19” file. See how to do this in the “CODE” section of the MegaSquirt® FAQ. (Tomtek ignition code, dual table MS code, and version 2 and later standard MegaSquirt® code already contain the boot loader, so you only need to assemble the megasquirt.asm file.)

2. Start up prog08sz, you might have to retry several times to connect. If you cannot get a connection, read the 908 archives for some hints on debugging.

3. Often the connect problem is low voltage due to a wimpy serial port, so you might want to eliminate this problem by connecting an external power source. (e.g., a 9 volt battery) to the circuit. Connect the positive (+) side of the battery to the banded side of D2 (or D1) and the negative (-) side to a ground point (e.g., the mounting lug on the 9 pin connector).

4. Select the 908_gp32.08p module when asked to "Specify Programming Algorithm to Use".

5. If this chip has been programmed before, you need to erase it (if in doubt, do this anyhow). Click on the button with the “pencil erasing” icon (6th from the left) to Erase Module. When this is done, it says "Erasing. Module has been erased" in the lower left corner of the screen, after which you should verify the chip with Blank Check Module (the button beside Erase Module). You should get a message saying "Erased."

6. For version 1.0 of the code only, click on "SS Specify S Record" in the window on the middle left [or the 19diskette19 button in the menu], and select "boot_r12.s19".
Note that Version 2 and later .s19 files include the boot_r12 file, and this step should be skipped. Click on "Program Module" [on the menu on the left, or use the button beside the “diskette”/Specify Recordbutton]. After a few seconds, it should complete. Then you can then click on "VM Verify Module" [on the menu on the left, or use the button beside the “Program Module” button]. You should get a message that the module was “verified”.

7. Click on Specify S Record as above, this time selecting "megasquirt.s19" Follow this with "Program Module", then "Verify Module".

8. Disconnect the serial cable from the programmer, unlatch the ZIF lever, remove the chip, and you should be ready to insert the chip into a MegaSquirt® controller and run.
Joe Perez is online now   Reply With Quote
Old 06-04-2009, 08:20 PM   #4
Hittin' Boost & Cones
Thread Starter
iTrader: (2)
 
240_to_miata's Avatar
 
Join Date: May 2007
Location: Cromwell, Connecticut
Posts: 2,572
Total Cats: 11
Default

wish i saw this before i ordered an overnight from DIY. I decided having an extra on hand was a good idea anyway.

Thanks for the quick and VERY detailed response, ill try that in a few
240_to_miata is offline   Reply With Quote
Old 06-04-2009, 09:17 PM   #5
Hittin' Boost & Cones
Thread Starter
iTrader: (2)
 
240_to_miata's Avatar
 
Join Date: May 2007
Location: Cromwell, Connecticut
Posts: 2,572
Total Cats: 11
Default

no luck
240_to_miata is offline   Reply With Quote
Old 06-05-2009, 10:19 AM   #6
Supporting Vendor
 
Matt Cramer's Avatar
 
Join Date: Sep 2006
Posts: 2,266
Total Cats: 51
Default

Check the voltage across the two boot jumper holes on the main board with the MS powered up; what does it read?
Matt Cramer is offline   Reply With Quote
Old 06-05-2009, 01:41 PM   #7
Hittin' Boost & Cones
Thread Starter
iTrader: (2)
 
240_to_miata's Avatar
 
Join Date: May 2007
Location: Cromwell, Connecticut
Posts: 2,572
Total Cats: 11
Default

Ill check right when i get out of work. I saw you guys shipped the new MS1 chip. Hopefully i will get it 2morro.
240_to_miata is offline   Reply With Quote
Old 06-05-2009, 06:20 PM   #8
Hittin' Boost & Cones
Thread Starter
iTrader: (2)
 
240_to_miata's Avatar
 
Join Date: May 2007
Location: Cromwell, Connecticut
Posts: 2,572
Total Cats: 11
Default

2.43V dc Why ? what should it be?????

Last edited by 240_to_miata; 06-05-2009 at 07:32 PM.
240_to_miata is offline   Reply With Quote
Old 06-05-2009, 08:33 PM   #9
Boost Pope
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago (Over two miles from Wrigley Field. Fuck the Cubs. Fuck them in their smarmy goat-hole.)
Posts: 26,317
Total Cats: 1,915
Default

That's about right. (a tad high by the math, but close.) The bootloader pins straddle the lower half of a 5/1 voltage divider, which is pulled up at the top by +12.



Matt, what are you thinking here? Bad ground perhaps?
Joe Perez is online now   Reply With Quote
Old 06-05-2009, 08:38 PM   #10
Hittin' Boost & Cones
Thread Starter
iTrader: (2)
 
240_to_miata's Avatar
 
Join Date: May 2007
Location: Cromwell, Connecticut
Posts: 2,572
Total Cats: 11
Default

That was using the STIM BTW (connected to the wall)
240_to_miata is offline   Reply With Quote
Old 06-05-2009, 08:41 PM   #11
Boost Pope
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago (Over two miles from Wrigley Field. Fuck the Cubs. Fuck them in their smarmy goat-hole.)
Posts: 26,317
Total Cats: 1,915
Default

Gotcha. Assuming 2.43v at the bootloader, Batt should be ~ 14.6 or so. Stim's probably just running a little hot.
Joe Perez is online now   Reply With Quote
Old 06-06-2009, 03:30 PM   #12
Hittin' Boost & Cones
Thread Starter
iTrader: (2)
 
240_to_miata's Avatar
 
Join Date: May 2007
Location: Cromwell, Connecticut
Posts: 2,572
Total Cats: 11
Default

I dont even know where to go now.....


The new chip did not solve the problem. I plugged it in and powered up and the lights flashed on the stim... all is well, so i tried to install the Hi res firmware...first using the downloader in the hi res folder, no luck, then in hyperterminal. Now the lights dont even flash when megasquirt is powered up and the boot jumper is removed. I am back to square one. I need my ******* car asap..


HELP
240_to_miata is offline   Reply With Quote
Old 06-06-2009, 03:39 PM   #13
Hittin' Boost & Cones
Thread Starter
iTrader: (2)
 
240_to_miata's Avatar
 
Join Date: May 2007
Location: Cromwell, Connecticut
Posts: 2,572
Total Cats: 11
Default

EDIT! IT WORKS!!!!!!!!

I didnt need the new chip afterall. I can not load the firmware using the USB - serial addapter i had. i swapped over to my other one (the one DIY sells) and it worked fine.

Funny how the DIY one can load firmware but gives me timeouts and the other one wont load firmware but works great in the car....
240_to_miata is offline   Reply With Quote
 
 
Reply

Related Topics
Thread Thread Starter Forum Replies Last Post
UEFI boot help needed mgeoffriau Gaming 38 03-02-2016 04:59 PM
Turbo 1995 Miata Low mileage Clean Tekel Cars for sale/trade 29 02-05-2016 05:16 PM
2003 VVT Head/Valve Cover/Actuator/Coil Packs - Low Miles! - $250 StratoBlue1109 Miata parts for sale/trade 7 09-24-2015 04:50 PM
Help Rough Idle Backwoodsballer General Miata Chat 0 09-04-2015 07:39 AM
Reinstalling cam gears itsMikey General Miata Chat 2 08-30-2015 01:17 AM


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -4. The time now is 03:04 PM.