Difference between revisions of "Infineon MB9BF121J"
(→Internal Flash) |
Dirk.Weiler (talk | contribs) (→Internal Flash) |
||
(2 intermediate revisions by the same user not shown) | |||
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> |
||
+ | Erasing the CR-Trimming Word only, also erases last 8KB Block!<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> |
||
+ | |||
+ | ===STANDALONE MODE=== |
||
+ | To keep your Trimming data, you may not use ChipErase in Standalone Mode. (Use "erase selected sectors" instead.) You may also not use the upper 8KB Bank. |
||
+ | |||
<!-- |
<!-- |
||
+ | 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 09:45, 13 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!
Erasing the CR-Trimming Word only, also erases last 8KB Block!
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
STANDALONE MODE
To keep your Trimming data, you may not use ChipErase in Standalone Mode. (Use "erase selected sectors" instead.) You may also not use the upper 8KB Bank.