]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/usb.git/log
keystone-rtos/usb.git
4 years agoMerge pull request #118 in PROCESSOR-SDK/usb from PRSDK-5873_PRSDK-5867_move_DMSC_res... DEV.USB_LLD.01.00.00.18A REL.PDK.J7.00.09.00.04 REL.PDK.J7.00.09.00.05 REL.PDK.J7.00.09.00.06 REL.PDK.J7.00.09.00.07 REL.PDK.J7.00.09.00.08 REL.PDK.J7.00.09.00.09 REL.PDK.J7.00.09.00.10 REL.PDK.J7.00.09.00.11 REL.PDK.J7.00.09.00.12 REL.PDK.J7.00.09.00.13 REL.PDK.J7.00.09.00.14 REL.PDK.J7.00.09.00.15 REL.PDK.J7.00.09.00.16 REL.PDK.J7.00.09.01.01 REL.PDK.J7.00.09.01.02
Mahesh Radhakrishnan [Tue, 2 Jul 2019 12:24:54 +0000 (07:24 -0500)]
Merge pull request #118 in PROCESSOR-SDK/usb from PRSDK-5873_PRSDK-5867_move_DMSC_reserve to master

* commit '8c3bdae6bdb94f3a2b742492bdbfc5bcfb23a0d1':
  Change the USB LLD examples linker files

4 years agoMerge branch 'master' of ssh://bitbucket.itg.ti.com/processor-sdk/usb into PRSDK...
Thanh Tran [Mon, 1 Jul 2019 23:29:18 +0000 (19:29 -0400)]
Merge branch 'master' of ssh://bitbucket.itg.ti.com/processor-sdk/usb into PRSDK-5873_PRSDK-5867_move_DMSC_reserve

4 years agoChange the USB LLD examples linker files
Thanh Tran [Mon, 1 Jul 2019 23:23:56 +0000 (19:23 -0400)]
Change the USB LLD examples linker files

Change all USB CCS examples on AM65xx to use local linker files
instead of from the ti/build infrastructure. These local linker files
move the DMSC reserved localtion to end of MSMC to match with
actual DMSC firewalls.

4 years agoMerge pull request #117 in PROCESSOR-SDK/usb from docs_update to master DEV.PROCESSOR-SDK.06.00.00.05 DEV.USB_LLD.01.00.00.18 REL.PDK.J7.00.09.00.02 REL.PDK.J7.00.09.00.03
Mahesh Radhakrishnan [Tue, 25 Jun 2019 22:23:43 +0000 (17:23 -0500)]
Merge pull request #117 in PROCESSOR-SDK/usb from docs_update to master

* commit '7545dca27fc4701b569665b87c20a773c68a6598':
  Docs update

4 years agoMerge pull request #116 in PROCESSOR-SDK/usb from PRSDK-5873_PRSDK-5867_move_DMSC_res...
Mahesh Radhakrishnan [Tue, 25 Jun 2019 22:23:22 +0000 (17:23 -0500)]
Merge pull request #116 in PROCESSOR-SDK/usb from PRSDK-5873_PRSDK-5867_move_DMSC_reserve to master

* commit '458bc4ba27ae61bbf5debb5a297bdeaa26ce23ce':
  Move linker files with no-cache sections to USB example
  Update USB examples with new linker files

4 years agoDocs update
Thanh Tran [Tue, 25 Jun 2019 20:16:41 +0000 (16:16 -0400)]
Docs update

4 years agoMove linker files with no-cache sections to USB example
Thanh Tran [Tue, 25 Jun 2019 08:23:35 +0000 (04:23 -0400)]
Move linker files with no-cache sections to USB example

CSL does not init an non-cache section in MSMC.
So moving build infrastructure linker files with non-cache sections to internal USB examples
The ti/build linker files no longer have these non-cache sections

4 years agoMerge pull request #115 in PROCESSOR-SDK/usb from PRSDK-5653_usb_config_declaration_m...
Thanh Tran (Germantown) [Mon, 24 Jun 2019 21:32:45 +0000 (16:32 -0500)]
Merge pull request #115 in PROCESSOR-SDK/usb from PRSDK-5653_usb_config_declaration_mismatch to master

* commit '0a4f1d2492209a7da6add67c4f8323c6a39f7fdd':
  Change USB_Config from const to non-const
  Moving away from const USB_Config

4 years agoUpdate USB examples with new linker files
Thanh Tran [Mon, 24 Jun 2019 21:24:18 +0000 (17:24 -0400)]
Update USB examples with new linker files

DMSC changes its firewalled memory. Update the examples to use these
new linker files in ti/build infrastructure.

Update the non-cache section addresses based on the new linker file

4 years agoChange USB_Config from const to non-const
Thanh Tran [Thu, 20 Jun 2019 19:13:57 +0000 (15:13 -0400)]
Change USB_Config from const to non-const

