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 ... 8 9 [10]
136
NXPTM M522XX, KINETIS and i.MX RT / file system
« on: June 04, 2008, 05:43:16 PM »
Hi Mark,
  I am about to use an Atmel SPI memory chip for remote program updates. I plan to keep aside the 256KB (for future plans), and use the rest. Is it possible to have a file system that starts after the 256 KB?  I also plan to have a second Atmel SPI chip, and is it possible to have the second chip (full 1MB) file system too?

Thanks
Neil

137
NXPTM M522XX, KINETIS and i.MX RT / Low level SPI memory access
« on: June 03, 2008, 04:48:36 PM »
Hi mark,
  I have 1 Atmel SPI AT45041 memory chip on CS0, and would like to access it by Page Number only. I am converting some code I have used on another processor, where I simply use the page numbers. I simply read in a page to internal buffer, modify it, and write the page back. Is there low level commands to read in a page, write to a page etc...

Thanks
neil

138
NXPTM M522XX, KINETIS and i.MX RT / board gets very hot..
« on: June 02, 2008, 03:32:35 PM »
Hi,
  I have designed a simple board which uses the ethernet, serial and Atmel 1M serial chip with the M52233 chip (my first , simple project). I have a 1.5A 3.3v regulator with quite a large heat sink connected.  I looked at my power supply, and its drawing approx 300ma (which I expect as I am using the tcp 100MB stack). But the chip gets very hot along with the heat sink, has anyone else experienced this? My worry is that this small project is going all over the world, and in hotter countries, there might be thermal runnaway.

Thanks
Neil

139
µTasker general / UDP help
« on: March 14, 2008, 07:36:17 AM »
Hi,
   I have been using TCP/IP communication for a while, and now have a project using UDP which I havent had much experience with . Can anyone share some light on this for me?
 I think the topic http://www.utasker.com/forum/index.php?topic=25.0 on TCP is excellent, and wonder if there is something similar with UDP?

Thanks
Neil

140
µTasker general / using the DHCP
« on: February 19, 2008, 07:37:31 PM »
Hi,
  Is there any examples on how to use the DHCP to recieve its own ip address?
We are planning to use many in a  network, and dont want to have to set each one up.
Thanks
Neil

141
µTasker general / Connecting with a name rather than the IP address.
« on: February 19, 2008, 07:35:49 PM »
Hi,
  We wish to connect to a server application using the 'name' rather than its ip address as the destination is using a dynamic ip address.
  We are using TCP sockets.
Thanks
Neil

142
NXPTM M522XX, KINETIS and i.MX RT / Serial port with CTS & RTS
« on: October 29, 2007, 12:36:38 PM »
Hi,
  I am using a serial port with handshaking  lines CTS & RTS. If a send from the application is made to the port, and the device is not ready, indicated from CTS . How does utasker handle this?

Regards
Neil

143
µTasker general / Multiple Mono Timers
« on: October 21, 2007, 11:18:28 AM »
Hi Mark,
  Is it okay to have multiple MonoTimers at the same time? Is so, what is the maximum number?

I have the following 2 second timer in one task.
uTaskerMonoTimer( OWN_TASK, (DELAY_LIMIT)(2*SEC), E_TIMER_TIMEOUT );// start monitor timer

I would like to add another one to another task,so both will be operating at the same time,as follows:
uTaskerMonoTimer( COMMS_TASK, (DELAY_LIMIT)(60*SEC), E_TIMER_TIMEOUT );// start monitor timer

so during the 1 minute timer, the 2 second one may be executed at the same time on another task.

Regards
Neil

144
µTasker general / Starting/stoping/continuing task...
« on: September 08, 2007, 01:29:44 PM »
Hi mark,
  I have a task that will initially be in stop mode, and will be woken up in a certain condition. And when woken , it will have to have a limit number of times ran (like having a for/next loop of say 20), and say the 20th time ran it will have to be stopped. Is it possible to stop a running task from when in that task (if so how is this done)?

