Hi Annu,
Dear Customer,
Please find answers to your questions below:
1. Merging Two JBC Files
JBC (Jam Byte-Code) files are script-based and are not designed to be manually merged. To program two Cyclone III devices, we recommend using the Quartus Programmer to create a single programming chain that includes both devices and their respective configuration files. You can then generate a JBC file for the entire chain using the "Create Jam, SVF, or ISC File" feature in Quartus Programmer.
2. MSEL Pin Configuration for Passive Serial and JTAG Modes
Kindly refer to the MSEL setting in the user guide here: Cyclone III Device Handbook
3. Generating JBC Files from SOF Files
Yes, you can generate JBC files from SOF files using Quartus Programmer:
Open Quartus Programmer and add your device with the SOF file.
Go to File > Create Jam, SVF, or ISC File.
Select JBC as the output format and follow the prompts.
4. Generating RBF Files from JBC Files
It is not possible to directly convert JBC files to RBF format. If you require an RBF file, please use the original SOF file and generate the RBF using Quartus ("Convert Programming Files" option).
Let us know if you have any questions.
Regards,
Fakhrul