12
« on: April 08, 2014, 10:42:19 PM »
I am trying to use the MSD bootloader with this uC on custom hw. I have added #define K20D72M in config.h (added KINETIS_MAX_SPEED 72000000, otherwise same as TWR_K20N50M), and new linker file (copy of included K40 linker file). The board has an 8MHz crystal, so I used the same #define block as TWR_K20N50M in the app_hw_kinetis.h for the CRYSTAL_FREQUENCY, CLOCK_DIV, CLOCK_MUL, etc. When I run the bootloader (forced to bootloader mode) and connect the USB port to PC, I get the "USB device not recognized" msg. It looks like the device is not enumerated, but I am not sure why. On the debugger, I see that the USB suspend/resume routine is executed right after plugging into the USB port. Have I missed something in converting to this part?