From 795c01e5b21a33c912861fb3dc09d07e74422548 Mon Sep 17 00:00:00 2001 From: nero yang Date: Tue, 16 Apr 2019 15:38:52 +0800 Subject: [PATCH] ADD #13 : add uart_output function in os --- .../TM4C123GH6PM/ceno_os/src/uart_debug.c | 6 ------ user/nohup.out | 18 ++++++++++++++++++ 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/board/arch/arm32/ek-TM4C123gxl/TM4C123GH6PM/ceno_os/src/uart_debug.c b/board/arch/arm32/ek-TM4C123gxl/TM4C123GH6PM/ceno_os/src/uart_debug.c index 1e4690d..6aa142e 100644 --- a/board/arch/arm32/ek-TM4C123gxl/TM4C123GH6PM/ceno_os/src/uart_debug.c +++ b/board/arch/arm32/ek-TM4C123gxl/TM4C123GH6PM/ceno_os/src/uart_debug.c @@ -14,12 +14,6 @@ #include "../include/uart_debug.h" #include "TM4C123GH6PM.h" -#define UART_FR_TXFF 0x00000020 // UART Transmit FIFO Full -#define UART_FR_RXFE 0x00000010 // UART Receive FIFO Empty -#define UART_LCRH_WLEN_8 0x00000060 // 8 bit word length -#define UART_LCRH_FEN 0x00000010 // UART Enable FIFOs -#define UART_CTL_UARTEN 0x00000001 // UART Enable - void uart_debug_init(void){ // 1. Enable the UART module using the RCGCUART register (see page 319). SYSCTL->RCGCUART |= (1<<0); diff --git a/user/nohup.out b/user/nohup.out index 43a4b0d..9158cbd 100644 --- a/user/nohup.out +++ b/user/nohup.out @@ -3426,3 +3426,21 @@ Error: error starting target flash write algorithm wrote 5120 bytes from file /Users/neroyang/project/Ceno-RTOS/user/bin/CenoRTOS.bin in 5.598464s (0.893 KiB/s) adapter speed: 1 kHz Info : dropped 'telnet' connection +Error: jtag status contains invalid mode value - communication failure +Polling target tm4c123gh6pm.cpu failed, trying to reexamine +Examination failed, GDB will be halted. Polling again in 100ms +Error: jtag status contains invalid mode value - communication failure +Polling target tm4c123gh6pm.cpu failed, trying to reexamine +Examination failed, GDB will be halted. Polling again in 300ms +Error: jtag status contains invalid mode value - communication failure +Polling target tm4c123gh6pm.cpu failed, trying to reexamine +Examination failed, GDB will be halted. Polling again in 700ms +Error: jtag status contains invalid mode value - communication failure +Polling target tm4c123gh6pm.cpu failed, trying to reexamine +Examination failed, GDB will be halted. Polling again in 1500ms +Error: jtag status contains invalid mode value - communication failure +Polling target tm4c123gh6pm.cpu failed, trying to reexamine +Examination failed, GDB will be halted. Polling again in 3100ms +Error: jtag status contains invalid mode value - communication failure +Polling target tm4c123gh6pm.cpu failed, trying to reexamine +Examination failed, GDB will be halted. Polling again in 6300ms