Hi,
i have a Fez Cerb40 ii and i want to change the rate of the internal clock to watch the consumption of the microprocessor.
I code in c# and i haven’t idea to do this.
Clock Rate can be set in SPI_Configuration but it will not change anything at the micro processor.
but i have a question at the end. Where find and add reference rlp for using “RLP.”
ex :
RLP.LoadELF(elf_file);
RLP.InitializeBSSRegion(elf_file);
SwapArray= RLP.GetProcedure(elf_file, “SwapArray”);
// We don’t need this anymore
elf_file = null;
// Your code
@ francois910 - GHI.Processor is part of the GHI 4.3 BETA release. You are running the final release of the 4.2 code. Although you have the Microsoft 4.3 core package installed the GHI extensions are at 4.2. As I said, you can run RLPlite which is part of a different namespace or upgrade to the latest Beta version.
yes sorry hagster, i write before look your message
i have install beta 3
and now i have in my reference page GHI composant (ghi.premnium.blabla, ghi.hardware.blabla,GHI.OSHW.blabla,GHIElectronics.blabla) but not GHI.processor
In this exemple project, he use ‘using GHI.Premium.Native;’ for me it’s GHI.OSHW.Native but when i write RLP.LoadELF(image); it’s said that rlp not exist in the actual context
Have you selected 4.3 as the target framework in the project settings?
Also, Simon’s emBlocks template is for the old RLPlite. You need to modify it to be like the G400 or G120 templates. It’s probably easiest to start with the G400 and swap the processor .h file for the stm32blah.h file and change the ELL base address and length to the correct size.
Hope it goes well, TOP is really not that difficult once you have it setup.
Once you do that, the GHI.Processor namespace exists in the GHI.Hardware dll. Add that reference to your project and you will have access to GHI.Processor.
Well, I knew that I would come back soon. I have this error message:
Erreur 1 Cannot deploy the base assembly ‘mscorlib’, or any of his satellite assemblies, to device - USB:Gadgeteer twice. Assembly ‘mscorlib’ on the device has version 4.2.0.0, while the program is trying to deploy version 4.3.1.0
Yet I have to delete the reference 4.2 and version 4.3 added mscorlib.
Or maybe it’s just that the microprocessor does not support version 4.3?
And i used in 4.2
using GHI.Hardware.FEZCerb;
using GPM = GHI.OSHW.Hardware;
using GHI.OSHW.Native;
your problem is that the firmware on the device is 4.2 and you are targeting 4.3. You can do one of two things - target 4.2 (and re-code as necessary) or put the 4.3 firmware on. FezConfig is the tool to do the latter.