4 years agoMerge branch 'master' into PRSDK-5653_usb_config_declaration_mismatch
Thanh Tran [Mon, 17 Jun 2019 19:53:16 +0000 (15:53 -0400)]
Merge branch 'master' into PRSDK-5653_usb_config_declaration_mismatch

4 years agoMerge pull request #114 in PROCESSOR-SDK/usb from PRSDK-4453 to master
Mahesh Radhakrishnan [Fri, 14 Jun 2019 12:22:37 +0000 (07:22 -0500)]
Merge pull request #114 in PROCESSOR-SDK/usb from PRSDK-4453 to master

* commit 'a1cff62fcf7b5798f2a7661d17e1ad15c17b59df':
  PRSDK-4453 Rename SMP example name in align with other LLD examples

4 years agoPRSDK-4453 Rename SMP example name in align with other LLD examples
Sinthu Raja M [Fri, 14 Jun 2019 10:19:20 +0000 (15:49 +0530)]
PRSDK-4453 Rename SMP example name in align with other LLD examples

4 years agoMerge pull request #113 in PROCESSOR-SDK/usb from PRSDK-4453 to master
Mahesh Radhakrishnan [Tue, 11 Jun 2019 19:43:16 +0000 (14:43 -0500)]
Merge pull request #113 in PROCESSOR-SDK/usb from PRSDK-4453 to master

* commit 'c5fdcce7422d2e013e2727caa7d142f56031cab4':
  PRSDK-4453 Add SMP enable examples for A15 and A53
  PRSDK-4453 Update makefile for SMP mode

4 years agoPRSDK-4453 Add SMP enable examples for A15 and A53
Sinthu Raja M [Fri, 17 May 2019 10:19:04 +0000 (15:49 +0530)]
PRSDK-4453 Add SMP enable examples for A15 and A53

 Add USB example with SMP enabled for AM65xx and AM572x EVM
 Update component makefile to add entry for SMP enabled test.
 Add RTSC project text file and config file for AM572x EVM to create SMP
 enabled project.

4 years agoPRSDK-4453 Update makefile for SMP mode
Sinthu Raja M [Thu, 9 May 2019 10:37:13 +0000 (16:07 +0530)]
PRSDK-4453 Update makefile for SMP mode

 Update example makefile to include config file which add PDK driver
 components libraries and osal packages for SMP mode

4 years agoMerge pull request #112 in PROCESSOR-SDK/usb from PRSDK-3669 to master REL.PDK.J7.00.09.00.01
Mahesh Radhakrishnan [Fri, 26 Apr 2019 20:44:51 +0000 (15:44 -0500)]
Merge pull request #112 in PROCESSOR-SDK/usb from PRSDK-3669 to master

* commit 'b37c305b628d44bc9b6b90ec70fdc6817593ff9b':
  PRSDK-3669: Updated copyright year info
  PRSDK-3669: Fix for C++ compilation issue

5 years agoPRSDK-3669: Updated copyright year info
Dasnavis Sabiya [Wed, 17 Apr 2019 04:17:01 +0000 (09:47 +0530)]
PRSDK-3669: Updated copyright year info

5 years agoPRSDK-3669: Fix for C++ compilation issue
Dasnavis Sabiya [Thu, 11 Apr 2019 03:28:14 +0000 (08:58 +0530)]
PRSDK-3669: Fix for C++ compilation issue

Including the header file usbdbulkint.h before the dependent header file usblib.h
results in compilation error.
This causes "undefined" error while validating the C++ build
environment.
This patch provides the fix to this by including the dependent header
file

5 years agoMoving away from const USB_Config
Thanh Tran [Tue, 9 Apr 2019 18:52:55 +0000 (14:52 -0400)]
Moving away from const USB_Config

USB_Config can be set dynamically during run time so need to change
it to non-const.

Also fix linking error due to mismatch declarations of
consts variables

5 years agoMerge pull request #111 in PROCESSOR-SDK/usb from 5.3.docs to master DEV.PROCESSOR-SDK.05.03.00.05 DEV.USB_LLD.01.00.00.17
Mahesh Radhakrishnan [Tue, 19 Mar 2019 01:32:37 +0000 (20:32 -0500)]
Merge pull request #111 in PROCESSOR-SDK/usb from 5.3.docs to master

* commit 'dea6f6f1ef0b769c68a10fc47f789f0b5aa19f2b':
  Update docs for 5.3

5 years agoUpdate docs for 5.3
Thanh Tran [Tue, 19 Mar 2019 00:32:39 +0000 (20:32 -0400)]
Update docs for 5.3

