Main Site Documentation

Error when updating TinyBooter on Raptor


#1

Hello,

I am trying to update my new Rapter TinyBooter as per the documentation. Here is the information from FEZ Config:

Loader (TinyBooter) version information:
4.2.11.1 on this computer.
4.2.11.0 on this device.

The Loader (TinyBooter) not up to date. <<<

Firmware (TinyCLR) version information:
4.2.11.1 on this computer.
4.2.11.0 on this device.

The Firmware (TinyCLR) is not up to date. <<<
Please wait for the device to reboot… Done.

I have attached a picture of the TB10 I have tried in both Socket 3 and 11.
I have attached a screenshot of the devices page.
I have tried several different USB ports.

Please help, or let me know if this isn’t required.

Thanks!
Danny

Here is the log file:

-I- Waiting …
-I- TCL platform : Windows NT
-I- SAM-BA 2.12 on : windows
current connection is \USBserial\COM3, \USBserial\COM3 to be matched
-I- Retrieved arguments from command line :
-I- argv 0 : \USBserial\COM3
-I- argv 1 : at91sam9g15-ek
-I- argv 2 : G400TinyBooter.tcl
-I- Connection : \USBserial\COM3 (target(comType) = 0)
-I- Board : at91sam9g15-ek
-I- Traces Level : 4
-I- target(handle) : 57189160
Read device Chip ID at 0xfffff240 — get 0x819a05a1
-I- Found processor : at91sam9g15 (Chip ID : 0x819a05a1)
sourcing device file C:/Program Files (x86)/GHI Electronics/GHI Premium NETMF v4.2 SDK/G400/Firmware/TinyBooter/sam-ba.exe/…/tcl_lib/devices/at91sam9g15.tcl
sourcing board description file C:/Program Files (x86)/GHI Electronics/GHI Premium NETMF v4.2 SDK/G400/Firmware/TinyBooter/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 : G400TinyBooter.tcl
-I------------------------------
-I- GHI Electronics
-I- G400
-I- TinyBooter Updater Script
-I------------------------------
-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 Enable DataFlash
-I- DATAFLASH::Init 0 (trace level : 4)
-I- Loading applet applet-dataflash-sam9g15.bin at address 0x20000000
-E- Script File G400TinyBooter.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 “G400TinyBooter.tcl” line 19)
invoked from within
"source $scriptFile"


#2

@ CodeGreen - Does the device operate as normal without trying to update the firmware?


#3

@ CodeGreen - I will be receiving my Raptor today, so I will follow the process and let you know how it goes. I have however gone through the process with the G400HDR multiple times and I have not had any issues with the process, other than self inflicted issues of course :slight_smile:

One question that comes to mind, did you remove the grounding of pin 8 before updating? You should remove the grounding within 3 seconds of the board booting into loader mode.

Another thing I keep missing, the console application must be run as Administrator to perform the update.


#4

@ taylorza - you got it, I had not disconnected the jumper grounding pin8, Thanks!! Reviewing the instructions, it is clearly there.

One more question, I do have the ENC28 module (which was recommended as the correct one for the Raptor board), however the checkbox for ‘Ethernet Firmware’ was disabled and I could not check it. Will I not be able to use my Ethernet module?


#5

The Ethernet checkbox is only of OSHW boards, which have a FW with and without network.
Premium boards (like Raptor) always support Network via ENC28 (SPI), builtin (like EMX) or Wifi (SPI).

Check Codeshare for examples, like:
https://www.ghielectronics.com/community/codeshare/entry/817
CIFS_Test/Program.cs
Surly not the best code to initialize network, but it works.


#6

@ CodeGreen - That is great, my Raptor just arrived so I will be embarking on the journey shortly. Have fun.


#7

Very good, thank you!

We have officially run a few fun little tests now. We have the LDR buttons changing an led light, and writing Hello World to the Character Display, so we are off and running!

Thank you to everyone that has helped us get this far, and thanks to the future help I’m sure we will need :slight_smile:


#8

@ CodeGreen - I hope you don’t run out of resources when running this massive tests on a raptor :wink:
Have fun.