AT91SAM9260: Error: Applet lowlevel could not be loaded

Microchip in-system programming solution: SAM-BA

Moderators: nferre, fab

oliviera9
Posts: 2
Joined: Sat Apr 18, 2020 1:52 pm

AT91SAM9260: Error: Applet lowlevel could not be loaded

Sat Apr 18, 2020 2:22 pm

Hello everybody,

I am trying to use sam-ba 3.3.1 to program a nand flash connected to AT91SAM9260.
A first step would be to load lowlevel applet.

This is the command I am using.

./sam-ba -p serial:ttyUSB0:115200 -d SAM9X60:0:0 -a lowlevel

but I get the following error:
qml/SAMBA/Connection.qml:564: Error: Applet lowlevel could not be loaded

Datasheet reports SRAM size is 4K, and "In all cases, the size of the binary file must be lower than the SRAM size
because the Xmodem protocol requires some SRAM memory to work".
Applet bin files are all sized well above 4K (just try find -name *9x60*.bin| xargs ls -la)

So, am I supposed to use other applets?
I also tried to build the on my own from atmel-software-package, but still get a size larger than 4K.

Thanks.
blue_z
Location: USA
Posts: 2154
Joined: Thu Apr 19, 2007 10:15 pm

Re: AT91SAM9260: Error: Applet lowlevel could not be loaded

Sun Apr 19, 2020 9:37 pm

oliviera9 wrote: I am trying to use sam-ba 3.3.1 to program a nand flash connected to AT91SAM9260.
...
./sam-ba -p serial:ttyUSB0:115200 -d SAM9X60:0:0 -a lowlevel
Seems like you are confused by similar SoC names.
The SAM9X60 device refers specifically to the recent (2019) SoC introduced by Microchip. (The capital 'X' in this name is not a wildcard character.)
The AT91SAM9260 that you have is a SoC introduced by Atmel about 14 years ago, as part of the AT91SAM926x line.
Although there are some commonalities between them, these two SoCs are distinct products.
More important, the SAM-BA 3.x that you're trying to use supports the SAM9X60, but not the AT91SAM9260.

Try using SAM-BA 2.x (e.g. version 2.18) for the AT91SAM9260.

Regards
oliviera9
Posts: 2
Joined: Sat Apr 18, 2020 1:52 pm

Re: AT91SAM9260: Error: Applet lowlevel could not be loaded

Mon Apr 20, 2020 8:58 am

Thanks blue_z!!! This makes explains everything! I will have a try with the older sam-ba.

Return to “SAM-BA”

Who is online

Users browsing this forum: No registered users and 3 guests