Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20641 Discussions

MAX 10 and the STAPL byte-code player

Altera_Forum
Honored Contributor II
1,243 Views

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?
0 Kudos
5 Replies
Altera_Forum
Honored Contributor II
344 Views

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.
0 Kudos
Altera_Forum
Honored Contributor II
344 Views

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
0 Kudos
Altera_Forum
Honored Contributor II
344 Views

Hey Nikon, 

would you mind sharing your code with us? 

Thanks!
0 Kudos
Altera_Forum
Honored Contributor II
344 Views

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
0 Kudos
Altera_Forum
Honored Contributor II
344 Views

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

0 Kudos
Reply