# HG changeset patch # User Michael Spacefalcon # Date 1366862830 0 # Node ID d2206cb5f8b42df0d4c5ab2185a3a10aa042ef13 # Parent 383a4ef12551d0b304dc96fbafd00c1862316e65 boot ROM re: got through the W 880: e3a00004 mov r0, #4 ; 0x4 884: ebfffe2c bl 0x13c +; reset baud rate to 19200 888: e5d41008 ldrb r1, [r4, #8] 88c: e3a00004 mov r0, #4 ; 0x4 890: eb0002d0 bl 0x13d8 +; var init 894: e1a00004 mov r0, r4 898: ebfffe1f bl 0x11c 89c: e3a00001 mov r0, #1 ; 0x1 8a0: e8bd83f0 ldmia sp!, {r4, r5, r6, r7, r8, r9, pc} - +; good return: send >w to host 8a4: e3a00003 mov r0, #3 ; 0x3 8a8: ebfffe23 bl 0x13c 8ac: e3a00000 mov r0, #0 ; 0x0 diff -r 383a4ef12551 -r d2206cb5f8b4 bootrom.notes --- a/bootrom.notes Thu Apr 25 03:16:17 2013 +0000 +++ b/bootrom.notes Thu Apr 25 04:07:10 2013 +0000 @@ -48,6 +48,9 @@ w +Error response: >W + RAM layout: 800000 7 words: @@ -155,6 +172,10 @@ 800530: byte indicates validity of the received 'W message + set to 02 if the 800530 flag was set + set to 01 if the 0x730 routine detects bad address 800534: byte initialized to 0x00, then may be set to 1 by the 0xfb4 routine if it selects /1 clock mode.