atmelcorp / atmel-software-package

Atmel Software Package
Other
110 stars 76 forks source link

ATSAMA5D33 freeze on loading nandflash applet SAM-BA 3.x #119

Open Bartel-C8 opened 1 year ago

Bartel-C8 commented 1 year ago

Hi,

Recently we switched from the ATSAMA5D35 to ATSAMA5D33 (stock shortage). And we were using sam-ba 3.x (3.5 actually) for flashing it. Now, with the ATSAMA5D33 this is not possible any more. The lowlevel applet initialization works. (sam-ba_3.5/sam-ba -p usb -b sama5d3-xplained -a lowlevel) But when calling the nandflash applet, sam-ba_3.5/sam-ba -p usb -b sama5d3-xplained -a nandflash -c erase (e.g. for erasing) , it fails (after a short while) with:

Opening serial port 'ttyACM0'
Connection opened.
sam-ba_3.5/qml/SAMBA/Applet.qml:247: Error: Could not initialize applet (status: undefined)
Connection closed.

No logging (after the lowlevel applet init) is seen:

RomBOOT

Applet 'Low-Level' from softpack 3.5 (v3.5).
Current processor clock: 96 MHz
Current processor clock: 528 MHz

I've tried the extram applet as well, it has the same behaviour. The reset applet works though.

After changing back to sam-ba 2.17, we were able to flash the device correctly. So it should has something to do with the latest applets? Some configuration maybe?

We've tried multiple sam-ba 3.x versions (3.7, 3.3.1, 3.5), all of them are non-functional for this chip.