Forum Discussion
programming fails with JAM STAPL Player and MAX10 ( 10m02scu169 )
- 7 years ago
Hello all,
problem is solved and the max10 gets programmed correctly via JAM/JBC player.
Problem was as follows:
Due to the limited resources in my microcontroller I had to split the original sources from altera into two parts.
Part 1 runs on a pc. Part 2 runs in the micro.
I decided to shift the following functions into the micro (only shifting jbi_jtag_io would lead to very long programming times) :
jbi_jtag_reset_idle
jbi_goto_jtag_state
jbi_do_wait_cycles
jbi_do_wait_microseconds
jbi_jtag_drscan
jbi_jtag_irscan
jbi_jtag_io
It was not clear to me, where the jtag state variable gets modified and I thought the microcontroller should be the right place.
But this was not completely right.
The state variable gets modified within the functions in the micro and also within the rest of the JAM/JBC player on the pc.
Therefor the communication between micro and pc needed to be modified.
The pc always sends the current value for the state variable to the micro and the micro sends the maybe modified state variable back after executing the above mentioned
functions.
:-)
Regards,
Dennis
dbind2,
Thank you so much for you feedback and solution regarding to this issue.
I am glad to hear that the issue is resolved. This really help the communities here if they facing the similar issue in future.
Really appreciate you effort.
Thanks.
I have a similar issue with MAX 10 (10m08sam153) that is hosted on the Intel Aero compute board (Atom x7-z8750 processor) (https://github.com/intel-aero/meta-intel-aero/wiki/95-(References)-FPGA). I dont have direct access to the FPGA pins. Im using the default Intel ported JAM player in aero-yocto linux image available at: https://downloadcenter.intel.com/download/27833/Intel-Aero-Platform-for-UAVs-Installation-Files?v=t. The first couple of attempts at flashing (action=program) the jam file worked but then every attempt after that fails. Only action: blankcheck, read_usercode & check_idcode work successfully which means that the JTAG connection is successful but then as soon as I program the jam file, it fails at SRAM configuration. Does anyone know if this is due to a damaged FPGA device?