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.


Topics - neil

Pages: 1 2 3 [4] 5 6 ... 10
46
utFAT / long delay displaying free space
« on: April 07, 2011, 03:59:53 PM »
Hi Mark,
  When I run the test application, and do a DIR , I get the listing but it takes about 10 seconds to display the bytes free.
   If I use a 1GB card it returns straight away, it happens with the 2GB cards. 

Thanks
Neil

47
µTasker general / Multiple Task Interupts
« on: March 28, 2011, 12:20:47 PM »
Hi Mark,
  If multiple fnInterruptMessage(..) is called for the same task, before the task has a chance to be executed, are they nested? Or will the task only be executed once. I tried it and it only gets executed once, but want to make sure it is always the case.

 And if both fnInterruptMessage(..) and uTaskerMonoTimer() gets called once each at the same time, will both be processed in the task?

Thanks
Neil

48
Hi Mark,
  I have a board setup with DHCP enabled, and it doesnt get an address from the server. Our client is running Windows Exchange 2003. I have attached the file from wireshark where you can see the board requesting for an IP address. But in wireshark it mentions that the source is 192.168.0.100 which is the default IP address, but when a button is pressed on the board, DHCP is enabled and after the board is restarted it is then the request is made

I had the default gateway set to 192.168.0.1 as well as the default ip as 192.168.0.1. I see also within the wireshark file that when the board requests an ip address, it says source 192.168.0.100 , and in the info field it mentions "who has 192.168.0.1? Tell 192.168.0.100". Do I have to set the default ip as 0.0.0.0(same as gateway)? What about the netmask, is there a default value to be set?

Regards
Neil

49
NXPTM M522XX, KINETIS and i.MX RT / MCF52233 on board a/d
« on: February 24, 2011, 06:56:49 PM »
Hi Mark,
   We have an application where we are are reading 2 pt100's where we have a differential voltage. Se we will be using AD0-AD1, and AD2-AD3. We also need 4 single ended inputs so we will use AN4-AN7.  Can this configuration be done?

We will be using an unbalanced Wheatstone bridge (this way we can make sure we get a positive voltage for the range we require) for the pt100, then through an op-amp to get the voltage up. We will also use an external 2.5v reference on all the channels.

Do you see a problem with the above?

Many Thanks
Neil

50
µTasker general / DHCP server
« on: February 21, 2011, 08:10:03 PM »
Hi Mark,
  I have a board that receives its ip address from the server without any problems. I have an application that connects to the board, but the only problem is, how to know what ip address the DHCP server gives it? I am using windows platform pc's on the network.

Thanks
Neil

51
NXPTM M522XX, KINETIS and i.MX RT / TCP socket issues
« on: January 19, 2011, 10:42:52 AM »
Hi Mark,
  I have a couple of issues with the TCP socket (which I am sure its something I am missing ). I have created a socket as follows and put into listening mode:

USOCKET socket
socket=fnGetTCP_Socket(TOS_MINIMISE_DELAY, (unsigned short)20, fnTCPListener);
fnTCP_Listen(socket, TCP_INPORT, 0);

int fnTCPListener(USOCKET Socket, unsigned char ucEvent, unsigned char *ucIp_Data, unsigned short usPortLen)
{
   TCP_MESSAGE test_message;

    switch (ucEvent) {
    case TCP_EVENT_CONNECTED:
                      ....
                     break;
    case TCP_EVENT_CLOSE:
                       fnDebugMsg("Port 1919: TCP_EVENT_CLOSE\r\n");
      
    case TCP_EVENT_CONREQ:                                              
    case TCP_EVENT_ARP_RESOLUTION_FAILED:
        break;
        
   case TCP_EVENT_PARTIAL_ACK: fnSendBufTCP(Socket, 0, usPortLen, TCP_BUF_NEXT);break;
   case TCP_EVENT_ACK: fnSendBufTCP(Socket, 0, 0, TCP_BUF_NEXT);break;  
         
    case TCP_EVENT_REGENERATE:
       break;
    case TCP_EVENT_DATA:
             ...
        break;
    case TCP_EVENT_ABORT:
    case TCP_EVENT_CLOSED:
           fnTCP_Listen(Socket, TCP_INPORT, 0);                    // go back to listening state
              fnDebugMsg("Port 1919: Closed\r\n");
        break;
        }

    return APP_ACCEPT;
}

After my windows application connects, and data is sent.

