Brought to
you by

jGuru logo

HOME

GETTING STARTED

FAQs

ABOUT

CONTACT

API DOCUMENTATION

Loading the Firmware

Any information regarding this page can be posted on the TINI Mailing List (tini@ibutton.com) or sent to me directly guillaume@junun.org

There are three things you need to download to your TINI Board to get it up and running. The first is the TINI firmware, found in %TINI_HOME%\bin\tini.hex. Then comes the Java class libraries, found in %TINI_HOME%\bin\tiniapi.hex. Finally, you need the interactive command shell "slush" found in %TINI_HOME%\examples\slush\Slush.hex.

  1. In JavaKit, select the COM port you will be using for the serial I/O. This is whatever COM port you have attached your adapter to on your computer.
  2. Make sure the speed is selected as 115200.
  3. Press the OPEN PORT button.
  4. When the RESET button becomes enabled, hit it. This sends a reset signal to the TINI Board. The reset circuitry of the TINI Board is connected to the DTR signal of the RS232 cable. By hitting reset, JavaKit generates a short pulse on the DTR line so that the board is going into the power on reset internal procedure. This procedure starts the "loader" that allows us to communicate with the board and download the firmware.
  5. In the text area above a prompt should appear along with the words:
       TINI loader 05-15-00 17:45
       Copyright (C) 2000 Dallas Semiconductor. All rights reserved.
    
       >
    
  6. Go up to the FILE menu above and select LOAD. Load the following file: %TINI_HOME%\bin\tini.tbin. There is no need to change banks first. The file has the bank information embedded in it. It should report the bank(s) it was loaded in. This will take several seconds.
  7. Next, clear the heap by doing the following:
       b18      //changes to bank 18
       f0       //fills bank 18 with 0's, effectively erasing it
    
  8. Select FILE/LOAD one more time and load the following file: %TINI_HOME%\bin\slush.tbin
  9. If everything is loaded, type 'e' to execute. You should see output similiar to:
       ----> TINI Boot <----
       TINI OS 1.01
       API Version 8006
       Copyright (C) 1999, 2000 Dallas Semiconductor Corporation
       01000000
       Doing First Birthday
       Memory Size: 07E600
       Addresses: 181A00,200000
       Skip List MM
       L01
       Running POR Code
       Memory POR Routines
       000020
       Transient block freed: 0000, size: 000000
       Persistant block freed: 0000, size: 000000
       KM_Init Passed
       Ethernet MAC Address Part Found
    
       TTS Revision: 154 , Date: 7/19/00 3:13p 
       Thread_Init Passed
       External Serial Port Init
       External serial ports not enabled
       Memory Available: 075F00
       Creating Task:
       0100
       01
       Loading application at 0x070100
       Creating Task:
       0200
       02
       Application load complete
    
    
       [-=        slush Version 1.01         =-]
       [          System coming up.            ]
       [      Beginning initialization...      ]
       [        Not generating log file.       ]    [Info]
       [    Initializing shell commands...     ]    [Done]
    
       [        Checking system files...       ]    [Done]
    
       [ Initializing and parsing .startup...  ]
       [        Initializing network...        ]
       [    Network configurations not set.    ]    [Skip]
    
       [         Network configuration         ]    [Done]
       [         System init routines          ]    [Done]
    
       [    slush initialization complete.     ]
    
    
       Hit any key to login.
    
       Welcome to slush.  (Version 1.01)
    
    
       TINI login: root
       TINI password:
    
       TINI />
    
    NOTE: There are two default accounts on this revision of slush, 'guest' with the password 'guest' and 'root' with the password 'tini'
  10. Type "help" to get help. Type "help " to have help on a specific command. Try "help ipconfig".
  11. You can now set your IP address using the ipconfig command. You can use the DHCP setting to get your IP dynamically or set it by yourself. For instance:
       ipconfig -a your.IP.fits.here \
                -m network.mask.fits.here \
                -g gateway.fits.in.here
    
    Note that the -a flag must be accompanied by the -m flag.
  12. If you set your network information correctly using ipconfig, you should now be able to telnet and ftp to the TINI Board. You can also try to ping your TINI Board from a subnet PC or a subnet PC from the TINI Board to confirm your configuration.
Next
 
webmaster@junun.org