SparkFun Boards

SparkFun SerLCD

SparkFun USB Host Shield

The SparkFun USB Host Shield has additional connected Reset and GPX from the MAX3421E to the Arduino pins 7 and 8. For a correct function of the USB Host Shield 2.0 Library from Circuits@Home you have to initialize these pins in setup() before using the library.

//Revision 1.2 (DEV-09628)
#define MAX_RESET 8 //MAX3421E pin 12
#define MAX_GPX   7 //MAX3421E pin 17
//Revision 1.3 (DEV-09947)
#define MAX_RESET 7 //MAX3421E pin 12
#define MAX_GPX   8 //MAX3421E pin 17

void setup()
{
  pinMode(MAX_GPX, INPUT);
  pinMode(MAX_RESET, OUTPUT);
  digitalWrite(MAX_RESET, LOW);
  delay(20); //wait 20ms
  digitalWrite(MAX_RESET, HIGH);
  delay(20); //wait 20ms

  if(Usb.Init() == -1)
  {
    //Serial.println("OSC did not start.");
  }
...

SparkFun VS1000-Breakout

Firmware Update

  • Connect the Board to the PC via USB and press the Power button on the Board.

  • Check the new drive. There should be only one file: NO_FLASH.

  • Run the VS1000D-Tool (vs1000d.exe)

  • Make the following settings and press USB Search:

    Nominal Size: 256 MByte
    Block Size:   128 kByte
    Page Size:      2 kByte
    

  • Select VS1000D -> Upload USB boot file and choose VS1000_B.RUN

  • Copy the file boot.img to the new drive with the Windows Explorer.

  • Select VS1000D -> USB Boot

  • Remove the USB connection from the Board.

  • Remove the short-circuit between CS1 and GND.

  • Now you can control the Board via Rx/Tx (UART).

    Baud rate: 115200
    Data:      8
    Stop:      1
    Parity:    None
    Voltage:   3.3V
    
  • The commands can be found in the file uartcontrol.txt.