5 years agoMerge pull request #110 in PROCESSOR-SDK/usb from PRSDK-5533_failed_enum_by_bulk_in...
Mahesh Radhakrishnan [Mon, 11 Mar 2019 23:40:49 +0000 (18:40 -0500)]
Merge pull request #110 in PROCESSOR-SDK/usb from PRSDK-5533_failed_enum_by_bulk_in to master

* commit '177f749d28305872c80a39c578bfb9f7d252f9d2':
  Replace if(1) with previously used code
  Remove consolePrintf
  Add reset fix for MSC baremetal AM335x
  Clean up the code that resets the USBSS
  Fix typo in code comments
  Add ability to restart the USB stack
  Properly tear down TX DMA during disconnect

5 years agoMerge pull request #107 in PROCESSOR-SDK/usb from PRSDK-3855_remove_printf_in_debug_b...
Mahesh Radhakrishnan [Mon, 11 Mar 2019 23:40:30 +0000 (18:40 -0500)]
Merge pull request #107 in PROCESSOR-SDK/usb from PRSDK-3855_remove_printf_in_debug_build to master

* commit 'fd63b706c67f0fbca195d91042a3ae042ea488f2':
  Remove debug_printf in debug build

5 years agoMerge pull request #109 in PROCESSOR-SDK/usb from PRSDK-5489_wrong_bulk_state_when_pr...
Mahesh Radhakrishnan [Mon, 11 Mar 2019 23:39:20 +0000 (18:39 -0500)]
Merge pull request #109 in PROCESSOR-SDK/usb from PRSDK-5489_wrong_bulk_state_when_preempted to master

* commit '0444c3f2a719667f1e02f101938471f452441899':
  Fix mismatch Bulk state when USB task is preempted

5 years agoReplace if(1) with previously used code
Thanh Tran [Mon, 11 Mar 2019 23:15:04 +0000 (19:15 -0400)]
Replace if(1) with previously used code

5 years agoMerge pull request #108 in PROCESSOR-SDK/usb from PRSDK-5003_adding_dev_bulk_for_am57...
Mahesh Radhakrishnan [Mon, 11 Mar 2019 22:51:07 +0000 (17:51 -0500)]
Merge pull request #108 in PROCESSOR-SDK/usb from PRSDK-5003_adding_dev_bulk_for_am57x_evm to master

* commit 'c5d6d8b8bdb63e620631a0085775532bba5c80fc':
  Add Dev Bulk example for AM572x EVM

5 years agoRemove consolePrintf
Thanh Tran [Mon, 11 Mar 2019 21:22:08 +0000 (17:22 -0400)]
Remove consolePrintf

These consolePrintfs were supposed to be removed during code
cleanup earlier, but I missed them.

5 years agoAdd reset fix for MSC baremetal AM335x
Thanh Tran [Mon, 11 Mar 2019 21:13:08 +0000 (17:13 -0400)]
Add reset fix for MSC baremetal AM335x

Add USB reset for AM335x DEV MSC bare-metal example

5 years agoClean up the code that resets the USBSS
Thanh Tran [Mon, 11 Mar 2019 19:05:18 +0000 (15:05 -0400)]
Clean up the code that resets the USBSS

Fix comments, clean up, and add the reset code into
bare metal AM335x as well.

5 years agoFix typo in code comments
Thanh Tran [Sat, 9 Mar 2019 02:37:02 +0000 (21:37 -0500)]
Fix typo in code comments

5 years agoFix mismatch Bulk state when USB task is preempted
Thanh Tran [Sat, 9 Mar 2019 01:57:36 +0000 (20:57 -0500)]
Fix mismatch Bulk state when USB task is preempted

When USB is running in a low priority task, a higher priority
task can pre-empt it. This pre-emption messes up the internal USB
bulk state and renders the USB stack not working.

Fix is to set the Bulk state before calling the lower level API that
sets up the USB core transaction.

5 years agoAdd Dev Bulk example for AM572x EVM
Thanh Tran [Sat, 9 Mar 2019 01:45:43 +0000 (20:45 -0500)]
Add Dev Bulk example for AM572x EVM

5 years agoRemove debug_printf in debug build
Thanh Tran [Fri, 8 Mar 2019 19:30:40 +0000 (14:30 -0500)]
Remove debug_printf in debug build

debug_printf() is a wrapper to UART_printf by default
UART is running in interrupt mode by default. This will cause
random exception that's hard to debug.  Remove this printf because
of this reason.

debug_printf() can be mapped to a function that prints to memory buffer
if necessary.

5 years agoAdd ability to restart the USB stack
Thanh Tran [Fri, 8 Mar 2019 02:29:09 +0000 (21:29 -0500)]
Add ability to restart the USB stack

Soft-reset USBSS and restart USB stack upon USB disconnection
This is to fix USB device enumeration problem after USB disconnect
while USB USB bulk in is happening.

