Armaan Chowfin created a merge request: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1094

Project:Branches: ar-in0/rtems:bugfix/lm3s6965_qemu-uart to 
rtems/rtos/rtems:main
Author:   Armaan Chowfin



## Summary

MR in response to: 
https://users.rtems.org/t/arm-lm3s6965-qemu-debugging-hello-exe-datasheet-differences/561?u=ar-in0

When using `CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER` , for example in 
hello.exe,  `Console_Port_Tbl` is never allocated by the bsp console 
initialization code. The lm3s69xx UART driver incorrectly interprets an 
unitialized value (0x00) as UART port base address. Subsequent rtems writes to 
the uart data register `uart->dr` are ignored by qemu -  0x00 is not recognized 
as a valid mmio address.

QEMU Command Line: `qemu-system-arm -nographic -no-reboot -serial mon:stdio -M 
lm3s6965evb -kernel hello.exe`

```ini
# config.ini
[arm/lm3s6965_qemu]
RTEMS_DEBUG = True
BUILD_SAMPLES = True
BSP_RESET_BOARD_AT_EXIT = True

# 64K RAM, 256K ROM
BSP_LM3S6965_QEMU_RAM_LENGTH = 0x00010000
BSP_LM3S6965_QEMU_ROM_LENGTH = 0x00040000
```

Code formatted with rtems `clang-format` built from source.

## Generative AI

<!--If you have used AI please use the "AI Contribution" template otherwise 
leave this blank see our fulls statement at 
https://www.rtems.org/generative-ai/-->

<!--Default settings, if it is a dropdown it will set after submission-->

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1094
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to