summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaptor Engineering Development Team <support@raptorengineering.com>2018-01-17 22:06:05 -0600
committerRaptor Engineering Development Team <support@raptorengineering.com>2019-04-19 12:14:35 +0000
commita1f574fe60cf3e299f22bc39f4de40bc7ea0d87c (patch)
tree7a35a259910fc62a9109d7ddc36d865d1d1d5ca2
parent8ef16543ce4af45f55d6235dc9e69b700658fe72 (diff)
downloadpdbg-04-16-2019.zip
pdbg-04-16-2019.tar.gz
Clarify CFAM failure reason04-16-2019
-rw-r--r--libpdbg/bmcfsi.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/libpdbg/bmcfsi.c b/libpdbg/bmcfsi.c
index f9cee3d..785512c 100644
--- a/libpdbg/bmcfsi.c
+++ b/libpdbg/bmcfsi.c
@@ -370,7 +370,15 @@ static int fsi_getcfam(struct fsi *fsi, uint32_t addr, uint32_t *value)
rc = fsi_d_poll_wait(0, &resp, 36);
if (rc != FSI_ACK) {
- PR_DEBUG("getcfam error. Response: 0x%01x\n", rc);
+ if (rc == FSI_ERR_A) {
+ PR_ERROR("getcfam failed. Remote system returned ERR_A (Error Acknowledge) -- operation prohibited or CRC error detected in transmission\n");
+ }
+ else if (rc == FSI_ERR_C) {
+ PR_ERROR("getcfam failed. Remote system returned ERR_C (CRC Error) -- CRC error detected in transmission\n");
+ }
+ else {
+ PR_DEBUG("getcfam error. Response: 0x%01x\n", rc);
+ }
rc = -1;
}
OpenPOWER on IntegriCloud