AnsweredAssumed Answered

CodeWarrior "Flash File to Target" trimming or not?

Question asked by michaelsteffenfae Employee on Oct 30, 2014
Latest reply on Oct 30, 2014 by ZhangJennie

In CodeWarrior there is a programming icon, called “flash file to target…”.
I’ve used this many times, but I don’t know if it is trimming the part.

 

Is have set the trimming freq to 36000, under "Advanced Programming Options".

 

Here is the log file when programming it.  Is there any way to verify that the part is being trimmed using "flash file to target".?

 

 

fl::target -lc "LC for Simple Flash (1)"


fl::target -b 0x40 0x1000


fl::target -v off -l off


cmdwin::fl::device -d "MC9S08PT60_FLASH" -o "64kx16x1" -a 0x1040 0xffff


cmdwin::fl::image -f "C:\\Users\\R80133\\Documents\\PT60_MIKE.s19" -t "Auto Detect" -re on -r 0x1040 0xffff -oe off


cmdwin::fl::erase image


Beginning Operation ...   


-------------------------


Auto-detection is successful.  


  File is of type Motorola S-Record Format.  


 


Performing target initialization ...   


Device MC9S08PT60_FLASH   


Detect frequence ...  


Frequence 8842.74 Khz  


Erasing .............

 

Erase Command Succeeded.  


 

Device MC9S08PT60_FLASH   


cmdwin::fl::write


-------------------------


Flash Operation.  ...


Auto-detection is successful.  


  File is of type Motorola S-Record Format.  


 


Device MC9S08PT60_FLASH   


Programming .....


Device MC9S08PT60_FLASH   

 

Program Command Succeeded   


 

Flash Operation. done  


cmdwin::fl::device -d "MC9S08PT60_EEPROM" -o "256x16x1" -a 0x3100 0x31ff


cmdwin::fl::image -f "C:\\Users\\R80133\\Documents\\PT60_MIKE.s19" -t "Auto Detect" -re on -r 0x3100 0x31ff -oe off


cmdwin::fl::erase image


-------------------------


Auto-detection is successful.  


  File is of type Motorola S-Record Format.  


 


Image size is 0 bytes, nothing to erase.  


Nothing to erase.  No sectors selected

 

Erase Command Succeeded.  


cmdwin::fl::write


Beginning Operation ...   


-------------------------


Flash Operation.  ...


  File is of type Motorola S-Record Format.  


 


Device MC9S08PT60_EEPROM   


Programming .....


Programming warning.  No data to be programmed in selected flash memory range.


Device MC9S08PT60_EEPROM   

 

Program Command Succeeded   


 

Flash Operation. done  

 

 

Michael Steffen

 

 

Senior Field Applications Engineer

 

 

Member of the Technical Staff

 

 

Freescale

Outcomes