Unable to Flash MCU AFW firmware over NFW firware

Hello Nvidia Support,

Below is the MCU flashing procedure tried-

  1. Initial MCU version read from MCU console: P3960-AFW-RH850-U2A16-2.03.12
  2. Flashed DRIVE-V7.x.x-P39xx-NFW-RH850-U2A16-00.09.57.hex from Thor as per Flashing Renesas from NVIDIA Thor — NVIDIA DriveOS 7.0.3 Linux SDK Developer Guide
  3. NFW-RH850-U2A16-00.09.57 successfully flashed
  4. Performed ‘aurixreset’ on MCU console
  5. Performed ‘reset’ on MCU console
  6. Performed version check at MCU → Read NFW-RH850-U2A16-00.09.57 OK
  7. Tried ping 10.0.42.146(MCU) from Thor → Failed
  8. Performed version check at MCU → Read NFW-RH850-U2A16-00.09.57 OK
  9. Tried flashing back DRIVE-V7.x.x-DRIVE-V7.0.3-P3960-AFW-RH850-U2A16-2.03.12.hex from Thor → Flashing did not start. (Log snippet attached)

Can you please support with issue at step 7 and 9? Do we need to perform any additional step after flashing NFW firmware, so that ping to MCU and flashing AFW again is possible from Thor?

Dear @divya.bilimoria ,
Could you try below steps and confirm if AFW is flashed. Please refer Flashing Renesas from Host with MCU Flashing Script — NVIDIA DriveOS 7.0.3 Linux SDK Developer Guide for details?

cd /drive/drive-foundation/tools/flashtools/firmware/
 python3 MCU_Flashing.py 921600 /dev/ttyACM2 /dev/ttyACM0 /drive/drive-linux/aurix/DRIVE-V7.0.3-P3960-AFW-RH850-U2A16-2.03.12.hex

Hello @SivaRamaKrishnaNV ,

I tried flashing AFW firmware via Host and was able to flash it successfully.
Ping to MCU from Thor also worked, post flashing.

I am still willing to understand the reason why ping to MCU and flashing from Thor did not work with NFW firmware flashed. Is the init/reset sequence different with NFW firmware which affects network configurations? What is the difference between NFW and AFW firmware functionally?
Ideally we should be able to flash AFW firmware over NFW via Thor right?

Thank you!

Hello @SivaRamaKrishnaNV

Can you please provide your comment on above query?

Ok. So issue is noticed only when trying to flash from target right? Let me check and get back to you tomorrow.

Hi @divya.bilimoria ,
I notice when NFW is flashed. It is causing Switch init to fail and hence ping is not working. It looks like a bug. Please flash AFW using host instead of target.