Programming completely blank micro

General Megajolt Questions and Answers

Moderators: JeffC, rdoherty, stieg, brentp

Post Reply
capri_turbo
Posts: 122
Joined: Tue Jan 10, 2006 8:17 pm
Location: North Yorkshire, UK

Programming completely blank micro

Post by capri_turbo »

Help... a mate of mine has a V2 board that is nearly completed... he's taking his time lol, but he's somehow managed to loose his programmed MC.

I have a brand new one here, but it's completely blank. Is there a way I can program it from scratch? I take it i'd need to build some sort of simple programmer, and down load the appropriate bootloader firmware etc. but I'm unsure as to what exactly I'd need to build to do this. A schematic of a suitable programmer would be great.

We have a copy of "codewarrior" at work with a 68HC908 development kit, but sadly no programmer, just a dev. board.

Any help would be greatly appreciated.

MartinM
Posts: 433
Joined: Sat Aug 27, 2005 12:08 pm

For a one-off replacement,

Post by MartinM »

For a one-off replacement, I'd sent Brent $8 and get a new one!

There is enough detail in the firmware download (I think, but I've never found the source/object code for the bootloader - which is more than just a traditional generic bootloader I believe) to be able to work out what you need...plus you'll need to Google for a suitable 68HCxx microcontroller programmer - which seem to be well over GBP100 for the ones I was looking at.

Are you sure your development kit can't program external controllers?





capri_turbo
Posts: 122
Joined: Tue Jan 10, 2006 8:17 pm
Location: North Yorkshire, UK

He's still looking

Post by capri_turbo »

He's still looking for his original chip... it'll be in his garage somewhere...

4600cc
Posts: 0
Joined: Sun Jul 11, 2004 1:48 am

I saw somewhere a DIY

Post by 4600cc »

I saw somewhere a DIY programmer, I believe it was either this site or Megasquirt's site. And yes, buying chip off Brent is cheaper, if 1 is all you need. (unless your job has parts you can barrow)

Paul f
Posts: 5
Joined: Mon Nov 22, 2004 9:21 pm

I built my own programmer

Post by Paul f »

I built my own programmer based on the one available for the 40 pin megasquirt processor.
You need to get the correct s19 file and burn to the processor first, then the boot loader programme.The files and method are available on this site and info about programing is on the freescale site along with some basic programmer circuits.
I built the programmer just for the sake of it but its no worthwhile when you can buy a programmed processor from brent for $8.
Paul.

capri_turbo
Posts: 122
Joined: Tue Jan 10, 2006 8:17 pm
Location: North Yorkshire, UK

Programmer (Paul f)

Post by capri_turbo »

I don't suppose you could e mail me a scematic? I have a development kit, but it doesn't seem to be able to program a new chip... it has the 8 pin version on board.

colin@ford-capri.fsnet.co.uk

Paul f
Posts: 5
Joined: Mon Nov 22, 2004 9:21 pm

I dont have the actual

Post by Paul f »

I dont have the actual schematic on my Pc at present , i just worked it out as i went but will try and find one similiar over the next couple of days if not to desperate and will forward it to you.
try here http://www.freescale.com/webapp/search/MainSERP.jsp search for data sheet AN2317/d
Paul.

capri_turbo
Posts: 122
Joined: Tue Jan 10, 2006 8:17 pm
Location: North Yorkshire, UK

I've got a schematic for the Willette programmer

Post by capri_turbo »

Going to build on prototype board and see what happens...

Post Reply