QSI Corporation

Manufacturer of Mobile Data and Operator Interface Terminals

Skip to content

G70 Download Application Problem

Questions regarding Qlarity terminal hardware (QTERM-G75, -G70, -G55, -Z60, etc.)

Moderators: Jeremy, QSI Software Support

G70 Download Application Problem

Postby martd on Wed Mar 03, 2010 9:34 am

Hi all

I am trying to program a G70 but with very little success.

I have one Com Port on the G70 connected to my PC serial port.

Connected as follows:
G70 to Other equipment

Pin 9 to PSU +15V
Pin 5 to PSU 0V and PC Serial Port Pin 5
Pin 3 to PC Serial Port Pin 2
Pin 2 to PC Serial Port Pin 3

I have configured the G70 as follows:

FLASH MEMORY:
App Mode: Download

COM1:
Baud Rate 4800
Data Bits: 8
Parity: N
Stop Bits: 1
Flow Ctrl: None

FEEDBACK:
Serial: ON
Video: ON

Qlarity is set as follows:

Download application to unit:
Serial
Port - COM1
Baud Rate - 4800
Data format - 8n1

When clicking "Download application" from the "Fle" menu I receive Complied -- No Errors.
The problem is that when I click "Download application" in the download window I just receive the "Verifying that terminal is attached........." message

When clicking "Set unit time" I receive the "Terminal did not respond to set time request" error.

Please help!!!

Thanks in advance

Mart
martd
 
Posts: 3
Joined: Wed Mar 03, 2010 9:19 am

Re: G70 Download Application Problem

Postby Jeremy on Wed Mar 03, 2010 10:05 am

Have you placed your terminal in download mode? You cannot download unless the terminal is expecting one.

To do so, enter Power On Setup, then select Flash Memory and App Mode and select either Download or Develop (choose Develop if you are going to repeatedly load new software to the unit, i.e. if you are running a test-debug cycle).

When you do so, the terminal should prompt both on the screen and out the serial port "Download Application," possibly with additional information.

As an aside, you will drive yourself stark raving mad trying to download any but the most trivial applications at 4800 baud. If you will be communicating with a device that runs at 4800 baud, I suggest you set your terminal default baud rate to 115,200.

In your application, add the following code to your global code section:

Code: Select all
func Startup()
    handles MSG_INIT

    SetSystemSetting(SYS_COM1BAUD, 4800, SYSACT_DONOW)
endfunc


This will let you download at 115,200, but as soon as the terminal begins running your application, you will switch to 4800.
User avatar
Jeremy
QSI Support
QSI Support
 
Posts: 679
Joined: Wed Mar 08, 2006 12:25 pm
Location: Salt Lake City, Utah

Re: G70 Download Application Problem

Postby Ron L. on Wed Mar 03, 2010 10:08 am

It also looks like your pins 2 & 3 are wrong. From a G70 to a PC it is a straight through connection, pin 2 goes to 2 and pin 3 goes to 3 (See 1.2.1 in the Qlarity Hardware Manual to verify the QTERM-G70s pinout).
User avatar
Ron L.
 
Posts: 352
Joined: Thu Mar 02, 2006 2:12 pm
Location: Salt Lake City, Utah

Re: G70 Download Application Problem

Postby martd on Wed Mar 03, 2010 10:13 am

Hi guys

Thanks for your answers

I have the unit set to :
FLASH MEMORY:
App Mode: Download

And I was trying 4800 baud just to see if anything would help.
I'll reset to 115200 when I try again.

I told our tech manager that it would probably be 2-2 and 3-3 but oh no! he knew better ;o)

I'll try that and let you know how it goes!

Thanks again
martd
 
Posts: 3
Joined: Wed Mar 03, 2010 9:19 am

Re: G70 Download Application Problem

Postby martd on Wed Mar 03, 2010 10:23 am

It worked!

Thanks a million guys!!
martd
 
Posts: 3
Joined: Wed Mar 03, 2010 9:19 am


Return to Qlarity-based Terminal Hardware

Who is online

Users browsing this forum: No registered users and 1 guest