How to flash the code on K60 NVM to run stand alone?

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

How to flash the code on K60 NVM to run stand alone?

Jump to solution
1,176 Views
alfredogualdron
Contributor III

Hello,

I'm using Codewarrior V10.4 build id:130425 with processor expert in a custom PCB based in K60 processor.

I'm able to build and debug my projects in RAM or FLASH options, and for debugging everything seems to work fine, but when I run the project (For testing purposes is just a blinking led) with the FLASH option, it did not really "flash" the code, because when I power off and on the device, it did no execute the code (The led did not blink).

I had been trying to flash the code with the "Flash Programmer" (the blue thunderbolt) but, despite it appears in the console that the code was succesfully downloaded, the device is still dead after power off and on.

I already try the steps in this blog :

http://mcuoneclipse.com/2012/08/02/standalone-flash-programmer/

And I also followed these videos:

https://community.freescale.com/message/356842#356842

But I still have the same problem, when I turn on the power buton the LED do not blink

>:(

What I want is to flash the code in the processor to be executed forever and ever after power on

any idea???

1 Solution
880 Views
alfredogualdron
Contributor III

Hello I already solve the problem

by slecting in the processor build options the following configurations:

-Default Memory for code: INTERNAL FLASH

-Default Memory for data: INTERNAL FLASH

And now is working fine.

View solution in original post

0 Kudos
3 Replies
880 Views
sahlisami
Contributor I

Hi All,

I got the same problem with Kinetis KV10 ( MKV10Z32VLC7 device ) ; The reset pin is oscillating and my program couldn't run in stand alone mode without debugger ( I'm using JLINK with IAR IDE) .can you hlep me please ?

0 Kudos
880 Views
hectorsanchez
Contributor IV

Hi Alfredo,

Can you provide your Blinking LED code?

0 Kudos
881 Views
alfredogualdron
Contributor III

Hello I already solve the problem

by slecting in the processor build options the following configurations:

-Default Memory for code: INTERNAL FLASH

-Default Memory for data: INTERNAL FLASH

And now is working fine.

0 Kudos