FEZ Raptor + tinybooter

.NET Gadgeteer with FEZ Raptor + N7 Screen + USB Client DP Module.
SDK Version 2014 R1 (v1.0.7) with G400 v4.2.11.1, TinyBooter v4.2.11.1
Firstly I ran FEZ Config.exe and finished with I then found “Loader (TinyBooter) Update G400” and installed sam-ba_2.12.exe.
I then made a plug with pin 8 connected to pin 10. Resetting with the plug in socket 3 G400 v4.2.11.2, TinyBooter v4.2.11.1
caused a “white” N7 screen.
Windows did not automatically find the driver. I installed the AT91 driver and the unspecified device showed COM3.
I double clicked on CommandPrompt.bat and entered “ProgramG400 COM3” and cmd.exe displayed:
################################################################################

                      This will program the G400

           A log file will be open when this is all complete...

To terminate this shell, you can CLOSE the log file (after it is opened in notepad!)
################################################################################

Access is denied.

At the same time the log file appeared:

-I- Waiting …
-I- TCL platform : Windows NT
-I- SAM-BA 2.12 on : windows
current connection is \USBserial\COM4, \USBserial\COM4 to be matched
-I- Retrieved arguments from command line :
-I- argv 0 : \USBserial\COM4
-I- argv 1 : at91sam9g15-ek
-I- argv 2 : G400TinyBooter.tcl
-I- Connection : \USBserial\COM4 (target(comType) = 0)
-I- Board : at91sam9g15-ek
-I- Traces Level : 4
-I- target(handle) : 65500584
Read device Chip ID at 0xfffff240 — get 0x819a05a1
-I- Found processor : at91sam9g15 (Chip ID : 0x819a05a1)
sourcing device file C:/NetMF SDK/GHI Premium NETMF v4.2 SDK/Application Folder/G400/Firmware/TinyBooter/sam-ba.exe/…/tcl_lib/devices/at91sam9g15.tcl
sourcing board description file C:/NetMF SDK/GHI Premium NETMF v4.2 SDK/Application Folder/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
-I- Memory Size : 0x420000 bytes
-I- Buffer address : 0x20008FEC
-I- Buffer size: 0x3180 bytes
-I- Applet initialization done
-I- Complete 0%
-I- Erasing: 0x3180 bytes at address 0x0
-I- Complete 0%
-I- Erasing: 0x3180 bytes at address 0x3180
-I- Complete 0%
-I- Erasing: 0x3180 bytes at address 0x6300
-I- Complete 0%
-I- Erasing: 0x3180 bytes at address 0x9480
-I- Complete 1%
-I- Erasing: 0x3180 bytes at address 0xC600
-I- Complete 1%
-I- Erasing: 0x3180 bytes at address 0xF780
-I- Complete 1%
-I- Erasing: 0x3180 bytes at address 0x12900
-I- Complete 2%
-I- Erasing: 0x3180 bytes at address 0x15A80
-I- Complete 2%
-I- Erasing: 0x3180 bytes at address 0x18C00
-I- Complete 2%
-I- Erasing: 0x3180 bytes at address 0x1BD80
-I- Complete 2%
-I- Erasing: 0x3180 bytes at address 0x1EF00
-I- Complete 3%
-I- Erasing: 0x3180 bytes at address 0x22080
-I- Complete 3%
-I- Erasing: 0x3180 bytes at address 0x25200
-I- Complete 3%
-I- Erasing: 0x3180 bytes at address 0x28380
-I- Complete 4%
-I- Erasing: 0x3180 bytes at address 0x2B500
-I- Complete 4%
-I- Erasing: 0x3180 bytes at address 0x2E680
-I- Complete 4%
-I- Erasing: 0x3180 bytes at address 0x31800
-I- Complete 4%
-I- Erasing: 0x3180 bytes at address 0x34980
-I- Complete 5%
-I- Erasing: 0x3180 bytes at address 0x37B00
-I- Complete 5%
-I- Erasing: 0x3180 bytes at address 0x3AC80
-I- Complete 5%
-I- Erasing: 0x3180 bytes at address 0x3DE00
-I- Complete 6%
-I- Erasing: 0x3180 bytes at address 0x40F80
-I- Complete 6%
-I- Erasing: 0x3180 bytes at address 0x44100
-I- Complete 6%
-I- Erasing: 0x3180 bytes at address 0x47280
-I- Complete 7%
-I- Erasing: 0x3180 bytes at address 0x4A400
-I- Complete 7%
-I- Erasing: 0x3180 bytes at address 0x4D580
-I- Complete 7%
-I- Erasing: 0x3180 bytes at address 0x50700
-I- Complete 7%
-I- Erasing: 0x3180 bytes at address 0x53880
-I- Complete 8%
-I- Erasing: 0x3180 bytes at address 0x56A00
-I- Complete 8%
-I- Erasing: 0x3180 bytes at address 0x59B80
-I- Complete 8%
-I- Erasing: 0x3180 bytes at address 0x5CD00
-I- Complete 9%
-I- Erasing: 0x3180 bytes at address 0x5FE80
-I- Complete 9%
-I- Erasing: 0x3180 bytes at address 0x63000
-I- Complete 9%
-I- Erasing: 0x3180 bytes at address 0x66180
-I- Complete 9%
-I- Erasing: 0x3180 bytes at address 0x69300
-I- Complete 10%
-I- Erasing: 0x3180 bytes at address 0x6C480
-I- Complete 10%
-I- Erasing: 0x3180 bytes at address 0x6F600
-I- Complete 10%
-I- Erasing: 0x3180 bytes at address 0x72780
-I- Complete 11%
-I- Erasing: 0x3180 bytes at address 0x75900
-I- Complete 11%
-I- Erasing: 0x3180 bytes at address 0x78A80
-I- Complete 11%
-I- Erasing: 0x3180 bytes at address 0x7BC00
-I- Complete 12%
-I- Erasing: 0x3180 bytes at address 0x7ED80
-I- Complete 12%
-I- Erasing: 0x3180 bytes at address 0x81F00
-I- Complete 12%
-I- Erasing: 0x3180 bytes at address 0x85080
-I- Complete 12%
-I- Erasing: 0x3180 bytes at address 0x88200
-I- Complete 13%
-I- Erasing: 0x3180 bytes at address 0x8B380
-I- Complete 13%
-I- Erasing: 0x3180 bytes at address 0x8E500
-I- Complete 13%
-I- Erasing: 0x3180 bytes at address 0x91680
-I- Complete 14%
-I- Erasing: 0x3180 bytes at address 0x94800
-I- Complete 14%
-I- Erasing: 0x3180 bytes at address 0x97980
-I- Complete 14%
-I- Erasing: 0x3180 bytes at address 0x9AB00
-I- Complete 14%
-I- Erasing: 0x3180 bytes at address 0x9DC80
-I- Complete 15%
-I- Erasing: 0x3180 bytes at address 0xA0E00
-I- Complete 15%
-I- Erasing: 0x3180 bytes at address 0xA3F80
-I- Complete 15%
-I- Erasing: 0x3180 bytes at address 0xA7100
-I- Complete 16%
-I- Erasing: 0x3180 bytes at address 0xAA280
-I- Complete 16%
-I- Erasing: 0x3180 bytes at address 0xAD400
-I- Complete 16%
-I- Erasing: 0x3180 bytes at address 0xB0580
-I- Complete 16%
-I- Erasing: 0x3180 bytes at address 0xB3700
-I- Complete 17%
-I- Erasing: 0x3180 bytes at address 0xB6880
-I- Complete 17%
-I- Erasing: 0x3180 bytes at address 0xB9A00
-I- Complete 17%
-I- Erasing: 0x3180 bytes at address 0xBCB80
-I- Complete 18%
-I- Erasing: 0x3180 bytes at address 0xBFD00
-I- Complete 18%
-I- Erasing: 0x3180 bytes at address 0xC2E80
-I- Complete 18%
-I- Erasing: 0x3180 bytes at address 0xC6000
-I- Complete 19%
-I- Erasing: 0x3180 bytes at address 0xC9180
-I- Complete 19%
-I- Erasing: 0x3180 bytes at address 0xCC300
-I- Complete 19%
-I- Erasing: 0x3180 bytes at address 0xCF480
-I- Complete 19%
-I- Erasing: 0x3180 bytes at address 0xD2600
-I- Complete 20%
-I- Erasing: 0x3180 bytes at address 0xD5780
-I- Complete 20%
-I- Erasing: 0x3180 bytes at address 0xD8900
-I- Complete 20%
-I- Erasing: 0x3180 bytes at address 0xDBA80
-I- Complete 21%
-I- Erasing: 0x3180 bytes at address 0xDEC00
-I- Complete 21%
-I- Erasing: 0x3180 bytes at address 0xE1D80
-I- Complete 21%
-I- Erasing: 0x3180 bytes at address 0xE4F00
-I- Complete 21%
-I- Erasing: 0x3180 bytes at address 0xE8080
-I- Complete 22%
-I- Erasing: 0x3180 bytes at address 0xEB200
-I- Complete 22%
-I- Erasing: 0x3180 bytes at address 0xEE380
-I- Complete 22%
-I- Erasing: 0x3180 bytes at address 0xF1500
-I- Complete 23%
-I- Erasing: 0x3180 bytes at address 0xF4680
-I- Complete 23%
-I- Erasing: 0x3180 bytes at address 0xF7800
-I- Complete 23%
-I- Erasing: 0x3180 bytes at address 0xFA980
-I- Complete 24%
-I- Erasing: 0x3180 bytes at address 0xFDB00
-I- Complete 24%
-I- Erasing: 0x3180 bytes at address 0x100C80
-I- Complete 24%
-I- Erasing: 0x3180 bytes at address 0x103E00
-I- Complete 24%
-I- Erasing: 0x3180 bytes at address 0x106F80
-I- Complete 25%
-I- Erasing: 0x3180 bytes at address 0x10A100
-I- Complete 25%
-I- Erasing: 0x3180 bytes at address 0x10D280
-I- Complete 25%
-I- Erasing: 0x3180 bytes at address 0x110400
-I- Complete 26%
-I- Erasing: 0x3180 bytes at address 0x113580
-I- Complete 26%
-I- Erasing: 0x3180 bytes at address 0x116700
-I- Complete 26%
-I- Erasing: 0x3180 bytes at address 0x119880
-I- Complete 26%
-I- Erasing: 0x3180 bytes at address 0x11CA00
-I- Complete 27%
-I- Erasing: 0x3180 bytes at address 0x11FB80
-I- Complete 27%
-I- Erasing: 0x3180 bytes at address 0x122D00
-I- Complete 27%
-I- Erasing: 0x3180 bytes at address 0x125E80
-I- Complete 28%
-I- Erasing: 0x3180 bytes at address 0x129000
-I- Complete 28%
-I- Erasing: 0x3180 bytes at address 0x12C180
-I- Complete 28%
-I- Erasing: 0x3180 bytes at address 0x12F300
-I- Complete 29%
-I- Erasing: 0x3180 bytes at address 0x132480
-I- Complete 29%
-I- Erasing: 0x3180 bytes at address 0x135600
-I- Complete 29%
-I- Erasing: 0x3180 bytes at address 0x138780
-I- Complete 29%
-I- Erasing: 0x3180 bytes at address 0x13B900
-I- Complete 30%
-I- Erasing: 0x3180 bytes at address 0x13EA80
-I- Complete 30%
-I- Erasing: 0x3180 bytes at address 0x141C00
-I- Complete 30%
-I- Erasing: 0x3180 bytes at address 0x144D80
-I- Complete 31%
-I- Erasing: 0x3180 bytes at address 0x147F00
-I- Complete 31%
-I- Erasing: 0x3180 bytes at address 0x14B080
-I- Complete 31%
-I- Erasing: 0x3180 bytes at address 0x14E200
-I- Complete 31%
-I- Erasing: 0x3180 bytes at address 0x151380
-I- Complete 32%
-I- Erasing: 0x3180 bytes at address 0x154500
-I- Complete 32%
-I- Erasing: 0x3180 bytes at address 0x157680
-I- Complete 32%
-I- Erasing: 0x3180 bytes at address 0x15A800
-I- Complete 33%
-I- Erasing: 0x3180 bytes at address 0x15D980
-I- Complete 33%
-I- Erasing: 0x3180 bytes at address 0x160B00
-I- Complete 33%
-I- Erasing: 0x3180 bytes at address 0x163C80
-I- Complete 33%
-I- Erasing: 0x3180 bytes at address 0x166E00
-I- Complete 34%
-I- Erasing: 0x3180 bytes at address 0x169F80
-I- Complete 34%
-I- Erasing: 0x3180 bytes at address 0x16D100
-I- Complete 34%
-I- Erasing: 0x3180 bytes at address 0x170280
-I- Complete 35%
-I- Erasing: 0x3180 bytes at address 0x173400
-I- Complete 35%
-I- Erasing: 0x3180 bytes at address 0x176580
-I- Complete 35%
-I- Erasing: 0x3180 bytes at address 0x179700
-I- Complete 36%
-I- Erasing: 0x3180 bytes at address 0x17C880
-I- Complete 36%
-I- Erasing: 0x3180 bytes at address 0x17FA00
-I- Complete 36%
-I- Erasing: 0x3180 bytes at address 0x182B80
-I- Complete 36%
-I- Erasing: 0x3180 bytes at address 0x185D00
-I- Complete 37%
-I- Erasing: 0x3180 bytes at address 0x188E80
-I- Complete 37%
-I- Erasing: 0x3180 bytes at address 0x18C000
-I- Complete 37%
-I- Erasing: 0x3180 bytes at address 0x18F180
-I- Complete 38%
-I- Erasing: 0x3180 bytes at address 0x192300
-I- Complete 38%
-I- Erasing: 0x3180 bytes at address 0x195480
-I- Complete 38%
-I- Erasing: 0x3180 bytes at address 0x198600
-I- Complete 38%
-I- Erasing: 0x3180 bytes at address 0x19B780
-I- Complete 39%
-I- Erasing: 0x3180 bytes at address 0x19E900
-I- Complete 39%
-I- Erasing: 0x3180 bytes at address 0x1A1A80
-I- Complete 39%
-I- Erasing: 0x3180 bytes at address 0x1A4C00
-I- Complete 40%
-I- Erasing: 0x3180 bytes at address 0x1A7D80
-I- Complete 40%
-I- Erasing: 0x3180 bytes at address 0x1AAF00
-I- Complete 40%
-I- Erasing: 0x3180 bytes at address 0x1AE080
-I- Complete 41%
-I- Erasing: 0x3180 bytes at address 0x1B1200
-I- Complete 41%
-I- Erasing: 0x3180 bytes at address 0x1B4380
-I- Complete 41%
-I- Erasing: 0x3180 bytes at address 0x1B7500
-I- Complete 41%
-I- Erasing: 0x3180 bytes at address 0x1BA680
-I- Complete 42%
-I- Erasing: 0x3180 bytes at address 0x1BD800
-I- Complete 42%
-I- Erasing: 0x3180 bytes at address 0x1C0980
-I- Complete 42%
-I- Erasing: 0x3180 bytes at address 0x1C3B00
-I- Complete 43%
-I- Erasing: 0x3180 bytes at address 0x1C6C80
-I- Complete 43%
-I- Erasing: 0x3180 bytes at address 0x1C9E00
-I- Complete 43%
-I- Erasing: 0x3180 bytes at address 0x1CCF80
-I- Complete 43%
-I- Erasing: 0x3180 bytes at address 0x1D0100
-I- Complete 44%
-I- Erasing: 0x3180 bytes at address 0x1D3280
-I- Complete 44%
-I- Erasing: 0x3180 bytes at address 0x1D6400
-I- Complete 44%
-I- Erasing: 0x3180 bytes at address 0x1D9580
-I- Complete 45%
-I- Erasing: 0x3180 bytes at address 0x1DC700
-I- Complete 45%
-I- Erasing: 0x3180 bytes at address 0x1DF880
-I- Complete 45%
-I- Erasing: 0x3180 bytes at address 0x1E2A00
-I- Complete 45%
-I- Erasing: 0x3180 bytes at address 0x1E5B80
-I- Complete 46%
-I- Erasing: 0x3180 bytes at address 0x1E8D00
-I- Complete 46%
-I- Erasing: 0x3180 bytes at address 0x1EBE80
-I- Complete 46%
-I- Erasing: 0x3180 bytes at address 0x1EF000
-I- Complete 47%
-I- Erasing: 0x3180 bytes at address 0x1F2180
-I- Complete 47%
-I- Erasing: 0x3180 bytes at address 0x1F5300
-I- Complete 47%
-I- Erasing: 0x3180 bytes at address 0x1F8480
-I- Complete 48%
-I- Erasing: 0x3180 bytes at address 0x1FB600
-I- Complete 48%
-I- Erasing: 0x3180 bytes at address 0x1FE780
-I- Complete 48%
-I- Erasing: 0x3180 bytes at address 0x201900
-I- Complete 48%
-I- Erasing: 0x3180 bytes at address 0x204A80
-I- Complete 49%
-I- Erasing: 0x3180 bytes at address 0x207C00
-I- Complete 49%
-I- Erasing: 0x3180 bytes at address 0x20AD80
-I- Complete 49%
-I- Erasing: 0x3180 bytes at address 0x20DF00
-I- Complete 50%
-I- Erasing: 0x3180 bytes at address 0x211080
-I- Complete 50%
-I- Erasing: 0x3180 bytes at address 0x214200
-I- Complete 50%
-I- Erasing: 0x3180 bytes at address 0x217380
-I- Complete 50%
-I- Erasing: 0x3180 bytes at address 0x21A500
-I- Complete 51%
-I- Erasing: 0x3180 bytes at address 0x21D680
-I- Complete 51%
-I- Erasing: 0x3180 bytes at address 0x220800
-I- Complete 51%
-I- Erasing: 0x3180 bytes at address 0x223980
-I- Complete 52%
-I- Erasing: 0x3180 bytes at address 0x226B00
-I- Complete 52%
-I- Erasing: 0x3180 bytes at address 0x229C80
-I- Complete 52%
-I- Erasing: 0x3180 bytes at address 0x22CE00
-I- Complete 53%
-I- Erasing: 0x3180 bytes at address 0x22FF80
-I- Complete 53%
-I- Erasing: 0x3180 bytes at address 0x233100
-I- Complete 53%
-I- Erasing: 0x3180 bytes at address 0x236280
-I- Complete 53%
-I- Erasing: 0x3180 bytes at address 0x239400
-I- Complete 54%
-I- Erasing: 0x3180 bytes at address 0x23C580
-I- Complete 54%
-I- Erasing: 0x3180 bytes at address 0x23F700
-I- Complete 54%
-I- Erasing: 0x3180 bytes at address 0x242880
-I- Complete 55%
-I- Erasing: 0x3180 bytes at address 0x245A00
-I- Complete 55%
-I- Erasing: 0x3180 bytes at address 0x248B80
-I- Complete 55%
-I- Erasing: 0x3180 bytes at address 0x24BD00
-I- Complete 55%
-I- Erasing: 0x3180 bytes at address 0x24EE80
-I- Complete 56%
-I- Erasing: 0x3180 bytes at address 0x252000
-I- Complete 56%
-I- Erasing: 0x3180 bytes at address 0x255180
-I- Complete 56%
-I- Erasing: 0x3180 bytes at address 0x258300
-I- Complete 57%
-I- Erasing: 0x3180 bytes at address 0x25B480
-I- Complete 57%
-I- Erasing: 0x3180 bytes at address 0x25E600
-I- Complete 57%
-I- Erasing: 0x3180 bytes at address 0x261780
-I- Complete 58%
-I- Erasing: 0x3180 bytes at address 0x264900
-I- Complete 58%
-I- Erasing: 0x3180 bytes at address 0x267A80
-I- Complete 58%
-I- Erasing: 0x3180 bytes at address 0x26AC00
-I- Complete 58%
-I- Erasing: 0x3180 bytes at address 0x26DD80
-I- Complete 59%
-I- Erasing: 0x3180 bytes at address 0x270F00
-I- Complete 59%
-I- Erasing: 0x3180 bytes at address 0x274080
-I- Complete 59%
-I- Erasing: 0x3180 bytes at address 0x277200
-I- Complete 60%
-I- Erasing: 0x3180 bytes at address 0x27A380
-I- Complete 60%
-I- Erasing: 0x3180 bytes at address 0x27D500
-I- Complete 60%
-I- Erasing: 0x3180 bytes at address 0x280680
-I- Complete 60%
-I- Erasing: 0x3180 bytes at address 0x283800
-I- Complete 61%
-I- Erasing: 0x3180 bytes at address 0x286980
-I- Complete 61%
-I- Erasing: 0x3180 bytes at address 0x289B00
-I- Complete 61%
-I- Erasing: 0x3180 bytes at address 0x28CC80
-I- Complete 62%
-I- Erasing: 0x3180 bytes at address 0x28FE00
-I- Complete 62%
-I- Erasing: 0x3180 bytes at address 0x292F80
-I- Complete 62%
-I- Erasing: 0x3180 bytes at address 0x296100
-I- Complete 62%
-I- Erasing: 0x3180 bytes at address 0x299280
-I- Complete 63%
-I- Erasing: 0x3180 bytes at address 0x29C400
-I- Complete 63%
-I- Erasing: 0x3180 bytes at address 0x29F580
-I- Complete 63%
-I- Erasing: 0x3180 bytes at address 0x2A2700
-I- Complete 64%
-I- Erasing: 0x3180 bytes at address 0x2A5880
-I- Complete 64%
-I- Erasing: 0x3180 bytes at address 0x2A8A00
-I- Complete 64%
-I- Erasing: 0x3180 bytes at address 0x2ABB80
-I- Complete 65%
-I- Erasing: 0x3180 bytes at address 0x2AED00
-I- Complete 65%
-I- Erasing: 0x3180 bytes at address 0x2B1E80
-I- Complete 65%
-I- Erasing: 0x3180 bytes at address 0x2B5000
-I- Complete 65%
-I- Erasing: 0x3180 bytes at address 0x2B8180
-I- Complete 66%
-I- Erasing: 0x3180 bytes at address 0x2BB300
-I- Complete 66%
-I- Erasing: 0x3180 bytes at address 0x2BE480
-I- Complete 66%
-I- Erasing: 0x3180 bytes at address 0x2C1600
-I- Complete 67%
-I- Erasing: 0x3180 bytes at address 0x2C4780
-I- Complete 67%
-I- Erasing: 0x3180 bytes at address 0x2C7900
-I- Complete 67%
-I- Erasing: 0x3180 bytes at address 0x2CAA80
-I- Complete 67%
-I- Erasing: 0x3180 bytes at address 0x2CDC00
-I- Complete 68%
-I- Erasing: 0x3180 bytes at address 0x2D0D80
-I- Complete 68%
-I- Erasing: 0x3180 bytes at address 0x2D3F00
-I- Complete 68%
-I- Erasing: 0x3180 bytes at address 0x2D7080
-I- Complete 69%
-I- Erasing: 0x3180 bytes at address 0x2DA200
-I- Complete 69%
-I- Erasing: 0x3180 bytes at address 0x2DD380
-I- Complete 69%
-I- Erasing: 0x3180 bytes at address 0x2E0500
-I- Complete 70%
-I- Erasing: 0x3180 bytes at address 0x2E3680
-I- Complete 70%
-I- Erasing: 0x3180 bytes at address 0x2E6800
-I- Complete 70%
-I- Erasing: 0x3180 bytes at address 0x2E9980
-I- Complete 70%
-I- Erasing: 0x3180 bytes at address 0x2ECB00
-I- Complete 71%
-I- Erasing: 0x3180 bytes at address 0x2EFC80
-I- Complete 71%
-I- Erasing: 0x3180 bytes at address 0x2F2E00
-I- Complete 71%
-I- Erasing: 0x3180 bytes at address 0x2F5F80
-I- Complete 72%
-I- Erasing: 0x3180 bytes at address 0x2F9100
-I- Complete 72%
-I- Erasing: 0x3180 bytes at address 0x2FC280
-I- Complete 72%
-I- Erasing: 0x3180 bytes at address 0x2FF400
-I- Complete 72%
-I- Erasing: 0x3180 bytes at address 0x302580
-I- Complete 73%
-I- Erasing: 0x3180 bytes at address 0x305700
-I- Complete 73%
-I- Erasing: 0x3180 bytes at address 0x308880
-I- Complete 73%
-I- Erasing: 0x3180 bytes at address 0x30BA00
-I- Complete 74%
-I- Erasing: 0x3180 bytes at address 0x30EB80
-I- Complete 74%
-I- Erasing: 0x3180 bytes at address 0x311D00
-I- Complete 74%
-I- Erasing: 0x3180 bytes at address 0x314E80
-I- Complete 75%
-I- Erasing: 0x3180 bytes at address 0x318000
-I- Complete 75%
-I- Erasing: 0x3180 bytes at address 0x31B180
-I- Complete 75%
-I- Erasing: 0x3180 bytes at address 0x31E300
-I- Complete 75%
-I- Erasing: 0x3180 bytes at address 0x321480
-I- Complete 76%
-I- Erasing: 0x3180 bytes at address 0x324600
-I- Complete 76%
-I- Erasing: 0x3180 bytes at address 0x327780
-I- Complete 76%
-I- Erasing: 0x3180 bytes at address 0x32A900
-I- Complete 77%
-I- Erasing: 0x3180 bytes at address 0x32DA80
-I- Complete 77%
-I- Erasing: 0x3180 bytes at address 0x330C00
-I- Complete 77%
-I- Erasing: 0x3180 bytes at address 0x333D80
-I- Complete 77%
-I- Erasing: 0x3180 bytes at address 0x336F00
-I- Complete 78%
-I- Erasing: 0x3180 bytes at address 0x33A080
-I- Complete 78%
-I- Erasing: 0x3180 bytes at address 0x33D200
-I- Complete 78%
-I- Erasing: 0x3180 bytes at address 0x340380
-I- Complete 79%
-I- Erasing: 0x3180 bytes at address 0x343500
-I- Complete 79%
-I- Erasing: 0x3180 bytes at address 0x346680
-I- Complete 79%
-I- Erasing: 0x3180 bytes at address 0x349800
-I- Complete 79%
-I- Erasing: 0x3180 bytes at address 0x34C980
-I- Complete 80%
-I- Erasing: 0x3180 bytes at address 0x34FB00
-I- Complete 80%
-I- Erasing: 0x3180 bytes at address 0x352C80
-I- Complete 80%
-I- Erasing: 0x3180 bytes at address 0x355E00
-I- Complete 81%
-I- Erasing: 0x3180 bytes at address 0x358F80
-I- Complete 81%
-I- Erasing: 0x3180 bytes at address 0x35C100
-I- Complete 81%
-I- Erasing: 0x3180 bytes at address 0x35F280
-I- Complete 82%
-I- Erasing: 0x3180 bytes at address 0x362400
-I- Complete 82%
-I- Erasing: 0x3180 bytes at address 0x365580
-I- Complete 82%
-I- Erasing: 0x3180 bytes at address 0x368700
-I- Complete 82%
-I- Erasing: 0x3180 bytes at address 0x36B880
-I- Complete 83%
-I- Erasing: 0x3180 bytes at address 0x36EA00
-I- Complete 83%
-I- Erasing: 0x3180 bytes at address 0x371B80
-I- Complete 83%
-I- Erasing: 0x3180 bytes at address 0x374D00
-I- Complete 84%
-I- Erasing: 0x3180 bytes at address 0x377E80
-I- Complete 84%
-I- Erasing: 0x3180 bytes at address 0x37B000
-I- Complete 84%
-I- Erasing: 0x3180 bytes at address 0x37E180
-I- Complete 84%
-I- Erasing: 0x3180 bytes at address 0x381300
-I- Complete 85%
-I- Erasing: 0x3180 bytes at address 0x384480
-I- Complete 85%
-I- Erasing: 0x3180 bytes at address 0x387600
-I- Complete 85%
-I- Erasing: 0x3180 bytes at address 0x38A780
-I- Complete 86%
-I- Erasing: 0x3180 bytes at address 0x38D900
-I- Complete 86%
-I- Erasing: 0x3180 bytes at address 0x390A80
-I- Complete 86%
-I- Erasing: 0x3180 bytes at address 0x393C00
-I- Complete 87%
-I- Erasing: 0x3180 bytes at address 0x396D80
-I- Complete 87%
-I- Erasing: 0x3180 bytes at address 0x399F00
-I- Complete 87%
-I- Erasing: 0x3180 bytes at address 0x39D080
-I- Complete 87%
-I- Erasing: 0x3180 bytes at address 0x3A0200
-I- Complete 88%
-I- Erasing: 0x3180 bytes at address 0x3A3380
-I- Complete 88%
-I- Erasing: 0x3180 bytes at address 0x3A6500
-I- Complete 88%
-I- Erasing: 0x3180 bytes at address 0x3A9680
-I- Complete 89%
-I- Erasing: 0x3180 bytes at address 0x3AC800
-I- Complete 89%
-I- Erasing: 0x3180 bytes at address 0x3AF980
-I- Complete 89%
-I- Erasing: 0x3180 bytes at address 0x3B2B00
-I- Complete 89%
-I- Erasing: 0x3180 bytes at address 0x3B5C80
-I- Complete 90%
-I- Erasing: 0x3180 bytes at address 0x3B8E00
-I- Complete 90%
-I- Erasing: 0x3180 bytes at address 0x3BBF80
-I- Complete 90%
-I- Erasing: 0x3180 bytes at address 0x3BF100
-I- Complete 91%
-I- Erasing: 0x3180 bytes at address 0x3C2280
-I- Complete 91%
-I- Erasing: 0x3180 bytes at address 0x3C5400
-I- Complete 91%
-I- Erasing: 0x3180 bytes at address 0x3C8580
-I- Complete 91%
-I- Erasing: 0x3180 bytes at address 0x3CB700
-I- Complete 92%
-I- Erasing: 0x3180 bytes at address 0x3CE880
-I- Complete 92%
-I- Erasing: 0x3180 bytes at address 0x3D1A00
-I- Complete 92%
-I- Erasing: 0x3180 bytes at address 0x3D4B80
-I- Complete 93%
-I- Erasing: 0x3180 bytes at address 0x3D7D00
-I- Complete 93%
-I- Erasing: 0x3180 bytes at address 0x3DAE80
-I- Complete 93%
-I- Erasing: 0x3180 bytes at address 0x3DE000
-I- Complete 94%
-I- Erasing: 0x3180 bytes at address 0x3E1180
-I- Complete 94%
-I- Erasing: 0x3180 bytes at address 0x3E4300
-I- Complete 94%
-I- Erasing: 0x3180 bytes at address 0x3E7480
-I- Complete 94%
-I- Erasing: 0x3180 bytes at address 0x3EA600
-I- Complete 95%
-I- Erasing: 0x3180 bytes at address 0x3ED780
-I- Complete 95%
-I- Erasing: 0x3180 bytes at address 0x3F0900
-I- Complete 95%
-I- Erasing: 0x3180 bytes at address 0x3F3A80
-I- Complete 96%
-I- Erasing: 0x3180 bytes at address 0x3F6C00
-I- Complete 96%
-I- Erasing: 0x3180 bytes at address 0x3F9D80
-I- Complete 96%
-I- Erasing: 0x3180 bytes at address 0x3FCF00
-I- Complete 96%
-I- Erasing: 0x3180 bytes at address 0x400080
-I- Complete 97%
-I- Erasing: 0x3180 bytes at address 0x403200
-I- Complete 97%
-I- Erasing: 0x3180 bytes at address 0x406380
-I- Complete 97%
-I- Erasing: 0x3180 bytes at address 0x409500
-I- Complete 98%
-I- Erasing: 0x3180 bytes at address 0x40C680
-I- Complete 98%
-I- Erasing: 0x3180 bytes at address 0x40F800
-I- Complete 98%
-I- Erasing: 0x3180 bytes at address 0x412980
-I- Complete 99%
-I- Erasing: 0x3180 bytes at address 0x415B00
-I- Complete 99%
-I- Erasing: 0x3180 bytes at address 0x418C80
-I- Complete 99%
-I- Erasing: 0x3180 bytes at address 0x41BE00
-I- Complete 99%
-I- Erasing: 0x3180 bytes at address 0x41EF80
-I using G400_Tinybooter.bin
-I- Send File G400_Tinybooter.bin at address 0x8400
GENERIC::SendFile G400_Tinybooter.bin at address 0x8400
-I- File size : 0x108E0 byte(s)
-I- Complete 0%
-I- Writing: 0x3180 bytes at 0x8400 (buffer addr : 0x20008FEC)
-I- 0x3180 bytes written by applet
-I- Complete 18%
-I- Writing: 0x3180 bytes at 0xB580 (buffer addr : 0x20008FEC)
-I- 0x3180 bytes written by applet
-I- Complete 37%
-I- Writing: 0x3180 bytes at 0xE700 (buffer addr : 0x20008FEC)
-I- 0x3180 bytes written by applet
-I- Complete 56%
-I- Writing: 0x3180 bytes at 0x11880 (buffer addr : 0x20008FEC)
-I- 0x3180 bytes written by applet
-I- Complete 74%
-I- Writing: 0x3180 bytes at 0x14A00 (buffer addr : 0x20008FEC)
-I- 0x3180 bytes written by applet
-I- Complete 93%
-I- Writing: 0x1160 bytes at 0x17B80 (buffer addr : 0x20008FEC)
-I- 0x1160 bytes written by applet
-I Using G400_Beta_Bootstrap.bin
GENERIC::SendFile G400_Beta_Bootstrap.bin at address 0x0
-I- File size : 0x2280 byte(s)
-I- Complete 0%
-I- Writing: 0x2280 bytes at 0x0 (buffer addr : 0x20008FEC)
-I- 0x2280 bytes written by applet
-I------------------------------
-I- Script Completed
-I- Please Reset the Device
-I------------------------------

