- Netduino Forums
- → Viewing Profile: Posts: Novice Alex
Community Stats
- Group Members
- Active Posts 59
- Profile Views 9016
- Member Title Advanced Member
- Age Age Unknown
- Birthday Birthday Unknown
-
Gender
Not Telling
User Tools
Friends
Novice Alex hasn't added any friends yet.
Posts I've Made
In Topic: Introducing Netduino Plus 2
12 November 2012 - 03:33 PM
In Topic: SD File corrupted
24 September 2012 - 11:29 PM
In Topic: How to debug program without using VS?
13 September 2012 - 11:45 PM
In Topic: Protect or encrypt program Code in N+
04 September 2012 - 11:48 PM
Hi Novice Alex,
Let me start with a few tips and let others chime in as well...
Since .NET code is a close approximation to C# source, you may want to look at a program like Dotfuscator which will help keep your code from getting decompiled easily. NETMF HEX files are already one step away from standard MSIL DLLs, but in theory they're still MSIL.
My second recommendation is to add a security key to your deployment file (using MFDeploy) and using an "RTM" version of NETMF firmware to lock out any debuggers This will help make sure your board uses signed firmware.
We use direct flashing and custom boot loaders for commercial projects...but we can search around for some documentation on MFDeploy's signing/encryption methods if needed.
Chris
Hi Chris,
Noted. Just like to know that steps for the MFDeploy, is it that I only need to selected the "encrypted" exe and it will deploy to the correct segment of the N+? So far, I only use MFDeploy for the firmware upgrades procedures.
Also for the security key, how and what are the steps on implementing it?
Sorry for my ignorance and thanks for the advice in advance.
Regards,
Novice Alex
In Topic: Ways to read large (>12Kb) text files from SD card
25 August 2012 - 12:36 AM
Hi Stefan,It all depends on the file format. Since you're writing daily stats? You could do several things:
- Make records an X amount of bytes large
- Create a file format that works with data blocks
- Create an index
I have too little information right now to really be able to help you out.
That's sound like a good idea. Since each records is fit by the format [mins since 00:00 of the day] | [Double value with 3 decimal place]. I can fix string format for both. And use ReadBlock to do it. However, need to do some testing to see whether it improve in processing.
in fact, currently when I read back the full content, I will then pass the full file content (as string) back to the caller for further parsing and then determine the require range (report time start to end) and accumulate the total value in the field (2) - Double.
Regards,
Alex
- Netduino Forums
- → Viewing Profile: Posts: Novice Alex
- Privacy Policy