illegal opcode for S12zvl 128k

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

illegal opcode for S12zvl 128k

713 Views
charudattaingal
Contributor IV

Hello Team,

we are generating Motorola ptp file form .elf file generated by CW compiler and filling unused location by 0xFF.

Ex: If our application size is 90k then remaining 38k of flash out of 128k we are filling with 0xFF.

In above example we need to fill remaining 38k flash memory with illegal opcode if  by mistake control jump to outside of actual application, then MCU should generate trape/ME.

Please suggest any illegal opcode to fill unused reaming memory for S12ZVL micro.

Thank you !

Best Regards,

Charudatta

Tags (1)
0 Kudos
1 Reply

548 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Charudatta,

There is a thread describe steps, please check it :

How to fill unused memory for CW for 8/16bit and kinetis Gnu. 


Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos