Author Topic: USB not supported  (Read 10984 times)

Offline Jorge

  • Newbie
  • *
  • Posts: 20
    • View Profile
USB not supported
« on: April 04, 2016, 11:58:21 PM »
hello!

I would like to know why the USB communication it's no supported in the mode I configured the uTasker?.
I followed all the instructions.
i attached the document.

I'll be thankful for your help.
Regards!

Offline mark

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3236
    • View Profile
    • uTasker
Re: USB not supported
« Reply #1 on: April 05, 2016, 12:08:27 AM »
Hi

Looking in your config.h I see that you have configured for the TWR-K53N512 and that USB is enabled (for USB-MSD). This is all that is required to enable the USB device operation.

Have you tested a reference build for the tower kit from http://www.utasker.com/kinetis/TWR-K53N512.html to verify that it is not a HW issue? You need to use the TWR-SER for the USB connection and ensure that the jumpers are set correctly for USB device mode. Also monitor the serial interface for USB messages.

I also see that you have the code from the V1.4.7 version, whereby you can get more complete support in the V1.4.11 version - see http://www.utasker.com/forum/index.php?topic=1721.0

Regards

Mark

Offline Jorge

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: USB not supported
« Reply #2 on: April 05, 2016, 05:36:22 PM »
Good morning Mark:

I'm trying to unzip the uTasker Kinetis V1.4.11 and I can't do it, a password is required.

Regards.

Offline Jorge

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: USB not supported
« Reply #3 on: April 05, 2016, 05:46:14 PM »

I also noted that in the app_hw_kinetis and other documents you are using #include "config.h" and this are not enabling the macros. Instead of that I used #include <config.h> and this enable the macros required in CW.

Offline Jorge

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: USB not supported
« Reply #4 on: April 05, 2016, 06:26:36 PM »

I add the pics of the configurations.
I´m using the jumper J18 in ON mode.
I installed the .inf drivers in ".....uTaskerKinetisV1.4.7\Applications\uTaskerV1.4\USB"

Offline Jorge

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: USB not supported
« Reply #5 on: April 05, 2016, 06:41:34 PM »
The LED is blinking, that means it´s in bootloader mode. My computer make a beep, that means computer enum the device but it´s not working well.
« Last Edit: April 05, 2016, 06:43:06 PM by Jorge »

Offline mark

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3236
    • View Profile
    • uTasker
Re: USB not supported
« Reply #6 on: April 05, 2016, 11:38:28 PM »
Hi

All passwords are distributed to registered users. If you didn't register you can do so at:
http://www.utasker.com/Licensing/request.html

Regards

Mark

Offline mark

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3236
    • View Profile
    • uTasker
Re: USB not supported
« Reply #7 on: April 05, 2016, 11:42:57 PM »
Hi

The USB-MSD interface doesn't require any drivers - it should automatically appear as a hard drive (when it beeps on connection).
In case you have tried the version from http://www.utasker.com/kinetis/TWR-K53N512.html it is a composite device with USB-MSD and also NXP's KBOOT HID; I am not sure whether it then requires an NXP driver (from the KBOOT package) for the KBOOT interface, in which case the USB-MSD should still operate normally and the other interface show as unknown.

Regards

Mark

Offline mark

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3236
    • View Profile
    • uTasker
Re: USB not supported
« Reply #8 on: April 05, 2016, 11:54:23 PM »
Hi

J18 should be connected on the TWR-K54N512.

J16 should be connected to 3-4 for USB device mode on the TWR-SER board.

Regards

Mark

Offline Jorge

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: USB not supported
« Reply #9 on: April 06, 2016, 07:30:27 PM »
Hi Mark!

Thanks for your support. I already downloaded the 4.11 version, but I have a problem by trying to build the project. I have 2 errors that you can see in the pictures, I looked for the PATH to add at the project but I don´t know what variable to add.

Regards and thanks again.

Offline Jorge

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: USB not supported
« Reply #10 on: April 06, 2016, 10:49:32 PM »
The same error is happen with KDS. Why this is happen?
I added the BSP in CW
« Last Edit: April 06, 2016, 10:56:30 PM by Jorge »

Offline mark

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3236
    • View Profile
    • uTasker
Re: USB not supported
« Reply #11 on: April 07, 2016, 10:28:16 PM »
Hi

Make sure that you didn't miss the first step in the following:

http://www.utasker.com/kinetis/compilers.html#CW10

You may have opened the KDS project in CW10.x, saved changes and then also KDS wouldn't work.

Therefore ensure that the project for the required IDE is at the root before importing.

Regards

Mark


Offline Jorge

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: USB not supported
« Reply #12 on: April 12, 2016, 06:45:05 PM »
Hi Mark!

I followed all the instruction of the link and I also download some SDK support for the KDS in the option Help-InstallNewSoftware.
The photos show you my program and how it´s configurated and the 3 errors I still have.
why this is not working?

Thanks a lot!

Offline mark

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3236
    • View Profile
    • uTasker
Re: USB not supported
« Reply #13 on: April 12, 2016, 08:56:46 PM »
Hi

I just tried with KDS 3.0.0 and could import and build both the application and the serial loader with no adjustments required.

I have attached a screen shot of the linked resources (these are quite different to yours, whereby I don't have the actual project code in the worspace).

Looking at the error messages that you have it seems as though KDS is not finding its build tools (make and compiler).
I haven't seen this problem before but it look to be a KDS issue.

Regards

Mark

« Last Edit: April 12, 2016, 08:59:45 PM by mark »