Hello
I have the problem in debugger when i build the code source(size 61k on file .pe)
here is the message.
Error 1 An error has occurred. Please check your hardware
but, when the size code source is 60k on file .pe it works.
why?
Hello
I have the problem in debugger when i build the code source(size 61k on file .pe)
here is the message.
Error 1 An error has occurred. Please check your hardware
but, when the size code source is 60k on file .pe it works.
why?
What board does this happen on?
panda II
You probably crossed the memory limits.
I don’t believe
Total: (15040 RAM - 180312 ROM - 72002 METADATA)
Crossed flash not RAM.
panda ii
512 KB Flash (148KB for user application) .
code source
folder be file .pe = 61k
folder le file .le = 61k
where i can to check the size code source?
I do not think current version of NETMF tells you how much flash you have and how much is free. But why your PE is 61K? Do you have resources or it is all code?
here is the information and picture.
Connecting to USBizi_USBizi…Connected
HalSystemInfo.halVersion:
HalSystemInfo.halVendorInfo:
HalSystemInfo.oemCode: 0
HalSystemInfo.modelCode: 0
HalSystemInfo.skuCode: 0
HalSystemInfo.moduleSerialNumber:
HalSystemInfo.systemSerialNumber:
ClrInfo.clrVersion: 4.1.2821.0
ClrInfo.clrVendorInfo: Microsoft Copyright © Microsoft Corporation. All rig
ClrInfo.targetFrameworkVersion: 4.1.2821.0
SolutionReleaseInfo.solutionVersion: 4.1.8.0
SolutionReleaseInfo.solutionVendorInfo: GHI Electronics, LLC
SoftwareVersion.BuildDate: Dec 22 2011
SoftwareVersion.CompilerVersion: 410561
FloatingPoint: True
SourceLevelDebugging: True
ThreadCreateEx: True
LCD.Width: 0
LCD.Height: 0
LCD.BitsPerPixel: 0
AppDomains: True
ExceptionFilters: True
IncrementalDeployment: True
SoftReboot: True
Profiling: False
ProfilingAllocations: False
ProfilingCalls: False
IsUnknown: False
If you add all PE files you will have 127K, where panda has 148K of free flash. It should work so I am not sure why! Maybe other PE files are being loaded as well.
THANKS.
I am A little disappointed, I am working A year ago to A commercial project and now I need memory. I HAVE ALREADY THE PCB, THE CUSTOMER, ETC…
@ Alberto - Maybe if the code is not commercially sensitive you could post the code to see if anyone can help to shrink it down some.
thanks Justin
but, it is already commercial.
One easy way to shrink the code is by using obfuscation! Relive or not, it makes very big difference since the name s are much shorter when obfuscated.
Gus are you serious? Do you mean that the name size of our variables in C# does matter? if yes, I can really improve the mem footprint of all my previous code and maybe go back to USBizy since I move to EMX due to larger code size abilities.
@ leforban- indeed he is…
Gasp!!! This should be printed in red in the beginner guide!!!
Seriously this should not happened in such a High Level Language…
Let me know is there any thing to know about using comments in our code?
May be for those how are memory concerned, here’s an interesting link:
Could it be possible therefore that keeping variable name size as small as possible enhances performance of the application?