CodeWarrior "Flash File to Target" trimming or not?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

CodeWarrior "Flash File to Target" trimming or not?

2,441件の閲覧回数
michaelsteffenf
NXP Employee
NXP Employee

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

ラベル(1)
タグ(1)
0 件の賞賛
返信
1 返信

1,099件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

Hello Michael,

By default the debugger is using P&E flash programmer which allow you to change the Trim value.

The trim value is not managed by the "Flash file to target".

I ever got feedback from debugger team regarding this trim question.

" The "Flash file to Target" is not managing the trim value.  "


To resume the situation.

If you're using the debugger to load your application, P&E flash programmer will be used and the trim value could be changed.

If you're using the Flash file to Target to load your application, the trim value is not managed.

In this case ff you want to program TRIM values with FSL flash programmer you could do it by applications which  means you should declare some global variables at those address and initialize them with proper values.

Hope this will help you.

============================================

this answer is for you, if it helps, please click on "Correct Answer" button. thanks!

Best Regards.

Zhang Jun

0 件の賞賛
返信