Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
14 years ago

Porting JAM Stapl Byte Code Player

Hello,

has anyone ported the JBC Player "successfully" to an embedded microprocessor?

I'm really frustrated and need some help because I'm running from one problem into another.

I ported the JBC Player according AN586 to a Microblaze on a Xilinx Spartan6 FPGA and I want to configure an Altera Cyclone-3. I can read the user ID and device ID so I think the JTAG signals are generated properly. Memory allocation and interpreting of the JBC file seem also to work fine. But the configuration doesn't finish successfully.

There is an JBIC_BOUNDS_ERROR when the operation at PC=0xC9A1 is executed (so very late). This error comes from the opcode 0x4F (POPA), more precisely from the expression ...


/* check that variable is a writable Boolean array */
if ((attributes & 0x1c) != 0x08)
{
status = JBIC_BOUNDS_ERROR;
}
else
{
...

The variable_id equals 258 here and at this id the attribute is indeed 0. So this causes the error.

Has anyone an idea what's the problem here?

Regards

Peter

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Could it be that the JBC file generated by QuartusII (v11.0) is not compatible with the JBC player (jbi_22)?