Changes between Version 6 and Version 7 of spec/Fls


Ignore:
Timestamp:
Sep 16, 2020, 3:03:12 PM (4 years ago)
Author:
fujisft-shigihara
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • spec/Fls

    v6 v7  
    1111* API一覧
    1212
    13   ||= API =||= ID[[BR]][Dec] =||= ID[[BR]][Hex] =||
    14   || [#Fls_Init Fls_Init]                     ||  0|| 0x00||
    15   || [#Fls_Erase Fls_Erase]                   ||  1|| 0x01||
    16   || [#Fls_Write Fls_Write]                   ||  2|| 0x02||
    17   || [#Fls_Cancel Fls_Cancel]                 ||  3|| 0x03||
    18   || [#Fls_GetStatus Fls_GetStatus]           ||  4|| 0x04||
    19   || [#Fls_GetJobResult Fls_GetJobResult]     ||  5|| 0x05||
    20   || [#Fls_Read Fls_Read]                     ||  7|| 0x07||
    21   || [#Fls_Compare Fls_Compare]               ||  8|| 0x08||
    22   || [#Fls_SetMode Fls_SetMode]               ||  9|| 0x09||
    23   || [#Fls_GetVersionInfo Fls_GetVersionInfo] || 16|| 0x10||
    24   || [#Fls_MainFunction Fls_MainFunction]     ||  6|| 0x06||
    25 
    26 * コンフィギュレーション一覧
    27   * [#FlsConfigSet FlsConfigSet]
    28     * [#FlsAcErase FlsAcErase]
    29     * [#FlsAcWrite FlsAcWrite]
    30     * [#FlsCallCycle FlsCallCycle]
    31     * [#FlsDefaultMode FlsDefaultMode]
    32     * [#FlsJobEndNotification FlsJobEndNotification]
    33     * [#FlsJobErrorNotification FlsJobErrorNotification]
    34     * [#FlsMaxReadFastMode FlsMaxReadFastMode]
    35     * [#FlsMaxReadNormalMode FlsMaxReadNormalMode]
    36     * [#FlsMaxWriteFastMode FlsMaxWriteFastMode]
    37     * [#FlsMaxWriteNormalMode FlsMaxWriteNormalMode]
    38     * [#FlsProtection FlsProtection]
    39     * [#FlsDemEventParameterRefs FlsDemEventParameterRefs]
    40       * [#FLS_E_COMPARE_FAILED FLS_E_COMPARE_FAILED]
    41       * [#FLS_E_ERASE_FAILED FLS_E_ERASE_FAILED]
    42       * [#FLS_E_READ_FAILED FLS_E_READ_FAILED]
    43       * [#FLS_E_UNEXPECTED_FLASH_ID FLS_E_UNEXPECTED_FLASH_ID]
    44       * [#FLS_E_WRITE_FAILED FLS_E_WRITE_FAILED]
    45     * [#FlsExternalDriver FlsExternalDriver]
    46       * [#FlsSpiReference FlsSpiReference]
    47     * [#FlsSectorList FlsSectorList]
    48       * [#FlsSector FlsSector]
    49         * [#FlsNumberOfSectors FlsNumberOfSectors]
    50         * [#FlsPageSize FlsPageSize]
    51         * [#FlsSectorSize FlsSectorSize]
    52         * [#FlsSectorStartaddress FlsSectorStartaddress]
    53   * [#FlsGeneral FlsGeneral]
    54     * [#FlsAcLoadOnJobStart FlsAcLoadOnJobStart]
    55     * [#FlsBaseAddress FlsBaseAddress]
    56     * [#FlsCancelApi FlsCancelApi]
    57     * [#FlsCompareApi FlsCompareApi]
    58     * [#FlsDevErrorDetect FlsDevErrorDetect]
    59     * [#FlsDriverIndex FlsDriverIndex]
    60     * [#FlsGetJobResultApi FlsGetJobResultApi]
    61     * [#FlsGetStatusApi FlsGetStatusApi]
    62     * [#FlsSetModeApi FlsSetModeApi]
    63     * [#FlsTotalSize FlsTotalSize]
    64     * [#FlsUseInterrupts FlsUseInterrupts]
    65     * [#FlsVersionInfoApi FlsVersionInfoApi]
    66   * [#FlsPublishedInformation FlsPublishedInformation]
    67     * [#FlsAcLocationErase FlsAcLocationErase]
    68     * [#FlsAcLocationWrite FlsAcLocationWrite]
    69     * [#FlsAcSizeErase FlsAcSizeErase]
    70     * [#FlsAcSizeWrite FlsAcSizeWrite]
    71     * [#FlsEraseTime FlsEraseTime]
    72     * [#FlsErasedValue FlsErasedValue]
    73     * [#FlsExpectedHwId FlsExpectedHwId]
    74     * [#FlsSpecifiedEraseCycles FlsSpecifiedEraseCycles]
    75     * [#FlsWriteTime FlsWriteTime]
     13  ||= API =||= ID[[BR]][Dec] =||= ID[[BR]][Hex] =||= R4.0.3 =||= R4.2.2 =||
     14  || [#Fls_Init Fls_Init]                     ||  0|| 0x00||  ○  ||  ○  ||
     15  || [#Fls_Erase Fls_Erase]                   ||  1|| 0x01||  ○  ||  ○  ||
     16  || [#Fls_Write Fls_Write]                   ||  2|| 0x02||  ○  ||  ○  ||
     17  || [#Fls_Cancel Fls_Cancel]                 ||  3|| 0x03||  ○  ||  ○  ||
     18  || [#Fls_GetStatus Fls_GetStatus]           ||  4|| 0x04||  ○  ||  ○  ||
     19  || [#Fls_GetJobResult Fls_GetJobResult]     ||  5|| 0x05||  ○  ||  ○  ||
     20  || [#Fls_Read Fls_Read]                     ||  7|| 0x07||  ○  ||  ○  ||
     21  || [#Fls_Compare Fls_Compare]               ||  8|| 0x08||  ○  ||  ○  ||
     22  || [#Fls_SetMode Fls_SetMode]               ||  9|| 0x09||  ○  ||  ○  ||
     23  || [#Fls_GetVersionInfo Fls_GetVersionInfo] || 16|| 0x10||  ○  ||  ○  ||
     24  || [#Fls_BlankCheck Fls_BlankCheck]         || 10|| 0x0A||  -   ||  ○  ||
     25  || [#Fls_MainFunction Fls_MainFunction]     ||  6|| 0x06||  ○  ||  ○  ||
     26
     27* コンフィギュレーション一覧(R4.0.3 / R4.2.2)
     28  * [#FlsConfigSet FlsConfigSet] (○/○)
     29    * [#FlsAcErase FlsAcErase] (○/○)
     30    * [#FlsAcWrite FlsAcWrite] (○/○)
     31    * [#FlsCallCycle FlsCallCycle] (○/○)
     32    * [#FlsDefaultMode FlsDefaultMode] (○/○)
     33    * [#FlsJobEndNotification FlsJobEndNotification] (○/○)
     34    * [#FlsJobErrorNotification FlsJobErrorNotification] (○/○)
     35    * [#FlsMaxReadFastMode FlsMaxReadFastMode] (○/○)
     36    * [#FlsMaxReadNormalMode FlsMaxReadNormalMode] (○/○)
     37    * [#FlsMaxWriteFastMode FlsMaxWriteFastMode] (○/○)
     38    * [#FlsMaxWriteNormalMode FlsMaxWriteNormalMode] (○/○)
     39    * [#FlsProtection FlsProtection] (○/○)
     40    * [#FlsDemEventParameterRefs FlsDemEventParameterRefs] (○/○)
     41      * [#FLS_E_COMPARE_FAILED FLS_E_COMPARE_FAILED] (○/○)
     42      * [#FLS_E_ERASE_FAILED FLS_E_ERASE_FAILED] (○/○)
     43      * [#FLS_E_READ_FAILED FLS_E_READ_FAILED] (○/○)
     44      * [#FLS_E_UNEXPECTED_FLASH_ID FLS_E_UNEXPECTED_FLASH_ID] (○/○)
     45      * [#FLS_E_WRITE_FAILED FLS_E_WRITE_FAILED] (○/○)
     46    * [#FlsExternalDriver FlsExternalDriver] (○/○)
     47      * [#FlsSpiReference FlsSpiReference] (○/○)
     48    * [#FlsSectorList FlsSectorList] (○/○)
     49      * [#FlsSector FlsSector] (○/○)
     50        * [#FlsNumberOfSectors FlsNumberOfSectors] (○/○)
     51        * [#FlsPageSize FlsPageSize] (○/○)
     52        * [#FlsSectorSize FlsSectorSize] (○/○)
     53        * [#FlsSectorStartaddress FlsSectorStartaddress] (○/○)
     54  * [#FlsGeneral FlsGeneral] (○/○)
     55    * [#FlsAcLoadOnJobStart FlsAcLoadOnJobStart] (○/○)
     56    * [#FlsBaseAddress FlsBaseAddress] (○/○)
     57    * [#FlsBlankCheckApi FlsBlankCheckApi] (-/○)
     58    * [#FlsCancelApi FlsCancelApi] (○/○)
     59    * [#FlsCompareApi FlsCompareApi] (○/○)
     60    * [#FlsDevErrorDetect FlsDevErrorDetect] (○/○)
     61    * [#FlsDriverIndex FlsDriverIndex] (○/○)
     62    * [#FlsGetJobResultApi FlsGetJobResultApi] (○/○)
     63    * [#FlsGetStatusApi FlsGetStatusApi] (○/○)
     64    * [#FlsSetModeApi FlsSetModeApi] (○/○)
     65    * [#FlsTotalSize FlsTotalSize] (○/○)
     66    * [#FlsUseInterrupts FlsUseInterrupts] (○/○)
     67    * [#FlsVersionInfoApi FlsVersionInfoApi] (○/○)
     68  * [#FlsPublishedInformation FlsPublishedInformation] (○/○)
     69    * [#FlsAcLocationErase FlsAcLocationErase] (○/○)
     70    * [#FlsAcLocationWrite FlsAcLocationWrite] (○/○)
     71    * [#FlsAcSizeErase FlsAcSizeErase] (○/○)
     72    * [#FlsAcSizeWrite FlsAcSizeWrite] (○/○)
     73    * [#FlsEraseTime FlsEraseTime] (○/○)
     74    * [#FlsErasedValue FlsErasedValue] (○/○)
     75    * [#FlsExpectedHwId FlsExpectedHwId] (○/○)
     76    * [#FlsSpecifiedEraseCycles FlsSpecifiedEraseCycles] (○/○)
     77    * [#FlsWriteTime FlsWriteTime] (○/○)
    7678
    7779* エラーコード一覧
    78   * "--"は[wiki:spec_DiagnosticEventManager Dem]により決定される
    79 
    80   ||= エラーコード =||= Dec =||= Hex =||
    81   || FLS_E_PARAM_CONFIG        ||  1|| 0x01||
    82   || FLS_E_PARAM_ADDRESS       ||  2|| 0x02||
    83   || FLS_E_PARAM_LENGTH        ||  3|| 0x03||
    84   || FLS_E_PARAM_DATA          ||  4|| 0x04||
    85   || FLS_E_UNINIT              ||  5|| 0x05||
    86   || FLS_E_BUSY                ||  6|| 0x06||
    87   || FLS_E_VERIFY_ERASE_FAILED ||  7|| 0x07||
    88   || FLS_E_VERIFY_WRITE_FAILED ||  8|| 0x08||
    89   || FLS_E_TIMEOUT             ||  9|| 0x09||
    90   || FLS_E_PARAM_POINTER       || 10|| 0x0A||
    91   || FLS_E_ERASE_FAILED        || --||   --||
    92   || FLS_E_WRITE_FAILED        || --||   --||
    93   || FLS_E_READ_FAILED         || --||   --||
    94   || FLS_E_COMPARE_FAILED      || --||   --||
    95   || FLS_E_UNEXPECTED_FLASH_ID || --||   --||
     80
     81  ||= エラーコード =||= Dec =||= Hex =||= R4.0.3 =||= R4.2.2 =||= 備考 =||
     82  || FLS_E_PARAM_CONFIG        ||  1|| 0x01||  ○  ||  ○  ||||
     83  || FLS_E_PARAM_ADDRESS       ||  2|| 0x02||  ○  ||  ○  ||||
     84  || FLS_E_PARAM_LENGTH        ||  3|| 0x03||  ○  ||  ○  ||||
     85  || FLS_E_PARAM_DATA          ||  4|| 0x04||  ○  ||  ○  ||||
     86  || FLS_E_UNINIT              ||  5|| 0x05||  ○  ||  ○  ||||
     87  || FLS_E_BUSY                ||  6|| 0x06||  ○  ||  ○  ||||
     88  || FLS_E_VERIFY_ERASE_FAILED ||  7|| 0x07||  ○  ||  ○  ||||
     89  || FLS_E_VERIFY_WRITE_FAILED ||  8|| 0x08||  ○  ||  ○  ||||
     90  || FLS_E_TIMEOUT             ||  9|| 0x09||  ○  ||  ○  ||||
     91  || FLS_E_PARAM_POINTER       || 10|| 0x0A||  ○  ||  ○  ||||
     92  || FLS_E_ERASE_FAILED        ||  1|| 0x01||  ○  ||  ○  ||Production Errors(R4.0.3では値は[wiki:spec/Dem Dem]により決定される)||
     93  || FLS_E_WRITE_FAILED        ||  2|| 0x02||  ○  ||  ○  ||Production Errors(R4.0.3では値は[wiki:spec/Dem Dem]により決定される)||
     94  || FLS_E_READ_FAILED         ||  3|| 0x03||  ○  ||  ○  ||Production Errors(R4.0.3では値は[wiki:spec/Dem Dem]により決定される)||
     95  || FLS_E_COMPARE_FAILED      ||  4|| 0x04||  ○  ||  ○  ||Production Errors(R4.0.3では値は[wiki:spec/Dem Dem]により決定される)||
     96  || FLS_E_UNEXPECTED_FLASH_ID ||  5|| 0x05||  ○  ||  ○  ||Production Errors(R4.0.3では値は[wiki:spec/Dem Dem]により決定される)||
    9697
    9798----
     
    106107== Fls_Erase ==
    107108{{{
    108 Std_ReturnType Fls_Erase(Fls_AddressType TargetAddress,
    109  Fls_LengthType Length)
     109Std_ReturnType Fls_Erase(Fls_AddressType TargetAddress, Fls_LengthType Length)
    110110}}}
    111111
     
    150150}}}
    151151
     152== Fls_BlankCheck ==
     153{{{
     154Std_ReturnType Fls_BlankCheck(Fls_AddressType TargetAddress, Fls_LengthType Length)
     155}}}
     156
    152157== Fls_MainFunction ==
    153158{{{
     
    172177* 型:IntegerParam
    173178* 多重度:1
     179* 上限値:4294967295
     180* 下限値:0
    174181
    175182== FlsAcWrite ==
     
    179186* 型:IntegerParam
    180187* 多重度:1
     188* 上限値:4294967295
     189* 下限値:0
    181190
    182191== FlsCallCycle ==
     
    186195* 型:FloatParam
    187196* 多重度:1
     197* 上限値:1
     198* 下限値:0
    188199
    189200== FlsDefaultMode ==
     
    193204* 型:EnumerationParam
    194205* 多重度:1
     206* 選択肢:
     207  * MEMIF_MODE_FAST
     208  * MEMIF_MODE_SLOW
     209* デフォルト値:MEMIF_MODE_SLOW
    195210
    196211== FlsJobEndNotification ==
     
    214229* 型:IntegerParam
    215230* 多重度:1
     231* 上限値:4294967295
     232* 下限値:0
    216233
    217234== FlsMaxReadNormalMode ==
     
    221238* 型:IntegerParam
    222239* 多重度:1
     240* 上限値:4294967295
     241* 下限値:0
    223242
    224243== FlsMaxWriteFastMode ==
     
    228247* 型:IntegerParam
    229248* 多重度:1
     249* 上限値:4294967295
     250* 下限値:0
    230251
    231252== FlsMaxWriteNormalMode ==
     
    235256* 型:IntegerParam
    236257* 多重度:1
     258* 上限値:4294967295
     259* 下限値:0
    237260
    238261== FlsProtection ==
     
    242265* 型:IntegerParam
    243266* 多重度:1
     267* 上限値:4294967295
     268* 下限値:0
    244269
    245270== FlsDemEventParameterRefs ==
     
    256281* 型:Reference
    257282* 多重度:0..1
     283* 参照先:{{{/AUTOSAR/EcucDefs/Dem/DemConfigSet/DemEventParameter}}}
    258284
    259285== FLS_E_ERASE_FAILED ==
     
    263289* 型:Reference
    264290* 多重度:0..1
     291* 参照先:{{{/AUTOSAR/EcucDefs/Dem/DemConfigSet/DemEventParameter}}}
    265292
    266293== FLS_E_READ_FAILED ==
     
    270297* 型:Reference
    271298* 多重度:0..1
     299* 参照先:{{{/AUTOSAR/EcucDefs/Dem/DemConfigSet/DemEventParameter}}}
    272300
    273301== FLS_E_UNEXPECTED_FLASH_ID ==
     
    277305* 型:Reference
    278306* 多重度:0..1
     307* 参照先:{{{/AUTOSAR/EcucDefs/Dem/DemConfigSet/DemEventParameter}}}
    279308
    280309== FLS_E_WRITE_FAILED ==
     
    284313* 型:Reference
    285314* 多重度:0..1
     315* 参照先:{{{/AUTOSAR/EcucDefs/Dem/DemConfigSet/DemEventParameter}}}
    286316
    287317== FlsExternalDriver ==
     
    298328* 型:Reference
    299329* 多重度:1..*
     330* 参照先:{{{/AUTOSAR/EcucDefs/Spi/SpiDriver/SpiSequence}}}
    300331
    301332== FlsSectorList ==
     
    319350* 型:IntegerParam
    320351* 多重度:1
     352* 上限値:65535
     353* 下限値:0
    321354
    322355== FlsPageSize ==
     
    326359* 型:IntegerParam
    327360* 多重度:1
     361* 上限値:4294967295
     362* 下限値:0
    328363
    329364== FlsSectorSize ==
     
    333368* 型:IntegerParam
    334369* 多重度:1
     370* 上限値:4294967295
     371* 下限値:0
    335372
    336373== FlsSectorStartaddress ==
     
    340377* 型:IntegerParam
    341378* 多重度:1
     379* 上限値:4294967295
     380* 下限値:0
    342381
    343382== FlsGeneral ==
     
    354393* 型:BooleanParam
    355394* 多重度:1
     395* デフォルト値:false
    356396
    357397== FlsBaseAddress ==
     
    361401* 型:IntegerParam
    362402* 多重度:1
     403* 上限値:4294967295
     404* 下限値:0
     405
     406== FlsBlankCheckApi ==
     407{{{
     408/AUTOSAR/EcucDefs/Fls/FlsGeneral/FlsBlankCheckApi
     409}}}
     410* 型:BooleanParam
     411* 多重度:1
     412* デフォルト値:false
    363413
    364414== FlsCancelApi ==
     
    382432* 型:BooleanParam
    383433* 多重度:1
     434* デフォルト値:true
    384435
    385436== FlsDriverIndex ==
     
    389440* 型:IntegerParam
    390441* 多重度:1
     442* 上限値:254
     443* 下限値:0
    391444
    392445== FlsGetJobResultApi ==
     
    417470* 型:IntegerParam
    418471* 多重度:1
     472* 上限値:4294967295
     473* 下限値:0
    419474
    420475== FlsUseInterrupts ==
     
    424479* 型:BooleanParam
    425480* 多重度:1
     481* デフォルト値:false
    426482
    427483== FlsVersionInfoApi ==
     
    445501* 型:IntegerParam
    446502* 多重度:1
     503* 上限値:4294967295
     504* 下限値:0
    447505
    448506== FlsAcLocationWrite ==
     
    452510* 型:IntegerParam
    453511* 多重度:1
     512* 上限値:4294967295
     513* 下限値:0
    454514
    455515== FlsAcSizeErase ==
     
    459519* 型:IntegerParam
    460520* 多重度:1
     521* 上限値:4294967295
     522* 下限値:0
    461523
    462524== FlsAcSizeWrite ==
     
    466528* 型:IntegerParam
    467529* 多重度:1
     530* 上限値:4294967295
     531* 下限値:0
    468532
    469533== FlsEraseTime ==
     
    473537* 型:FloatParam
    474538* 多重度:1
     539* 上限値:Inf
     540* 下限値:0
    475541
    476542== FlsErasedValue ==
     
    480546* 型:IntegerParam
    481547* 多重度:1
     548* 上限値:4294967295
     549* 下限値:0
    482550
    483551== FlsExpectedHwId ==
     
    494562* 型:IntegerParam
    495563* 多重度:1
     564* 上限値:4294967295
     565* 下限値:0
    496566
    497567== FlsWriteTime ==
     
    501571* 型:FloatParam
    502572* 多重度:1
     573* 上限値:Inf
     574* 下限値:0