Miata Turbo Forum - Boost cars, acquire cats.

Miata Turbo Forum - Boost cars, acquire cats. (https://www.miataturbo.net/)
-   MEGAsquirt (https://www.miataturbo.net/megasquirt-18/)
-   -   PALM corrupted firmware. cant reinstall (https://www.miataturbo.net/megasquirt-18/palm-corrupted-firmware-cant-reinstall-35780/)

240_to_miata 06-04-2009 06:54 PM

PALM corrupted firmware. cant reinstall
 
2 Attachment(s)
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:

Attachment 205418

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

and i get this:

Attachment 205419


Is the chip toast?
Any help would be great. I need my car ASAP

Joe Perez 06-04-2009 07:15 PM

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 06-04-2009 07:17 PM

... 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.

240_to_miata 06-04-2009 07:20 PM

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 06-04-2009 08:17 PM

no luck

Matt Cramer 06-05-2009 09:19 AM

Check the voltage across the two boot jumper holes on the main board with the MS powered up; what does it read?

240_to_miata 06-05-2009 12:41 PM

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 06-05-2009 05:20 PM

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

Joe Perez 06-05-2009 07:33 PM

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.

http://img31.picoodle.com/img/img31/...rm_7a5f03b.gif

Matt, what are you thinking here? Bad ground perhaps?

240_to_miata 06-05-2009 07:38 PM

That was using the STIM BTW (connected to the wall)

Joe Perez 06-05-2009 07:41 PM

Gotcha. Assuming 2.43v at the bootloader, Batt should be ~ 14.6 or so. Stim's probably just running a little hot.

240_to_miata 06-06-2009 02:30 PM

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 fucking car asap..


HELP

240_to_miata 06-06-2009 02:39 PM

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....


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


© 2024 MH Sub I, LLC dba Internet Brands