Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 6 of 6

Thread: Teensy with MK66FN2M0VMD18

  1. #1
    Senior Member
    Join Date
    Dec 2013
    Posts
    131

    Teensy with MK66FN2M0VMD18

    Hey all / Paul,


    The Teensy 3.6 is based on the NXP MK66FX1M0VMD18. The MK66FN2M0VMD18 appears to be essentially the same chip, with more Flash memory. They share a data sheet, and the pinout is the same.

    What would be involved in getting teensy sketches to compile and run on a DIY teensy board using aMK66FN2M0VMD18? Should it just work?

    Many thanks,

    Matt

  2. #2
    Senior Member
    Join Date
    Dec 2013
    Posts
    131
    Having searched the shared data sheet and reference manual, the only differences I can find are in the screenshots below. In theory, all other chip behaviours and registers are the same.

    If I were to alter the MK66FX1 linker script, check through mk20dx128.h and .c for any differences, and not use any EEPROM libraries, should this work?
    I guess the other unknown is what the Teensy boot loader chip will do.

    Click image for larger version. 

Name:	Screen Shot 2017-08-04 at 10.34.52.jpg 
Views:	75 
Size:	132.7 KB 
ID:	11165
    Click image for larger version. 

Name:	Screen Shot 2017-08-04 at 10.33.09.jpg 
Views:	51 
Size:	72.2 KB 
ID:	11166


    Any help appreciated!

    Matt

  3. #3
    Senior Member+ Frank B's Avatar
    Join Date
    Apr 2014
    Location
    Germany NRW
    Posts
    6,919
    Just out of curiosity - why do you need 2MB Flash ?

  4. #4
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    22,265
    Quote Originally Posted by mattomatto View Post
    ... using aMK66FN2M0VMD18? Should it just work?
    No, I can confirm it definitely will not work.

    The flash controller in that part works differently, with 4 flash blocks in 2 banks rather than a single bank. Details can be found in the reference manual. The bootloader will not work with the different dual bank flash.

  5. #5
    Senior Member
    Join Date
    Dec 2013
    Posts
    131
    Quote Originally Posted by PaulStoffregen View Post
    No, I can confirm it definitely will not work.

    The flash controller in that part works differently, with 4 flash blocks in 2 banks rather than a single bank. Details can be found in the reference manual. The bootloader will not work with the different dual bank flash.
    Ok great, thanks for saving me the time of building up a DIY board to find that out!

    Matt

  6. #6
    Junior Member
    Join Date
    Sep 2018
    Posts
    5
    Any chance you'll be supporting this chip in future revs?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •