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 ... 5 6 [7] 8 9 10
91
NXPTM M522XX, KINETIS and i.MX RT / watchdog on 52259
« on: May 20, 2009, 05:57:20 PM »
Hi Mark,
   I have enabled the watchdog on the 52259, with  "#define  WATCHDOG_DISABLE()       0".  Is it not possible to do breakpoint and stepthrough with this enabled?

  I am also about to test the bootloader, so I can do online firmware upgrades. Does the bootloader also use the watchdog?

Regards
Neil

92
NXPTM M522XX, KINETIS and i.MX RT / Sending through serial port
« on: May 13, 2009, 06:29:11 PM »
Hi Mark,
    When a block of data is sent through a serial port, how can I tell when it has been sent? I am communicating with a GSM module, and have to know when all the data has been sent, as certain procedures has to be carried out before another send.

Neil

93
NXPTM M522XX, KINETIS and i.MX RT / Event when TCP send complete..
« on: May 13, 2009, 05:13:50 PM »
Hi Mark,
  When data is sent using the fnSendTCP(..) command, is there an event within the callback routine that gets called when the whole buffer is sent? I dont want to use buffers on the port, and just want to set/clear a flag during a send procedure.

I wish to set a flag before a fnSendTCP(..) is carried out, then clear when the data has been sent.

Is TCP_EVENT_ACK only called when all the buffer is sent?

Regards
Neil

94
Hi,
  If anyone is interested, I have an unopened (vacumed sealed) tray of MCF52233CAF60 processors (90 pieces). We have upgraded to the M52259 chips and now no need for them. These chips are £8.47 each on digi-key, I will accept £4.50 each + shipping.  If anyone is interested, just let me know.

Regards
Neil

95
NXPTM M522XX, KINETIS and i.MX RT / Cannot install USB driver
« on: May 11, 2009, 03:05:33 PM »
Hi Mark,
  When I plug my USB cable into the board, I get a dialog box appearing, which allows me to select the location of the driver. Looking at the utaskerv1.3_USB.demo.pdf, I pointed it to the USB folder as per manual.  Within the folder there is the .inf file. After selecting the location the computer comes up with the message 'Cannot install this Hardware'  because the wizard cannot find the neccessary hardware

Neil

96
NXPTM M522XX, KINETIS and i.MX RT / compiler error
« on: May 02, 2009, 07:48:26 PM »
Hi Mark,
 On my notebook I installed a fresh copy of CW 7.1, then applied the patch for 5225x,to see if this cures the floating point issue.

When I compile the code I get a size_t redeclared message(dont get  this on my main computer that had 6.3 upgraded to 7.1 etc), as my code has #include <stdlib.h>.
I have attatched a snap shot of the error.

Regards
Neil

97
NXPTM M522XX, KINETIS and i.MX RT / floating point issue again..
« on: May 01, 2009, 07:33:47 PM »
Hi Mark,
  Since I applied the patch to CW so I can use 52259, I have lost the ability to use atof(..) etc..

Can this be because the 52259 is not a small memory device, like he 5223x?

I previously used done:

change file ansi_prefix.CF.size.h as follows:
Code:
#define _MSL_FLOATING_POINT     1
#undef _MSL_NO_MATH_LIB
#endif

#define _MSL_FLOATING_POINT_IO    1

and worked fine, now I notice that the file 'ansi_prefix.CF.size.h' doesnt get included during compiling.

I noticed within the ansi_prefix.CF.h file, that the above doesnt get included , here is the bit of code:
The #define _MSL_C_TINY_IO                0    part gets called. Has something changed?


#if (__COLDFIRE__ == __MCF51QE__ || __COLDFIRE__ == __MCF51AC__ || __COLDFIRE__ == __MCF51JM__)
#include "ansi_prefix.CF.v1.h"
#elif (defined(__CF_USE_SMALL_LIBS__) || __CF_SMALL_MEMORY_PART__) && !defined(__CF_USE_FULL_LIBS__)
#include "ansi_prefix.CF.size.h"
#else
  #define _MSL_C_TINY_IO                0   
  #define _MSL_C99_PRINTF_SCANF         1     
  #define _MSL_FLOATING_POINT_IO      1
#endif


Regards
Neil