I thought this looked normal!

But FEZ Config.exe still showed G400 v4.2.11.2, TinyBooter v4.2.11.1 and got stuck on simplifying the name…

I now permanently have a white screen.

Can there be a conflict between GHI NETMF Debug Interface and the driver for Sam-ba?

How can I get back on track? Your help would be much appreciated.
Regards,
Kevin.

Reading your log I see this:

You didn’t run SAMBA as an admin. The log file is probably from the last time you ran it. look at the date stamp on the file?

You also have to make sure FEZConfig does not run at the same time.

Thank you for your replies. I have been delayed by a SearchProtect conduit problem.
@ Brett Ok I need to right click on CommandPrompt.bat and select run as administrator then change to (cd) C:\Program Files\GHI Electronics\GHI Premium NETMF v4.2 SDK\G400\Firmware\TinyBooter then run ProgramG400.bat.
I had just installed sam-ba and the log file was the first!
The image attached shows a device G400. I uninstalled “GHI NETMF Debug Interface” but Windows reinstalled it automatically. Can this driver conflict with the driver for sam-ba?
They use the same usb connection? I cannot see the unspecified driver. I do not know the COM number?

I also have a white N7 screen permanently. Do I have a corrupt raptor system?

@ Reinhard Thank you I will close FEZ Config before running ProgramG400.bat.

