unable to flash MC9S12XE

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

unable to flash MC9S12XE

Jump to solution
699 Views
lin_karl
Contributor I

Hello, 

 

I am using microcontroller MC9S12XET256MAL and I am using Code Warrior as development code and PE Micro USB multilink interface as flashing tool. originally I have no problem flashing the program into uC. however, yesterday when I flash again, I got the error message says, "Communicatoin with the target failed: the target MCU has no clock or wrong BDM clock speed is used or derivative is secure."

 

        at first, I fixed the problem by going into MCU properties > Internal Peripherals > FLASH > security state and set it to disable. I was able to flash one more time before it display the above error message again.   

 

      does anyone know what cause it and how do I fix it?

 

Thanks, 

 

Karl 

Labels (1)
Tags (1)
0 Kudos
1 Solution
366 Views
kef
Specialist I

MCU properties > Internal Peripherals > FLASH > security state  is probably Processor Expert setting? It won't help unsecuring secured device. I thing this setting allows to change NVSEC bits in linker produced ELF and S-records files.

 

Try downloading and unsecuring with Unsecure_12 tool from www.pemicro.com

View solution in original post

0 Kudos
1 Reply
367 Views
kef
Specialist I

MCU properties > Internal Peripherals > FLASH > security state  is probably Processor Expert setting? It won't help unsecuring secured device. I thing this setting allows to change NVSEC bits in linker produced ELF and S-records files.

 

Try downloading and unsecuring with Unsecure_12 tool from www.pemicro.com

0 Kudos