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

Pages: [1]
1
Hello

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?

2
µ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]