I am writing to ask about my problem with SAM-BA ISP programmer.
I use the evaluation board, which is similar to the AT91SAM9260-EK. I program it using SAM-BA (the latest version - 2.9 RC6, but the problem also occurs in versions 2.8 and 2.7) on Linux. When I am using Xubuntu, everything is OK, but when I run SAM-BA on Arch Linux (32-bit, kernel 2.6.32) it hangs:
Code:
-I- Waiting ...
-I- TCL platform : Linux
-I- SAM-BA CDC 2.9 rc6 on : linux
-I- Retrieved arguments from command line :
-I- argv 0 : /dev/ttyUSB0
-I- argv 1 : AT91SAM9260-EK
-I- argv 2 : MMnet1000_prog.tcl
-I- Connection : /dev/ttyUSB0 (target(comType) = 1)
-I- Board : at91sam9260-ek
-I- Traces Level : 4
-I- target(handle) : file5
Read device Chip ID at 0xfffff240 --- get 0x019803a2
-I- Found processor : at91sam9260 (Chip ID : 0x019803a2)
-I- External RAM Settings : extRamVdd=1, extRamType=0, extRamDataBusWidth=32, extDDRamModel=0
-I- Loading applet isp-extram-at91sam9260.bin at address 0x200000
If now I'm reseting the processor, I get:
Code:
-E- Error during external RAM initialization.
-E- External RAM access is required to run applets.
The error is probably in a function TCL_Read_Int, because the program hangs on the line 130 in file
applets/isp-project/tcl_lib/common/generic.tcl. After removal of this loop, hangs on the next line, which is called TCL_Read_Int function.
Do you know what can cause these problems? I run Ubuntu on a virtual machine on the same computer where I have Arch Linux, so it can not be fault of the hardware.