Porting to a NXP K6x series chip

george at n3ysa.org george at n3ysa.org
Mon Feb 27 12:25:34 UTC 2017


Sebastian Huber <sebastian.huber at embedded-brains.de> wrote ..
> Hello,
> 
> On 23/02/17 19:19, george at n3ysa.org wrote:
> > I've got a FRDM-K64F and would like to get RTEMS running on it for a personal
> project. It has the standard ARM interrupt controller. One complication is that
> the SRAM is divided into two banks of 128K as the banks are connected to different
> buses in the MCU, and causes hard faults if an unaligned access crosses the boundary.
> 
> please use the atsam BSP as a template.
> 
> https://git.rtems.org/rtems/tree/c/src/lib/libbsp/arm/atsam
> 
> For a BSP with a scattered memory map you can use 
> bsp_work_area_initialize_with_table(), see for example
> https://git.rtems.org/rtems/tree/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/bspgetworkarea.c
> 
> How similar are the different Kinetis controller?
>From what I understand, they are quite close, at least in terms of the peripherals which are present in any particular part. Most of the variations seem to be related to max clock speed, which peripherals are present, and the amount of Flash/RAM available.
What runs on a K64 should be easily portable at least to the other K6x parts, and probably other Kinetis "K" series parts as well.

> >
> > Looking at the existing code, anything specific too the K6x would go in libcpu,
> and anything specific to board (such as clock setup/debug uart) would appear to
> go in libsp?
> 
> Please don't add anything to libcpu.
> 
> >
> > Thanks,
> > George
> >
> >
> > _______________________________________________
> > devel mailing list
> > devel at rtems.org
> > http://lists.rtems.org/mailman/listinfo/devel
> 
> -- 
> Sebastian Huber, embedded brains GmbH
> 
> Address : Dornierstr. 4, D-82178 Puchheim, Germany
> Phone   : +49 89 189 47 41-16
> Fax     : +49 89 189 47 41-09
> E-Mail  : sebastian.huber at embedded-brains.de
> PGP     : Public key available on request.
> 
> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.


More information about the devel mailing list