Altera_Forum
Honored Contributor
14 years agoPorting 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