doubt regarding uart print using monitor mww command when using GDB open OCD setup

6 views
Skip to first unread message

Akhil Suresh

unread,
Dec 7, 2025, 3:24:13 AM (6 days ago) Dec 7
to RISC-V SW Dev
so when i am using monitor mww 0x10000100 = 0x47 to print an ascii character corresponding to 0x47 in my UART window if 0x10000100 is my UART base address it prints the ascii character in UART window . as i am doing this after all initialization as already i have bootloader in the window. 

 At the same time when i use same command but when i changed my UART base address to 0x20041000 it doesn't print ascii character in UART window why is that ?

is there any restriction to address range that can be accessed through program buffer execution when i give this command inside debugger it goes as lw or sw instruction in program buffer right?

SBA is diabbled in my debugger and in my debugger there is no restriction in addresss to access via program buffer 
is there something in risc v toolchain or open ocd that prevents this and only support canonical address ranges from 00000000-0fffffff and 10000000 - 1fffffff ?

in both cases i can print the ascii charecter if i load these access to these address as an elf instruction then run my core by continue (core rv32im)
Reply all
Reply to author
Forward
0 new messages