Project

General

Profile

Actions

Bug #635

closed

HK_LFR_DPU_SPW_LINK_STATE never changes

Added by Veronique bouzid over 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
-
Start date:
26/02/2016
Due date:
% Done:

0%

Estimated time:
revision:
r0

Description

Prévu pour 3.0.0.23 (Reponse de Paul)

Pour HK_LFR_DPU_SPW_LINK_STATE effectivement, je ne change jamais la valeur. La génération des HK n'étant pas arrêtée pendant la perte du lien, je vais faire en sorte qu'à la génération du paquet HK, le champ HK_LFR_DPU_SPW_LINK_STATE soit une copie du contenu du registre de l'IP VHDL SpaceWire (fsw >= 3.0.0.23).


Related issues

Related to Support #634: SEction HK_LFR_STATUS_WORD in TM_LFR_HKClosedpaul leroy23/02/2016

Actions
Actions #1

Updated by Veronique bouzid over 8 years ago

  • Related to Support #634: SEction HK_LFR_STATUS_WORD in TM_LFR_HK added
Actions #2

Updated by paul leroy over 8 years ago

  • Status changed from New to Feedback
  • Assignee changed from paul leroy to Veronique bouzid

Correction effectuée dans fsw >= 3.1.0.0.

Actions #3

Updated by Veronique bouzid over 8 years ago

  • Assignee changed from Veronique bouzid to paul leroy

Mettre la partie du code que tu as mis à jour pour tracabilité.

Actions #4

Updated by paul leroy over 8 years ago

Dans le module fsw_spacewire.c

void spacewire_update_hk_lfr_link_state( unsigned char *hk_lfr_status_word_0 )
{
    unsigned int *statusRegisterPtr;
    unsigned char linkState;

    statusRegisterPtr = (unsigned int *) (REGS_ADDR_GRSPW + APB_OFFSET_GRSPW_STATUS_REGISTER);
    linkState = (unsigned char) ( ( (*statusRegisterPtr) >>  21) & 0x07);   // [0000 0111]

    *hk_lfr_status_word_0 = *hk_lfr_status_word_0 & 0xf8;       // [1111 1000] set link state to 0

    *hk_lfr_status_word_0 = *hk_lfr_status_word_0 | linkState;  // update hk_lfr_dpu_spw_link_state
}
Actions #5

Updated by paul leroy over 8 years ago

  • Assignee changed from paul leroy to Veronique bouzid
Actions #6

Updated by Veronique bouzid over 6 years ago

  • Status changed from Feedback to Closed
Actions

Also available in: Atom PDF