5 years agoProperly tear down TX DMA during disconnect
Thanh Tran [Thu, 7 Mar 2019 01:38:38 +0000 (20:38 -0500)]
Properly tear down TX DMA during disconnect

If disconnecting USB cable while the device is
doing Bulk IN transaction can cause problem. Basically the next
Bulk IN transaction after connecting USB cable again will send out
bogus data (seen in the SCSI INQUIRY command)

Add proper DMA tear down to prevent problem.

This commit fix part of tear down. It helps but not completely solve
all problems yet.

5 years agoMerge pull request #101 in PROCESSOR-SDK/usb from prsdk-5165 to master
Thanh Tran (Germantown) [Wed, 27 Feb 2019 23:30:38 +0000 (17:30 -0600)]
Merge pull request #101 in PROCESSOR-SDK/usb from prsdk-5165 to master

* commit 'b0b98e81b2a303846b08336dd55b0042b83ef6f7':
  Updated PLL patch
  Dll patch for AM572x USB3 PHY

5 years agoMerge pull request #106 in PROCESSOR-SDK/usb from PRSDK-5464_update_csl_arch_include...
Mahesh Radhakrishnan [Thu, 21 Feb 2019 23:15:04 +0000 (17:15 -0600)]
Merge pull request #106 in PROCESSOR-SDK/usb from PRSDK-5464_update_csl_arch_include to master

* commit '407273645ee685de52750a71acbdbddc5d10f103':
  Update with latest CSL

5 years agoUpdate with latest CSL
Thanh Tran [Thu, 21 Feb 2019 00:58:30 +0000 (19:58 -0500)]
Update with latest CSL

CSL changed the arch include files and cause USB compilation error
This fixes the mentioned problem.

5 years agoMerge pull request #103 in PROCESSOR-SDK/usb from PRSDK-3609_usb_bulk_perf_tool to...
Raghu Nambiath [Thu, 14 Feb 2019 23:16:26 +0000 (17:16 -0600)]
Merge pull request #103 in PROCESSOR-SDK/usb from PRSDK-3609_usb_bulk_perf_tool to master

* commit '67d19ad4b5d2297c195d71b0b7012f10ec26c477':
  Update function comments for clarity
  Removed unused function
  Sync with master
  Support USB bulk perf test
  Finalizing USB3.0 support for AM65xx
  Fix comments  to C comment style
  Clean up to get ready to merge to master
  Some clean up before merging with master
  Fix the base addresses in TBUS dump functions
  Updated with latest CSL SERDES changes
  Add more SERDES settings from Arun
  Attempt to bring USB link to compliance mode
  Add code to force link to compliance mode
  Temporariy add this branch to share with Arun
  Support USB bulk perf test

5 years agoUpdated PLL patch
Ding [Mon, 11 Feb 2019 18:59:02 +0000 (13:59 -0500)]
Updated PLL patch

5 years agoMerge pull request #87 in PROCESSOR-SDK/usb from PRSDK-4108 to master
Thanh Tran (Germantown) [Fri, 8 Feb 2019 19:31:32 +0000 (13:31 -0600)]
Merge pull request #87 in PROCESSOR-SDK/usb from PRSDK-4108 to master

* commit '84d3fb1a31e484b5870d2ab23d0b36d710378f42':
  PRSDK-4108 Address review comments code cleanup
  PRSDK-4108 Update Copyright bannerof modified files
  PRSDK-4108 Address review comments
  PRSDK-4108 Add API to update codec volume
  PRSDK-4108 Change sequence of USB_MUSB_STATE_RX

5 years agoPRSDK-4108 Address review comments code cleanup
Sinthu Raja M [Fri, 8 Feb 2019 05:03:23 +0000 (10:33 +0530)]
PRSDK-4108 Address review comments code cleanup

 Change pvInstance variable name to pvGadjetObj in DataReceived function

5 years agoMerge pull request #96 in PROCESSOR-SDK/usb from PRSDK-4991 to master
Thanh Tran (Germantown) [Wed, 6 Feb 2019 23:02:26 +0000 (17:02 -0600)]
Merge pull request #96 in PROCESSOR-SDK/usb from PRSDK-4991 to master

* commit 'e54fb9955a235bf693559990ce7c0245bf45b685':
  PRSDK-4991 Address review commemts
  PRSDK-4991 Fix USB Device example size issue

5 years agoPRSDK-4991 Address review commemts
Sinthu Raja M [Wed, 6 Feb 2019 09:06:23 +0000 (14:36 +0530)]
PRSDK-4991 Address review commemts

 1. Increase the RAM disk size from 1MB to 16MB for OMAPL137 and
 OMAPL138.
 2. Remove all the code specific to OMAPL13x platform to vary between
 1MB and 16 MB.

