S12XD L40V-L15Y: Processor problems

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

S12XD L40V-L15Y: Processor problems

8,777 Views
patti
Contributor I

Hi,

 



I have programmed and debuged on processor PC9S12XDP512MFV QL15Y QZXH0536 with Codewarrior 4.1 and my program works fine, but now when I try to flash PC9S12XDP512MFV C66151.12 OL40V QZAH0428 my program doesn't start! What should I change in the project!


When I try to run the program in Real-Time Debugger I get an error saying "Other BGND 524D" ILLEGAL_BP What does that mean?


thanks in advance Patrik

Message Edited by Alban on 06-06-2006 02:07 PM

Labels (1)
0 Kudos
11 Replies

842 Views
CrasyCat
Specialist III
Hello
 
The initial MC9S12XDP512 mask 0L40V is incompatible with CodeWarrior for HCS12X V4.1 or V4.5 in some cases, for example in the XGATE initialization code.
Therefore it is recommended to use HCS12X V4.0 to target the MC9S12XDP512 mask 0L40V.
Later release of the CodeWarrior Software are targeting the official HCS12X silicon.
 
CrasyCat
0 Kudos

842 Views
patti
Contributor I
Thanks, now I just need to know where I find CW 4.0?
Somebody know?

Patrik
0 Kudos

842 Views
CrasyCat
Specialist III

Hello

Send me y private message with your email address and I will upload the web installer on FTP for you.

 

CrasyCat 

0 Kudos

842 Views
patti
Contributor I
thanks, but we have the program now!!
But now we got new problems...

When I try to program the processor with P&E ICD, I got communication speed error!

How do I make it work?

"Failed to find communication speed!"

thanks, Patrik
0 Kudos

842 Views
Alban
Senior Contributor II
Euh, I'm sorry but you should NOT develop on L40V.
There are differences which were fixed in later version of the MCU with the L15Y.
I don't know what you think Steve, but I would not program on L40V !?

Alban.
0 Kudos

842 Views
Steve
NXP Employee
NXP Employee

Patrik,

 You said it worked before, does the 4.5 debugger talk to the L40V? If so I'd guess that there's maybe a newer P&E driver or something.

 I don't recommend using L40V - I'm assuming in this case that there is no other choice. The silicon isn't qualified and is missing a bunch of features and fixes that L15Y has.

0 Kudos

842 Views
patti
Contributor I
Hi every body!

Thanks to all.
We have decided to remove the old processor 0V40L and replace it with a never one.
So we hope It will start working for us from now.

Best regards Patrik
0 Kudos

842 Views
Nabla69
Contributor V
And if if it's not, we'll help you here :smileytongue:
There is a document available about differences between L40V and L15Y, have a look  on product page.
 
Alvin.
0 Kudos

842 Views
imajeff
Contributor III

Alban wrote:
Euh, I'm sorry but you should NOT develop on L40V.


I agree. I recently ordered samples of a new mask set so that I could replace the old one on my board. I think it's a good use of samples.

I guess as far as getting support when the old mask set doesn't work with debugger, that is dificult because focusing on the old stuff that didn't work right becomes confusing and counter-productive. On the other hand, there could be some simple mistake causing this error.

It's also not so hard to replace these QFP-types by hand.
Some MCU soldering tips:
  1. Remove old MCU. Sometimes I've done it with an exacto blade, cutting at middle of pins, toward the MCU. Make sure leftover bits of pins are removed by lightly rubbing off of pads with iron.
  2. Apply flux paste and make sure a small bead of solder is left on each pad.
  3. Hold new MCU lightly at two corners aligned with pads, and first just tack at least two pins down. Then apply more flux and tap along the sides of pins until they all have flowed.

Message Edited by imajeff on 06-06-2006 08:14 AM

0 Kudos

842 Views
patti
Contributor I
Okey, yes!
So where do I find Codewarrior 4.0?

thanks
0 Kudos

842 Views
Steve
NXP Employee
NXP Employee

Patrik, a similar problem was posted in another thread. I'll repost my answer here. There are some important differences between the two masksets so it is likely your code will not work directly on both masksets

"Most importantly the XGATE configuration and initialisation is different and code for the L15Y probably won't work for L40V. Other differences include: XGATE access to flash is only on L15Y; XGATE instruction set changes; RAM is larger on L15Y; unused pins on EBI can be used as I/O on L15Y; the API uses smaller step sizes; chip selects are different.
If I remember correctly the CW 4.1 release is only for maskset L15Y and later and 4.0 is required for L40V."
0 Kudos