I cannot program my MCU

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

I cannot program my MCU

Jump to solution
2,148 Views
PW_CTL
Contributor III

Hi, 

 

I´ve developed a program for a RS08KA2 with a DEMO9RS08KA2 board. Now, I want to program my MCU on the real board (BDM connector), and this is a RS08KA1. I´ve recompiled the code for the new MCU. In first place I tried the demo board to program the MCU, but I get the error "The selected device differs that of the target. Choose another device".

 

I supposed that the DEMO9RS08KA2 is not compatible with the KA1, so I bought a programmer (USBSpyder), but I get the same error! Where is the problem? 

 

Thanks for your help.

Labels (1)
0 Kudos
1 Solution
496 Views
CrasyCat
Specialist III

Hello

 

The message indicates an incompatibility between the .abs and the processor you are targeting.

 

You may need a support engineer to get a look at that.

I would recommend you to submit a service request for that.

Click here to submit a service request.

Make sure to attach a reproducible project and installed product information to the service request.
To generate the required information:
- Start CodeWarrior
- Open the project
- Select "Help" -> "Pack and Go" and follow instructions on the screen.

Attach the generated .zip file to the SR.

CrasyCat

View solution in original post

0 Kudos
6 Replies
496 Views
peg
Senior Contributor IV

Hello,

 

Firstly, are you using Codewarrior 6.2?

If so it might be the problem where using a demoboard as a BDM adapter for a different off-board device is deliberately crippled. Although I do not think this extends to different size devices of the same family.

 

I know very little about the Softec device however from reading posts here I gather it is pretty fussy about which devices it works with.

 

Or perhaps I'm way of base and your doing something wrong in Codewarrior.

 

0 Kudos
496 Views
PW_CTL
Contributor III

Yes, I tried CW 5.1 (included in the USBSpyder CD) and 6.2. After that I tried a patch from freescale for the RS08KA1, without any change.

 

I have no idea where the problem is. Maybe in the linker options?

0 Kudos
496 Views
CrasyCat
Specialist III

Hello

 

Once you are in the debugger, can you check whether the Device specified there is RS08KA1?

 

It looks like the memory mapping from the application does not match the device configured in the debugger.

 

CrasyCat

 

0 Kudos
496 Views
PW_CTL
Contributor III

Yes, I´ve checked that, and the specified device is the RS08KA1. I use a RS08KA1 specific .prm. This is not my first project, and I have never have any problem like that. Any idea?

0 Kudos
497 Views
CrasyCat
Specialist III

Hello

 

The message indicates an incompatibility between the .abs and the processor you are targeting.

 

You may need a support engineer to get a look at that.

I would recommend you to submit a service request for that.

Click here to submit a service request.

Make sure to attach a reproducible project and installed product information to the service request.
To generate the required information:
- Start CodeWarrior
- Open the project
- Select "Help" -> "Pack and Go" and follow instructions on the screen.

Attach the generated .zip file to the SR.

CrasyCat

0 Kudos
496 Views
PW_CTL
Contributor III

Thanks, CrasyCat.

 

I´ll launch  a service request.

 

 

0 Kudos