AnsweredAssumed Answered

MKV30F64VLH10 working in debug mode but not working after power cycle.

Question asked by Vaibhav Somani on May 9, 2016


Hi

 

I am trying to flash Freescale MKV30F64VLH10 on my board. I am flashing via PE micro Multilink Universal.
When I debug or flash via KDS3.0 and while JTAG connector is connected, my code works as defined. I am getting correct output on gpio.
But when I power off and power on the supply, I am not getting the output on gpio. And  I am getting a pulse on rest pin (looking like mcu is not getting programmed !!).

Please suggest some solution for this problem.

 

Here is the console output....

Connection from "127.0.0.1" via 127.0.0.1

Copyright 2012 P&E Microcomputer Systems,Inc.

Command Line :C:\Freescale\KDS_v3\eclipse\plugins\com.pemicro.debug.gdbjtag.pne_2.4.1.201603202153\win32\pegdbserver_console -device=NXP_KVx_KV30F64M10 -startserver -singlesession -serverport=7224 -interface=USBMULTILINK -speed=5000 -port=USB1 -configfil

 

 

 

 

CMD>RE

 

 

 

 

Initializing.

Target has been RESET and is active.

CMD>CM C:\Freescale\KDS_v3\eclipse\plugins\com.pemicro.debug.gdbjtag.pne_2.4.1.201603202153\win32\gdi\P&E\supportFiles_ARM\NXP\KVx\freescale_kv30f64m10_1x32x16k_pflash.arp

 

 

 

 

Initializing.

Initialized.

 

 

 

 

;version 1.01, 02/23/2016, Copyright 2016 P&E Microcomputer Systems, Inc. All rights reserved. www.pemicro.com [kv_30f64_n_pflash]

 

 

 

 

;device freescale, kv30f64m10, 1x32x16k, desc=pflash

 

 

 

 

;begin_cs device=$00000000, length=$00010000, ram=$1FFFE000

 

 

 

 

Loading programming algorithm ...

Done.

CMD>EM

 

 

 

 

Erasing.

Module has been erased.

CMD>PM

 

 

 

 

Programming.

Processing Object File Data ...

                               

.

Programmed.

CMD>VC

Verifying object file CRC-16 to device ranges ...

   block 00000000-00003233 ...

Ok.

 

 

   Checksum Verification Successful. (Cumulative CRC-16=$DB07)

 

 

 

 

 

 

CMD>RE

 

 

 

 

Initializing.

Target has been RESET and is active.

 

 

 

 

WARNING - NO RESET SCRIPT FILE HAS BEEN CONFIGURED TO RUN!!!

 

 

TO MODIFY THE RESET SCRIPT SETTINGS, USE THE FOLLOWING MENU OPTION:

 

 

CONFIGURATION -> AUTOMATED SCRIPT OPTIONS

 

 

 

 

 

 

 

 

 

With regards;

Vaibhav

Original Attachment has been moved to: tbc_gpio.zip

Outcomes