Many thanks,
Kevin.

The white screen simply means your screen is uninitialized. That is not a broken Raptor, you need to get the firmware on the device and get back into Fez Config to set that up.

start to run the CMD process as you normally would on your environment, but right click it and say Run as Admin.
Then navigate to the correct directory, using the CD command…
cd
cd \program files (x86)\GHI Electronics\etc etc

and end up in the G400\firmware\tinybooter

Open up device manager. This will help you make sure the COM port you use is correct.
Connect the raptor and go into bootloader mode as you did in the past. You’ll see the device manager screen refresh and you should get a new COM port visible. Say it appears as COM7…

If the file named logfile.log exists, rename it (use explorer or type REN logfile.log *.old)

Then run the command…
programg400.bat COM7
(note, the COM part is case sensitive, the batch file name is not)

At the end of the process (minutes not seconds) the notepad window should pop up.

Please don’t paste the whole log back in here. We didn’t need to see the updates from 2% to 98%, we could have got by without that :slight_smile: :smiley: ;D But let us know if anything pops up !

Note to Jeff@ GHI (for whoever owns the update batch file). You could add a simple bit of additional information into the logfile to say when the log was created… I would suggest you check for the log very early in the process and remove it if exists, then issue a date /t and time /t command that is redirected/appended to the log using >>logfile.log. You’ll need to change to the append in the SAM-BA command as well.

