Blown Chip & Elusive Serial Monitor BDM File

This is a forum for discussing the development and testing of alpha MS2/Extra code. Documentation
(Runs on MS2 and Microsquirt)

Moderators: jsmcortina, muythaibxr

KP2008
MS/Extra Newbie
Posts: 9
Joined: Sun Jul 17, 2011 5:05 pm

Blown Chip & Elusive Serial Monitor BDM File

Post by KP2008 »

Hello All,
I sure hope someone can help me out and save my sanity. I FINALLY GOT my megasquirt working in my car (after much fiddling) and was SOOOO excited that it seemed to be working great. My excitement was however, very short lived becasue when I went to close up the MS enclosure I tiny piece of bare wire touched the pins of my CPU and totally fried it. I am very determined when it comes to figuring stuff out, and I am SOOOOOO close to feeling the joy again......but I CANNOT FIND the correct serial monitor file to rerogram the chip.

I searched my but off and only found one other thread on this forum that mentions that this "file is attached"......but there is nothing (probably because it was from so long ago). Anyways, I managed to solder chip to the board, borrow a P&E BDM cable (only until tomorrow), got it setup with Codewarrior and talking to my MS correctly......now all I need is that tiny file! Can anyone help me find it? I have searched all over the internet for the past two hours and no joy. Thanks in advance!!!!!
KP2008
MS/Extra Newbie
Posts: 9
Joined: Sun Jul 17, 2011 5:05 pm

Re: Blown Chip & Elusive Serial Monitor BDM File

Post by KP2008 »

Well, I wanted to update this thread for anyone who might be looking for the serial monitor firmware in the futue.
I ended up purchasing a new MS-II cpu, which is on its way....but in the mean time, I also found the serial montior firmware files. It seems simple in retrospect, and these files are on the freescale website. Search for a file called AN2140SW1.zip on freescale and the .elf file is in there.
jsmcortina
Site Admin
Posts: 39585
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: Blown Chip & Elusive Serial Monitor BDM File

Post by jsmcortina »

That monitor is unlikely to be exactly the same as the stock MS2 one - in relation to pin choice for bootloader mode etc.

James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
Black99rt
Experienced MS/Extra'er
Posts: 364
Joined: Tue Mar 14, 2006 10:38 am

Re: Blown Chip & Elusive Serial Monitor BDM File

Post by Black99rt »

Where can we find the correct one?
1999 Dakota 5.9L R/T-
MSIIe 3.1.2 Batch Fuel/MSD single coil dizzy/Stepper idle
LC-1
robs
Master MS/Extra'er
Posts: 564
Joined: Sun Jan 17, 2010 4:26 pm
Location: Sydney, Australia

Re: Blown Chip & Elusive Serial Monitor BDM File

Post by robs »

James has posted it here in the past, but I can't find it in the archives. Here's an S19 of the monitor (f800-ffff address range) dumped from my MS. BDM is needed to write it.
mon.zip
Have fun,

Rob.
Black99rt
Experienced MS/Extra'er
Posts: 364
Joined: Tue Mar 14, 2006 10:38 am

Re: Blown Chip & Elusive Serial Monitor BDM File

Post by Black99rt »

Awesome, I blow s*** up regularly enough that this will come in handy.
1999 Dakota 5.9L R/T-
MSIIe 3.1.2 Batch Fuel/MSD single coil dizzy/Stepper idle
LC-1
piledriver
Super MS/Extra'er
Posts: 1679
Joined: Tue Oct 27, 2009 6:24 am
Location: Van Alstyne, Texas

Re: Blown Chip & Elusive Serial Monitor BDM File

Post by piledriver »

Would this work for a BDM?
http://www.wayengineer.com/index.php?ma ... cts_id=289
or
http://www.wayengineer.com/index.php?ma ... cts_id=286

