FAQ_MA35_Family_NuWriter Programming in VMware

Post Reply
ytliu6
Posts: 95
Joined: 08 Nov 2022, 10:28

23 Apr 2024, 15:15

In certain situations where you need to write an image to MA35D1 in a Linux environment within VMware, you may encounter an issue where NuWriter cannot detect the device.

NuWriter can be downloaded from https://github.com/OpenNuvoton/MA35D1_NuWriter

To resolve this, first, check if MA35's USB device is assigned to VMware. Switch the USB device to VMware using VMware settings and then confirm by using the "lsusb" command.

Confirm the USB connection is Winbond Electronics Corp.

Code: Select all

# lsusb
ID 0416:5963 Winbond Electronics Corp.
After confirming USB, you can write a script to attach, erase, write.
The example below is shown how to attach MA35D1-IoT, erase SPI-NAND, and write SPI-NAND.

Code: Select all

#!/bin/bash
sudo python3 nuwriter.py -a ddrimg/MA35D16F987C.bin 
sudo python3 nuwriter.py -e spinand all
sudo python3 nuwriter.py -w spinand /home/user/Buildroot/MA35D1_IoT/output/images/pack-core-image-buildroot-ma35d1-iot-512m-spinand.bin

#MA35 #VMware #NuWriter

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 9 guests