HMBFDHV-832 updated shutdnmonutils.h in an attempt to fix the failure we now get. Test fails - but not sure why

This commit is contained in:
Damian Smith 2022-07-13 15:20:19 +01:00
commit 777e3ea5ca
5 changed files with 617 additions and 519 deletions

View file

@ -238,9 +238,10 @@ extern "C" void VUserMain0()
{
case MAINTESTNUM :
{
//pTests = new runTest(runTest::all);
pTests = new runTest(runTest::allOnEmulAndShutdown);
error = pTests->start(CORE_BASE_ADDR, zgCfg, node);
pTests = new runTest(runTest::all); // this fails
// pTests = new runTest(runTest::allOnEmulAndShutdown); // this one fails
//pTests = new runTest(runTest::shutdownMon); // this fails
error = pTests->start(CORE_BASE_ADDR, zgCfg, node);
break;
}
case ZGIMAGETEST :

View file

@ -329,10 +329,10 @@ int runTest::start(uint32_t* coreBaseAddr, zgConfig_t &zgCfg, int node)
error |= avalon_bus_test (pCore, node, avalonBusTestGroup);
if (enable.e & allOnEmul)
{
// error |= all_on_emul_test (pCore, node, allOnEmulTestGroup);
error |= all_on_emul_test_no_combine (pCore, node, allOnEmulTestGroup);
error |= all_on_emul_test_no_combine_from_seq (pCore, node, allOnEmulTestGroup);
{
//error |= all_on_emul_test (pCore, node, allOnEmulTestGroup);
error |= all_on_emul_test_no_combine_from_seq (pCore, node, allOnEmulTestGroup);
error |= all_on_emul_test_no_combine (pCore, node, allOnEmulTestGroup);
}
if (enable.e & zeroGap)
@ -1196,6 +1196,8 @@ int runTest::all_on_emul_test (CCoreAuto* pCore, int node, int testGroup)
// Do the data path common setup to get to a known starting point
error |= common_data_setup (pCore, false, 0, node);
// combine channels
//pPrintCtrl->pControl->SetCombineChans(1);
// Run test 3 times. On first loop emulation is not enabled, and so should not activate.
// On next loop, it is enabled, and 1s should be sent. Last loop also enabled, and 1s sent

View file

@ -103,7 +103,7 @@ public:
multiHeads = 0x00001000,
zeroGap = 0x00002000,
pwm = 0x00004000,
all = 0x00007fff,
all = 0x00007fff,
allOnEmulAndShutdown = 0x00000900, // FIXME remove this later
zeroGapImage = 0x10000000
};

View file

@ -114,6 +114,8 @@ protected:
// Set all PIOs as outputs
pCore->pGenericPio1->pPioOutEn->SetPioOutEn(0xffffffff);
pCore->pGenericPio1->pCtrl->SetPioCpuCtrl(1);
pCore->pGenericPio1->pPioEgress->SetPioEgress(0x0F07C00F); //SOM & HMB STM8 Serial Data to 1 (inactive)
}
void enableSomUartOrdinal(uint32_t bitmap)

File diff suppressed because it is too large Load diff