Forum Discussion

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

MAX 10 and the STAPL byte-code player

Hi

I'm trying to port the STAPL byte-code player to and stm32f2xx mcu. but i'm not having much luck.

I have connected 4 GPIO pins from the MCU to the JTAG pins on the MAX 10 FPGA, TCK TDI TDO TMS.

When i analyze the pins I can see some activity but not much on the TDO pin. And the jbi_execute returns with and exit_code 6 ("Unrecognized device")

any good ideas for what I',m doring wrong?

5 Replies

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

    Hi,

    I am also facing the same problem. I am trying to configure MAX 10 using linux machine through gpio. I also got the same error (Exit code 6: Unrecognized device).

    Did you got any sollution.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi

    Yes, I got it to work after many hours ;)

    I will see if I can find the code when I get in the office tommorow, I will give to you to try
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi

    It's been 6 month since i last looked at this code. It was just made as a proof of concept, we decided to go with a solution without an FPGA in the final product.

    But i have attached the test code that i got running. It's just the source files, it's made with the std_Periph library from ST.

    Hope it helps
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Wow, thank you so much for the quick reply. Ill see if i can get it to run. Thanks!