Hi,
Got new FEZ Reaper boards.
FEZ Config shows below version info
Firmware (TinyCLR) version information:
4.3.7.10 on this computer.
4.3.7.9 on this device.
The Firmware (TinyCLR) is not up to date. <<<
Need to write a few bytes to user space in G80âs (FEZ Reaper) flash.
Gladly, came across GHI.Processor.Configuration class in this forum.
cfgBuf = System.Text.Encoding.UTF8.GetBytes("ABCD1234");
cfgStatus = Configuration.WriteEntry("DevIP", cfgBuf);
Debug.Print(cfgStatus.ToString());
returns âTrueâ.
But when read,
cfgCount = Configuration.GetEntrySize("DevIP");
Debug.Print(cfgCount.ToString());
returns â0â.
Where is the problem ? Please help.
@ aavinan - Does it fail on more than one board? Can you reflash the firmware on the board and update to the just release SDK? If it still fails then, can you post a complete program that reproduces the issue?
@ John -
-
Uninstalled old SDK 2015 R1 Pre-Release 4.
-
Uninstalled 2015 Gadgeteer core (i am not using gadgeteer lib).
-
Installed 2016 Gadgeteer core
-
Installed SDK 2016 R1
-
Updated f/w
Firmware (TinyCLR) version information:
4.3.8.1 on this computer.
4.3.8.1 on this device.
Now i face debug issues. May be some assemblies are changed ?! Should i rework on the references ?
See below error messages.
Resolving.
Link failure: some assembly references cannot be resolved!!
Assembly: USB_Writer (1.0.0.0) needs assembly âGHI.Usbâ (4.3.7.10)
Assembly: USB_Writer (1.0.0.0) needs assembly âGHI.Hardwareâ (4.3.7.10)
Error: a3000000
Waiting for debug commandsâŚ
The program â[5] Micro Framework application: Managedâ has exited with code 0 (0x0).
@ cyberh0me - Got it. Thanks.
@ John - After SDK & F/W upgrade, Configuration.ReadEntry() works ! Thanks a ton.