SAMA5D27-SOM1-EK1 problem with SerialFlash

Moderator: nferre

supersonic31337
Posts: 5
Joined: Tue Feb 19, 2019 11:55 am

SAMA5D27-SOM1-EK1 problem with SerialFlash

Tue Feb 19, 2019 2:26 pm

Hello all, I am trying to write bootstrap binary into serial flash, but got error

D:\sam-ba_3.3-beta1>sam-ba -p serial -b sama5d2-xplained -a serialflash -c erase::0x3000 -c writeboot:at91bootstrap-sama5d2_xplained.bin
Opening serial port 'COM3'
Connection opened.
D:/sam-ba_3.3-beta1/qml/SAMBA/Applet.qml:232: Error: Could not initialize applet (status: 1)
Connection closed.

Anyone knowns what is problem ? I tried close and open J13 jumper, but with same results.

Also, any actions with applet serialflash ends with
Error: Could not initialize applet (status: 1)

Also same error happened when i tried work with applet serialflash and board connected to J10 usb port

D:\sam-ba_3.3-beta1>sam-ba -p jlink -b sama5d2-xplained -a serialflash -c erase::0x3000 -c writeboot:at91bootstrap-sama5d2_xplained.bin
Opening J-Link with S/N '483082956'
Found Atmel SAMA5D2 device
Disabling watchdog
Connection opened.
D:/sam-ba_3.3-beta1/qml/SAMBA/Applet.qml:232: Error: Could not initialize applet (status: 1)
Connection closed.

D:\sam-ba_3.3-beta1>
nferre
Site Admin
Posts: 203
Joined: Wed Feb 14, 2007 11:17 am

Re: SAMA5D27-SOM1-EK1 problem with SerialFlash

Wed Feb 20, 2019 3:03 pm

Hi,

Try with connecting only the USBA cable (J17) and not the JLINK one (J10). Your error looks like SAM-BA is trying to access on-board USB-to-serial converter instead of the SAMA5D2 USB gadget connection.
supersonic31337
Posts: 5
Joined: Tue Feb 19, 2019 11:55 am

Re: SAMA5D27-SOM1-EK1 problem with SerialFlash

Wed Feb 20, 2019 4:45 pm

I solved this problem, my ATSAMA5d27 SOM1 EK developing board dosnt have serial flash or nand flash, only qspi flash, i used command line like bellow
c:\sam-ba\sam-ba -p jlink(or serial) -b sama5d27-som1-ek -a qspiflash <other needed arguments>
and this works fine. But I faced with new problem, I will decribe it in new topic.

Return to “SAMA5-based”

Who is online

Users browsing this forum: Baidu [Spider] and 1 guest