Hello, I need that each processor has a unique ID 16Byte. This ID is used in the program as an identifier when transmitting through the RF module.I thing constant Question. MDK-ARM has some support for auto increment such constants in flash programmed so that each processor has a unique ID? Program will directly MDK-ARM over ULINK 2 (approx. 500 pcs / year)
Perhaps what you're looking for is a production programmer capable of serialization? Segger J-Flasher ARM? Or some self implemented production programming solution.
Buying a production programmer and appropriate sw I just do not want to.
Then a) Understand how your specific chip and it's boot loader, if it has one, works when the device is blank. Many chips provide well documented methods to do this, via serial, usb or jtag connectivity. Or b) review how Keil's flash applets, and source, function for your device and add your additional feature. Or c) create your application code from the outset so that you can configure, serialize or calibrate itself once the initial code load has been completed.
Perhaps your unspecified device has OTP memory specifically for serial numbers or encryption keys, etc?
The Keil development system is that, a development system, it is not designed to be used by production staff to program blank devices. The developer is generally expected to create such mechanisms, whether that means coding it amongst themselves, or purchasing such tools.
Distributors may also provide chip programming services, but this may add costs and inventory issues.
You could perhaps abuse the tools, and add a post-link user function that adds/increments a serial number to a hex/bin image, and rebuild before each flash operation.