Forum Discussion
54 Replies
- JohnT_Altera
Regular Contributor
Hi,
This phenomenon is cause by the Max 10 being reconfigured. I would suspect that the reset watchdog timer is not being set. Not sure if you have a way to confirm that your state machine is executing the writing into the reset watchdog timer?
- KWang97
Occasional Contributor
Hi, @JohnT_Intel
I have another question, could you please help me to solve it? This question is emergency, so I hope it can be resolved as soon as possible. Thanks very much!
The issue is:
Each of our product will have a unique serial number which is 4 bytes long, like 0x"0F0F0F0F". The number will be written into FPGA in our product. But the serial number will be modified for different products when they leave factory. FPGA in the product will read this serial numer when the product operates in customer's place. How can I realize this?
My initial idea is like below:
( I make a file whose content can be edited. The file is edited with 4 bytes's serial number. Then this file can be downloaded into UFM and FPGA could read the serial number from UFM.
But how will I make such a file that can be edited and be programmed into UFM with Jtag or other ways?)
Besides that, are there any other good ways to realize this function except what I proposed? If not, please tell me how to realize the function I proposed.
Thanks very much!
- JohnT_Altera
Regular Contributor
Hi,
If you would like to add unique serial number into UFM then you can only use hex file to incorporate into POF and program into the UFM.
The other method is to use System ID Periphery Core IP (https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/ug/ug_embedded_ip.pdf Chapter 40) to incorporate the ID for each of your system design.
- KWang97
Occasional Contributor
Hi,@JohnT_Intel
Thanks for your idea.
While there is a problem for us. The serial number will be set by workers in the factory ,then they can only program a file with serial number into FPGA. This will be done independently with the application pof. The worker in factory can't compile FPGA project and they can only do the programming with Jtag. So they just modify the file and download this file directly into UFM. So how will this be realized. Thanks very much!
- JohnT_Altera
Regular Contributor
Hi,
May I know if each device will have it's own serial number? The reason is that if you would like to implement different serial number for each pof file will be difficult.
If this is The case then I would recommend you to use On Chip Flash IP to directly program the bitstream using rpd file (raw programming file) then this will make you easier to modify the rpd file as it is a raw binary file and you may refer to .map file to determine where you can use to store the serial number. This will be more harder to implement as you need to create a design where you can update the UFM directly.
- JohnT_Altera
Regular Contributor
Hi,
This is not possible if you are using POF file as it contain checksum for CRC checking.
May I know if you are able to update the UFM with the serial number after the POF is programmed? The reason is that I would recommend you to use JTAG Master and On Chip Flash IP to update the UFM with Serial Number so that it will be easier to be implemented.
- JohnT_Altera
Regular Contributor
Hi,
You can create a simple JTAG to Avalon Master IP with On Chip Flash IP design to program to Max 10 device and use Quartus System Console to write into the specific UFM address to store the Serial Number.
Attach is the design example that I created for Max 10 Development kit.
- JohnT_Altera
Regular Contributor