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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

ソリューションへジャンプ
2,193件の閲覧回数
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 解決策
1,897件の閲覧回数
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 件の賞賛
返信
3 返答(返信)
1,897件の閲覧回数
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 件の賞賛
返信
1,897件の閲覧回数
hectorsanchez
Contributor IV

Hi Alfredo,

Can you provide your Blinking LED code?

0 件の賞賛
返信
1,898件の閲覧回数
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 件の賞賛
返信