98
NXPTM M522XX, KINETIS and i.MX RT / UDP connection
« on: April 21, 2009, 12:07:55 PM »
Hi mark,
  I am about to use a UDP connection to a piece of equipment on the 52259 processor. Also I will be having a TCP connection to my windows application. Within my windows application I wish to talk to the equipment, and basically directly pass communication from the TCP connection on the processor to the UDP connection to the equipment, then whatever comes from the UDP , pass directly to the TCP connection.  I recon there will only be a few KB being passed back and forward, so hopefully this will manage. I also have a 32k SPI ram on my board, so I dont know if saving data as it comes in to the RAM, then when complete, pass it through the TCP would work (in case in future more data will be sent). What do you think the best way to do this in utasker?

Regards
Neil

99
NXPTM M522XX, KINETIS and i.MX RT / vpn Connection
« on: April 03, 2009, 07:00:52 PM »
Hi Mark,
  Is it possible to make a TCP/IP connection to a server that is within a VPN?

Neil

100
NXPTM M522XX, KINETIS and i.MX RT / CTS & RTS
« on: April 03, 2009, 11:17:02 AM »
Hi Mark,
  I wish to use the CTS and RTS (using the 52259) on UART 2 and UART 1. Do I simply do the following:

config.h
  #define SUPPORT_HW_FLOW

when setting up the port:
if ((SerialPortID = fnOpen( TYPE_TTY, ucDriverMode, &tInterfaceParameters )) != 0) { // open or change the channel with defined configurations (initially inactive)

      .....
         if ((SerialPortID = fnOpen( TYPE_TTY, ucDriverMode, &tInterfaceParameters )) != 0) {
        fnDriver( SerialPortID, ( TX_ON | RX_ON ), 0 );                 
        if (tInterfaceParameters.usConfig & RTS_CTS) {                   
            fnDriver( SerialPortID, (MODIFY_INTERRUPT | ENABLE_CTS_CHANGE), 0 );
            fnDriver( SerialPortID, (MODIFY_CONTROL | SET_RTS), 0 );     

        }

     }

Is that all I have to do?  What about DMA does this work too with the setup?

Many Thanks
Neil

101
NXPTM M522XX, KINETIS and i.MX RT / crystal value and PLL
« on: February 08, 2009, 06:47:26 PM »
Hi mark,
  I am designing for the 80MHz 52259 processor,and see on the schematic it uses a 48MHz crystal. Does utasker assume that its a 48MHz crystal attached so it can work out the PLL values?

Neil

102
NXPTM M522XX, KINETIS and i.MX RT / task
« on: February 02, 2009, 07:38:55 AM »
Hi Mark,
  I am using a maxim RTC that creates a 1Hz interrupt to the processor through an IRQ input. Within the interupt service routine I call a task, as so:
   fnInterruptMessage(TASK_SECONDIRQ, SECOND_EVENT);

What happens if a task (not necessary just the second task), is already half way through being processed when the fnInterruptMessage() is called? Is it placed pending, or simply doesnt get called?

Neil

103
NXPTM M522XX, KINETIS and i.MX RT / reset status flag
« on: January 30, 2009, 01:13:23 PM »
Hi,
  When the processor powers up I would like to check the reset status flag to see  the cause. What register do I use for the 52235 and 52259 (I thought it would be RSR, but no luck)?

Neil

104
NXPTM M522XX, KINETIS and i.MX RT / 2nd IIC channel on 52259
« on: January 30, 2009, 11:40:42 AM »
Hi Mark,
  If I use the 2 IIC ports, will they both have their own task routines?

Neil

105
NXPTM M522XX, KINETIS and i.MX RT / ksz8041 PHY chip for 52259
« on: January 26, 2009, 05:20:06 PM »
Hi Mark,
  Just wondering if you can give me your thought on this, as I have never dealt with a PHY chip before. The demo kit has the KSZ8041NL , but I can only get the KSZ8041TLI part. The only difference I can see is that the TLI part also does SMII interface, package type, and about £1 more expensive. Apart from that is looks compatible , all registers numbers in the NL are the same as the TLI, the only thing the TLI has a couple of extra registers for cable diagnostics. 

Thanks very much for your help
Regards
Neil


Pages: 1 ... 5 6 [7] 8 9 10