itron SMART TFT Hardware   General Overview + Connector Pin Assignment  
             
Interfaces Memory Accessories
RS232 SD Card Audio
RS485 NAND CANBUS
Async EEPROM Rotary Encoder
SPI USB Host
I2C Design Ethernet
USB Mounting SD Card
External Key + I/O RFI Gaskets
ADC ESD Cables
  PWM Temperature Battery Holder
  BUZZ Precautions  


Internal USB Device

The connector CN8 allows users of USB enabled modules to connect directly to a PC using a standard miniB cable.
Files can then be upload to the itron SMART TFT internal NAND or SDRAM using a terminal software or the iDEVTFT development environment.

To enable the USB when a TUxxx.mnu file is operational include the following program code:
 
SETUP(USB) {rxi=C;txi=Y;rxb=1250000;}

For downloading large image and font files, the rxb can be set to match the largest file size. The maximum is 16Mbyte 

When the TFT modue is connected to a PC, a pop up will indicate a new device has been detected.  Download the USB .INF files applicable to the PC OS and install as directed.

If a TUxxx.mnu file is not present in the NAND or SD card, the module will enable USB communication and installation can be achieved using the appropriate .INF file.

Download Internal USB Driver:  Windows XP/7

For windows 8 installation instructions please click here

There are 2 .INF files in TUxxUSB1.ZIP
Un ZIP and locate in an accessible directory on the PC and use the .INF for your PC operating system. 

You may need administrator rights to install the USB.

To re-initialise communications due to a programming error
apply a link  to CN6 pins 3 to 4.














 





 
USB Enabled Hardware
Module K611 K612
320X240 v2+ v3+
480X272 v4+ v7+
640X480 v3+ v3+
800X480 v5+ v6+
   
Update Information

 Version

 Title

Date  

 Details

00.15.00

 USB Host Mass Storage Class

30 Oct 15 

Show

* Added USB Host MSD functionality, ie USB Flash Drive support

* Two INT() types defined for attach and detach of USB Host
INT(name, USBHATT, func [, priority]); // USB Host Attached
INT(name, USBHDET, func [, priority]); // USB Host Detached

* Global variable USBH_STATUS can be read to find attached state.
USBH_STATUS = 1 = USB MSD attached and ready for use
USBH_STATUS = 0 = USB MSD not attached or not ready for use

* "USBH/" to be used in commands as the drive supported


Example 1: (Show drive state)

INT(intUsbHAtt, USBHATT, [LOAD(txtMsg1, "USBH DRIVE READY");;]);
INT(intUsbHDet, USBHDET, [LOAD(txtMsg1, "USBH DRIVE REMOVED");;]);

Example 2: (Copy a file from SD card to USBH)

FILE("COPY+O", fres, "SDHC/test.txt", "USBH/test.txt");

Example 3: (Copy packed project file from USBH and expand to EMMC/NAND)
LOAD(NAND, "USBH/project.ppf"); // PPF containing mnu, image, font and firmware update files

Example 4: (Copy/Replace selected files from USBH eg project update)
INC("USBH/update.mnu");

where update.mnu can contain:

RESET(NAND);
LOAD(NAND,"USBH/tw480a.mnu");
LOAD(NAND,"USBH/menu1.mnu");
LOAD(NAND,"USBH/image1.jpg");
etc

This is similar to the fprog.mnu file.

49.58

 USB

07 Sep 15 

Show

* Fixed issue causing a lock up if USB data is sent too quickly after startup (before USB
enumerates)

49.51

 Problem when Port Encode Not Specified

21 Jan 14 

Show

* A problem was found when the port encode was not being specified, the default should be Ascii Text but was being left undefined.
eg
SETUP( RS2 )
{
... settings ...
encode = s; // If no encode then an error can occur.
}
* This is now fixed.

49.44

 Real Time (Priority) Interrupts

09 Oct 13 

Show

This issue has been resolved. A problem was found with the operating systems' nested interrupt handler. New functionality has been implemented and tested.
Nesting of priority INT()s has also been added - see TFT Improvement

49.44

 Nesting of priority INT()s

09 Oct 13 

Show

New functionality has been added to support nesting of priority INT()s, ie a priority interrupt can be interrupted by another priority interrupt with a higher priority (this is now the default behaviour).

A system setup variable has been added to disable this functionality.
SETUP(SYSTEM){ intNest = y | n; } // default = y;

For 'y', priority INT()s can be interrupted by higher priority INT()s
For 'n', priority INT()s run to completion, then the highest pending priority INT() is processed next.

