wip working usart and receive, but wrong baud rate. also 0kb flash reported; programmer broken?

This commit is contained in:
Alexander Heldt
2024-12-26 21:55:47 +01:00
parent 592717d900
commit 21df1010bf
7 changed files with 125 additions and 126 deletions

View File

@@ -157,7 +157,7 @@ LOAD build/usart.o
0x08000000 interrupt_vector_table
0x08000198 . = ALIGN (0x4)
.text 0x08000198 0x4f0
.text 0x08000198 0x4e4
0x08000198 . = ALIGN (0x4)
*(.text)
*(.text.*)
@@ -254,44 +254,44 @@ LOAD build/usart.o
0x080004e4 0x20 build/timer.o
0x080004e4 tim4_start
.text.usart2_init
0x08000504 0xf8 build/usart.o
0x08000504 0xec build/usart.o
0x08000504 usart2_init
.text.usart2_start
0x080005fc 0x20 build/usart.o
0x080005fc usart2_start
0x080005f0 0x20 build/usart.o
0x080005f0 usart2_start
.text.usart2_write_byte
0x0800061c 0x30 build/usart.o
0x0800061c usart2_write_byte
0x08000610 0x30 build/usart.o
0x08000610 usart2_write_byte
.text.usart2_write
0x0800064c 0x2a build/usart.o
0x0800064c usart2_write
0x08000640 0x2a build/usart.o
0x08000640 usart2_write
*(.rodata)
*fill* 0x08000676 0x2
.rodata 0x08000678 0xe build/main.o
*fill* 0x0800066a 0x2
.rodata 0x0800066c 0xe build/main.o
*(.rodata.*)
0x08000688 . = ALIGN (0x4)
*fill* 0x08000686 0x2
0x08000688 _data_addr = LOADADDR (.data)
0x0800067c . = ALIGN (0x4)
*fill* 0x0800067a 0x2
0x0800067c _data_addr = LOADADDR (.data)
.glue_7 0x08000688 0x0
.glue_7 0x08000688 0x0 linker stubs
.glue_7 0x0800067c 0x0
.glue_7 0x0800067c 0x0 linker stubs
.glue_7t 0x08000688 0x0
.glue_7t 0x08000688 0x0 linker stubs
.glue_7t 0x0800067c 0x0
.glue_7t 0x0800067c 0x0 linker stubs
.vfp11_veneer 0x08000688 0x0
.vfp11_veneer 0x08000688 0x0 linker stubs
.vfp11_veneer 0x0800067c 0x0
.vfp11_veneer 0x0800067c 0x0 linker stubs
.v4_bx 0x08000688 0x0
.v4_bx 0x08000688 0x0 linker stubs
.v4_bx 0x0800067c 0x0
.v4_bx 0x0800067c 0x0 linker stubs
.iplt 0x08000688 0x0
.iplt 0x08000688 0x0 build/main.o
.iplt 0x0800067c 0x0
.iplt 0x0800067c 0x0 build/main.o
.rel.dyn 0x08000688 0x0
.rel.iplt 0x08000688 0x0 build/main.o
.rel.dyn 0x0800067c 0x0
.rel.iplt 0x0800067c 0x0 build/main.o
.data 0x20000000 0x0 load address 0x08000688
.data 0x20000000 0x0 load address 0x0800067c
0x20000000 . = ALIGN (0x4)
0x20000000 _data_start = .
*(.data)
@@ -299,10 +299,10 @@ LOAD build/usart.o
0x20000000 . = ALIGN (0x4)
0x20000000 _data_end = .
.igot.plt 0x20000000 0x0 load address 0x08000688
.igot.plt 0x20000000 0x0 load address 0x0800067c
.igot.plt 0x20000000 0x0 build/main.o
.bss 0x20000000 0x0 load address 0x08000688
.bss 0x20000000 0x0 load address 0x0800067c
0x20000000 . = ALIGN (0x4)
0x20000000 _bss_start = .
*(.bss)
@@ -381,12 +381,12 @@ LOAD linker stubs
.debug_macro 0x00003cb3 0xb74 build/usart.o
.debug_macro 0x00004827 0x82 build/usart.o
.debug_line 0x00000000 0x666
.debug_line 0x00000000 0x661
.debug_line 0x00000000 0x116 build/gpio.o
.debug_line 0x00000116 0x1e4 build/main.o
.debug_line 0x000002fa 0xea build/startup.o
.debug_line 0x000003e4 0xdf build/timer.o
.debug_line 0x000004c3 0x1a3 build/usart.o
.debug_line 0x000004c3 0x19e build/usart.o
.debug_str 0x00000000 0x63e6
.debug_str 0x00000000 0x5508 build/gpio.o