0
0

Has anyone generated the pickle files for the Memory Manager (MM) application?

I don’t generally use it.  The folks I’m working with started using because it was part of the release.  They tried to add the MM app following instructions (Guide-GroundSystem.txt) for adding applications using CHeaderParser.py script and when they try to send commands the command msg was not the proper length.  So that tells me they didn’t generate the file(s) correctly.  I was hoping there was an example that better describes how to add apps to that ground system tool… or maybe someone already did it for that MM app.

  • Sina
    Is there a specific issue you are having with the MM pickle files?
  • mrosburg
    ——————————————– Choose from the list above or choose -1 to exit. Which of the above structures would you like to use? 1 Line (0) -> typedef struct { Line (1) -> uint8 CmdHeader[CFE_SB_CMD_HDR_SIZE]; Line (2) -> Line (3) -> uint8 DataSize; /** uint8 MemType; /** uint8 Padding[2]; /** CFS_SymAddr_t SrcSymAddress; /** Line (8) -> } MM_PeekCmd_t; Enter the line of the parameter from the above print-out (-1 to stop): 3 dataTypeOrig: uint8 dataTypeNew: –byte paramName: DataSize paramLen: stringLen: Added: DataSize with type –byte Line (0) -> typedef struct { Line (1) -> uint8 CmdHeader[CFE_SB_CMD_HDR_SIZE]; Line (2) -> Line (3) -> uint8 MemType; /** uint8 Padding[2]; /** CFS_SymAddr_t SrcSymAddress; /** Line (7) -> } MM_PeekCmd_t; Enter the line of the parameter from the above print-out (-1 to stop): 3 dataTypeOrig: uint8 dataTypeNew: –byte paramName: MemType paramLen: stringLen: Added: MemType with type –byte Line (0) -> typedef struct { Line (1) -> uint8 CmdHeader[CFE_SB_CMD_HDR_SIZE]; Line (2) -> Line (3) -> uint8 Padding[2]; /** CFS_SymAddr_t SrcSymAddress; /** Line (6) -> } MM_PeekCmd_t; Enter the line of the parameter from the above print-out (-1 to stop): 3 Array size: 2 dataTypeOrig: uint8 dataTypeNew: –string paramName: Padding paramLen: 2 stringLen: 2 Added: Padding with type –string Line (0) -> typedef struct { Line (1) -> uint8 CmdHeader[CFE_SB_CMD_HDR_SIZE]; Line (2) -> Line (3) -> CFS_SymAddr_t SrcSymAddress; /** Line (5) -> } MM_PeekCmd_t; Enter the line of the parameter from the above print-out (-1 to stop): 3 Traceback (most recent call last): File “CHeaderParser.py”, line 418, in typeNew = parser.findKeyword(dataTypesOrig[-1]) AttributeError: CHeaderParser instance has no attribute ‘findKeyword’ [2]+ Done gedit CHeaderParser-hdr-paths.txt
  • You must to post comments
0
0

Looks like you found a bug on line 418 of {cfe_home_dir}/tools/cFS-GroundSystem/Subsystems/cmdGui/CHeaderParser.py:

typeNew = parser.findKeyword(dataTypesOrig[-1])

I think the line needs to be removed since typeNew is not being used anywhere and findKeyword is not defined in this or any parent module.

Remove it from your build and see if that does the trick.

Also, submit a bug report:
http://coreflightsystem.org/bug-reporting/

~Hope this helps~

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.