fixing bootloader05
This commit is contained in:
Binary file not shown.
@@ -129067,7 +129067,7 @@
|
||||
:10009000E3FFFFEB200010E3FBFFFF0A10009FE5EA
|
||||
:1000A0000410A0E1D8FFFFEB1040BDE81EFF2FE1D8
|
||||
:1000B000545021204050212008402DE910009FE598
|
||||
:1000C000D7FFFFEB010C10E3FBFFFF0A0840BDE880
|
||||
:1000C000D7FFFFEB010C10E3FBFFFF1A0840BDE870
|
||||
:1000D0001EFF2FE15450212038402DE90050A0E1AF
|
||||
:1000E0002040A0E3044044E23534A0E10F3003E2B5
|
||||
:1000F000090053E33700838230008392E0FFFFEB77
|
||||
|
||||
@@ -83,7 +83,7 @@ Disassembly of section .text:
|
||||
2000bc: e59f0010 ldr r0, [pc, #16] ; 2000d4 <uart_flush+0x1c>
|
||||
2000c0: ebffffd7 bl 200024 <GET32>
|
||||
2000c4: e3100c01 tst r0, #256 ; 0x100
|
||||
2000c8: 0afffffb beq 2000bc <uart_flush+0x4>
|
||||
2000c8: 1afffffb bne 2000bc <uart_flush+0x4>
|
||||
2000cc: e8bd4008 pop {r3, lr}
|
||||
2000d0: e12fff1e bx lr
|
||||
2000d4: 20215054 eorcs r5, r1, r4, asr r0
|
||||
|
||||
Binary file not shown.
@@ -61,7 +61,7 @@ void uart_flush ( void )
|
||||
{
|
||||
while(1)
|
||||
{
|
||||
if(GET32(AUX_MU_LSR_REG)&0x100) break;
|
||||
if((GET32(AUX_MU_LSR_REG)&0x100)==0) break;
|
||||
}
|
||||
}
|
||||
//------------------------------------------------------------------------
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user