Feb 21, 2020
12:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 21, 2020
12:06 AM
Hi
I am writing an application for SOTA concept for TC38x Aurix platform.
I have read the chapter 1.5 AURIX2 usermanual (Software over the Air (SOTA))
And also referred the document AP32404-Tutorial_Using_the_2nd_Generation_AURIX_SWAP_mecha nism_for_SW_updates_Over_The_Air_v1.1.pdf
But still i am unclear about many points.So can you tell where i can get Infineon sample project for swapping concept.
During application execution, Can we write directly to UCB23 register or through DMU module we need to write UCB registers?
I am writing an application for SOTA concept for TC38x Aurix platform.
I have read the chapter 1.5 AURIX2 usermanual (Software over the Air (SOTA))
And also referred the document AP32404-Tutorial_Using_the_2nd_Generation_AURIX_SWAP_mecha nism_for_SW_updates_Over_The_Air_v1.1.pdf
But still i am unclear about many points.So can you tell where i can get Infineon sample project for swapping concept.
During application execution, Can we write directly to UCB23 register or through DMU module we need to write UCB registers?
- Tags:
- IFX
- sota_aurix38x
5 Replies
Jun 16, 2020
06:07 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 16, 2020
06:07 PM
Now, sample code is available in myicp.infineon.com.
Please refer below path.
- Microcontrollers / AURIX customer documentation --> AURIX TC3xx --> 10 AURIX TC3xx HSM
Please refer below path.
- Microcontrollers / AURIX customer documentation --> AURIX TC3xx --> 10 AURIX TC3xx HSM
Jun 17, 2020
12:46 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 17, 2020
12:46 AM
You cannot write to UCBs directly - they are considered to be part of the data flash space. Therefore you will need to write to them via the DMU using the erase/load page/write page commands.
Aug 06, 2021
01:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 06, 2021
01:56 AM
Harvey wrote:
Now, sample code is available in myicp.infineon.com.
Please refer below path.
- Microcontrollers / AURIX customer documentation --> AURIX TC3xx --> 10 AURIX TC3xx HSM
I am unable to access the myicp.infineon.com Can you share that source code?
Aug 26, 2021
03:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 26, 2021
03:26 AM
Hello,
is there any new swap code examples except that one in
Microcontrollers / AURIX customer documentation --> AURIX TC3xx --> 10 AURIX TC3xx HSM
which is (so do I think) a very simplify dem-implementation and risk-ful.
E.g.
- after adding a new address map configuration in UCB_SWAP the old one is not invalidated by overwriting with 0xFFFFFFFF
(see AP32404-Tutorial_AURIX_TC3xx_Using_SW...)
- it is also only checking the last startup state of swap enabled which could be modified meanwhile when UCB_OTPx is modified. But this would have an effect on the next startup.
I have implemented my swap functions with all needed checks (ca. 1000 lines of codes) to protect any kind of risk-ful condition before doing a system reset for swapping.
But: I don't know how the SSW is going through the UCB_SWAP to get the configuration (down to up or up to down?),
e.g. when there are multiple valid (confirmed) address mappings are listed. I assume it takes the last one (unless above demo would not work).
I didn't try to test this, not to risk a device lock.
e.g. what happens if all address mapping slots are empty (all zeros) or all are invalidated (0xFFFFFFFF), does it then scan UCB_SWAP_COPY or is the device locked?
e.g. what happens if confirmation code (address mapping) is neither Unlocked nor Confirmed, does it scan the next slot?
is there any new swap code examples except that one in
Microcontrollers / AURIX customer documentation --> AURIX TC3xx --> 10 AURIX TC3xx HSM
which is (so do I think) a very simplify dem-implementation and risk-ful.
E.g.
- after adding a new address map configuration in UCB_SWAP the old one is not invalidated by overwriting with 0xFFFFFFFF
(see AP32404-Tutorial_AURIX_TC3xx_Using_SW...)
- it is also only checking the last startup state of swap enabled which could be modified meanwhile when UCB_OTPx is modified. But this would have an effect on the next startup.
I have implemented my swap functions with all needed checks (ca. 1000 lines of codes) to protect any kind of risk-ful condition before doing a system reset for swapping.
But: I don't know how the SSW is going through the UCB_SWAP to get the configuration (down to up or up to down?),
e.g. when there are multiple valid (confirmed) address mappings are listed. I assume it takes the last one (unless above demo would not work).
I didn't try to test this, not to risk a device lock.
e.g. what happens if all address mapping slots are empty (all zeros) or all are invalidated (0xFFFFFFFF), does it then scan UCB_SWAP_COPY or is the device locked?
e.g. what happens if confirmation code (address mapping) is neither Unlocked nor Confirmed, does it scan the next slot?
Aug 26, 2021
03:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 26, 2021
03:29 AM
In fact, I'm looking for a flow chart or description of SOTA-Setting up in SSW.
This widget could not be displayed.