how to start program execution without press RESET button in frdmk64

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

how to start program execution without press RESET button in frdmk64

Jump to solution
1,125 Views
sudhakarp
Contributor V

hi,

i am using frdmk64. after loading .bin file i am pressing Reset button its start executing program.its ok.

but once i removed SDAUSB  and after when i connect its not executing program. after when i pressed RESET switch only again its start executing code. why  thinks happening? how to avoid this problem..?

thanks and regards,

sudhakar p

1 Solution
904 Views
mjbcswitzerland
Specialist V

Hi

>>how to download bootloader file. there no option to download file.

Do you mean how to download it from the web site? If this is what you mean you just click on the file link high-lighted in yellow:

pastedImage_1.png

There is also a verson for loading via Ethernet (from any web browser) called uTaskerSerialBoot_FRDM-K64F_KBOOT_HID_UART_MSD_WebServer.bin (rather than with SD card loading).

Regards

Mark

Kinetis: µTasker Kinetis support

K64: µTasker Kinetis FRDM-K64F support  / µTasker Kinetis TWR-K64F120M support  / µTasker Kinetis TWR-K65F180M support

For the complete "out-of-the-box" Kinetis experience and faster time to market

View solution in original post

0 Kudos
7 Replies
904 Views
soledad
NXP Employee
NXP Employee

Hello Sudhakar,

Please find the answer in the below thread:

Re: FRDM-K64F booting issue when powered from USB port


Have a great day,
Sol

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
904 Views
sudhakarp
Contributor V

hello soledad,

     thank you. but  my question was simple.is every time we want to press reset switch to execute code?

if yes why?

regards,

sudhakar p

0 Kudos
904 Views
BlackNight
NXP Employee
NXP Employee

Yes, if you are using the MSD bootloader, you have to press the reset button to start the application.

If you do not want to press the reset button, I recommend that you do not use the MSD bootloader, but use the debugger instead. As from Eclipse/Kinetis Design Studio, you can press one button to download and run the application, see Emulating Eclipse ‘Run’ with ‘Debug’ Configuration | MCU on Eclipse

Otherwise, use the gdb in command line mode and use the gdb 'detach' command: this will disconnect from the downloaded application and start it.

I hope this helps,

Erich

904 Views
mjbcswitzerland
Specialist V

Hi

If you install a boot loader from µTasker Kinetis FRDM-K64F support (also allows USB-MSD loading) then the new code will start without needing to press the reset button.

Regards

Mark

Kinetis: µTasker Kinetis support

K64: µTasker Kinetis FRDM-K64F support  / µTasker Kinetis TWR-K64F120M support  / µTasker Kinetis TWR-K65F180M support

For the complete "out-of-the-box" Kinetis experience and faster time to market

0 Kudos
904 Views
sudhakarp
Contributor V

hi,

how to download bootloader file. there no option to download file.

regards,

sudhakar p

0 Kudos
905 Views
mjbcswitzerland
Specialist V

Hi

>>how to download bootloader file. there no option to download file.

Do you mean how to download it from the web site? If this is what you mean you just click on the file link high-lighted in yellow:

pastedImage_1.png

There is also a verson for loading via Ethernet (from any web browser) called uTaskerSerialBoot_FRDM-K64F_KBOOT_HID_UART_MSD_WebServer.bin (rather than with SD card loading).

Regards

Mark

Kinetis: µTasker Kinetis support

K64: µTasker Kinetis FRDM-K64F support  / µTasker Kinetis TWR-K64F120M support  / µTasker Kinetis TWR-K65F180M support

For the complete "out-of-the-box" Kinetis experience and faster time to market

0 Kudos
904 Views
sudhakarp
Contributor V

Thank you mark.

regards,

sudhakar p

0 Kudos