Difference between revisions of "Infineon MB9BF121J"
(→Internal Flash) |
Dirk.Weiler (talk | contribs) |
||
Line 1: | Line 1: | ||
__TOC__ |
__TOC__ |
||
==Internal Flash== |
==Internal Flash== |
||
+ | 64KB (8KBx8) |
||
− | TBD |
||
===Supported Regions=== |
===Supported Regions=== |
||
+ | 0x0000_0000 - 0x0000_FFF7 (Program Flash)<br> |
||
− | TBD |
||
+ | 0x0010_0004 - 0x0010_0007 (CR-Trimming Word)<br> |
||
+ | ===CR Trimming Word=== |
||
+ | Pay special attention to the CR-Trimming Word!<br> |
||
+ | Erasing the last 8KB Block also erases the CR-Trimming Word<br> |
||
+ | |||
+ | If the last 8kB block is used or a CHIP-erase is executed, the CR-trimming should be read out beforehand and reprogrammed again later on<br> |
||
+ | |||
+ | This process can be automated as follows:<br> |
||
+ | <br> |
||
+ | JFlash.exe -openprjc:\temp\mb9t.jflash -readchip -delrange0x0,0xFFF7 -saveasC:\Temp\Trim.mot -openC:\temp\userData.mot -delrange0x100004,0x100008 -mergeC:\Temp\Trim.mot -auto -exit |
||
+ | |||
+ | Make sure that the paths and filenames are customized according to your needs<br> |
||
+ | |||
+ | |||
+ | |||
<!-- |
<!-- |
||
+ | The CR Trimming Word is mirrored to 0x0000_FFF8. It is also erased when last 8KB Block is deleted |
||
− | The internal flash is divided into 2 different regions:<br> |
||
− | *Program Flash (0x18000 - 0x1FFFFFF) |
||
− | J-Link supports the program flash space. The boot code area is not accessible and cannot be erased or programmed. |
||
--> |
--> |
Revision as of 12:30, 10 June 2022
Internal Flash
64KB (8KBx8)
Supported Regions
0x0000_0000 - 0x0000_FFF7 (Program Flash)
0x0010_0004 - 0x0010_0007 (CR-Trimming Word)
CR Trimming Word
Pay special attention to the CR-Trimming Word!
Erasing the last 8KB Block also erases the CR-Trimming Word
If the last 8kB block is used or a CHIP-erase is executed, the CR-trimming should be read out beforehand and reprogrammed again later on
This process can be automated as follows:
JFlash.exe -openprjc:\temp\mb9t.jflash -readchip -delrange0x0,0xFFF7 -saveasC:\Temp\Trim.mot -openC:\temp\userData.mot -delrange0x100004,0x100008 -mergeC:\Temp\Trim.mot -auto -exit
Make sure that the paths and filenames are customized according to your needs