Friday, August 18, 2017
   
Text Size

Setting up the ZY1000

The ZY1000 ships with DHCP enabled, but you can also set a fixed IP address via serial cable + terminal program or via the web interface.

The ZY1000 will broadcast it's presence every two seconds for the first minute after boot (UDP port 4950). This can be used to find the IP address of the ZY1000.

To discover the IP address, Download discover.jar and run it from the command prompt and the power cycle the ZY1000. You can then see that the ZY1000 is on IP address 10.0.0.69. Note that the ZY1000 stops broadcasting after 60 seconds. The discover.jar works on all operating systems with Java installed.

 

zylin_discover

ZY1000 firmware

How to upgrade ZY1000

  • Download the firmwarename.phi file to your computer (Use the firmware page)
  • Connect your web browser to the ZY1000 web server
  • Go to the Setup ZY1000 -> ZY1000 Firmware page
  • Press 'Browse...' and find the firmware file you just downloaded
  • Press 'Upload' to upload the new firmware
  • Wait approx. 30 sec. for the new firmware to be programmed and the unit to reboot.

Use the firmware page to get the latest firmware file.

 

Contacting Support

The ZY1000 has a support request menu that will help you put together a complete report that you can copy and paste into an email to This e-mail address is being protected from spambots. You need JavaScript enabled to view it . This report will aid us in helping you effectively.

Steps to produce report

We recommend the steps below to produce the best possible information for us to help you.

  1. (optional) add a "debug_level 3" to the top of your target configuration script. This will produce a much more verbose log.
  2. Reload the config script/reboot the ZY1000 to start with a clean log
  3. Perform steps to reproduce the problem
  4. Enter Setup ZY1000->Support Request menu and fill it out
  5. Copy and paste the report and email it to This e-mail address is being protected from spambots. You need JavaScript enabled to view it with any relevant attachments.

 

Screen-SubmitSupport

Advanced ZY1000 diagnostics

ZY1000 settings are stored on a flash filing system under /config/settings. Restoring factory settings basically deletes the /config/settings directory recursively.

From telnet you can create, delete and list files in /config/settings. Type "help ls/rm/append_file/trunc" for more information from telnet.

Enabling logging to serial port

You can enable logging output to the serial port from the bootloader. This is a last resort diagnostic option if the web interface should be unavailable to download a log.

Press <i> to set static IP address
Press <enter> to start Ymodem upload of firmware
Press <space> for advanced help
Press <F> format flash
Press <E> to start Ymodem upload of firmware to a specified file name
Press <Y> to start single shot update of bootloader
Press <P> set parameter
Press <D> show parameter
Press <S> to select the application to launch
Press <T> to run the ramtest application
Enter file name: /config/settings/logserial
Enter parameter: 1

Disabling current target configuration

It is possible to write startup scripts in Tcl that do not terminate(accidentally or purposly). This will make the web interface unavailable to correct the problem.

Use the bootloader to disable the startup configuration by setting /config/settings/openocd.cfg to an empty value.

Press <i> to set static IP address
Press <enter> to start Ymodem upload of firmware
Press <space> for advanced help
Press <F> format flash
Press <E> to start Ymodem upload of firmware to a specified file name
Press <Y> to start single shot update of bootloader
Press <P> set parameter
Press <D> show parameter
Press <S> to select the application to launch
Press <T> to run the ramtest application
Enter file name: /config/settings/opeoncd.cfg
Enter parameter: dummy

Advanced bootloader options

The bootloader can be used to perform a number of operations that are normally performed from the web interface. Each command is available via keypress.

When entering a text string, you can press backspace to delete a char and ctrl-c if you want to abort entry and reboot the unit.

  • <i> to set static IP address. Here you can configure IP address, mask and gateway. The format is ip, mask and gateway(optional) (x.x.x.x,y.y.y.y[,z.z.z.z]):.
  • <enter> to start Ymodem upload of firmware. If you are unable to upload a new firmware via the web interface, you can use Ymodem to upload the zy1000_1_xx.phi file.
  • <space> lists help for adavanced option.
  • <F> formats the /config flash drive. This will wipe out the firmware, ip address settings, etc. The MAC number and bootloader is still in another area of the flash after the /config flash drive has been formatted. You must upload a firmware using Ymodem if you format the /config flash drive.
  • <E> Ymodem upload of firmware to a specified file name. Normal firmware uploads a file to /config/firmware.phi, but it is possible to specify other filenames. The /ram drive is not available. This command does not really have an application for the ZY1000 product.
  • <Y> to start single shot update of bootloader. It is possible, but not adviced unless strictly necessary to update the bootloader from Ymodem. The MAC number is also erased upon bootloader upgrade and you must enter the MAC number after upgrading the bootloader.
  • <P> set parameter. This command simply allows you to write a file to the /config drive. You effectively enter the filename and then the contents of that file. Parameters are normally stored as /config/settings/xxx.
  • <D> displays a parameter. Enter filename and the contents of that file is displayed. Only intended for files which contains a couple of lines of text.
  • <S> Not used with ZY1000.
  • <T> Not used with ZY1000.

Configuration parameters

Restore factory settings recursively deletes the /config/settings directory where all parameters are storeed.

  • /config/settings/xxxx - configuration parameters are stored as small text files in this the /config/settings directory
  • /config/settings/logserial - set to 1 to dump a detailed log to the serial port. Useful if logs can not be downloaded from web interface.
  • /config/ip - contains static IP in the format ip, mask, gateway. x.x.x.x,y.y.y.y,z.z.z.z. If this file is empty or unparsable, DHCP is used.
  • /config/settings/openocd.cfg - contains Tcl command that is executed upon startup. Typically this is "script target/xxx.cfg". Set this parameter to blank or a syntax error to disable the currently active target configuration.
  • /config/target - this directory contains modified versions of target configuration scripts. The originals are stored in /rom/target. If a target configuration script exists in /config/target it is loaded instead of /rom/target, so deleting /config/target/xxx will effectively restore /rom/target/xxx.


Ultimate Solutions, Inc.
10 Clever Drive
Tewksbury, MA 01876 USA
Phone: 978.455.3383
Fax: 978.926.3091
Email: info@ultsol.com
 
 
 
Quick Link to Support & Resources:
 

      

Twitter Button  

Latest News

Abatron adds support for AppliedMicro's X-Gene™ processor
More Info


USI acquires Zylin ZY1000 product line
Click Here


Available NOW for an introductory price!
Embedded Linux BSP Program from bootbits
Click Here...

Ask about new Boundary Scan capabilities with the ZY1000!
Click for more info

Info

An Easier Way to Debug Linux - Download the Pre-recorded Webinar

PODCAST

Hardware Debuggers (Episode 29) Interview with Fahd Abidi  Download Here

USI ToolFinder

Use our Toolfinder to find Development Tools available for your processor family! Click Here...

USI Blog

Feel free to leave a comment or idea! Click Here...