Problem with loading firmware

General Topics for configuring, operating and tuning the Megajolt. Also see the <a href="http://www.autosportlabs.net/MJLJ_V4_Operation_Guide">Operation Guide</a>

Moderators: JeffC, rdoherty, stieg, brentp

Post Reply
jwbow
Posts: 4
Joined: Wed Sep 13, 2006 8:52 pm

Problem with loading firmware

Post by jwbow »

I built a unit about a year ago and am just now getting around to installing it. The board is a version 3.0.0. I have downloaded the 3.0.0 software and have confirmed it works on the bench with a 9 volt battery. I them went to update and downloaded the latest software 3.2.1 with no problems and have downloaded the firmware update (v3.2.1.s19) and the programming software. I have followed the directions but have been unable to write to it. I keep getting an access denied when i try to update. Any ideal as whats going on?

Thanks,
John

brentp
Site Admin
Posts: 6282
Joined: Wed Jan 24, 2007 6:36 am

Post by brentp »

Hi John,

What is the exact error output from the hc08sprg.exe when you try to run it?

The 'access denied' error might be caused by an in-use COM port. Check if there are any other programs already using that COM port and shut them down, or switch to a different port.

Another possibility: The 'access denied' error might be Windows file permissions on either hc08sprg.exe or the MJLJ firmware file you downloaded. Check the file permissions and make sure you have read/write/execute permissions on these files.

Regards,
Brent Picasso
CEO and Founder, Autosport Labs
Facebook | Twitter

jwbow
Posts: 4
Joined: Wed Sep 13, 2006 8:52 pm

Post by jwbow »

Brent,
Thanks for the tips. You were right, it was a problem with the great and wonderful software controls in windows keeping me from writing to the micro. Looking forward to hooking it up to my car.

Thanks again,
John

DannyP
Posts: 417
Joined: Sun Apr 09, 2006 3:48 pm

Post by DannyP »

I also had built mine in 2006 and am just getting it installed. I have/had version 3.0 firmware also. I had some difficulty with Vista/Windows in upgrading the firmware. To get it done ,I did this:

1.Downloaded hc08sprg.exe and mjlJunior_V3.2.1 into My Documents, folder named Megajolt. Like Brent says above, make sure you change the file permissions. Vista has all sorts of controls built in to prevent your computer from being taken over and/or doing anything!

2. In programs, accessories, open MS Dos prompt. You should get a black square with white type, saying C:\Users\Danny(or whatever your computer is named). All the following is you typing exactly what I have in each step.

3. cd documents[enter]

4. cd Megajolt[enter]

5. hc08sprg.exe[enter]

6. hc08sprg 5 9600 mjlJunior_V3.2.1.s19[enter](The 5 is my com port number I am using, substitute whatever you need)

7. computer reply: Waiting for HC08 reset ACK...

8. At this time power cycle Megajolt

9. computer reply: received 0xfc (good).

10.Nine lines of text appear with a question at the end:
Are you sure to program part? [y/N]:

11. y[enter]

12.computer should reply: Memory programmed 100%

13. Go have a beer, you deserve it! Or a soda if that's your speed!

Alex1380
Posts: 14
Joined: Sun Jul 06, 2008 12:31 pm

Post by Alex1380 »

found this topic really helpful. but im having a problem i get to point 7 (7. computer reply: Waiting for HC08 reset ACK... ) left it 10min and nothing. just stopped at that point. Does that mean my MJ isn't sending anything back? any one help me with a fix for this? thanks
Alex.

Alex1380
Posts: 14
Joined: Sun Jul 06, 2008 12:31 pm

Post by Alex1380 »

Been trying still even though i don't need to to update my firmware, i can now get to point 9. computer reply: received 0xfc (good).
but at that point it starts a says somthing along pulse sent counting and counts up and just keeps going. does that mean the MJ is responding?

Post Reply