Hi all,
I used to be able to program a large batch of SAME70 boards via SAM-BA v2.18 before.
Now I get "Error h_handle returned zero" problem.
I tried v2.17 and it is the same.
I am on Windows 10 21H2.
Any ideas?
TIA
Hi all,
I used to be able to program a large batch of SAME70 boards via SAM-BA v2.18 before.
Now I get "Error h_handle returned zero" problem.
I tried v2.17 and it is the same.
I am on Windows 10 21H2.
Any ideas?
TIA
I am on Windows 10 21H2.
Any ideas?
edit :
21H2 is finally out @ AskWoody
Now I get "Error h_handle returned zero" problem.
Any ideas?
[fourth paragraph]
The third reason is reliability. SAM-BA is a complex application built on top of a TCL/TK scripting engine. It works fairly well under Windows XP but there are a lot of reports of crashing or locking up on Windows Vista and Windows 7. It also doesn't run well with 64-bit versions of Windows. BOSSA by contrast is a native application and runs reliably in all versions of Windows from Windows 2000 on up for both 32-bit and 64-bit versions.
SAM-BA IN-SYSTEM PROGRAMMER | Microchip Technology
Tcl has somewhat recent issues on Windows 10; try a more recent Tcl.
Thank you for the link.
Unless I misunderstand you, I don't think it is possible to change the TCL version as it is in the .exe binary.
BOSSA may be an alternative.
Any link with examples for Atmel specific applications?
SAM-BA v3
V3 has limited device support.
I can't get it to work with UART and now it is working with USB.
My script now uses:
sam-ba \USBserial\COM3 at91same70-xplained flash.tcl
instead of:
sam-ba COM3 at91same70-xplained flash.tcl
My flash.tcl:
FLASH::Init FLASH::EraseAll send_file {Flash} "app.bin" 0x00400000 0 compare_file {Flash} "app.bin" 0x00400000 0 FLASH::ScriptGPNMV 2
I think this is a good workaround for me for the time being. I hope this will help others.
Thank you all.