Can Not Find Examples for USBHostSerial!

Been doing some experiments with using USBHost on the M4 and reading the data from the M7 core. IT DOES NOT APPEAR that USBHostMBED5 will run on the M4 Core. Seems to hang completely the GIGA. By hang I mean it looses the USB Connectivity to the PC. The giga no longer appears as a serial device.

If I run the following sketch on the M7 Core no problem:

#define USBHOST_OTHER
//REDIRECT_STDOUT_TO(Serial)

#include <Arduino_USBHostMbed5.h>
#include "USBHostGamepadDevice.h"

USBHostGamepad nes;

uint32_t cur_buttons = 0;
uint32_t prev_buttons = 0;

void setup()
{
  Serial.begin(115200);

  for(uint8_t i = 0; i < 10; i++) {
    digitalWrite(LED_BLUE, HIGH);
    delay(500);
    digitalWrite(LED_BLUE, LOW);
  }
  delay(50);

  // Enable the USBHost
  pinMode(PA_15, OUTPUT);
  digitalWrite(PA_15, HIGH);
  delay(50);

  while (!nes.connect()) {
    Serial.println("NES Not connected");
    delay(5000);
  }

  Serial.println("NES connected:");
 
}

void loop() {

  Serial.print("Buttons: "); Serial.println(buttonRead());
  delay(1);

}

uint32_t buttonRead()
{
  if (nes.available()) {
    cur_buttons = nes.getButtons();
    prev_buttons = cur_buttons;
    return cur_buttons;
  }

  return prev_buttons;
}

now if I setup the for 2 cores:
M4:

#define USBHOST_OTHER
//REDIRECT_STDOUT_TO(Serial)

#include <RPC.h>
#include <Arduino_USBHostMbed5.h>
#include "USBHostGamepadDevice.h"

USBHostGamepad nes;

uint32_t cur_buttons = 0;
uint32_t prev_buttons = 0;

void setup()
{
  RPC.begin();

  for(uint8_t i = 0; i < 10; i++) {
    digitalWrite(LED_BLUE, HIGH);
    delay(500);
    digitalWrite(LED_BLUE, LOW);
  }
  delay(50);
  digitalWrite(LED_BLUE, LOW);

  // Enable the USBHost
  pinMode(PA_15, OUTPUT);
  digitalWrite(PA_15, HIGH);
  delay(50);

  while (!nes.connect()) {
    RPC.println("NES Not connected");
    delay(5000);
  }

  RPC.println("NES connected:");
 
}

void loop() {

  RPC.print("Buttons: "); RPC.println(buttonRead());
  delay(1);

}

uint32_t buttonRead()
{
  if (nes.available()) {
    cur_buttons = nes.getButtons();
    prev_buttons = cur_buttons;
    return cur_buttons;
  }

  return prev_buttons;
}

and this on the M7:

#include <RPC.h>

void setup() {
  // put your setup code here, to run once:
  Serial.begin(115200);
  RPC.begin();
}

void loop() {
    String buffer = "";
    while (RPC.available()) {
      buffer += (char)RPC.read();
    }

    if (buffer.length() > 0) {
      Serial.print(buffer);
    }
}

I loose the giga. I do get the message that it can not open the com port so...