Other Parts Discussed in Thread: UNIFLASH
Hi,
I want to use TFTP to transfer the boot code to be expanded from the ROM code to the internal RAM when booting with USB0 boot, but an error occurs in the communication between the PC and the MCU.
The operating environment, confirmation procedure, and phenomena are described below.
■ Operating environment
PC: Windows 10 64bit
Driver: Installed "am335rom_rndis.inf" from rndis_drivers
Tools: Using 'tftpd64' as his TFTP server.
MCU: Connected to PC via USB.
Connect the debugger to the debug board with the power off. Set SYSBOOT[4:0] to 01011b 1st USB0 in DIP S/W.
■ Confirmation procedure
1. Start tftpd64 on your PC.
2. Power on the MCU. (Press the Power button on the key panel after turning on the main power.)
※ USB packet capture uses arbitrary software.
■ Configure tftpd64
1.Check GLOBAL Start Services from Settings to TFTP Server only.
2. On the TFTP tab, specify the path where the file to be transferred is placed in "Base Directory".
Others have not been changed from the default values.
3. "Current Directory" is the path where the files to be transferred are placed, and "Sever interfaces" is the transfer source.
Set the IP address of your PC.
Phenomenon 1
When I turn on the power of the MCU, the display of the MCU appears from the device information of the PC and disappears repeatedly.
Phenomenon 2
Even in the USB packet capture, the Device address changed and the Device information was reacquired.
Phenomenon 3
The value is notified as Disconnect in the CDC command "NETWORK CONNECTION" of the USB COM protocol.
Please let me know if you have any advice or countermeasures for phenomena 1 to 3.
Thanks,
Astro