changed ptme uio on te0720

This commit is contained in:
Jakob Meier 2021-11-17 11:27:29 +01:00
parent f75e7b2002
commit 9e9a19ebb0
4 changed files with 4 additions and 3 deletions

View File

@ -438,7 +438,7 @@ void PdecHandler::getClcw() {
#if OBSW_DEBUG_PDEC_HANDLER == 1
uint32_t clcw = *(registerBaseAddress + PDEC_CLCW_OFFSET);
if (debugDivider == 5) {
if (debugDivider == 10) {
printClcw(clcw);
debugDivider = 0;
return;

View File

@ -106,6 +106,7 @@ private:
static const uint32_t PDEC_BFREE_OFFSET = 0xA24;
static const uint32_t PDEC_BPTR_OFFSET = 0xA25;
static const uint32_t PDEC_SLEN_OFFSET = 0xA26;
static const uint32_t PDEC_MON = 0xA27;
#if BOARD_TE0720 == 1
static const int CONFIG_MEMORY_MAP_SIZE = 0x400;

View File

@ -22,7 +22,7 @@ namespace PtmeConfig {
#if BOARD_TE0720 == 0
static const char UIO_DEVICE_FILE[] = "/dev/uio1";
#else
static const char UIO_DEVICE_FILE[] = "/dev/uio0";
static const char UIO_DEVICE_FILE[] = "/dev/uio1";
#endif
};

View File

@ -86,7 +86,7 @@ ReturnValue_t StarTrackerHandler::scanForReply(const uint8_t *start, size_t rema
continue;
}
case ARC_DEC_ASYNC: {
sif::debug << "StarTrackerHandler::scanForReply: Received asychronous tm" << std::endl;
sif::debug << "StarTrackerHandler::scanForReply: Received asynchronous tm" << std::endl;
/** No asynchronous replies are expected as of now */
return RETURN_FAILED;
}