Solved G400 does not boot properly unless forced using Visual studio or reboot tinyclr using Fez config

I have two G400 based board that uses the same application. However I observed that there’s one that does not start by itself after power loss while the second is OK. Using Fez config to restart the CLR solve the problem until the next power issue… What shoud I do? Here’s the flash memory map returns by Fez config.

This one does not work

Sector Start Size Usage

 0            0x00000000          0x00008400   Bootstrap
 1            0x00008400          0x00018c00   Bootstrap
 2            0x00021000          0x00262800   Code
 3            0x00283800          0x00010800   Application
 4            0x00294000          0x00168f00   Deployment
 5            0x003fcf00          0x00010800   Storage (A)
 6            0x0040d700          0x00010800   Storage (B)
 7            0x0041df00          0x00002100   Configuration

This one is OK
0 0x00000000 0x00008400 Bootstrap
1 0x00008400 0x00018c00 Bootstrap
2 0x00021000 0x00262800 Code
3 0x00283800 0x00010800 Application
4 0x00294000 0x00168f00 Deployment
5 0x003fcf00 0x00010800 Storage (A)
6 0x0040d700 0x00010800 Storage (B)
7 0x0041df00 0x00002100 Configuration
8 0x00000000 0xd7700000 File System

Edit: solved the LDR1 pin was pulled down on th faulty board.

However this does not explain why the flash memory map is different…

1 Like