EmbeddedRelated.com
Forums

Bootloader MC9S12DP256B

Started by jcz October 7, 2005
I have a basic question : how can I upload/run bootloader on motorola
MC9S12DP256B (I am using CodeWarrior 5.5, BDM-MULTILINK)

I found some s-rec files (AN2546SW.zip) on freescale.com with doc's:
"HCS12 Load RAM and Execute Bootloader User Guide".

When I try uploading these s-rec (for 256) either I have memory errors
or it just doesn't work. If these files are not correct, where can I
find s-erc with a bootloader for MC9S12DP256B and how can I upload them ?

Do I need to put any jumpers on my board ?



> When I try uploading these s-rec (for 256) either I have memory errors
> or it just doesn't work. If these files are not correct, where can I
> find s-erc with a bootloader for MC9S12DP256B and how can I upload
them ?

It is the correct file. Use the SrecCVt to format it for banked S-record.

> Do I need to put any jumpers on my board ?

Yes the code checked PAD0 and PAD1 to see whether run your code or
bootloader.


> It is the correct file. Use the SrecCVt to format it for banked
S-record.

> Yes the code checked PAD0 and PAD1 to see whether run your code or
> bootloader.

I put jumpers on PAD00 and PAD01 on JP5.
I uploaded Dx256_L91N_2CAN.sx using True-Time & Real-Time Debugger
(file --> load application with erasing NV mem.).
I close True-Time & Real-Time Debugger.
I power cycle the motorola board.. and nothing happens.

What I am doing wrong ?

Could you please send me a s-rec file with the bootloader that
(possibly) you are using ?

jc



> What I am doing wrong ?

Maybe because instead you need to use the Serial Monitor? Look for
AN2548, AN2548SW1 and AN2548SW2 at Freescale site.

You need to compile for your own Run/Load switch. Choose a port pin.