How to load the program in the K40 uC

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

How to load the program in the K40 uC

545 Views
abulhasan
Contributor I

Hi

     We have developed the code using Code Warrior and did the debugging using the given USB cable. It works when the USB cable is plugged in from the PC. . But after removing the USB cable from the PC and if we give the external power supply to Kwikstik K40 board it does't work. Pls let me know as soon as possible.

Thankyou.

0 Kudos
4 Replies

452 Views
DerekLau
Contributor IV

If the program is properly configured for FLASH, the program has been programmed into the FLASH after debugging. You can check the FLASH memory in debug windows to see if it is properly programmed.

0 Kudos

452 Views
JimDon
Senior Contributor III

Are you using Flash or Ram?

0 Kudos

452 Views
abulhasan
Contributor I

We are using Flash

0 Kudos

452 Views
c0170
Senior Contributor III

Hello Abul hasan,

I faced once similar problem, application was running using debugger, once power was reconnected, no action. I found out it was a matter of a clock initialization. I would suggest you to at least use any indicator (LED, console, etc) to find out how far your application gets and where it gets trapped. This applies if your programmer is really functional and program resides in FLASH.

Regards,

c0170

0 Kudos