ctb and moench fw fixed to work with pattern length so pattern command works (#535)

This commit is contained in:
Dhanya Thattil
2022-08-25 15:01:59 +02:00
committed by GitHub
parent 4638bf7cf8
commit 5a22e8b926
8 changed files with 13 additions and 12 deletions

View File

@ -92,7 +92,7 @@ uint64_t readPatternWord(int addr) {
uint32_t reg_msb = PATTERN_STEP0_MSB_REG + addr * REG_OFFSET * 2;
return get64BitReg(reg_lsb, reg_msb);
#else
LOG(logINFORED, (" Reading (Executing) Pattern Word (addr:0x%x)\n", addr));
LOG(logDEBUG1, (" Reading (Executing) Pattern Word (addr:0x%x)\n", addr));
uint32_t reg = PATTERN_CNTRL_REG;
// overwrite with only addr
@ -1074,4 +1074,4 @@ int loadPatternFile(char *patFname, char *errMessage) {
LOG(logINFOBLUE, ("Successfully read default pattern file\n"));
return OK;
}
}