oh one more thing - when you boot in bootloader mode a completely different driver is used, the GHI debug one will not interfere here. Device Manager will help show what’s going on if you can’t get the COM port showing up

Thank you Brett. Success at last.
As a result of the first image attached I needed to apply:
"Why is my AT91 device recognized as a “GPS Camera Detector"once connected to a USB port on my computer?”
Answer:
This happens when the AT91 microcontroller is connected on a new USB port and the "Connect to Windows Update"option has been selected in the "Welcome to the Found New Hardware Wizard"window to install the driver.
A wrong USB driver is fetched from Windows Update web site which makes your device to appear as a “GPS Camera Detector”. This prevents the usage of tools like SAM-BA from accessing the device, because no "/USBserial/COMx"connection is found.
How to fix it:
First of all, make sure you have the latest version of SAM-BA software tool installed on your computer: Smart | Connected | Secure | Microchip Technology
Using the Windows Explorer Search option, perform a search operation for "GPS Camera"string in all the files located in the "c:\windows\inf"directory.
The result will point on a file named "oemxxx.inf"where 'xxx’is a number which may differ from one computer to another.
This file should have the following header:
;
; WPUSBSERIAL.INF (for Windows 2000)
;
; Copyright (c) 2000, WondeProud Technology Inc.
On the faulty computer’s USB connector, plug the USB cable with the board powered on
Open the "Device manager"in Control Panel ->System ->Hardware pane
In the "Ports (COM and LPT)"section there is a "GPS Camera Detect (COMxxx)"entry
Using a mouse right click on this entry, select "Uninstall"and then "OK"to confirm driver uninstallation
The selected peripheral must disappear from the list
Delete the "oemxxx.inf"file previously found
Disconnect the USB cable and re-connect it
A "Welcome to the Found New Hardware Wizard"window must be displayed
Do NOT choose the 1st or 2nd option which will connect to "Windows Update"to find the driver, but select the 3rd one: “No, not this time”
Then in the next window, select “Install the Software automatically”
The Wizard will automatically find the Atmel driver: "AT91 USB to Serial Converter"that is provided with SAM-BA
Choose "Continue Anyway"when the system is asking for and then click on the "Finish"button
The device is now recognized as an “AT91 USB to Serial Converter”