5 years agoPRSDK-4991 Fix USB Device example size issue
Sinthu Raja M [Thu, 6 Dec 2018 12:25:56 +0000 (17:55 +0530)]
PRSDK-4991 Fix USB Device example size issue

 The MBR array which is added for the USB device example is for 16MB
 FAT16 filesystem.
 The OMAPL137 has limited RAM size the exaposed RAM memory as a USB
 device is derived only for 1MB. But while running the example it shows
 the total memory size is 16MB, the issue is fixed by changing the MBR
 section and FATFS Entry location and Root Directory and File content
 location based on 1MB MBR.

5 years agoUpdate function comments for clarity
Thanh Tran [Tue, 5 Feb 2019 21:03:52 +0000 (16:03 -0500)]
Update function comments for clarity

5 years agoMerge pull request #105 in PROCESSOR-SDK/usb from PRSDK-5306_fixConsolePuts to master
Mahesh Radhakrishnan [Fri, 25 Jan 2019 14:09:33 +0000 (08:09 -0600)]
Merge pull request #105 in PROCESSOR-SDK/usb from PRSDK-5306_fixConsolePuts to master

* commit 'fcb4f5bb5374a1befd39444de747a103debd9f64':
  Fix the function definition to match with prototype

5 years agoFix the function definition to match with prototype
Thanh Tran [Fri, 25 Jan 2019 00:25:50 +0000 (19:25 -0500)]
Fix the function definition to match with prototype

TI CGT toolchain doesn't see matching between function protype and
the function call and thus removing it when using -O4 linking
optimization. Fix the function to match with the prototype so that
the linking passes with latest toolchain

5 years agoRemoved unused function
Thanh Tran [Wed, 23 Jan 2019 23:44:12 +0000 (18:44 -0500)]
Removed unused function

5 years agoMerge pull request #104 in PROCESSOR-SDK/usb from review-PRSDK-5273 to master
Thanh Tran (Germantown) [Wed, 23 Jan 2019 23:35:15 +0000 (17:35 -0600)]
Merge pull request #104 in PROCESSOR-SDK/usb from review-PRSDK-5273 to master

* commit '030b196e66562c38eb4ea0cd7493aa5b6bca35b5':
  PRSDK-5273: RTSC depdencies added

5 years agoSync with master
Thanh Tran [Wed, 23 Jan 2019 22:13:05 +0000 (17:13 -0500)]
Sync with master

5 years agoMerge branch 'PRSDK-3609_usb_bulk_perf_tool' of ssh://bitbucket.itg.ti.com/processor...
Thanh Tran [Wed, 23 Jan 2019 22:10:40 +0000 (17:10 -0500)]
Merge branch 'PRSDK-3609_usb_bulk_perf_tool' of ssh://bitbucket.itg.ti.com/processor-sdk/usb into PRSDK-3609_usb_bulk_perf_tool

5 years agoMerge branch 'master' into PRSDK-3609_usb_bulk_perf_tool
Thanh Tran [Wed, 23 Jan 2019 18:01:44 +0000 (13:01 -0500)]
Merge branch 'master' into PRSDK-3609_usb_bulk_perf_tool

5 years agoMerge pull request #102 in PROCESSOR-SDK/usb from am65xx_usb3_bringup to master
Mahesh Radhakrishnan [Wed, 23 Jan 2019 15:14:49 +0000 (09:14 -0600)]
Merge pull request #102 in PROCESSOR-SDK/usb from am65xx_usb3_bringup to master

* commit '1411d27ba035f25bdf60cc54c1b62108b13160f3':
  Remove extern consolePrintf
  Remove printf for release build
  Add the USB3.0 debug flag
  Address code review
  Finalizing USB3.0 support for AM65xx
  Fix comments  to C comment style
  Clean up to get ready to merge to master
  Some clean up before merging with master
  Fix the base addresses in TBUS dump functions
  Updated with latest CSL SERDES changes
  Add more SERDES settings from Arun
  Attempt to bring USB link to compliance mode
  Add code to force link to compliance mode
  Temporariy add this branch to share with Arun

5 years agoRemove extern consolePrintf
Thanh Tran [Tue, 22 Jan 2019 17:42:55 +0000 (12:42 -0500)]
Remove extern consolePrintf

5 years agoPRSDK-5273: RTSC depdencies added
Aravind Batni [Tue, 22 Jan 2019 11:22:59 +0000 (06:22 -0500)]
PRSDK-5273: RTSC depdencies added

Signed-off-by: Aravind Batni <aravindbr@ti.com>
5 years agoRemove printf for release build
Thanh Tran [Fri, 18 Jan 2019 22:45:34 +0000 (17:45 -0500)]
Remove printf for release build

5 years agoPRSDK-4108 Update Copyright bannerof modified files
Sinthu Raja M [Fri, 18 Jan 2019 12:14:22 +0000 (17:44 +0530)]
PRSDK-4108 Update Copyright bannerof modified files

