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

Pages: [1]
1
NXPTM M522XX, KINETIS and i.MX RT / Re: M52259DEMO and FTP hanging
« on: May 21, 2010, 03:46:30 PM »
Mark, thank you for help!
My problem was with enabled SPI_FILE_SYSTEM

And you are right, I used M5225X_BM_ROM target. Changed to M5223X_ROM and it helps

Thank you very much!

2
NXPTM M522XX, KINETIS and i.MX RT / Re: M52259DEMO and FTP hanging
« on: May 20, 2010, 06:10:29 PM »
Some additions:

I could not run uTasker with default linker options. CodeWarrior produces file that contains only one "code section" while uTaskerV1.3_M52259DEMO_USB_ETHERNET.s19 contains 4:

nord@nord-note:/tmp$ srec_info uTaskerV1.3_M52259DEMO_USB_ETHERNET.s19
Format: Motorola S-Record
Execution Start Address: 00001008
Data: 000000 - 0002D5
        000400 - 000417
        000420 - 00079F
        001000 - 016AF5

nord@nord-note:/tmp$ srec_info uTasker_52259.S19
Format: Motorola S-Record
Execution Start Address: 00001008
Data:   001000 - 0178A3

So the only working solution was to flash uTaskerV1.3_M52259DEMO_USB_ETHERNET.s19, then erase all blocks except the 000-FFF, and flash my uTasker_52259.S19. Also I have set struct alignment to 68k (WORD). For some reasons it not worked with DWORD alignment.

3
NXPTM M522XX, KINETIS and i.MX RT / M52259DEMO and FTP hanging
« on: May 20, 2010, 05:53:56 PM »
Hello!

I'm using M52259DEMO and CodeWarrior 7.1 with 7.1.1 patch
When I'm flashing demo uTaskerV1.3_M52259DEMO_USB_ETHERNET.s19 into my boards, everything is OK
And when I trying to build the uTasker sources by myself and flash the result - everything is OK too except for the ftp. It hangs after LIST command. And after 2 seconds of hanging watchdog timer resets the board. Disabling watchdog do not solve the problem - board just has not been automatically reseted after hang

The behavior is the same like described in this topic - http://www.utasker.com/forum/index.php?topic=682.0
So I think that I have wrong filesystem configuration too.
But I did not changed anything there:
 #define PARAMETER_BLOCK_START 0x21000                    // {45} FLASH location at 132k start
 #define uFILE_START 0x23000                              // FLASH location at 140k start
 #define SINGLE_FILE_SIZE (1*FLASH_GRANULARITY)           // each file a multiple of 4k
 #define FILE_SYSTEM_SIZE (93*SINGLE_FILE_SIZE)           // 374k reserved for file system

I tried to change size in last line to 14*SINGLE_FILE_SIZE, but the behavior remains the same

Where can be the problem?

Thanks

Pages: [1]