SAM-BA not detected USB in SAM5D36

All design tool related questions: compiler, assembler, linker. Embedded programming questions: assembler, C code.

Moderator: nferre

pragneshpatel
Posts: 3
Joined: Fri Dec 04, 2020 12:52 pm

SAM-BA not detected USB in SAM5D36

Wed Dec 23, 2020 3:52 pm

Hello sir/ma'am


I am using MYC-SAMA5D3X with my customized board.

link:-http://www.myirtech.com/list.asp?id=456

I can boot from SD card and boot from NAND flash is successful

but when I try to update the image on NAND flash using USB device form SAM-BA and try to follow the steps of booting flash according to your datasheet my USB not detected


I am having an issue with update NAND FLASG I am trouble below process
Below is my PC(Ubuntu) log from dmesg
- Disconnected SD card.
- Removed Jumper pin
- BMS pin is open (Pull up)
- Press & hold the CS pin
- Press and release the Reset button
- I also try to hold cs and power up the board
- we try to install SAMA-BA driver on windows
- I will attach our error logs for Linux.

And below is my log

Code: Select all

1a.0-1.1, RNDIS device, 02:09:ff:9e:90:d5
[689686.168591] usb 2-1.5: new full-speed USB device number 27 using ehci-pci
[689686.328571] usb 2-1.5: new high-speed USB device number 28 using ehci-pci
[689686.752577] usb 2-1.5: device not accepting address 28, error -71
[689686.752775] usb 2-1-port5: attempt power cycle
[689687.356558] usb 2-1.5: new high-speed USB device number 29 using ehci-pci
[689687.448584] usb 2-1.5: device descriptor read/64, error -71
[689687.648542] usb 2-1.5: device descriptor read/64, error -71
[689687.836565] usb 2-1.5: new high-speed USB device number 30 using ehci-pci
[689687.928547] usb 2-1.5: device descriptor read/64, error -71
[689688.128559] usb 2-1.5: device descriptor read/64, error -71
[689688.236647] usb 2-1-port5: unable to enumerate USB device

I will attach our USB circuit.

Can you provide any suggestion related to the hardware and software side or any testing points about this
all suggestions are welcome

thank you regards
Pragnesh PATEL
blue_z
Location: USA
Posts: 2145
Joined: Thu Apr 19, 2007 10:15 pm

Re: SAM-BA not detected USB in SAM5D36

Fri Dec 25, 2020 1:44 am

pragneshpatel wrote: SAM-BA not detected USB ...

but when I try to update the image on NAND flash using USB device form SAM-BA and try to follow the steps of booting flash according to your datasheet my USB not detected
Despite your title, the issue probably has nothing to do with SAM-BA.
Your PC host log indicates that at the basic level, there is not a proper USB connection between your PC host and your target board.
...
[689687.448584] usb 2-1.5: device descriptor read/64, error -71
[689687.648542] usb 2-1.5: device descriptor read/64, error -71
[689687.836565] usb 2-1.5: new high-speed USB device number 30 using ehci-pci
[689687.928547] usb 2-1.5: device descriptor read/64, error -71
[689688.128559] usb 2-1.5: device descriptor read/64, error -71
[689688.236647] usb 2-1-port5: unable to enumerate USB device
FWIW an errno 71 is a "protocol error".

pragneshpatel wrote: I can boot from SD card and boot from NAND flash is successful
Then test the functionality of the USB CDC ACM connection using the serial gadget /dev/ttyGS0 on the target board and /dev/ttyACMx on the host PC. That will utilize the same hardware connection but with different (and more convenient) software on each end.

Regards

Return to “Development Tools”

Who is online

Users browsing this forum: No registered users and 1 guest