Forum Discussion

MYoha's avatar
MYoha
Icon for New Contributor rankNew Contributor
5 years ago

JAMPLAYER for ARM

Hi,

We have a customer running into jamplayer error ('syntax error') message.

They are running it after porting to ARMv8 (64-bit).

Error message attached.

Are there additional steps required before running jamplayer on ARMv8?

The error appears to be related to jamarray.c line ~694.

Uncompressed_length is coming back with -145804055115961248 , and out_size = 27744

Why is uncompressed length value a negative number?

In addition, out_size in jamexec.c shows calling jam_uncompress (vs. in jamarray.c which uses heap_record dimension for calculating the value)

Thanks

8 Replies

    • MYoha's avatar
      MYoha
      Icon for New Contributor rankNew Contributor

      Hi,

      Thanks, yes, using the source from the link you sent.

      jamstub.c was modified to reflect the correct port addresses on the board, then the .c source files were compiled on ARMv8 platform.

      JAM was created by compiling the HDL after selecting JEDEC STAPL Format File (.jam) in Device and Pin Options dialog, under Programming Files.

      • MYoha's avatar
        MYoha
        Icon for New Contributor rankNew Contributor

        Hi,

        Additionally, are there any other ways of programming the MAXV from linux on the processor besides using jamplayer?

        Also, are there any additional advantage between using quartus_cpf vs. gui to generate jam file?

  • JohnT_Altera's avatar
    JohnT_Altera
    Icon for Regular Contributor rankRegular Contributor

    Hi,


    It should be similar but you can try to see if you are observing the issue. Are you using blaster to configure the device or Arm GPIO to directly configure it? If you are using USB-Blaster then you can try using Quartus Programmer Standalone Toolkit.


    • MYoha's avatar
      MYoha
      Icon for New Contributor rankNew Contributor

      Hi,

      The customer is trying to configure through ARM GPIO

  • JohnT_Altera's avatar
    JohnT_Altera
    Icon for Regular Contributor rankRegular Contributor

    Hi,


    Could you share with me the modified code and how can we duplicate the issue?


    • MYoha's avatar
      MYoha
      Icon for New Contributor rankNew Contributor

      John,

      Replicating the issue requires to have ARMv8 JTAG connected to MAXV, do you have such a platform?

      John, what is JAM player’s replacement?

      What is the recommended method of programming the POF from a processor (i.e. not using blaster, but, through jtag port from processor to MAXV)

      Also, are there any additional advantage between using quartus_cpf vs. gui to generate jam file?

  • JohnT_Altera's avatar
    JohnT_Altera
    Icon for Regular Contributor rankRegular Contributor

    Hi,


    Unfortunately, I also does not have the board. This source code is for your reference and modify it on your own. We only provide best effort support on this as the JAM STAPL has been EOL.