49.39

 Updating Firmware - ''NAND Error - need physical block'' Error

13 Jun 13 

Show

When boot code is updated via a serial link (RS2, USB, AS1 etc), the error "NAND Error - need physical block" is reported.

It was found that the boot block range check was invalid when searching for "good" blocks. Fix available in V00.49.39

49.37

 Losing Serial Interrupts with ''proc''

10 Jun 13 

Show

A new INT() processing scheme has been written which has abandoned a "counter" method and instead checks to see if there are any further "packets" waiting to be processed when the INT() command is run.

The old scheme made use of a counter which was incremented in the "hardware" interrupt handler when a packet was received and then decremented when a LOAD(buf,port); was performed from the INT() function. It had been found that the counter can get out of sync with the packets being received and hence packets are left in the receive buffer when the counter has a value of zero.

The new method, sets a task flag in the "hardware" interrupt handler to say a packet has been received. The INT() function then reads the packet when the LOAD(buf,port); command is used and then checks to see if there is another complete packet in the receive buffer. If there is, then the INT() function is called again, and so on, until there are no more complete packets and then the INT() is exited and normal processing resumes.

49.37

 Default Start-up - RS4 & USB

10 Jun 13 

Show

* Added RS4 at 115200,8,N,1 to ports enabled during default (ie no SD card found) start-up. RS4 enabled in command mode.
* Set USB receive buffer to 1MB instead of 8KB.

49.37

 Serial Port Buffer Resizing

10 Jun 13 

Show

* Added the ability to increase size of receive and transmit buffers.
> When a buffer size is increased then the old buffer is discarded (memory is not freed) and a new block of memory is allocated for the new buffer. Read and write pointers are reset and all data is flushed.
* Decreasing a buffer's size has no effect.
* The following ports are affected: RS2, RS4, AS1, AS2, DBG, USB, I2C, SPI

49.37

 USB Host via MCBK37A - USBH

10 Jun 13 

Show

* Added USBH device and setup to support MCBK37A via AS1. All existing FILE functions can be used using "USBH/..." prefix.

49.37

 Serial Ports - use with d16l, d16m, d32l, d32m, h16l, h16m, h32l, h32m

10 Jun 13 

Show

Corrected output for d16l, d16m, d32l, d32m, h16l, h16m, h32l, h32m when source is text variable.

49.18

 USB - Added RESET(USB) which causes USB interface to disconnect, reinitialise and reconnect.

22 Sep 12 

Show

Added RESET(USB) which causes USB interface to disconnect, reinitialise and reconnect.
* Setting rxi=n and txi=n now disconnects USB interface, then interface is reinitialised when either rxi or txi is enabled.

49.16

 UART Enable / Disable - Added active=Y/N parameter to RS2/RS4/AS1/AS2/DBG/USB setup.

14 Sep 12 

Show

Added active=Y/N parameter to RS2/RS4/AS1/AS2/DBG/USB setup. Default is Y for backward compatibility. Allows the associated interface port pins to be disabled by using LOAD(port.active, N);

49.14

 RESET( START ); - Added command to restart system without hardware reset and keeping USB/RS232 alive.

27 Jul 12 

Show

Added command to restart system without hardware reset and keeping USB/RS232 alive. A TUxxxA.MNU file will expected on the SD Card or in NAND.
* Note that RESET( LIBRARY ) does the same but doesn't look for a TUxxxA.MNU file as the module expects commands to be sent serially to it in this case.

49.02

 USB - Fixed interface initialise routine.

15 May 12 

Show

Fixed interface initialise routine.

49.00

 USB - Corrected power value in descriptor from 100mA to 500mA.

22 Mar 12 

Show

Corrected power value in descriptor from 100mA to 500mA.
* USB no longer locks-up if Data-In (from module to PC) packets are corrupted. This allows file downloads from iDevTFT to the on-board NAND to complete successfully, though no feedback is provided back to the PC. Once download has been completed, the module will need to be power cycled plus iDevTFT will need to be closed down and restarted.

47.24

 Internal USB - Latest 4.3inch v7 and 7inch v3 models enabled for Itron TFT USB driver.

31 Oct 11 

Show

Latest 4.3inch v7 and 7inch v3 models enabled for Itron TFT USB driver.

47.12

 Internal USB Interface - USB Serial support added for TU480x272C V6 modules.

09 Sep 11 

Show

USB Serial support added for TU480x272C V6 modules.
> Windows USB enumeration has been resolved but requires PCB changes.