Hence images 2, 3 & 4.
I completed your instructions (carefully) hence image 5 and the text file:
-I- Waiting …
-I- TCL platform : Windows NT
-I- SAM-BA 2.12 on : windows
current connection is \USBserial\COM4, \USBserial\COM4 to be matched
-I- Retrieved arguments from command line :
-I- argv 0 : \USBserial\COM4
-I- argv 1 : at91sam9g15-ek
-I- argv 2 : G400TinyBooter.tcl
-I- Connection : \USBserial\COM4 (target(comType) = 0)
-I- Board : at91sam9g15-ek
-I- Traces Level : 4
-I- target(handle) : 30877616
Read device Chip ID at 0xfffff240 — get 0x819a05a1
-I- Found processor : at91sam9g15 (Chip ID : 0x819a05a1)
sourcing device file C:/Program Files/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/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
-I- Memory Size : 0x420000 bytes
-I- Buffer address : 0x20008FEC
-I- Buffer size: 0x3180 bytes
-I- Applet initialization done
-I- Complete 0%
-I- Erasing: 0x3180 bytes at address 0x0
-I- Complete 0%

-I- Complete 99%
-I- Erasing: 0x3180 bytes at address 0x41EF80
-I using G400_Tinybooter.bin
-I- Send File G400_Tinybooter.bin at address 0x8400
GENERIC::SendFile G400_Tinybooter.bin at address 0x8400
-I- File size : 0x108E0 byte(s)
-I- Complete 0%
-I- Writing: 0x3180 bytes at 0x8400 (buffer addr : 0x20008FEC)
-I- 0x3180 bytes written by applet
-I- Complete 18%
-I- Writing: 0x3180 bytes at 0xB580 (buffer addr : 0x20008FEC)
-I- 0x3180 bytes written by applet
-I- Complete 37%
-I- Writing: 0x3180 bytes at 0xE700 (buffer addr : 0x20008FEC)
-I- 0x3180 bytes written by applet
-I- Complete 56%
-I- Writing: 0x3180 bytes at 0x11880 (buffer addr : 0x20008FEC)
-I- 0x3180 bytes written by applet
-I- Complete 74%
-I- Writing: 0x3180 bytes at 0x14A00 (buffer addr : 0x20008FEC)
-I- 0x3180 bytes written by applet
-I- Complete 93%
-I- Writing: 0x1160 bytes at 0x17B80 (buffer addr : 0x20008FEC)
-I- 0x1160 bytes written by applet
-I Using G400_Beta_Bootstrap.bin
GENERIC::SendFile G400_Beta_Bootstrap.bin at address 0x0
-I- File size : 0x2280 byte(s)
-I- Complete 0%
-I- Writing: 0x2280 bytes at 0x0 (buffer addr : 0x20008FEC)
-I- 0x2280 bytes written by applet
-I------------------------------
-I- Script Completed
-I- Please Reset the Device
-I------------------------------
After resetting the Raptor I then completed FEZ Config updating TinyCLR (image 6).
Thank you Brett.
Kevin

