Cannot upgrade Raptor firmware using Gadgeteer Package 2014 R3

Is there a new procedure for upgrading the firmware on a Raptor? I connected the two pins on socket 3 and pressed the reset button, then ran update.bat, which exited with an error message:


-I- Waiting ...
-I- TCL platform : Windows NT
-I- SAM-BA 2.12  on : windows
current connection is \USBserial\COM8, \\USBserial\\COM8 to be matched 
-I- Retrieved arguments from command line :
-I- argv 0 : \USBserial\COM8
-I- argv 1 : at91sam9g15-ek
-I- argv 2 : Loader.tcl
-I- Connection : \USBserial\COM8 (target(comType) = 0)
-I- Board : at91sam9g15-ek
-I- Traces Level : 4
-I- target(handle) : 42133160
Read device Chip ID at 0xfffff240 --- get 0x819a05a1
-I- Found processor : at91sam9g15 (Chip ID : 0x819a05a1)
sourcing device file C:/Program Files (x86)/Atmel/sam-ba_2.12/sam-ba.exe/../tcl_lib/devices/at91sam9g15.tcl
sourcing board description file C:/Program Files (x86)/Atmel/sam-ba_2.12/sam-ba.exe/../tcl_lib/at91sam9g15-ek/at91sam9g15-ek.tcl
-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 : Loader.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
-E- Script File Loader.tcl returned error : Error Initializing DataFlash Applet (Can't detect known device) - Error Initializing DataFlash Applet (Can't detect known device)
    while executing
"error "Error Initializing DataFlash Applet ($dummy_err)""
    (procedure "DATAFLASH::Init" line 14)
    invoked from within
"DATAFLASH::Init 0"
    (file "Loader.tcl" line 11)
    invoked from within
"source $scriptFile"


@ dspacek -

No expert on the subject but I have set the new firmware (latest two versions) without doing anything on the Raptor. (No jumpers used).

I did have one issue and it was solved by erasing the existing application and then doing the update.

As I remember all I had to do was start the new FEZ Configure. Device USB, G400_G400.
Clicked Check device for update to be sure things were talking and then went to the Firmware Updater.

Hope it helps!

Yup. Me too although I get a simpler message from update.bat:

Updating…
Access is denied.
Done.
Press any key to continue . . .

I had trouble finding the instructions and the only ones I could find are not correct (different directory location and different batch file location). However they worked for 4.3.3 but can’t get the batch file to work for 4.3.4

Unintalled and reinstalled and it seems to be fine now.

No luck. I re-installed all GHI SDK parts. FEZconfig cannot see the board. update.bat just freezes forever, or terminates with an error message. I tried a different USB port, giving me a different COMx port number, no luck. I re-booted the PC. Is there an alternate way to load the tinybooter? Using a terminal program?


-I- Waiting ...
-I- TCL platform : Windows NT
-I- SAM-BA 2.12  on : windows
current connection is \USBserial\COM11, \\USBserial\\COM11 to be matched 
-I- Retrieved arguments from command line :
-I- argv 0 : \USBserial\COM11
-I- argv 1 : at91sam9g15-ek
-I- argv 2 : Loader.tcl
-I- Connection : \USBserial\COM11 (target(comType) = 0)
-I- Board : at91sam9g15-ek
-I- Traces Level : 4
-I- target(handle) : 43113248
Read device Chip ID at 0xfffff240 --- get 0x819a05a1
-I- Found processor : at91sam9g15 (Chip ID : 0x819a05a1)
sourcing device file C:/Program Files (x86)/Atmel/sam-ba_2.12/sam-ba.exe/../tcl_lib/devices/at91sam9g15.tcl
sourcing board description file C:/Program Files (x86)/Atmel/sam-ba_2.12/sam-ba.exe/../tcl_lib/at91sam9g15-ek/at91sam9g15-ek.tcl
-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 : Loader.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

Hung up here


@ dspacek - This is the only way to update TinyBooter. Can you try with a different Raptor?

The Raptor board is detected as a GPS Camera on COM12.

It worked ok for a different Raptor. Can I send this Raptor back for RMA replacement? I guess this one is permanently fried.

@ dspacek - Contact us directly