Hello,
System configuration
embOS: embOS V3.82n for Renesas SH2A (sources)
MCU: SH7216
Application: based on start project (Start_SH7216) from SEGGER
I think i found some mistakes in embOS source code in UART for embOSView Rx error interrupt handler (_IsrUartErrHandler).
The ISR check the Serial Status Register (SCSSR) for errorflags and clear them. But ISR checks bit 7, 4, 3, 2 and 0 of SCSSR, which are wrong flags (see SH7216 datasheet page 767).
Additionaly some other mistake:
In OS_COM_Init() function are used wrong stand by register for activating UART module (STBCR4). The correct register is STBCR5 (see SH7216 datasheet page 1613). This mistake has no effect in start project, because the UART are already activated in reset routine. But if you use your own reset routine, may be embOSView doesn't work...
System configuration
embOS: embOS V3.82n for Renesas SH2A (sources)
MCU: SH7216
Application: based on start project (Start_SH7216) from SEGGER
I think i found some mistakes in embOS source code in UART for embOSView Rx error interrupt handler (_IsrUartErrHandler).
The ISR check the Serial Status Register (SCSSR) for errorflags and clear them. But ISR checks bit 7, 4, 3, 2 and 0 of SCSSR, which are wrong flags (see SH7216 datasheet page 767).
Additionaly some other mistake:
In OS_COM_Init() function are used wrong stand by register for activating UART module (STBCR4). The correct register is STBCR5 (see SH7216 datasheet page 1613). This mistake has no effect in start project, because the UART are already activated in reset routine. But if you use your own reset routine, may be embOSView doesn't work...