5 years agoPRSDK-4108 Address review comments
Sinthu Raja M [Fri, 18 Jan 2019 12:03:50 +0000 (17:33 +0530)]
PRSDK-4108 Address review comments

 Change semaphore handle name
 Remove while loop in dmaCompletionTx ISR function which causes record
 path of audio class to stall and cause synchronization issue for the
 playback path.
 Updtae Audio application to handle mute issue. Change if condition
 expression to check the volume mute flag is set.

5 years agoAdd the USB3.0 debug flag
Thanh Tran [Fri, 18 Jan 2019 01:10:16 +0000 (20:10 -0500)]
Add the USB3.0 debug flag

Add USB30_DEBUG flag to makefile but comment it out by default
Cleanup some comments

5 years agoAddress code review
Thanh Tran [Tue, 15 Jan 2019 01:41:09 +0000 (20:41 -0500)]
Address code review

5 years agoSupport USB bulk perf test
Thanh Tran [Fri, 4 Jan 2019 00:35:51 +0000 (19:35 -0500)]
Support USB bulk perf test

New C code that uses USB LIB on Linux can now be used to test
the USB LLD Bulk benchmark.

It supports write / read benchmark as long as the previous echo
demo test.

The python code that tests the USB bulk client is also updated to
do these same exact tests.

The C code runs faster and gives a little higher benchmark number than
what is reported by the python code. The compiled C and should be used
for perf test.

5 years agoFinalizing USB3.0 support for AM65xx
Thanh Tran [Wed, 19 Dec 2018 22:45:08 +0000 (17:45 -0500)]
Finalizing USB3.0 support for AM65xx

Adding TestApp for USB3.0 on AM65xx (Bare-metal and RTOS)
Print a message when USB host is enumerated as USB3.0

5 years agoFix comments to C comment style
Thanh Tran [Sat, 15 Dec 2018 01:44:48 +0000 (20:44 -0500)]
Fix comments  to C comment style

5 years agoClean up to get ready to merge to master
Thanh Tran [Fri, 14 Dec 2018 22:24:10 +0000 (17:24 -0500)]
Clean up to get ready to merge to master

5 years agoSome clean up before merging with master
Thanh Tran [Thu, 13 Dec 2018 00:20:27 +0000 (19:20 -0500)]
Some clean up before merging with master

5 years agoFix the base addresses in TBUS dump functions
Thanh Tran [Fri, 7 Sep 2018 19:26:38 +0000 (15:26 -0400)]
Fix the base addresses in TBUS dump functions

5 years agoUpdated with latest CSL SERDES changes
Thanh Tran [Thu, 6 Sep 2018 22:02:04 +0000 (18:02 -0400)]
Updated with latest CSL SERDES changes

Calling TBUS dump during polling.active to get
proper RX stats

5 years agoAdd more SERDES settings from Arun
Thanh Tran [Fri, 31 Aug 2018 18:03:23 +0000 (14:03 -0400)]
Add more SERDES settings from Arun

5 years agoAttempt to bring USB link to compliance mode
Thanh Tran [Tue, 21 Aug 2018 00:28:28 +0000 (20:28 -0400)]
Attempt to bring USB link to compliance mode

5 years agoAdd code to force link to compliance mode
Thanh Tran [Fri, 10 Aug 2018 22:35:01 +0000 (18:35 -0400)]
Add code to force link to compliance mode

Compliance mode can be used to test the links or signal integrity

5 years agoTemporariy add this branch to share with Arun
Thanh Tran [Wed, 11 Jul 2018 18:41:55 +0000 (14:41 -0400)]
Temporariy add this branch to share with Arun

5 years agoSupport USB bulk perf test
Thanh Tran [Fri, 4 Jan 2019 00:35:51 +0000 (19:35 -0500)]
Support USB bulk perf test

New C code that uses USB LIB on Linux can now be used to test
the USB LLD Bulk benchmark.

It supports write / read benchmark as long as the previous echo
demo test.

The python code that tests the USB bulk client is also updated to
do these same exact tests.

The C code runs faster and gives a little higher benchmark number than
what is reported by the python code. The compiled C and should be used
for perf test.

5 years agoFinalizing USB3.0 support for AM65xx
Thanh Tran [Wed, 19 Dec 2018 22:45:08 +0000 (17:45 -0500)]
Finalizing USB3.0 support for AM65xx

Adding TestApp for USB3.0 on AM65xx (Bare-metal and RTOS)
Print a message when USB host is enumerated as USB3.0

5 years agoDll patch for AM572x USB3 PHY
Ding [Wed, 19 Dec 2018 22:13:07 +0000 (17:13 -0500)]
Dll patch for AM572x USB3 PHY

5 years agoFix comments to C comment style
Thanh Tran [Sat, 15 Dec 2018 01:44:48 +0000 (20:44 -0500)]
Fix comments  to C comment style