Any good sources for onesies on the chip?
I have a blown MS2 I'd love to resurrect.
(I have the needed hot air rework gear)
Always doing things the hard way, MS2 sequential w/ v1.01 mainboard, LS2 coils. 80 mile/day commuter status.
SymTech Laboratories
Super MS/Extra'er
Posts: 2188
Joined: Sun Aug 31, 2008 4:02 pm
Location: South Florida, USA
Contact:

Re: Blown Chip & Elusive Serial Monitor BDM File

Post by SymTech Laboratories »

Programmers that use the newer OSBDM builds should work. Alternatively, the USB BDM Multilink cable from P&E Micro will work.
http://www.pemicro.com/products/product ... 106EA6CD76
piledriver wrote:Any good sources for onesies on the chip?
I have a blown MS2 I'd love to resurrect.
(I have the needed hot air rework gear)
Mouser, Digi-Key, Farnell/Newark, and Avnet all sell them.
SymTech Laboratories, LLC ----- MSQ File Repository: megasquirt.symtechlabs.com
Image
piledriver
Super MS/Extra'er
Posts: 1679
Joined: Tue Oct 27, 2009 6:24 am
Location: Van Alstyne, Texas

Re: Blown Chip & Elusive Serial Monitor BDM File

Post by piledriver »

Thank you!
Always doing things the hard way, MS2 sequential w/ v1.01 mainboard, LS2 coils. 80 mile/day commuter status.
embitel
MS/Extra Newbie
Posts: 30
Joined: Wed Dec 14, 2011 12:04 am

Re: Blown Chip & Elusive Serial Monitor BDM File

Post by embitel »

robs wrote:James has posted it here in the past, but I can't find it in the archives. Here's an S19 of the monitor (f800-ffff address range) dumped from my MS. BDM is needed to write it.
mon.zip
Have fun,

Rob.
hi robs,

I have downloade mon.s19 and flashed using PE BDM Microlink(dont correcly flashed or not), and tried to load application from ''download-MS2-firmware.bat' but still getting timeout response.

thanks
embitel
jsmcortina
Site Admin
Posts: 39585
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: Blown Chip & Elusive Serial Monitor BDM File

Post by jsmcortina »

If the monitor is loaded correctly, you should be able to single-step through the code starting at 0xf800.

James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
embitel
MS/Extra Newbie
Posts: 30
Joined: Wed Dec 14, 2011 12:04 am

Re: Blown Chip & Elusive Serial Monitor BDM File

Post by embitel »

jsmcortina wrote:If the monitor is loaded correctly, you should be able to single-step through the code starting at 0xf800.

James
Hi James,

finally we could flash....thanks for ur help.

first we flashed mon.s19 using PE BDM and then could flash bootloader.s19 and ms2 extra code.s19 using .bat file.

Again thanking u

Thanks,
Embitel
Dave67
MS/Extra Newbie
Posts: 12
Joined: Fri Feb 03, 2012 1:32 pm

Re: Blown Chip & Elusive Serial Monitor BDM File

Post by Dave67 »

Hi, any tips on how u flashed the serial monitor file with the bdm... I'm trying to do the same thing. Thanks
piledriver
Super MS/Extra'er
Posts: 1679
Joined: Tue Oct 27, 2009 6:24 am
Location: Van Alstyne, Texas

Re: Blown Chip & Elusive Serial Monitor BDM File

Post by piledriver »

Probably a silly question...

Can I use the BDM from Linux or do I have to set up a Windows/Codewarrior environment to use it?
(I see there is a Codewarrior setup for Linux as well, I suppose hard drive space is cheap, even if I only load one file with it)
Always doing things the hard way, MS2 sequential w/ v1.01 mainboard, LS2 coils. 80 mile/day commuter status.
jsmcortina
Site Admin
Posts: 39585
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: Blown Chip & Elusive Serial Monitor BDM File

Post by jsmcortina »

piledriver wrote:Probably a silly question...

