From the log generated when using the Flash Bootloader.bat procedure:
-I- Waiting …
-I- TCL platform : Windows NT
-I- SAM-BA 2.18 on : windows
-I- current connection is \USBserial\COM6, \USBserial\COM6 to be matched
-I- Retrieved arguments from command line :
-I- argv 0 : \USBserial\COM6
-I- argv 1 : at91sam9g15-ek
-I- argv 2 : Bootloader.tcl
-I- Connection \USBserial\COM6
-I- Connection : \USBserial\COM6 (target(comType) = 0)
-I- Board : at91sam9g15-ek
-I- Traces Level : 4
-I- target(handle) : 47751832
-I- sourcing board description file C:/Program Files (x86)/Atmel/sam-ba_2.18/sam-ba.exe/…/tcl_lib/at91sam9g15-ek/at91sam9g15-ek.tcl
Read device Chip ID at 0xFFFFF240 — get 0x819a05a1
-I- Found chip : at91sam9x25 (Chip ID : 0x819a05a1)
-I- Loading applet applet-lowlevelinit-sam9g15.bin at address 0x300000
-I- Memory Size : 0x0 bytes
-I- Buffer address : 0x4
-I- Buffer size: 0x0 bytes
-I- Applet initialization done
-I- Low level initialized
-I- External RAM Settings : extRamVdd=0, extRamType=1, extRamDataBusWidth=32, extDDRamModel=0
-I- External RAM Settings : extRamVdd=0, extRamType=1, extRamDataBusWidth=32, extDDRamModel=0
-I- Loading applet applet-extram-sam9g15.bin at address 0x300000
-I- Memory Size : 0x8000000 bytes
-I- Buffer address : 0x300B90
-I- Buffer size: 0x0 bytes
-I- Applet initialization done
-I- External RAM initialized
-I- Command line mode : Execute script file : Bootloader.tcl
-I- Loading applet applet-extram-sam9g15.bin at address 0x300000
-I- Memory Size : 0x8000000 bytes
-I- Buffer address : 0x300B90
-I- Buffer size: 0x0 bytes
-I- Applet initialization done
-I- DATAFLASH::Init 0 (trace level : 4)
-I- Loading applet applet-dataflash-sam9g15.bin at address 0x20000000
I also found:
in the archive, which reported a similar issue at the “DATAFLASH::Init 0” stage.
This suggested a hardware fault. I tried the other suggestions in the post with no success. The Raptor I am trying to update has never been used and so there has been no previous attempts to update.
“Loading applet applet-dataflash-sam9g15.bin at address 0x20000000” - the address looks very high compared to the other loads, but is what is in the installed files (default).
I successfully updated the bootloader on my other Raptor board a number of months ago and was a simple firmware update to v0.8.0 today (successful).