5 years agoClean up to get ready to merge to master
Thanh Tran [Fri, 14 Dec 2018 22:24:10 +0000 (17:24 -0500)]
Clean up to get ready to merge to master

5 years agoMerge branch 'master' into am65xx_usb3_bringup
Thanh Tran [Thu, 13 Dec 2018 00:21:11 +0000 (19:21 -0500)]
Merge branch 'master' into am65xx_usb3_bringup

5 years agoSome clean up before merging with master
Thanh Tran [Thu, 13 Dec 2018 00:20:27 +0000 (19:20 -0500)]
Some clean up before merging with master

5 years agoMerge branch 'master' into am65xx_usb3_bringup
Thanh Tran [Wed, 12 Dec 2018 23:15:59 +0000 (18:15 -0500)]
Merge branch 'master' into am65xx_usb3_bringup

5 years agoMerge pull request #100 in PROCESSOR-SDK/usb from PRSDK-5150_usb_host_msc_with_new_fa... DEV.PROCESSOR-SDK.05.02.00.07 DEV.USB_LLD.01.00.00.16B
Mahesh Radhakrishnan [Tue, 11 Dec 2018 20:26:06 +0000 (14:26 -0600)]
Merge pull request #100 in PROCESSOR-SDK/usb from PRSDK-5150_usb_host_msc_with_new_fatfs to master

* commit '85fdfd3acbf544cba30375c08010262ddb117c54':
  Fix USB host with latest FATFS

5 years agoMerge branch 'master' into PRSDK-5150_usb_host_msc_with_new_fatfs
Thanh Tran [Tue, 11 Dec 2018 20:05:09 +0000 (15:05 -0500)]
Merge branch 'master' into PRSDK-5150_usb_host_msc_with_new_fatfs

5 years agoFix USB host with latest FATFS
Thanh Tran [Tue, 11 Dec 2018 19:51:58 +0000 (14:51 -0500)]
Fix USB host with latest FATFS

FATFS_open now calls FATFS_setPt() which calls disk_initialize()
which then calls FATFS_readBootSector. This requires FATFS being
opened after the USB drive is mounted and ready.

5 years agoMerge pull request #98 in PROCESSOR-SDK/usb from 5_2_docs to master
Mahesh Radhakrishnan [Tue, 11 Dec 2018 14:28:08 +0000 (08:28 -0600)]
Merge pull request #98 in PROCESSOR-SDK/usb from 5_2_docs to master

* commit '64297c35bf481baefcc7b545cbd1c18f112aab42':
  Update release note for 5.2

5 years agoUpdate release note for 5.2
Thanh Tran [Tue, 11 Dec 2018 01:15:31 +0000 (20:15 -0500)]
Update release note for 5.2

5 years agoMerge pull request #97 in PROCESSOR-SDK/usb from PRSDK-5149 to master
Thanh Tran (Germantown) [Mon, 10 Dec 2018 20:11:23 +0000 (14:11 -0600)]
Merge pull request #97 in PROCESSOR-SDK/usb from PRSDK-5149 to master

* commit '1bb2c7feca684b8c6746aa9dc288af9227e3318c':
  PRSDK-5149 Exclude OMAPL13x platfrom for MCR instruction

5 years agoPRSDK-5149 Exclude OMAPL13x platfrom for MCR instruction
Sinthu Raja M [Mon, 10 Dec 2018 09:04:01 +0000 (14:34 +0530)]
PRSDK-5149 Exclude OMAPL13x platfrom for MCR instruction

 OMAPL13x platform does not support MCR assembly instruction used for
 profiling, so excluding the instructions for OMAPL13x platform

5 years agoMerge pull request #91 in PROCESSOR-SDK/usb from PRSDK-4704 to master
Thanh Tran (Germantown) [Tue, 4 Dec 2018 22:02:48 +0000 (16:02 -0600)]
Merge pull request #91 in PROCESSOR-SDK/usb from PRSDK-4704 to master

* commit '8387dd04733fe04b17a98d4a856662b8b89d9b11':
  PRSDK-4704: MPU R5 examples. Increase size of region 1 to 32K

5 years agoMerge pull request #95 in PROCESSOR-SDK/usb from PRSDK-5032_add_r5_mpu_for_usb to...
Mahesh Radhakrishnan [Tue, 4 Dec 2018 21:34:55 +0000 (15:34 -0600)]
Merge pull request #95 in PROCESSOR-SDK/usb from PRSDK-5032_add_r5_mpu_for_usb to master

* commit '1fcc5d97f335d9c3de962e0a8f8a3467257805b2':
  Adding a 56KB non-cache section at end of MSMC

