76 lines
3.9 KiB
C
76 lines
3.9 KiB
C
#ifndef FPGABEAMMEUPSTRING_H
|
|
#define FPGABEAMMEUPSTRING_H
|
|
|
|
#include <QString>
|
|
|
|
#define STR_TRY_TO_REPEAT_READ "Try to repeat read from tftp."
|
|
#define STR_TRY_TO_REPEAT_WRITE "Try to repeat write to tftp."
|
|
#define STR_TRY_TOO_WRITE "Try too much to write on tftp."
|
|
#define STR_TRY_TOO_READ "Try too much to read from tftp."
|
|
#define STR_COMMAND_WRITE "command (write): %1"
|
|
#define STR_COMMAND_READ "command (read): %1"
|
|
#define STR_COMMAND_READ_DIRECT "command (read direct): %1"
|
|
|
|
|
|
//event
|
|
#define STR_EVN_START "evn_start"
|
|
#define STR_EVN_TIMEOUT "evn_timeout"
|
|
#define STR_EVN_WRITE_COMPLETED "evn_write_completed"
|
|
#define STR_EVN_READ_COMPLETED "evn_read_completed"
|
|
#define STR_EVN_BREAK "evn_break"
|
|
#define STR_EVN_ABORT "evn_abort"
|
|
#define STR_EVN_ERROR "evn_error"
|
|
#define STR_EVN_ERASE "evn_erase"
|
|
#define STR_EVN_RESET "evn_reset"
|
|
#define STR_EVN_READFLASHID "evn_readFlashID"
|
|
#define STR_EVN_READSTATUSSPI "evn_readStatusSPI"
|
|
#define STR_EVN_TERMINATE "evn_terminate"
|
|
#define STR_EVN_NC "evn_nc"
|
|
|
|
|
|
#define STR_EXCP_BREAK "Exception: break!"
|
|
#define STR_TIMEOUT_QUEUE "timeout, queue event: %1"
|
|
#define STR_WRITE_COMPLETED_QUEUE "write_completed, queue event: %1"
|
|
#define STR_READ_COMPLETED_QUEUE "read_completed, queue event: %1"
|
|
#define STR_QUEUE_EVENT "%1, queue event: %2"
|
|
#define STR_QUEUE_EVENT_EMPTY "queue event is empty"
|
|
|
|
#define STR_WRITE_RAMP "Program started, write ramp"
|
|
#define STR_WRITE_FILE "Program started, write file: %1"
|
|
#define STR_ERROR_LOAD_FILE "ERROR load binary file: %1"
|
|
#define STR_STOP_PROGRAM "Stop program"
|
|
#define STR_START_ERASE "Erase started..."
|
|
#define STR_STOP_ERASE "Stop erase"
|
|
#define STR_START_RESET "Reset started..."
|
|
#define STR_STOP_RESET "Stop reset"
|
|
#define STR_START_READ_FLASH_ID "Read flashID started..."
|
|
#define STR_STOP_READ_FLASH_ID "Stop read flashID"
|
|
#define STR_START_READ_SPI_STATUS "Read SPI Status started..."
|
|
#define STR_STOP_READ_SPI_STATUS "Stop read SPI Status"
|
|
#define STR_START_TERMINATE "Terminate started..."
|
|
#define STR_STOP_TERMINATE "Stop terminate"
|
|
#define STR_ENGINE_ERROR "Error %1"
|
|
#define STR_EXCEPTION "Exception: %1"
|
|
#define STR_TFTP_WRITE_COMPLETED "Write Completed"
|
|
#define STR_TFTP_SEND_ERROR "Send Error!"
|
|
#define STR_TFTP_TRANFER_ERROR "Transfer Error!"
|
|
#define STR_TFTP_RECEIVE_COMPLETED "Received completed"
|
|
#define STR_START_REQUEST_SIZE "Start requested size %1"
|
|
#define STR_START_REQUEST_FROM "Start requested from address 0x%1"
|
|
#define STR_START_ERASE_SIZE "Start erase size %1"
|
|
#define STR_STOP_TIMEOUT "TimeOut - stop program"
|
|
#define STR_OK_PROGRAM "FLASH %1 is programmed."
|
|
|
|
#define STR_TITLE_SERVER "Server TFTP is not connected"
|
|
#define STR_SERVER_IS_NOT_CONNECTED "Before pressing the <CONNECT> key, \nyou need to connect to the TFTP server."
|
|
|
|
#define STR_TITLE_SELECTION "FPGA-FLASH not selected"
|
|
#define STR_SELECTION_NOT_VALID "Before pressing the <START> key, \nyou need to select one fpga-flash from the list."
|
|
|
|
#define STR_START_WORK "Select %1 - spi port: %2 - address: %3."
|
|
|
|
QString getEventStr(unsigned int _evn);
|
|
|
|
|
|
#endif // FPGABEAMMEUPSTRING_H
|