Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - rjordan

Pages: [1]
1
NXPTM M522XX, KINETIS and i.MX RT / Re: USB-MSD with K20FX512
« on: January 13, 2016, 04:36:56 PM »
Mark,

Changing the EXTERNAL_CLOCK and _EXTERNAL_CLOCK #defines did not seem to work.  There is an LED and I set the GREEN_LED to the port and pin for our board (#define GREEN_LED  (PORTD_BIT15) ) and updated TOGGLE_WATCHDOG_LED() with  _TOGGLE_PORT(D, BLINK_LED).  Blink LED is set to GREEN_LED.  The LED did not blink after programming and cycling power.

We have a project built for the board so I know the USB works.  I also verified the proper capacitor are on VOUT33 (2.2uF) and 3.3V on VREGIN that you mentioned earlier.
Is there anything else you can think of that I may have missed?

Thanks,

Randy

2
NXPTM M522XX, KINETIS and i.MX RT / Re: USB-MSD with K20FX512
« on: January 12, 2016, 08:29:31 PM »
Mark,

I changed the clock divisor to 1, but still could not get the serial loader to operate.

I updated to the developer version 1.4 and selected K20FX512_120 as the processor, defined USB_INTERFACE and USB_MSD_DEVICE_LOADER.  I am still having trouble getting the serial loader to operate.

For the clock setting, our board is using an 8MHz external clock, not an oscillator, could this be the reason I'm having trouble getting the serial loader to work?

Thank you for your time;

Randy

3
NXPTM M522XX, KINETIS and i.MX RT / USB-MSD with K20FX512
« on: January 04, 2016, 07:43:06 PM »
I’m trying to get the USB-MSD device serial loader working on a custom board with a MK20FX512VLQ12 processor with an 8 MHz external clock.  I’m having a problem getting the serial loader to operate.
I read through the ?Tasker – Serial Loader User’s Guide and made the following changes.

In config.h:
Defined USB_INTERFACE and USB_MSD_DEVICE_LOADER
Added #define K20F120M to KINETIS_K20

In app_hw_kinetis.h added:
#define EXTERNAL_CLOCK  8000000
#define _EXTERNAL_CLOCK  EXTERNAL_CLOCK
#define CLOCK_DIV  2
#define CLOCK_MUL 30
#define FLEX_CLOCK_DIVIDE 3
#define FLASH_CLOCK_DIVIDE 5
#define USB_CLOCK_SOURCE_MCGPLL0CLK
#define USB_CLOCK_GENERATED_INTERNALLY
and changed PIN_COUNT and PACKAGE_TYPE to match processor

After building and flashing the software on the processor, plugging the USB into a PC, no new mass storage device is displayed.  I figure that I have missed something with the clock settings.  Has anyone had any experience setting up the USB-MSD serial loader on an MK20FX512?

Thank you for your time.

Pages: [1]