Hi Mike,
If use Codewarrior, "if 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." This means you need define trim value as const data in s19 file. and program trim value with s19 file via Flash file to Target tool. You can define global const variable at 0xffaf as below:
const byte NVMCGTRM_INIT @0x0000FFAF = <trim value>;
how to know the <trim value>? the method is: programming via debugging feature instead of NXP's simple flash programmer. Within the debug configuration, there is an advanced programming option where the customer can set the frequency they want and TRIM is automatically calculated. Then in debugger, read back the value in address 0x0000FFAF. This value is the <trim value> we need to write to global const. If the customer is only prototyping, then the CW option probably is easiest. If the customer is only prototyping, then the CW option probably is easiest. But if they are programming multiple chips, then it may be easier for them to use PROG software since starting a new debug session every time just to program the chip can be time consuming.
http://www.pemicro.com/products/product_viewDetails.cfm?product_id=27
to summary, We can only use debugger to perform trim but can’t with CW standalone programmer in the same way.
This problem has been discussed a lot in your Freescale support team, Development team and PM. CW is a professional development tool(edit, built, debug), but not professional standalone programmer. If user need advance feature in standalone programmer, we need other 3rd programmer software as I suggest above. thanks for your understanding.
Not sure why "Attach" button is grey on your side. please create a new project with wizard and see if this is a common issue for all your project or just for a specific project.
Have a great day,
Jennie Zhang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------