Address for margin level settings

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Address for margin level settings

Jump to solution
85 Views
TomoTom
Contributor I

Based on "MC9S12ZVC Family Reference Manual" commands to set user/field margin level both take "global address to identify flash/eeprom block" as one of their parameters.

Should the address be the beginning of the block or any address in that block range?

0 Kudos
Reply
1 Solution
65 Views
kef2
Senior Contributor V

It can be any address within the block.

Are you ready for flash/EEPROM ECC exception handling? Modified margins may lead to uncorrectable ECC error and trigger not maskable exception handler... I guess you are doing it for better memory integrity checks, so please don't forget as well to implement and virify operation of exception handler and of course return from it ;).

View solution in original post

1 Reply
66 Views
kef2
Senior Contributor V

It can be any address within the block.

Are you ready for flash/EEPROM ECC exception handling? Modified margins may lead to uncorrectable ECC error and trigger not maskable exception handler... I guess you are doing it for better memory integrity checks, so please don't forget as well to implement and virify operation of exception handler and of course return from it ;).

%3CLINGO-SUB%20id%3D%22lingo-sub-2251269%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EAddress%20for%20margin%20level%20settings%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2251269%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EBased%20on%20%22MC9S12ZVC%20Family%20Reference%20Manual%22%20commands%20to%20set%20user%2Ffield%20margin%20level%20both%20take%20%22global%20address%20to%20identify%20flash%2Feeprom%20block%22%20as%20one%20of%20their%20parameters.%3C%2FP%3E%3CP%3EShould%20the%20address%20be%20the%20beginning%20of%20the%20block%20or%20any%20address%20in%20that%20block%20range%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2251281%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Address%20for%20margin%20level%20settings%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2251281%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EIt%20can%20be%20any%20address%20within%20the%20block.%3C%2FP%3E%3CP%3EAre%20you%20ready%20for%20flash%2FEEPROM%20ECC%20exception%20handling%3F%20Modified%20margins%20may%20lead%20to%20uncorrectable%20ECC%20error%20and%20trigger%20not%20maskable%20exception%20handler...%20I%20guess%20you%20are%20doing%20it%20for%20better%20memory%20integrity%20checks%2C%20so%20please%20don't%20forget%20as%20well%20to%20implement%20and%20virify%20operation%20of%20exception%20handler%20and%20of%20course%20return%20from%20it%20%3B).%3C%2FP%3E%3C%2FLINGO-BODY%3E