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 - frank

Pages: [1]
1
µTasker general / DMA & SPI
« on: July 05, 2013, 01:18:55 PM »
Hi,

Does the current uTasker for Freescale MCF5223x supports the DMA transfers to SPI Master?. If so,

1. how to do buffer transfer (perhaps use DMA?)
    - from USB to the SPI ?.
    - from Ethernet MAC to SPI ?

2. Does the uTasker OS support variable clock speeds on the SPI interface? What is the granularity? What is the min speed?

3. Does that above feature works for uTasker OS on STM32F407 as well ?/

Thanks.



2
NXPTM M522XX, KINETIS and i.MX RT / uTasker FileSystem with FTP
« on: October 31, 2012, 01:00:02 PM »
Hi,

I have MCF52232 based custom board with STM25P16 SPI flash. 

In one of my earlier attempt, I built the uTasker v1.4.0 image with Codesourcery GNU tool chain.  The board was successfully brought-up with this image. Once it is done, I tried to upgrade newer image ( which was built using same codesourcery, with the size of 85KB), the upgrade never happened.

During my investigation, I tried to upload the HS.BIN image via FTP. I would expect this image will occupy location "H" and "I". in the file system. When I tried to get the FTP image using "GET" command of ftp, I can fetch only 64K of the image.

ftp> put H_Upload_Enc.bin
200 OK.
150 Data.
226 OK.
ftp: 88506 bytes sent in 0.35Seconds 252.15Kbytes/sec.
ftp> get H.BIN
200 OK.
150 Data.
226 OK.
ftp: 65531 bytes received in 0.18Seconds 362.05Kbytes/sec.

Could you please help me to understand this problem, why I couldn't fetch the entire file ?. I believe the bootloader is failed to load the entire file from the uTasker file system into the internal flash ( location 0x1000).

3
Hi Mark,

What is the latest uTasker code for M522XX processor ?. Can you please let me know your recommended GNU tool chain as well ?. I am not planning to use Code Warrior.

Thanks

4
Hi,

I have a development board based on MCF52232 and STM25P16 SPI flash.

If I build the images using Codewarrior, all 3 combination of uTasker images ( boot loader, BM image and Upgraded Enc image) work fine.

But when I upgrade the firmware which was built using Codesourcery G++ lite, the board doesn't seems to be working.

During my test, both Boot Loader and Bare Minimum images were built using Codewarrior, but only the upgraded image was built using Codesourcery G++ lite.

I have used the GNU makefile attached with the uTasker stack (v1.4 ). 

Do I need to follow any special build process to make it work ? .

Thanks
Frank

5
Hi,

Is there any way I can change the default telnet port (23) to a different port number ?.

6
NXPTM M522XX, KINETIS and i.MX RT / Microsec delay function
« on: January 08, 2010, 10:36:28 PM »
Is there a microseconds delay function in uTasker ?. I am looking for a simple delay function something like,

delay ( microseconds )

7
NXPTM M522XX, KINETIS and i.MX RT / FTP Failure on upgrade image
« on: December 07, 2009, 11:39:02 PM »
Hi,

I have a custom board based on MCF52232 and Numonyx STM25P16 SPI flash. When I tried to upload a new upgrade bin image ( 0_Upload_Enc.bin ) which has a size of 71K, the FTP connection got  timed-out. Even after deleting all the files in FTP ( using DEL *.* )  FTP connection still got timed-out.

But when I tried to upload files ( not the upgrade file, but some simple text files) which has size of less than 64k  , the upload was successful.

In the app_hw_m5223x.h file, the following macros are enabled.

SPI_FLASH_ST
SPI_FLASH_STM25P16

#define SPI_FLASH_PAGES             (32*256)

#ifdef FLASH_FILE_SYSTEM
    #if defined SPI_FILE_SYSTEM                                          // this is a test setup for external SPI FLASH, with the parameters at the end of internal FLASH
        #define PARAMETER_BLOCK_START 0x1f000                            // {34} FLASH location at 2 parameter blocks short of end of internal FLASH
        #define uFILE_START 0x20000                                      // immediately after internal FLASH



