AnsweredAssumed Answered

Unable to program S12Z interrupt vectors from CodeWarrior 10.7

Question asked by Gordon Pocock on May 9, 2017
Latest reply on May 10, 2017 by Gordon Pocock

I am using CodeWarrior 10.7 SE with a P&E Micro USB Multilink to develop code for an S12ZVC192. When I invoke the Flash Programmer, I get the following message. The final messages say that it can't program addresses in the interrupt vector table. I've uploaded the contents of the device, and can verify that the interrupt vectors haven't been programmed. I have tried programming the device outside of CodeWarrior, using P&E Micro PROG12ZZ, and all appears to be ok! Any ideas?

 

fl::target -lc "LC for Simple Flash"
fl::target -b 0x1000 0x800
fl::target -v off -l off
cmdwin::fl::device -d "MC9S12ZVC192_FLASH" -o "192Kx32x1" -a 0xfd0000 0xffffff
cmdwin::fl::protect all off
 Beginning Operation ...    
-------------------------
Performing target initialization ...    
Device MC9S12ZVC192_FLASH    
Detect frequence ...   
Frequence 5452.81 Khz   
Flash Operation.   
Unprotecting .............   
Unprotecting ....   
Unprotect Command Succeeded.   
Device MC9S12ZVC192_FLASH    
cmdwin::fl::device -d "MC9S12ZVC192_EEPROM" -o "2Kx32x1" -a 0x100000 0x1007ff
cmdwin::fl::protect all off
 Beginning Operation ...    
-------------------------
Device MC9S12ZVC192_EEPROM    
Flash Operation.   
Unprotecting .............   
Unprotecting ....   
Unprotect Command Succeeded.   
Device MC9S12ZVC192_EEPROM    
cmdwin::fl::device -d "MC9S12ZVC192_FLASH" -o "192Kx32x1" -a 0xfd0000 0xffffff
cmdwin::fl::image -f "D:\\Dropbox\\Projects\\WR\\Power_Switch\\PowerSwitch\\FLASH\\PowerSwitch.elf" -t "Auto Detect" -re on -r 0xfd0000 0xffffff -oe off
cmdwin::fl::erase image
-------------------------
Auto-detection is successful.   
  File is of type Elf Format.   
 
Device MC9S12ZVC192_FLASH    
 Erasing .........
Erase Command Succeeded.   
Device MC9S12ZVC192_FLASH    
cmdwin::fl::write
-------------------------
Flash Operation.  ...
Auto-detection is successful.   
  File is of type Elf Format.   
 
Device MC9S12ZVC192_FLASH    
 Programming .......
Device MC9S12ZVC192_FLASH    
Program Command Succeeded    
Flash Operation. done   
cmdwin::fl::device -d "MC9S12ZVC192_EEPROM" -o "2Kx32x1" -a 0x100000 0x1007ff
cmdwin::fl::image -f "D:\\Dropbox\\Projects\\WR\\Power_Switch\\PowerSwitch\\FLASH\\PowerSwitch.elf" -t "Auto Detect" -re on -r 0x100000 0x1007ff -oe off
cmdwin::fl::erase image
-------------------------
Auto-detection is successful.   
  File is of type Elf Format.   
 
Image size is 0 bytes, nothing to erase.   
Nothing to erase.  No sectors selected
Erase Command Succeeded.   
cmdwin::fl::write
-------------------------
Flash Operation.  ...
Auto-detection is successful.   
  File is of type Elf Format.   
 
Device MC9S12ZVC192_EEPROM    
 Programming ....
Programming warning.  Can't program 8 bytes to address 0xffff50 because this range isn't included in the selected modules!
Programming warning.  Can't program 8 bytes to address 0xffffd8 because this range isn't included in the selected modules!
Programming warning.  Can't program 8 bytes to address 0xfffff8 because this range isn't included in the selected modules!
Device MC9S12ZVC192_EEPROM    
Program Command Succeeded    
Flash Operation. done   

Outcomes