Community
cancel
Showing results for 
Search instead for 
Did you mean: 
MHumm
Novice
2,654 Views

[RSU] Can't establish UART connection to perform remote system update on MAX10

FPGA: Max10 10M04SAE144

 

I want to perform a remote system update via UART on my MAX10 device.

Tried to follow instructions from AN741 (https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/an/an741.pdf) and the youtube video (https://www.youtube.com/watch?v=KPWOpYQD_JM). I tried to match my settings and follow the video guide closely.

 

Screenshots of my schematic and the connections in Platform designer are attached.

 

I've converted the programming files and programmed the FPGA, but I can't establish a UART connection to perform the RSU.

I toggled the nPulse pin, but whenever i send UART data, i get no response from the FPGA.

 

Can you give any advice?

Thanks in advance!

 

Best regards

5 Replies
Nooraini_Y_Intel
Employee
196 Views

​Hi,

 

Currently I am reviewing the forum for any open questions and found this thread. I apologize that no one seems to answer this question that you posted. Since it has been a while you posted this question, I'm wondering if you have found the answer? If not, please let me know, I will try to assign/find someone to assist you. Please do expect some delay in response as most of our agents are out of office due to the year-end holidays. Thank you.

 

Regards,

Nooraini

ShafiqY_Intel
Employee
196 Views

Hi MHumm,

 

I just want to get some clarification from you for further investigation.

  • Did you able to program SOF and POF file into your PFGA?
  • Have you program the NIOS II application code into the QSPI flash (pfl.sof file)?
  • Did you able to get a “list of operation device” choice appear on the terminal?
  • Did you set the UART Serial Port Settings according to the AN741?

 

Thanks

MHumm
Novice
196 Views

Thanks for your advice, but I still couldn't get it working correctly.

 

 

  • Did you able to program SOF and POF file into your PFGA?

Yes, i compiled my Programm successfully and was able to convert the .sof to .pof files and program them into the MAX10

 

  • Have you program the NIOS II application code into the QSPI flash (pfl.sof file)?

I'm not using any external flash because the software is very small so far - but I'm not sure if i made the correct configurations for this, the documentation is very poor tbh.

However, I checked back the AN741 video and in the Platform Designer, the author was using the onchip memory IP, but whenever I add this, im getting Error 14703 while compiling - the fix said to NOT use dual configuration, but that was against the RSU settings.

 

 

  • Did you able to get a “list of operation device” choice appear on the terminal?
  • Did you set the UART Serial Port Settings according to the AN741?

The UART is set accordingly, correct pins are selected. Terminal programm UART settings match the Platform Designer settings. Whatever I send to the device with the Terminal, I'm not getting any response. (I've tried connection TXD and RXD in the FPGA, the character is correctly echoed back, so the UART should be working)

 

 

Thanks in advance

MHumm
Novice
196 Views

Edit: the problem seems to be the nios 2 software:

 

I want the nios 2 software to be located in the UFM, but I'm not really sure how to do this.

 

In NIOS 2 SBT Eclipse, I created the BSP file for my device and made an application containing the remote_update.c file of the example project from AN741 which includes the UART update handling interface.

Then I build the mem_init_generate.

 

In the QSYS/Platform designer, the On-Chip Flash Intel FPGA IP is used, under "Flash Initalization" i checked "user created file" and linked the .hex file i created from my application. Qsys file was generated, project compiled and .sof files converted to .pof and put onto the FPGA with the programmer.

 

 

What's the correct way of getting my application into the FPGA?

ShafiqY_Intel
Employee
196 Views

Hi MHumm,

 

Thanks for your reply.

“im getting Error 14703 while compiling”

For this error, you can refer the answer in the following link:

https://forums.intel.com/s/question/0D50P000045F7BLSA0/unable-to-implement-on-chip-flash-with-ufm-58...

 

“I want the nios 2 software to be located in the UFM, but I'm not really sure how to do this.”

You need to follow the step from 1.7.2(on Page 11 in AN471) in order to program Nios II application code into the QSPI flash. Have you follow this step correctly?

 

Thanks

Reply