- Modules to be configured
- Fee
- NvM
- JonFinished
- Add FeeBlock with desired value and short name
- add nvMBlockDescriptor
- Set the below items
- Continer Details
- Block Use Crc
- Calc Ram Block Crc
- Max Num Of Read Retries
- Max Num Of Write Retries
- Select Block For Read All
- Select Block For Write All
- To Be Configured
- Block Crc Type
- Block Management Type
- Nv Block Base Number
- Nv Block Length
- Nv Block Num
- Nvram Block Identifier
- Ram Block Data Address
- Rom Block Data Address
- Rom Block Num
- Single Block Callback
- Write Verification Data Size
- Continer Details
- right click on block descriptor, and then click NvMTargetBlockReference
- jump to NvMTargetBlockReference (automatically)
- Choose Ea or Fee (Normally Fee Ref)
- jump to NvMFeeRef (automatically)
- click Browse and select appropriate FeeBlock
Go to SWC_NvM
- Add provided port with NvMNotifyJobFinished Interface!!!
- Enable Provided Com Specs
- Type in Queue Length (typ: 10???)
- Add Runnable named NvMJobFinished_[BLOCKNAME]
- RTE Event > Add > Operation Invoked Event
- Go To Service and I/O tab
- Connect added port with PNJF_NvMBlock_XXX of Svc_NvM
- Go to OS
- Add Events for extended tasks OsEvent_NvMCallback__
- Add Task OsTask_ASW_FG2_NvMCallback (prioritry between ASW_FG1 ~ ASW_FG3)
- Register events for Event Ref
- Add Runnable named NvMJobFinished_[BLOCKNAME]
- Right click on Events
- Add Operation Invoked Event
- Rename shortname to OIE_NvMJobFinished_[BLOCKNAME]
- Designate Start On Event
- Make Task will be containing NvM Events
- Make tasks with number of Operation Invoked Events
- Register Evenets for NvM Task
- NvMNvBlockBaseNumber should be equal to right shifted FeeBlockNumber
- There should be no unmapped FeeBlock
- FeeBlockLength should be greater than NvMBlockLength (normally, +2)
Block:
- Nv Block:
- Base Number:
- Length:
- Num:
- Nvram Block:
- Identifier:
- Device Id:
- Rom Block:
- Data Address:
- Num:
- Ram Block:
- Data Address:
- add Port with desired interface (server-client)
- rename
- In Communication Spec, select desired operation then enable Com Specs
- Click Operation / Mode / Trigger Access
- Add enabled operations to Synchronous Server Call Points
- Select Svc and desired ports
- Click add
- Uncheck Respecting Naming Rules
- Mapping with proper service name