# HG changeset patch # User Michael Spacefalcon # Date 1366872977 0 # Node ID a52e76c12e6b4e7d9a33ad9b6119a61744f8db39 # Parent 2d9c927cc24b22ead6c490c4d831d9af37f22b3d boot ROM re: some sensible documentation written up diff -r 2d9c927cc24b -r a52e76c12e6b bootrom.notes --- a/bootrom.notes Thu Apr 25 06:03:27 2013 +0000 +++ b/bootrom.notes Thu Apr 25 06:56:17 2013 +0000 @@ -53,8 +53,19 @@ b' response is sent back before the +jump is performed. If the command is rejected because the downloader +is in the wrong state (see below), a '>B' response is sent back, and +the downloader is reset to its initial state, waiting for commands at +19200 baud. w Error response: >W +UART download procedure + +Step 1: the external host sends a continuous stream of 'i' response at the same baud rate. These beacons need +to be pouring down the wire into the Calypso UART while waiting for the user +to induce the Calypso target into executing the boot ROM (via battery +manipulations or other target-specific tricks). + +Step 2: when a '>i' response has been received, send a 'p' 00 04 response, still at the original +baud rate of 19200; if this response isn't received, it's an error. + +Step 2a: if the 'p response but before sending the next command. + +Step 3: send a series of '