AEFSKIPERASING

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

AEFSKIPERASING

755 Views
kbatke
Contributor II

I am using CodeWarrior v5.1 with 9S12XEQ512 processsor. 
This processor has 3 blocks of P-FLASH but when I try to use AEFSKIPERASING, I 
can only select ALL of P-FLASH to be skipped. 

Would it be possible to create the .fpp or whatever files need to be created 
that would split the P-FLASH into it's 3 blocks (for this processor... more or 
less for others). 

I would like finer control using AEFSKIPERASING. Specifically, I would like to 
skip erasing one of the P-FLASH blocks as I am programming an array that I 
don't want erased every time load the debugger from CodeWarrior. 

Labels (1)
Tags (1)
0 Kudos
4 Replies

497 Views
J2MEJediMaster
Specialist I

You might want to check out this https://community.freescale.com/message/44136#44136. Also, use the forum search function to look for any occurences of "AEFSKIPERASING".

 

---Tom

0 Kudos

497 Views
kbatke
Contributor II

Thanks for the response, Tom.

 

I've already researched this in the forums, and in the help documentation, and in the app-notes, etc., etc., etc...

 

The flash setup in the debugger has these 5 blocks which can be protected from erasure by using AEFSKIPERASING.

0DFLASH

1FLASH_4000

2FLASH_8000

3FLASH_C000

4ALL_PPAGES

 

What I am requesting, is to break the PFLASH into it's 3 (seperately erasable) blocks so that I can protect one of the PFLASH blocks from being erased while loading the debug code.

 

So I would have something like this

0DFLASH

1FLASH_4000

2FLASH_8000

3FLASH_C000

4PFLASH_780000

5PFLASH_7A0000

6PFLASH_7C0000 

 

I believe this setup is controlled by the processor-specific MCU02DA.fpp file.

I would mess with this file if I could but it appears to be undocumented.

I've spoken with P&E Microsystems because I thought that might be something they controlled but they referred me to Freescale.

 

I have a service request opened, but, after three days with no repsonse, I decided to try the forums.

This morning... I finally received a response from the service request I opened last Tuesday.... (they are working on it...)

 

0 Kudos

497 Views
kbatke
Contributor II

The forum editor deleted my tabs :smileyfrustrated:

 

This is what I have:

0-DFLASH

1-FLASH_4000

2-FLASH_8000

3-FLASH_C000

4-ALL_PPAGES

 

This is what I want:

0-DFLASH

1-FLASH_4000

2-FLASH_8000

3-FLASH_C000

4-PFLASH_780000

5-PFLASH_7A0000

6-PFLASH_7C0000 

 

Thanks,
Keith Batke 

0 Kudos

497 Views
AndyUK
Contributor I

Hi Keith,

 

I am looking to be able to do the same as you - and have also drawn a blank.

 

I know that the mcu03cd.fpp file defines the list of 'FLASH' that you get to see, and this is inherited from hcs12_common.fpp.

 

The documentation shows a screenshot with seperate flash pages listed, but there is mention that due to some devices having a large number of pages, they have been 'shrunk' to speed things up !

 

I wish there was an 'unshrink' option !

 

Did you get a reponse from freescale at all ?

 

Thanks

 

Andy

0 Kudos