1. If the application doesnt receive info within 5 seconds from the windows application, it is assumed that the connection is lost for some reason, and by doing a fnTCP_close(socket)  command the TCP_EVENT_CLOSED command wont be called (as the windows app wont ack the closure). As within the TCP_EVENT_CLOSED command I place it back into fnTCP_Listen() for a normal closure, would I simply put it back into fnTCP_Listen() after I do the fnTCP_close() command ,w ithout worrying that it would cause an issue?

2.  I though the command: fnGetTCP_Socket(TOS_MINIMISE_DELAY, (unsigned short)20, fnTCPListener);  will have a 20 second timeout if connection has been idle for 20 seconds. The socket times out in 60 seconds instead of 20.

Regards
Neil

52
NXPTM M522XX, KINETIS and i.MX RT / DMA Timer
« on: December 27, 2010, 08:11:44 PM »
Hi Mark,
  On the 52259 I am using one of the 4 DMA timers (timer 1), is there any DMA timers I should avoid in my application due to utasker use?

Thanks
Neil

53
NXPTM M522XX, KINETIS and i.MX RT / reading in 20k of data
« on: December 26, 2010, 03:57:52 PM »
Hi Mark,
  I have an ethernet connection to an instrument which sends aprox 20k of data (it will vary up to 20K). I have a 512k RAM chip on my board, so holding it wont be  a problem.

My application will post a http command to the device , and it will respond by simply sending the block of data. Am I right in thinking that when the information will come in, my task will be called with the data in blocks the size of the socket buffer?  If it comes in blocks for me to save, how do I know when the whole data block  is read in , apart from waiting for a delay?

Thanks
Neil

54
NXPTM M522XX, KINETIS and i.MX RT / connecting to a HTTP server
« on: December 24, 2010, 12:17:21 PM »
Hi Mark,
  I have an application where I have to connect to an HTTP server and send a line, in where the server responds. I have to send the command "http://xxxxx/Info/result?;" . Is there anything in utasker where I can get it to build the full header to send?  I will get back 4k of data which I have set memory aside for.

Thanks
Neil


55
NXPTM M522XX, KINETIS and i.MX RT / disabling flash memory
« on: December 22, 2010, 03:16:24 PM »
Hi Mark,
  I am planning to use the 52233 in a project with an SD card, and no external flash memory (ATMEL part). Do I simply comment out  #define SPI_DATA_FLASH   or is there anything else needed?

Thanks
Neil

56
NXPTM M522XX, KINETIS and i.MX RT / maths on 5225x
« on: December 02, 2010, 01:34:36 PM »
Hi Mark,
  Is it possible to do maths commands within the 5225x family? Like sin,cosin,arctan ...

Regards
Neil

57
NXPTM M522XX, KINETIS and i.MX RT / uFileSystem read/write
« on: November 26, 2010, 07:51:37 PM »
Hi Mark,
  I would like to read/write to the uFileSystem using atmel exernal memory, is it possible to overwrite parts of the file?

Thanks
Neil

58
NXPTM M522XX, KINETIS and i.MX RT / 52233 for low power use
« on: November 26, 2010, 07:42:04 PM »
Hi Mark,
  I have a project that will be runnng from solar panel and battery, so I need a low'ish power processor. I haev a tray of 52233 processors which I hoped to use for this. 

 1. I dont need the PHY, so I assume I can switch this off?
 2. Also I dont need to run at the full speed, can I reduce this, and what speed can I reduce this to?
 3. If I can reduce the processor speed, can I still use the defines that you have (example, serial 9600 baud will still be valid)?

Many thanks
Neil

59
NXPTM M522XX, KINETIS and i.MX RT / disabling serial port
« on: November 15, 2010, 04:35:43 PM »
Hi Mark,
  I wish to use serial port 0  for my own application, but utasker sends information out on this port with various info. I dont want to go through all utasker and comment the  lines out, as sometimes I wish to use this port as diagnostics.  Can I simply set DebugHandle = 0? Or do I have to do something else?

Thanks
Neil

60
Hi Mark,
  When I have the usb cable between the processor and PC, I get character 'N' that keeps being picked by fnTaskUSB(..) routine even when I dont have an application communicating with my board. Would this be coming from the USB CDC driver within the PC?  Obviously when I take the cable out the characters stop coming in.

Neil


Pages: 1 2 3 [4] 5 6 ... 10