home *** CD-ROM | disk | FTP | other *** search
/ Euroscene 1 / Euroscene 1.iso / resource / adev11_12.lha / docs / hcload.doc < prev    next >
Encoding:
Text File  |  1992-12-22  |  3.0 KB  |  80 lines

  1.               *************************************
  2.               *      HCload  1.2a    20/12/92     *
  3.               *          by Ron Eirich            *
  4.               *************************************
  5.  
  6. Introduction:
  7.  
  8. This program loads Motorola S record files into the EPROM,
  9. EEPROM or ram of an MC68HC11 type micro-processor. The micro-
  10. processor must have it's serial port connected to the Amiga's
  11. serial port and the micro-processor must be reset into the
  12. bootstrap mode.
  13.  
  14. HCload, when first run, downloads a bootstrap program to the
  15. MC68HC11 processor. The bootstrap program can be either one of
  16. the built in bootloaders or an external one custom made for the
  17. processor. This bootstrap program then in turn will load
  18. a S record file into the appropriate EPROM, EEPROM or RAM. As
  19. the program runs a byte counter is displayed to give an
  20. indication of progress. If for some reason the MC68HC11 cannot
  21. load the data sent to it, HCload will time out and notify the
  22. operator.
  23.  
  24. The bootloader for the 711k4 processor will automatically
  25. determine what type of memory is being addressed by the S record
  26. and automatically switch to the proper programming algorithm for
  27. that memory. This allows RAM, EEPROM and EPROM to be programmed
  28. with the same utility.
  29.  
  30. Program Operation
  31.  
  32.    HCload is used with the following template:
  33.  
  34.      HCload -ssrecord_data [-options]
  35.  
  36. where:
  37.  
  38.  
  39. -ssrecord_data    a mandatory data file containing S records
  40.  
  41. -options          are any of the following:
  42.  
  43.    -fx.xxx      Where x.xxx is the MC68HC11 xtal frequency in
  44.                   MHz. Default is 8.00. This option is used to
  45.                   adjust the Amiga baud rates to that of the
  46.                   MC68HC11 when using xtals other than 8.00 MHz
  47.  
  48.    -p#            The Amiga serial port number. Port 0 is the
  49.                   default.
  50.  
  51.    -hxxxxx        Where hxxxxx is the MC68HC11 processor type.
  52.                   Depending on the processor type different
  53.                   bootloaders are used. These are the current
  54.                   built in bootloader selection options:
  55.  
  56.                                 -hc711k4
  57.                                 -hc811e2
  58.                                 -hc11f1
  59.  
  60.                   The default is -hc811e2
  61.  
  62.    -bfile      Where file is the name of a binary file to be
  63.                   used instead of the built in bootloaders. This
  64.                   allows a user to create a bootloader for newly
  65.                   released processor types or to have a custom
  66.                   bootloader. The file must contain the starting
  67.                   character and the correct number of data bytes
  68.                   as specified by Motorola.
  69.  
  70.  
  71. example:  HCload -stest.srec -f4.95 -p3 -hc711k4
  72.  
  73. The example will first upload the built in hc711k4 bootloader.
  74. Serial port 3 will be used (for those lucky enough to have a
  75. multi-serial card) and the Amiga baud rates will be adjusted by a
  76. ratio of 4.95/8.00. When the bootloader is finished, the file
  77. "test.srec" which contains Motorola S records will be uploaded.
  78. If a transfer address was specified in the file then execution
  79. will begin at this address.
  80.