Am I missing anything ??



8
NXPTM M522XX, KINETIS and i.MX RT / Re-format SPI flash
« on: November 17, 2009, 05:14:57 PM »
I have a MCF52232 based custom board which has ST M25P20 flash. For some reason, the filesystem got corrupted. Is there any way I can purge or reformat the SPI flash ?.

9
NXPTM M522XX, KINETIS and i.MX RT / GPIO Setting for PORTTA
« on: November 09, 2009, 07:22:38 PM »
Hi,

If I want to use PORTTA for GPIO functionality ( in my case as an input ) is the following setting correct ?.

PTAPAR = 0;
DDRTA = 0x00; //input
unsigned char var = PORTIN_SETTA;

Do I need to do anything else ?.

10
NXPTM M522XX, KINETIS and i.MX RT / Macro definition uFILE_SYSTEM_START
« on: September 27, 2009, 12:14:47 AM »
Hi,

I am evaluating uTaskerV1.4 version. In the uTasker application folder, in config.h file the following two lines are present.

#define uFILE_SYSTEM_START (MEMORY_RANGE_POINTER)(uFILE_START)
#define uFILE_SYSTEM_END   (MEMORY_RANGE_POINTER)(uFILE_START + FILE_SYSTEM_SIZE)

uFILE_START is declared in app_hw_5223x.h file, which is included in config.h via types.h. But this file is included after the above two lines. Is it right ?.

I want to override the value of uFILE_START with custom value ( i want to start the uFILE_START in external SPI flash). Do I need to redefine the above two lines, or do i need to make change in app_hw_5223x.h file?.

Please confirm.

Thanks

11
NXPTM M522XX, KINETIS and i.MX RT / FTP hangs in MCF52232 based board
« on: September 16, 2009, 12:02:14 AM »
Hi,

I am currently evaluating uTasker on MCF52232 based custom board. When I login to FTP, executing the command "dir" hangs, then the connection timedout. Also I am not able to upload any files, again the uTasker application hangs and after few minutes it timedout.

C:\Documents and Settings\Sundar\Desktop\WebPagesM5223X>ftp 192.168.15.120
Connected to 192.168.15.120.
220 Welcome M5223X FTP.
User (192.168.15.120:(none)):
331 Enter pass.
Password:
230 Log OK.
ftp> dir
200 OK.
150 Data.
Connection closed by remote host.
ftp> quit


I have the following configuration in the config.h file.

            #define ANONYMOUS_LOGIN                                      // allow anonymous FTP without user/password
            #define FILE_NAMES_PER_FTP_FRAME    6                        // limit size of buffers required to display files to this many names (remove to use maximum possible)
            #define FTP_SOCKETS 2                                        // reserve 2 TCP sockets for command and data
            #define FTP_SUPPORTS_NAME_DISPLAY                            // show details of files
            #define FTP_SUPPORTS_DELETE                                  // enable delete of files via FTP
            #define FTP_SUPPORTS_DOWNLOAD                                // support read of files via FTP
            #define FTP_VERIFY_DATA_PORT                                 // check for valid data port when in active mode
            #define FTP_PASV_SUPPORT                                     // allow passive mode of operation
            #define DATA_PORT_TRIGGERS_CONTROL                           // activity on the FTP data port resets the control port TCP idle timer - stops control connection timing out on large data transfers with short idle time value
            #define FTP_USER_LOGIN
            #define FTP_WILDCARD_DEL                                     // file system content delete using *.* supported
            #define FTP_DATA_WINDOWS            2                        // allow transmission of FTP data with windowing support
            #ifdef INTERNAL_USER_FILES
                #define FTP_DISPLAY_USER_FILES                           // allow user files to be displayed by FTP
                #define MAX_FILE_NAME_LENGTH    20                       // user files maximum file name length
 

Did I miss anything ?.

Pages: [1]