Also..
 Within the task (actually same task)is it possible to halt the task , and in another task wake it up to continue again, as an example (including above scenario) of what I wish, if possible:

  when a certain condition appears, start task...

Task routine (not a for/next loop inside task but uses a global counter for each time task ran):
1.  send data out on serial port..
2.  Halt task here, allowing other tasks to run..
3.  woken  up here by interupt (serial or timer)... (see below)
4.  has task ran 20 times
5.  If yes, then stop task...
6.  task routine finished.

Serial routine..
After serial sent , No 1 above, the serial routine will receive data, and restart the task, No3 above..

Second Timer interupt...
if serial not received data (above) in 'x' amount of seconds, the timeout flag set, and above task is started No 3..

Is the above possible? If so how is it done? Not the serial and timer interupts I can handle that no problem, its just the halt/continue/stop a task is the problem..

Regards
Neil

145
NXPTM M522XX, KINETIS and i.MX RT / Interupts
« on: September 08, 2007, 12:39:28 PM »
Hi,
  The project I am working on uses various interupts, and would like to know how they work with the utasker. Below is a list of ones I am using (at moment), and as not yet tested the II2, and SPI.

1. The serial ports:
I am using the 52235, and will be using all 3 serial ports in interupt modes (as explained in previous post on Uart). I assume that the data will be sent when the tx register is empty, and when data is in the rx register the serial interupt will place the character in the RX buffer (size declared when setting up port)?  So if the processor is half way through a task, data is either sent/received (we wont lose any characters, unless of course there is a buffer overflow)?

2. IRQ1-15 interupts , edge detect.
How do these work? Is the function that is used in the setup automatically get  called by the isr?

3. II2 and SPI.
I still have to try these in utasker, does this work on interupts, or as transfer is fast, the task waits till data is received before moving to next application command.

4.Ethernet..
I will be using tcp/ip with simple connect and send. How does this work? Similar to the serial as described above?

Thanks
Neil

146
NXPTM M522XX, KINETIS and i.MX RT / Uart Question
« on: September 07, 2007, 08:46:49 PM »
Hi,
  When any of the 3 uarts are setup (in 52235) to be used for DMA or interupt driven. I would like to check to make sure any previous data within buffer has been fully sent before sending next one, how do I do this?  This will prevent me of having a large buffer, preventing overflow.

Regards
Neil

147
µTasker general / Serial Port
« on: August 02, 2007, 03:56:39 PM »
Hi,
  I have a serial port configured as UART_TX_DMA for sending.  How do I know when all the data is sent? Just so the applicaiton can send another block known that the previous wont be overwritten before being sent.

Regards
Neil

148
NXPTM M522XX, KINETIS and i.MX RT / sprintf(..)
« on: July 31, 2007, 02:53:39 PM »
Hi,
  I have included stdio.h within application.c so I can use sprintf(..), but the compiler complains regarding 'typedef unsigned int size_t;' which is in the types.h file of utasker. Any point me to the way around this?

Thanks
Neil
 

149
µTasker general / Boot Loader
« on: July 21, 2007, 01:49:17 PM »
Hi,
  We have a new project coming up, and hopefully be using the utasker (just downloaded the utasker for the first time a few weeks ago, and testing it out).

We will have many units throughout the world, and some will be in remote areas where getting to will take hours, so we are thinking of having the ability to re-programm the firmware remotely.

I have a couple of questions regarding this feature in uTasker.

1. In our system there are 2 options the way the user can use our product, either by GPRS, or ethernet(if there is a connection). If the connection is GPRS (to our M52233), can we still use the boot feature? Or can we modify the code to do so?

2. what would happen in the following scenario: A connection is made, the firmware is being updated and the connection is lost half way through. Would the processor restart, and we can reconnect and restart upload procedure again?

Many Thanks
Neil

Pages: 1 ... 8 9 [10]