Hi,
I tried to update the Raptor/G400 loader because of the current state:
[quote] Loader (TinyBooter) version information:
4.3.6.0 on this computer.
4.2.11.1 on this device.
The Loader (TinyBooter) not up to date. <<<
Firmware (TinyCLR) version information:
4.3.6.0 on this computer.
4.3.6.0 on this device.
The Firmware (TinyCLR) is up to date. <<<
Please wait for the device to reboot… Done.
[/quote]
After Installing the SAM-BS v2.13 and grounding PA11, the device was found on COM3, which I entered when I started the update.bat from: C:\Program Files (x86)\GHI Electronics\GHI NETMF v4.3 SDK\Firmwares\G400\Loader.
The output says, that the update is done, but it isn’t. Here is the LOG.TXT:
[quote]-I- Waiting …
-I- TCL platform : Windows NT
-I- SAM-BA 2.13 on : windows
-I- 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 : Loader.tcl
-I- Connection \USBserial\COM3
-I- Connection : \USBserial\COM3 (target(comType) = 0)
-I- Board : at91sam9g15-ek
-I- Traces Level : 4
-I- target(handle) : 50268720
-I- sourcing board description file C:/Program Files (x86)/Atmel/sam-ba_2.12/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 : 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"[/quote]
Does somebody knows this problem. What do I have to change?
I did the same on a different computer with the same result, so obviously I’m doing something wrong.
@ bin-blank - Even though you used a second computer, just to be sure, I would uninstall everything related to our SDK then reinstall it and try again.
I have bad news for all those who has a problem described in this topic.
DEFECT IN HARDWARE - processor doesn’t talk to DATA FLASH. MOSI is silent (not ok) but CS and SCK are changing (looks ok). After short time whole SPI is silent (probably booting sequence stops trying talk to DATA FLASH).
CONCLUSION:
Booting takes place (SPI active)
DATA FLASH MOSI is faulty (not soldered ball? fried pin? only my guesses)
MY INVESTIGATION
I have another G400-S
I swapped DATA FLASHES
===> still same problem
I swapped whole modules (modules still have swapped DATA FLASHES)
===> now it is OK
TO GHI PERSONEL:
Investigate the design
Maybe G400-S is too susceptible to ESD. Yet, I use ESD protection when soldering and still had a problem. But my colleague doesn’t when he writes software and test it
Maybe not soldered ball.
If GHI want my faulty module I can send it for investigation. Of course on GHI cost Shipment from Poland. On forum somebody with RAPTOR board wanted to return it for replacement. Maybe he/she is from USA You would do a good deed for that fellow
-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"
UPDATE: I was able to update the raptor, although i used the latest samba 2.14 and changed “update.bat” in order to use 2.14 I think the problem was that the PA11 remain shorted during the update process in my first attempt.
@ John
Hi, that is exactly what I already did. I reinstalled everything on the first computer. Afterwards I did a clean installation an a differnt computer which has never seen something from GHI before :).
Any other good Ideas?
@ RobvanSchelven
Thanks for reply. I tried and now the Loader is up to date (and afterwards I saw that it is part of the instruction).
(While the process no module was connecten.)
Thanks a lot.
@ RobvanSchelven - I did everything according to manual, and yes, I grounded PA11 for few seconds. Notice that everything started to work after placing new module. This proves that the module was faulty. And don’t forget that I didn’t have MOSI signal on SPI to DataFlash.
Maybe there are few reasons of this error. In my case obviously it was faulty SPI.
In my case the topic is solved.
@ RagnarokPL - Great you got it working. Can you explain what you mean with “dataflash”?
Do you mean you have an external module with flash memory that connects to one of the SPI ports?