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

Pages: [1]
Hi, Mark;

Thank you for the quick reply.  and sorry I didn't read the whole things before.  It works beautifully.  :D


Right now I am using simulator for developing my webserver.  I am using STORAGE_REV_1 definition for default FLASH, NVRAM, and SPI_FLASH.  The memory address is set from 0x00000000 for default FLASH to NVRAM to SPI_FLASH continuously.  uFile system starts on SPI_FLASH memory only this time with FILE_GRANULARITY of (8*SPI_FLASH_BLOCK_SIZE), which is 16*4*264 bytes for data flash type of AT45DB081D.  The parameter blocks are set at the end of the internal FLASH with FLASH_GRANULARITY size (2*4K).  Of course, the swap parameter block is set.  After proper modifications, the program is complied successfully, run successfully, copied web files successfully, called web pages initially without any problem.  Meaning, the code seems fine.

For my purpose, I should modify and remove some default webpages and add my own webpage and some picture files, js files, and data files.  Basically these modifications work initially.  When I tried to save some changes in the webpages, however, it stopped at the line of "_EXCEPTION("Attemped access to unsupported storge area!!!!") in M5223X.c.  This is the part of fnGetStorageType.  For example, in order to set the authentication of websever, at the admin page I checked the proper section and marked "Modify and save...".  Then click the 'Perform desired action' button.  Then it stopped at the place.  Other saving buttons behave the same.  I have debugged step by step, changed storage.  It didn't help at all.  And it is not clear, when it hits.

What possibly can be wrong?  Something in my webpages?

µTasker general / Re: Simulator for MCF5223X with VS 2012
« on: January 08, 2013, 02:24:50 AM »

Just for the updating, because I don't want to spread the wrong answer for this issue. 

After I succeeded to build the project, I cold run the ping function.  That's it.  I couldn't run any other functions; ftp, telnet, etc.  I quit using win7 & VS2012.  Instead i moved to XP virtual machine and there I used VS 2008 and our company network.  It has worked beautifully; every function works just as expected.

Now I am using uTasker V1.4.011, the latest one, I guess and have tried to compile with GCC and also CW7.2.  The compliled w/ CW 7.2 works fine; I can load the webpages and deletes all to load the modified pages.

I hope others would not mislead from the previous answer.

µTasker general / Re: Simulator for MCF5223X with VS 2012
« on: December 01, 2012, 01:10:30 AM »
Hello, Mark;

Thank you for your reply.  Actually I have bypassed this problem.

The way to bypass is setting the Microsoft Loopback adapter.  With my old NIC, I cannot see any checksum offloading problem, nor firewall problem.  I can set ICMP free in the firewall.

Anyway, I installed the loopback adapter and set the proper IP for our network, no internet access.  Then it works immediately.  The Wireshark clearly shows the activity.


µTasker general / Simulator for MCF5223X with VS 2012
« on: November 28, 2012, 11:14:20 PM »
Hello, everybody or somebody;

I am quite new to the uTasker system for MCF5223X.  As usual, this is the problem of the simulator in a new environment. 

I have win7 professional 64bit system with VS 2012.  And I have uTaskerV1.4, the newest one.  I followed instructions to use .dsw file to make a proper version of the project, *.vcxproj for VS2012.  It was a smooth transition except the name of the project.  It only accept upto 'uTasker', so I should rename it to 'uTaskerV1-4'.  After that I can compile it (build it) in VS2012 environment; no error, no warning.  So I changed IP setup for our network and built it again.  Smooth and no hassles.  So, start to debug.  Set NIC and then see green light is blinking.  So I pinged to it from the command line.  Then "No reply".  Well, the funny thing is I can ping to it from other computer successfully.  I have checked with Wireshark.  It just behaved normally.  Whatever I tried, no use; changing mac address, Tx overflow setting, re-unzip and complie, etc.

I have read some related topics; dataoverflow issues, NIC setup, tcp hitting check, etc.  It just didn't reply at all in my own computer.  Still I can ping it even from our wireless network computer.  One time I debug this by setting the break point at tcp.c as Mark suggested.  After it hit that point, I proceed step by step till get some error; kernel32.dll & ntdll.dll are not found.  I have those in the proper directories, I guess.

Well, my computer has a Realtek chip for the network.  Should I use 'Microsoft Loopback Adapter' for this simulator?  I need this simulator first to check HTTP server function.  Any comments or questions please.....

Pages: [1]