Project

General

Profile

Actions

Feature #3221

closed

Test Watchdog

Added by Veronique bouzid over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
16/11/2018
Due date:
% Done:

0%

Estimated time:

Description

Version 3.2.0.24-gcov

La fonction watchdog_stop() du fichier fsw_misc.c n est jamais atteinte en utilisant la version du soft de GCOV.

Un test a été effectué à la main pour forcer le watcdog a se déclencher (ecrire du 0 dans le register correspondant ).

GPTIMER_BASE_ADDR=0x80000300
WATCHDOG_TIMER_OFFSET=0x20
def trigger_watchdog():
... SpwPlugin0.Write(GPTIMER_BASE_ADDR+WATCHDOG_TIMER_OFFSET,[3])
trigger_watchdog()

--> LFR s'arrete

Les 3 requirements liés au watchdog sont
SSS-CP-FS-520 (REQ-LFR-SRS-5230) Test couvert par SVS-0057
SSS-CP-FS-530 (REQ-LFR-SRS-5231) Inspection
SSS-CP-FS-540 (REQ-LFR-SRS-5232) Inspection

Concernant le SSS-CP-FS-530, la couverture GCOV montre que la fonction watchdog_reload() (fichier fsw_misc.c) est appelée un tres grand nombre de fois. La fonction watchdog_stop () n a pas été atteinte durant la campagne de validation le version 3.2.0.24.

Concernant le SSS-CP-FS-540, un script manuel ecrit 0 dans le watchdog counter . LFR s'arrete.
Ce requirement est donc vérifié en inspection et en test.
L'utilisation de la fonction watchdog_stop() ne peut etre verifiée dans la version GCOV ( exit(0) et donc pas possible d envoyer TC_LFR_RESET).

Il faut donc mettre à jour la matrice de compliance et la SVS ( SVS-0058 et test_watchdog.py).

Actions #1

Updated by Veronique bouzid over 5 years ago

  • Description updated (diff)
  • Status changed from New to In Progress
Actions #2

Updated by Veronique bouzid over 5 years ago

Ma matrice de compliance a été mise à jour:
Le SSS-CP-FS-540 est validé par Test et Inspection. Le nom du script est test_watchdog.py

La SVS a été mise à jour:
Création de SVS-0058 et utilisation du script test_watchdog.py.

--> Bruno doit verifier le SUM et eventuellement le Verification Report.

Actions #3

Updated by bruno katra over 5 years ago

  • Status changed from In Progress to Closed

Le SUM était à jour.
SVerR 2.5 mis à jour

Actions

Also available in: Atom PDF