Forum Discussion

Brickman's avatar
Brickman
Icon for New Contributor rankNew Contributor
3 days ago
Solved

FPP C\Cpp code reference

Hi

I intend to program a Cyclone 10 LP device from a MCU (STM32H7).
Can someone point me to a C\Cpp code reference for it?
I failed to find one, and it seems logical to me that Altera will release such code to save me from writing something which should be very common.

 

Thanks in advance

5 Replies

  • FvM's avatar
    FvM
    Icon for Super Contributor rankSuper Contributor

    Hello,

    FPP was only referred in the question title, could be overlooked.

    Altera apparently provided a Micropblaster FPP  code 20 years ago. It's described in a white paper, but I didn't yet see a source. There's a link to the code MicroBlaster FPP Software Driver (ZIP) on this page FPGA Device Configuration Solutions | Altera but it's unfortunately invalid. I expect that the code is still available at Altera and can be provided as unsupported on request.

    The white paper link is however active Configuring the MicroBlaster Fast Passive Parallel Software Driver

    Regards
    Frank

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

    Hello, 

     

    Unfortunately, Altera does not provide a specific code to configure FPGA from specific MCU such as STM32H7. 

    There is method to use portable C source on JAM/STAPL and JAM Byte-code players. 

    1- generate .jam or .jbc from Quartus of your design, then run on STM32 using intel's JAM STAPL Player (C interpreter) or more compact Jam Byte-Code player. These players toggle TCK/TMS/TDI and sample TDO through MCU GPIOs you implement in small stub. 

    2- References : https://www.altera.com/design/programming/jam-support

    3- References : https://cdrdv2-public.intel.com/654049/an586.pdf

     

    regards,

    Farabi

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

    Thanks for your response.

    From your description it looks like a method to program through the JTAG interface, my question is about the Fast Parallel Programming.
    Are you familiar with that as well?

    Thanks

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

    Thanks alot for your help.

    I will open a case with support, maybe they will update the links.