Subversion Repositories svn.mios

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
628 adamjking 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
<HTML>
3
<HEAD>
4
<META HTTP-EQUIV="Content-Type" CONTENT="text/html;CHARSET=iso-8859-1">
5
<TITLE>MIOS Hex Upload</TITLE>
6
<LINK REL="stylesheet" TYPE="text/css" HREF="standard.css">
7
</HEAD>
8
<BODY bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#000066" alink="#0000ff">
9
<HR>
10
<CENTER><H1>MIOS Hex Upload</H1></CENTER>
11
<p>The MIOS Hex upload allows hex files for MIOS and MidiBox applications to be upload via SysEx messages. The hex file memory dump will be transmitted in a scrambled form, since the SysEx protocol doesn't allow the transfer of 8-bit values. Instead the whole dump will be sent in 7-bit packages, and converted back by the receiver to 8-bit values.
12
<p><img src="images/upload_mios.png">
13
 
14
<p>There are two methods for package flow control: A "smart" mode and a "manual" method. The first "smart" mode uses feedback from the core to control the rate of sending packages.
15
 
16
<p>In "this mode, packages are only sent once the previous write acknowlede message is recieved. If an error message is encountered or a bad checksum is received, the previous package is resent. After three failed attempts, the upload process is aborted.
17
 
18
<p><img src="images/upload_flow_control.png">
19
 
20
<p>The manual method will upload each package after a given delay time. Acknowledge and error messages will be displayed but will not have any effect on the upload process.
21
<p><img src="images/upload_manual.png">
22
 
23
<p>The "Wait for upload request..." option is useful for uploading MIOS updates as the first package must be sent within two seconds of receiving the "Request for Upload" SyxString. An easy way to control this is:
24
 
25
<ol>
26
    <li>With the MidiBox hardware turned OFF, load the MIOS hex file by pressing the "Browse" button and selecting the required file, eg "mios_v1_7.hex".<br><br></li>
27
    <li>Make sure the "Wait for upload request before starting upload request" option is ticked.<br><br></li>
28
    <li>Select either "Use feedback from core" for smart mode or "Don't use feedback from core" for manual flow control.<br><br></li>
29
    <li>Press the "Start" button. The upload process will pause while awaiting the "Request for Upload" SyxString<br><br></li>
30
 
31
    <li>Turn the MidiBox hardware ON. Once the upload request is received the upload process will start, ensuring the first package is sent within two seconds.<br><br></li>
32
</ol>
33
</BODY>
34
</HTML>