Can I use the BDM from Linux or do I have to set up a Windows/Codewarrior environment to use it?
(I see there is a Codewarrior setup for Linux as well, I suppose hard drive space is cheap, even if I only load one file with it)
From what I've read, the Codewarrior for Linux is pay only and doesn't support S12 targets yet. This may change in the future.

So for now, fighting with Windows is the only way.

James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
Matt Cramer
Super MS/Extra'er
Posts: 17499
Joined: Thu Apr 16, 2009 8:08 pm

Re: Blown Chip & Elusive Serial Monitor BDM File

Post by Matt Cramer »

jsmcortina wrote: From what I've read, the Codewarrior for Linux is pay only and doesn't support S12 targets yet. This may change in the future.

So for now, fighting with Windows is the only way.

James
From my experience trying to make it work, it's debatable whether Codewarrior for Windows supports S12 targets either. :D
Matt Cramer -1966 Dodge Dart slant six running on MS3X
Dave67
MS/Extra Newbie
Posts: 12
Joined: Fri Feb 03, 2012 1:32 pm

Re: Blown Chip & Elusive Serial Monitor BDM File

Post by Dave67 »

Sounds like I had ALOT of beginners luck... Once I figured out how to use codewarrior, the serial monitor file loaded in less than a minute.
piledriver
Super MS/Extra'er
Posts: 1679
Joined: Tue Oct 27, 2009 6:24 am
Location: Van Alstyne, Texas

Re: Blown Chip & Elusive Serial Monitor BDM File

Post by piledriver »

After some poking around, I invested $11 in a new chip from Mouser and $24 for this from Wytech:
http://www.evbplus.com/freescale_usbdm_ ... ilink.html

Supports loading s19 files with a stand alone utility via bdm, we'll see how it works (edit---when it arrives) with any luck, I'm not sure I have enough room on my Windows partition to install Codewarrior etc.

All open source, will take a look at porting the direct loader to Linux, although I'm sure someone who has written code in the last 20 years might be able to do it a little faster.

(edit--included stand alone programming tools in USBDM 4.9 may already support directly loading s19s from Linux, mostly removing the codewarrior dependancy, it may be required for installation and for the utilities to work, won't know for sure until it arrives)
Always doing things the hard way, MS2 sequential w/ v1.01 mainboard, LS2 coils. 80 mile/day commuter status.
piledriver
Super MS/Extra'er
Posts: 1679
Joined: Tue Oct 27, 2009 6:24 am
Location: Van Alstyne, Texas

Re: Blown Chip & Elusive Serial Monitor BDM File

Post by piledriver »

I have to give the USBDM 4.9 code and the Wytek USBDM 10 thumbs up :lol: , had mon.s19 loaded in 20 seconds using the USBDM stand alone firmware loader, first try, I may never know what Codewarriors IDE looks like unless curiosity gets the better of me.

Had to replace the chip the old fashioned way as I didn't have the right hot air rework nozzle, xacto, fine tip soldering iron, solder wick and a blob o'noclean soldering paste to keep the chip from floating away and she works.

Looks like it will NOT work under Linux as it seems to depend on something in CW, and the Linux flavor does not support S12x.
I'll have a look at the code and see if it just needs libs and can be hacked.
Always doing things the hard way, MS2 sequential w/ v1.01 mainboard, LS2 coils. 80 mile/day commuter status.
leomarcus
MS/Extra Newbie
Posts: 4
Joined: Sun May 20, 2012 4:00 am

Re: Blown Chip & Elusive Serial Monitor BDM File

Post by leomarcus »

Hello i am programming too blank micro with Pemicro multilink
I am using Freescale_9S12C64_1x16x32k_64k_Linear_16k_page.12P driver..am i right?
I loaded bootloader.s19 or mon.s19 but pemicro sw give me error...i am using prog12z from pemicro..else what freescale tool yu suggest me?
To use ms2 downloader is good only to load monitor or also bootloader is necessary?
thanks
Post Reply