that’s awesome news, great to hear.

The driver thing. Really, it’s a COM port so leaving it as a “GPS Camera Detect” is fine. The program just talks to the serial endpoint and pushes code, so it’s not actually a problem had you not chased that rabbit down the burrow :slight_smile:

Now go make cool stuff - that runs fast :slight_smile:

It’s good of you to take the trouble to reply.
re "rabbit down the burrow"
You or the documents on site could have told me that any driver would do. May I quote from an earlier reply of yours: “Open up device manager. This will help you make sure the COM port you use is correct.” Note the words “is correct”.
Also I am aware that the correct driver is in this “burrow”: C:\Program Files\GHI Electronics\GHI Premium NETMF v4.2 SDK\G400\Firmware\TinyBooter\drv
I appreciate your expertise.

“is correct” was in the context of typing it in the command, not that it had a specific driver against it - yes I could have been more detailed there for you. The important thing is that what you did is not going to cause you any issue, it was just something that you could have avoided (and that part isn’t well documented - probably because it’s not used/expected). The other reason to go in to device manager is to ensure drivers load and the device isn’t “unrecognised” (the exclamation point icon). The G400 tinybooter update document https://www.ghielectronics.com/docs/236/loader-tinybooter-update-g400 does not talk about needing anything more than the COMx number. But as I said, the important thing is you’re up and operating and now have seen the process so if it’s ever needed again you’ll have a good understanding.