Jaguar 0.6-alpha Assembly Guide

Andy's GM DIS centric hardware design! Also works as a fuel controller for EDIS and distributor applications.
User avatar
Fred
Moderator
Posts: 15433
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Jaguar 0.6-alpha Assembly Guide

Post by Fred »

You need an application that talks to the BDM using the driver and in turn talks to the BDM pin on the MCU and writes data to it. Various people seem to use various apps for this, USBDM, codewarrior, and some freescale utility. I've only ever used the USBDM app on Linux so I'm not much use to you, as previously mentioned.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
pishta
LQFP112 - Up with the play
Posts: 147
Joined: Wed Aug 28, 2013 6:07 am

Re: Jaguar 0.6-alpha Assembly Guide

Post by pishta »

Guys, try this. The 118MB download has all sorts of stuff tucked into it.

http://sourceforge.net/projects/usbdm/f ... t/download

Its got a butt-load of programmers in it. Maybe one would work, ie the HCS12 programmer or the Coldfire Vx programmers..? Fred, Andy input?>
User avatar
Fred
Moderator
Posts: 15433
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Jaguar 0.6-alpha Assembly Guide

Post by Fred »

FlashProgrammer_HCS12 is I think what I use on Linux.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
pishta
LQFP112 - Up with the play
Posts: 147
Joined: Wed Aug 28, 2013 6:07 am

Re: Jaguar 0.6-alpha Assembly Guide

Post by pishta »

Win users can run Ubuntu inside win7-8 with VM. installs in 5 clicks and looks like it runs on your windows desktop in unity mode. maybe worht a shot so you can see exactly what Fred uses and maybe even a few script downloads. Copy and paste his script and let her rip.
http://www.howtogeek.com/howto/11287/
E4ODnut
QFP80 - Contributor
Posts: 79
Joined: Fri Jun 14, 2013 12:49 am
Location: Gibsons, BC Canada

Re: Jaguar 0.6-alpha Assembly Guide

Post by E4ODnut »

I'm hoping Andy will chime in at some point because he did mention Code Warrior on the week end and I have the free and restricted version V5.9.0 build 5294 installed, if that will work. I know absolutely nothing about Linux.
Robert
1995 Ford E150, 300 CID I6, Custom MS1-Extra, Custom semi-auto E4OD trans controller
1992 Winnebago 33 RQ, Ford 460 CID V8, Custom MS1-Extra, Custom semi-auto E4OD trans controller
1993 Bayliner 3288, Twin Ford 351 CID Windsors, Converted to tuned port programmable EFI, Custom MS1-Extra
E4ODnut
QFP80 - Contributor
Posts: 79
Joined: Fri Jun 14, 2013 12:49 am
Location: Gibsons, BC Canada

Re: Jaguar 0.6-alpha Assembly Guide

Post by E4ODnut »

I may be making some progress here.

In the list of programs within Code Warrior I found "HCS12 Programmer". I opened it and it was able to find the target MC9S12. I was able to select Sean's hack S-19 but when I attempted to download to the MCU I got an error message "Program data not within target flash memory".

What is the step by step procedure to use the HCS12 programmer software?

Oh, I forgot to mention. Does Jaguar have to be powered up for any of this or does power come from the USB?
Robert
1995 Ford E150, 300 CID I6, Custom MS1-Extra, Custom semi-auto E4OD trans controller
1992 Winnebago 33 RQ, Ford 460 CID V8, Custom MS1-Extra, Custom semi-auto E4OD trans controller
1993 Bayliner 3288, Twin Ford 351 CID Windsors, Converted to tuned port programmable EFI, Custom MS1-Extra
pishta
LQFP112 - Up with the play
Posts: 147
Joined: Wed Aug 28, 2013 6:07 am

Re: Jaguar 0.6-alpha Assembly Guide

Post by pishta »

Step 5 says load up through bdm, step 9 says complete p/s circuit so i think its usb powered for load. Did you install the bootloader or is this what we are talking about? Bare boards need bootloader injected via usbdm, smd come with it already installed. Keep talkin'..looks like you are point man on this.
User avatar
Fred
Moderator
Posts: 15433
Joined: Tue Jan 15, 2008 2:31 pm
Location: Home sweet home!
Contact:

Re: Jaguar 0.6-alpha Assembly Guide

Post by Fred »

It could be the format of the file isn't appropriate for your freescale application. I think Andy said that it was fussy about S19 file types?

For power, it's not a bad idea, but you can, and I do, get away with just USB power for it, provided there are appropriate caps installed. Try without first. If it can talk to it, as you say it does, you're probably OK to burn without power too.

You ARE making progress, though. Good work! :-)

Fred.

PS, pishta, he's *trying* to install the bootloader, that's what this is all about.
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!
pishta
LQFP112 - Up with the play
Posts: 147
Joined: Wed Aug 28, 2013 6:07 am

Re: Jaguar 0.6-alpha Assembly Guide

Post by pishta »

Bootloader, gotcha. Thought S19 file was the executable. Proceed......:-)
Im going to be right behind you tomorrow if i can source the caps locally for the board. Keep your progress documented here please.
E4ODnut
QFP80 - Contributor
Posts: 79
Joined: Fri Jun 14, 2013 12:49 am
Location: Gibsons, BC Canada

Re: Jaguar 0.6-alpha Assembly Guide

Post by E4ODnut »

OK. Here's the latest.

I finally got the HCS12 programmer program to load Sean's S-19. I'm not sure how or why.

I was able to get Fred's bench test S.19 into the EMS loader program but when I try to download it is tells me it is not getting an acknowledge message from the serial monitor. If I look at the history it seems like it's trying to replace Sean's S-19 with Fred's.

Is there some way that I can confirm that the serial monitor is functioning before I try to load Fred's S.19?
Robert
1995 Ford E150, 300 CID I6, Custom MS1-Extra, Custom semi-auto E4OD trans controller
1992 Winnebago 33 RQ, Ford 460 CID V8, Custom MS1-Extra, Custom semi-auto E4OD trans controller
1993 Bayliner 3288, Twin Ford 351 CID Windsors, Converted to tuned port programmable EFI, Custom MS1-Extra
Post Reply