Hi Neil,

On Wed, Jan 25, 2017 at 12:36:11PM -0800, Neilh wrote:
> Hi
> 
>   I'm liking the myNewt direction and thanks for the explanations, wiki and
> videos.

Great!

> I've got a Nxp/Freescale Kinetis custom board with a MK26
> (flash1M/ram200k 2*otg) KinetisK  that is similar to MK64F on FRDM-MK64F
> 
> I have a FRDM-MK64F board and also an olimex-H407 (same processor as 
> olimex-E407 but no Ethernet).
> 
> I have the newt tools brought into an Ubuntu 16.04 and run the sim_blinkey
> 
> I was thinking of getting started with trying to bring up the FRDM-K64F,
> thought that is marked as untested so far.   It does have the USB/SDA
> loader.
> myproj\repos\apache-mynewt-core\hw\bsp\frdm-k64f\src  seems to have the
> basics.

To start with, I would create a blinky-frdm-k64f target:

    newt target copy my_blinky_sim blinky-frdm-k64f

Then configure your new target to use the frdm-k64f BSP:

    newt target set blinky-frdm-k64f bsp=@apache-mynewt-core/hw/bsp/frdm-k64f

Plug your board in and attach a debugger if necessary, and try running
blinky on your board:

    newt run blinky-frdm-k64f

If everything works, a gdb window will come up.  Type c <enter>, and
check if your board's LED is blinking.

After you have blinky working on your board, you might want to try one
of these other sample apps:
    slinky: Includes shell over UART and newtmgr over shell.
    bleprph: Includes BLE stack and newtmgr over BLE.

Thanks,
Chris

> 
> Alternatively, I could familiarize myself work through the Olimex-E407
> 
> My  environment so far has been IDE Freescale Kinetis Design
> Studio/Eclipse building nuttx OS, and with integration to Multilink JTAG
> for blowing the flash.
> 
> There was a new feature request for an Eclipse plugin for myNewt, but it was 
> marked as dup, and I haven't seen any other mention of Eclipse IDE so
> far.
> 
> Any recommendation on getting started with FRDM-K64F?   or should I
> start with Olimex
> 
> thanks
> 
> 
> -- 
> Neil Hancock
> 
> 
> 

Reply via email to