Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - neil

Pages: 1 ... 7 8 [9] 10 11 ... 30
121
µTasker general / valid tcp packet communication
« on: June 19, 2012, 06:08:04 PM »
Hi
  When a standard tcp connect is established with a server, am I right in thinking that the sending side includes a checksum of the packet? Then the server will only pass the packet to the user if the checksum is valid, is this correct?

Also, if the above is correct, then I assume there is no need to add my own checksum calculcations?

Thanks
Neil

122
NXPTM M522XX, KINETIS and i.MX RT / USB -> Serial driver
« on: May 31, 2012, 10:36:46 AM »
Hi Mark,
  I have been using the USB to Serial driver on XP , and works well. Do you know if there is one that works on 64 bit machines?

Thanks
Neil

123
utFAT / Re: Reporting incorrect free space..
« on: May 31, 2012, 10:35:26 AM »
Hi Mark,
  Thanks for taking a look at the card. I am wondering if this is a faulty batch, as another one of the 2GB cards displays 255MB when formatted in Windows FAT 32.

Thanks
neil

124
utFAT / Re: Reporting incorrect free space..
« on: May 12, 2012, 11:56:30 AM »
Hi Mark,
  I just received Sandisk 2GB cards this morning and tried one, seems to work fine, here is waht is returned:

SD-card  (2002780160 bytes)
Bytes per sector: 512
Cluster size: 4096
Directory base: 0x00000002
FAT start: 0x000000a7
FAT size: 0x00000ee5
Number of FATs: 2
LBA: 0x00001e71
Total clusters: 0x00077231
Info sect: 0x00000082
Free clusters: 0xffffffff
Next free: 0x00000002
CSD: 0x00 0x7f 0xff 0x32 0x5b 0x5a 0x83 0xba 0xf6 0xdb 0xdf 0xff 0x0e 0x80 0x00
0xb5

I tried the one giving problems (also a new Kingston 2GB), and it still produced the same problems (also windows displays 2GB).

I can send the faulty one (must be about 5 in the batch of 10 I bought was the same) to you if you wiash to have a look?

Regards
Neil

125
utFAT / Re: Reporting incorrect free space..
« on: May 12, 2012, 05:23:47 AM »
Hi Mark,
 I have tried the test quite a few times with the same result. I can send you the SD card, what address will I send it to?

Thanks
Neil

126
utFAT / Re: Reporting incorrect free space..
« on: May 11, 2012, 01:33:45 PM »
Hi Mark,
  Isnt "SD-card  (268435456 bytes)" 268MB 'sh?  I bought 10 2GB Kingston micro SD's and quite a few have been like this, I am wondering if it is a faulty batch. I just formatted one in Windows (and mentions 2GB), and utasker displays 268MB..

Neil

127
utFAT / Re: Reporting incorrect free space..
« on: May 09, 2012, 06:00:17 PM »
Hi Mark,
  When I do a dir, and info I get 268MB, and windows displays 2GB.When I did a re-format I got the below,and now windows only display a 255MB and cant re-format as a 2GB. Any ideas?

SD-card  (268435456 bytes)
Bytes per sector: 512
Cluster size: 512
Directory base: 0x00000002
FAT start: 0x0000005f
FAT size: 0x00000fe0
Number of FATs: 2
LBA: 0x0000201f
Total clusters: 0x0007dfe1
Info sect: 0x00000040
Free clusters: 0x0007dfe0
Next free: 0x00000003
CSD: 0x2e 0x00 0x32 0x5b 0x5a 0xa3 0xb4 0xff 0xff 0xff 0x80 0x0a 0x80 0x00 0x8d
0xd5
D:\>
Directory D:\

0 files with 0 bytes
0 directories, 264224768 bytes free

Neil

128
µTasker general / multiple fnInterruptMessage's
« on: April 13, 2012, 10:38:39 AM »
Hi Mark,
  What happens if there are multiple fnInterruptMessage messages for the same task , are they backed up?

Thanks
Neil

129
NXPTM M522XX, KINETIS and i.MX RT / Re: HID class on USB
« on: February 14, 2012, 08:07:11 AM »
Thats excellent Mark.

At the moment I am not running the latest utasker (just updated the SD card module, and works well) , and would like to use the HID.

Can you tell me what I can copy from the app_hw_m5223x.h to my current version ?

Are there different VID & PID codes?

Thanks
Neil

130
NXPTM M522XX, KINETIS and i.MX RT / Re: HID class on USB
« on: February 12, 2012, 10:51:40 PM »
Hi Mark,
  Did you ever get the HID to work on the USB, any signs this being added to utasker?

Thanks
Neil

131
utFAT / Re: compiling error
« on: February 12, 2012, 01:52:58 PM »
Thanks Mark

Neil

132
utFAT / compiling error
« on: February 12, 2012, 01:06:03 PM »
Hi Mark,
  I have copied the latest version of ufat to my project (still have to copy full utasker latest version) and getting an error.

The UTDISK structure has 1 change (which I changed in debug.c):
From : unsigned char  ucDiskFlags;
To: unsigned short usDiskFlags; 
When I upgrade the firmware  which is running out in the field ,will these effect any data currently stored?

Also:
Can you tell me the flags to pass to the new the following changes?

New function :
utFormat(DISK_D, ptrInput, ucFlags) 

Old Function: 
utFormat(const unsigned char ucDrive, const CHAR *cVolumeLabel)

---- Also ---
New function:
static int utReFormat(const unsigned char ucDrive, const CHAR *cVolumeLabel, unsigned char ucFlags)

Old Function :
extern int  utReFormat(const unsigned char ucDrive, const CHAR *cVolumeLabel);

-- Also --
I see there is a call to GET_SDCARD_WP_STATE() , but cant find this in my project ( I am assuming because I have to change all my project to the latest version). Can you let me know what and where this should go?

Thanks for all your help
Neil

133
utFAT / Re: Reporting incorrect free space..
« on: November 15, 2011, 07:32:56 PM »
Hi Mark,
  As I formatted it withing Windows, I re-formatted it withing uTasker and it now reports the correct value, why is this? And is it always better re-formatting it withing utasker?

Thanks
Neil

134
utFAT / Reporting incorrect free space..
« on: November 15, 2011, 07:23:29 PM »
Hi Mark,
   I have purchased 10 off  Kingston 2GB micro SD cards, and have problem with 1 of them. When I request the disk size, and free space , I get back a strange value for the free space.  I get Disk Size=1973MB, and Free Space 4294MB. When I check it on my PC I get 1.83GB free and same for size (FAT32). The other cards I get Disk Size :1967MB  Free space 1960MB.   It still seems to work correctly , but seems a bit slower. Think this may be a faulty card, even when reporte on Windows as fine?

Below is the calculation I use.

   long Freespace=(ptrDiskInfo->utFileInfo.ulFreeClusterCount * ptrDiskInfo->utFAT.ucSectorsPerCluster * ptrDiskInfo->utFAT.usBytesPerSector)/1000000;
   long CardSize=(ptrDiskInfo->ulSD_sectors * ptrDiskInfo->utFAT.usBytesPerSector)/1000000;


Best Regards
Neil

135
utFAT / utFat version
« on: September 17, 2011, 07:31:54 PM »
Hi Mark,
  My latest version of the uFat is "24.08.2011 FAT16 cluster corrections " , can I simply copy the 3 files dated "utFAT V1.10 - 24.08.2011" into my project without any issues?

Thanks
Neil
   

Pages: 1 ... 7 8 [9] 10 11 ... 30