Message Edited by imajeff on 2006-06-23 07:43 AM
Is the BDM not connecting at all with 16 MHz or is it connecting, but not writing to Flash?
I believe they usually recommend 10-30pF capacitors on each end of the crystal to ground. You probably can use the same ones that are already there and just replace the crystal.
Message Edited by rhinoceroshead on 06-01-2006 02:22 PM
Hello Bob,
blewis wrote:
The oscillator caps are 22pf and 1nf to ground across the xtal. That configuration works on three other boards that we have so I think the values are ok. We have a 1M resistor as per the doc set.
Are you actually saying that there is a 1nF capacitor between one end of the crystal and ground? I would suggest 22pF for both capacitors, assuming a Pierce oscillator configuration.
Regards,
Mac
Message Edited by Steve on 06-02-2006 09:12 AM
Hello
Can you send me a private message with your email address and I will place a self extractable exe file with V4.0 on FTP for you.
CrasyCat
Hi,
I have exactly the same problem using a 9S12DP512 part on three prototype boards, 16Mhz Pierce and mulitilink v2.0. I can program the device, debug the device if XCLCKS is high but i can not attach and debug with XCLKS low i.e. using the 16Mhz clk the P&E cannot detect the speed. The device works fine with XCLKS low and boots and runs code as it should with out the BDM attached i.e. the 16 Mhz clk is ok and the PLL locks as code would halt waiting for lock. Not sure if its a P&E thing or a 512 device thing as i have a 256 demo board which works fine. Will try today to run my board with 4Mhz clk (as per the demo) and se what happens, also i have orderd samples of the 256 devices to put on my boards. Let me know if you find anything out, i will do like wise.
Cheers
Adam
I just re-read your original post and I think I misunderstood the problem. Are you saying that you had a demo board for an S12 chip and you removed that chip and replaced it with an S12X chip? I'm assuming that you have confirmed already that it is a pin compatible replacement part. Then you say that it does NOT work if you do use CW and the P&E USB programmer that is built onto the S12 demo board? However, it works when you use the 6 pin BDM port on the demo board and program it with a separate BDM programmer and non-CW software? But you say that the built in P&E programmer worked fine with the chip that was there previously?
I would make sure that your application is not taking too much power from the USB host. Maybe you could try going through a powered USB hub instead of taking power from your PC's motherboard.
I can confirm with 100% certainty that CW5.7 and the P&E USB programmer is capable of programming the S12X chips.
Message Edited by rhinoceroshead on 05-31-2006 11:46 AM