USBDM: Couldn't "load and go" Kinetis L when security is selected

cancel
Showing results for 
Search instead for 
Did you mean: 

USBDM: Couldn't "load and go" Kinetis L when security is selected

265 Views
NXP Employee
NXP Employee

Capture.JPG.jpg

I found that when the "secure" is selected, the "Load and Go" function only can program the flash but fail to run the code then(It seems that the CPU is halted.), even by press and release the reset pin, only can run the code successfully by repowering the chip.


However, when "unsecure" is selected, the "Load and Go" function can work successfully.


Is there any solution?


The USBDM version i used is the latest version USBDM  4.10.6.

Tags (5)
0 Kudos
2 Replies

47 Views
Senior Contributor V

Hi Cheng,

The load and go function doesn't work with Kinetis devices because the programmer configures the on-chip debugger function to 'capture' resets.  I haven't got around to fixing this yet. Sorry.

It requires a power cycle to run the programmed code.

When I have a chance I will look at changing this but at the moment I busy looking at the eclipse plugin so I won't get back to this for a while.

bye

0 Kudos

47 Views
NXP Employee
NXP Employee

Hi pgo,

Thanks a lot for your reply.

I found there is this issue with KL, but not for KE. The KE can work well. It is strange.

Hope your reply once your have time. Thanks.

Best Regards,

Ji Cheng

0 Kudos