Couple questions related to custom Teensy boards with fresh MK20 chips and Paul's MINI54:
1) Has anyone burned anything in to the PROGONCE section of the MK20? Paul puts the MAC address there, but I've been scratching my head on how to access it myself to put a unique code in for each of my devices. I've tried to write a quick sketch based off of the MAC address posts here on the forums, but it doesn't seem to run correctly and since I only get one shot... I want to be sure it's correct. I can post that code also if needed.
Reference: Page 548-549, http://www.freescale.com/files/32bit/doc/ref_manual/K20P64M50SF0RM.pdf
2) Does that unique code allow separate Teensy's to show up as different and persistent COM ports? It seems that every Teensy I plug in receives a COM port allocation that stays the same (I'm up to about COM20 due to all of the Teensy's I have plugged in).
3) If that MAC address doesn't control the behavior of COM port allocation, what does? The custom boards I rolled at home all show up as the same COM port, and I figured that may be due to the fact that all of them have the same values in the MAC address.
4) Finally, if my thinking for (2) is correct, is it required that the values programmed into the spots where Paul usually burns the MAC address required to also be a valid MAC address? I was just going to use sequentially increasing serial numbers, starting at 0x00.
Thanks in advance!
1) Has anyone burned anything in to the PROGONCE section of the MK20? Paul puts the MAC address there, but I've been scratching my head on how to access it myself to put a unique code in for each of my devices. I've tried to write a quick sketch based off of the MAC address posts here on the forums, but it doesn't seem to run correctly and since I only get one shot... I want to be sure it's correct. I can post that code also if needed.
Reference: Page 548-549, http://www.freescale.com/files/32bit/doc/ref_manual/K20P64M50SF0RM.pdf
2) Does that unique code allow separate Teensy's to show up as different and persistent COM ports? It seems that every Teensy I plug in receives a COM port allocation that stays the same (I'm up to about COM20 due to all of the Teensy's I have plugged in).
3) If that MAC address doesn't control the behavior of COM port allocation, what does? The custom boards I rolled at home all show up as the same COM port, and I figured that may be due to the fact that all of them have the same values in the MAC address.
4) Finally, if my thinking for (2) is correct, is it required that the values programmed into the spots where Paul usually burns the MAC address required to also be a valid MAC address? I was just going to use sequentially increasing serial numbers, starting at 0x00.
Thanks in advance!