5 years agoAdding a 56KB non-cache section at end of MSMC
Thanh Tran [Tue, 4 Dec 2018 01:46:34 +0000 (20:46 -0500)]
Adding a 56KB non-cache section at end of MSMC

This section is required for USB host MSC to work
It also matches with the MSMC_NOCACHE in the ti/build/linker files

Function mpu_init() is added to overwrite the same function provided
in CSL library. This function eventually calls the
USB_armR5EnableMPUandCache() which sets up the MPU entries.

The MPU entries are similar to those of CSL, but the mpu_6 entry is new
and is the one that's responsible for the 56K no-cache section at end of MSMC.

5 years agoMerge pull request #94 in PROCESSOR-SDK/usb from PRSDK-5067_change_sciclient_order...
Mahesh Radhakrishnan [Fri, 30 Nov 2018 17:13:22 +0000 (11:13 -0600)]
Merge pull request #94 in PROCESSOR-SDK/usb from PRSDK-5067_change_sciclient_order to master

* commit '1944384af999f789e1818aa200dd25640d6a0df0':
  Change SCI client library order

5 years ago PRSDK-4108 Add API to update codec volume
Sinthu Raja M [Mon, 5 Nov 2018 13:07:23 +0000 (18:37 +0530)]
 PRSDK-4108 Add API to update codec volume

     Add API to update or adjust codec volume.
     Update MUSB DCD class to handle OUT packet data followed by setup
     packet for ENDPOINT 0.
     Update evnetcallback to update or adjust the volume request from the
     USB HOST.

5 years agoChange SCI client library order
Thanh Tran [Thu, 29 Nov 2018 22:46:10 +0000 (17:46 -0500)]
Change SCI client library order

The change in the SCI client order is necessary for the compiling the
example because now BOARD also uses SCI client.

Also piggy back:
+ Update to readme and
+ Add the generic flag BUILD_MCU for the intRouter which has problem
when building with BIOS CCS projects because they don't define
BUILD_MCU1/BUILD_MCU2

5 years agoMerge pull request #93 in PROCESSOR-SDK/usb from PRSDK-3931_throughput_tools to master
Thanh Tran (Germantown) [Thu, 29 Nov 2018 22:24:37 +0000 (16:24 -0600)]
Merge pull request #93 in PROCESSOR-SDK/usb from PRSDK-3931_throughput_tools to master

* commit 'cae53285abd4a6a2cda814b124c6f49f3223e1e4':
  Clean up
  Remove unused fsShellAppUtilsBmLog
  Update device mode perf script
  Add throughput benchmark tools for AM65xx USB
  upated the package.bld for windows script (PRSDK-1483)
  added script for windows to benchmark usb device mode (PRSDK-1483)
  added script to package.bld (PRSDK-1483)
  added the script to test USB device mode (PRSDK-1483)
  fixed the bm command on usb host (PRSDK-1483)
  added BM command to host mode (PRSDK-1483)

5 years agoMerge pull request #92 in PROCESSOR-SDK/usb from PRSDK-4506 to master refs/tags/DEV.USB_LLD.01.00.00.16A
Thanh Tran (Germantown) [Thu, 29 Nov 2018 00:04:38 +0000 (18:04 -0600)]
Merge pull request #92 in PROCESSOR-SDK/usb from PRSDK-4506 to master

* commit 'a99d05328f19b0c03e4e27dfd0d9ee63b9597555':
  PRSDK-4506 Remove power fault maneagement registers for OMAPL13x
  PRSDK-4506 Remove power fault management registers

5 years agoMerge branch 'master' of ssh://bitbucket.itg.ti.com/processor-sdk/usb into PRSDK...
Thanh Tran [Wed, 28 Nov 2018 20:27:06 +0000 (15:27 -0500)]
Merge branch 'master' of ssh://bitbucket.itg.ti.com/processor-sdk/usb into PRSDK-3931_throughput_tools

5 years agoPRSDK-4108 Change sequence of USB_MUSB_STATE_RX
Sinthu Raja M [Mon, 29 Oct 2018 11:15:34 +0000 (16:45 +0530)]
PRSDK-4108 Change sequence of USB_MUSB_STATE_RX

 Whenever an IN packet followed by an OUT packet is requested
 from the HOST the device has to send an Zero Length Packet,
 The sequence is changed to to update the EPstate to IDLE and
 then send the ZLP will remove the lag during enumeration and any
 other EP0 request.

5 years agoPRSDK-4506 Remove power fault maneagement registers for OMAPL13x
Sinthu Raja M [Wed, 28 Nov 2018 05:13:29 +0000 (10:43 +0530)]
PRSDK-4506 Remove power fault maneagement registers for OMAPL13x

 Remove EPC register and register fields for AM335x OMAPL13x platforms

5 years agoClean up
Thanh Tran [Tue, 27 Nov 2018 23:11:08 +0000 (18:11 -0500)]
Clean up