Author Topic: Issues with MMC-RTC  (Read 25190 times)

hawui1

  • Guest
Issues with MMC-RTC
« on: December 23, 2006, 10:38:15 am »
Hi,

One question about the MMC card I just bought. I tried multiple times to load to the card files for more than 128K in size, but, all of the times I\'m unable to. When I arrive to a certain address (during the write operation) I get

Success writing 512 bytes, 047800-0479FF
Success writing 512 bytes, 047A00-047BFF
Success writing 512 bytes, 047C00-047DFF
Hard Drive Write error,ec =2143
Error downloading program, ec=2143

I\'m using WebCat publisher either the latest beta version (webcat_09_nov_2006.zip) or the official download. I also tried several different types and brands of MMCs (Sandisk,Verbatim,pq1) dual voltage and non-dual voltage, 256Mb or 128Mb.. the result is always the same, I arrive at a certain point and I get the error of above (the address changes depending on the MMC I use and sometimes even with the same MMC)

I tried also to format the MMCs (with FAT filesystem) in a device connected to the PC and the to use webcat publisher but I got same result. Then I tried to copy the files directly to the MMC (i copied the demo) using the PC device and then use the MMC on the webserver, the result has been that some files cannot be read and appears to be garbled (!)

I tried also the old and the new release of webcat (1.02,1.05) by loading them with the new beta version of WebcatPublisher and with the official one.. no results..

Any idea on what could be causing this issue ? I did not change the position of the jumper of the MMC board (is in the middle position) and I checked it\'s correctly and firmly inserted in the main MIN-MAX board.

Let me know your thoughts
Ciao !
« Last Edit: December 23, 2006, 10:41:19 am by hawui1 »

vitaliy

  • Full Member
  • ***
  • Posts: 30
    • View Profile
Re: Issues with MMC-RTC
« Reply #1 on: December 25, 2006, 12:53:04 pm »
Please replace mm51c.dll under C:\\bipom\\devtools\\WebCat
with a new DLL from
http://www.bipom.com/support/mm51c.zip

It prints some debug messages.
So we will be able to identify the issue of Publisher
download.

>> the result has been that some files cannot be read and appears to be garbled (!)

I will look into this issue and let you know

hawui1

  • Guest
Re: Issues with MMC-RTC
« Reply #2 on: December 26, 2006, 03:30:56 am »
This is what I got when simulating the error this time

Success writing 512 bytes, 01F800-01F9FF
Success writing 512 bytes, 01FA00-01FBFF
Success writing 512 bytes, 01FC00-01FDFF
Hard Drive Write error,ec=2143 3 2 251
Error downloading program, ec=2143

(I guess the additional numbers are the diagnostic codes you inserted, if not let me know what app\'s logfile you need and I will provide it)

vitaliy

  • Full Member
  • ***
  • Posts: 30
    • View Profile
Re: Issues with MMC-RTC
« Reply #3 on: December 26, 2006, 04:11:12 am »
>> the result has been that some files cannot be read and appears to be garbled (!)

I fixed that bug.
Please download the latest Beta release
http://www.bipom.com/support/webcat_26_dec_2006.zip

>> Hard Drive Write error,ec=2143 3 2 251

"3 2 251" - webCat can\'t write the next file sector ( 512 bytes)  to MMC. There are some problems with MMC writing.

Do you have 128 MB SanDisk ?
I have only 16Mb, 64 MB SanDisk cards right now.
We will try to find the same card you have and try.
Can you download 128K disk images to MMC without problems ?



« Last Edit: December 26, 2006, 04:12:43 am by vitaliy »

hawui1

  • Guest
Re: Issues with MMC-RTC
« Reply #4 on: December 26, 2006, 07:17:49 am »
>> I fixed that bug.
>> Please download the latest Beta release  
>>http://www.bipom.com/support/webcat_26_dec_2006.zip

I updated the firmware with the one coming with this new version of webcat (V1.06) and infact now if I format the MMC on the PC, I copy the demo files to it and then I insert the MMC in the MIN-MAX, everything works like a charm: no more garbled files (!) this is a very nice news !!

>>"3 2 251" - webCat can\'t write the next file sector ( 512 >>bytes)  to MMC. There are some problems with MMC >>writing.

>>Do you have 128 MB SanDisk ?
Yes, and this one is not dual voltage, then I tried with a Verbatim 128Mb dual voltage, a 256Mb Verbatim dual voltage and a PQ1 256Mb dual voltage.. all of them are giving these issue of the write error.

>>I have only 16Mb, 64 MB SanDisk cards right now.
>>We will try to find the same card you have and try.
Initially I tried to find these low capacity devices because I imagined that using different MMCs would have signified possible issues, unfortunately these MMC with this small capacity are out of stock almost everywhere.. the oldest you can find are 128Mb (and I had to search them in several different places) the only advantage is their price (only 9¤) because the shops want to get rid of them..

>>Can you download 128K disk images to MMC without >>problems ?
On the Verbatim 256Mb yes(it\'s the only capacity that works till the end), but it\'s the only card, on all the other models all the capacities are failing 64K,128K,512K.. on the Verbatim 128Mb when trying 128K I arrive almost at the end of the transfer operation and then I get the (in)famous error.

The error (and the diagnostic codes) anyway are the same all of the times the data copy operation fails on all the MMCs I tested.
« Last Edit: December 26, 2006, 07:19:27 am by hawui1 »

vitaliy

  • Full Member
  • ***
  • Posts: 30
    • View Profile
Re: Issues with MMC-RTC
« Reply #5 on: December 26, 2006, 12:08:24 pm »
>> no more garbled files (!) this is a very nice news !!

It seems you can move with your application now.
You can download/debug using 128K disk images
and put the final huge WEB site using a PC\'s reader.

In any case I will try SanDisk 128MB and let you know.



hawui1

  • Guest
Re: Issues with MMC-RTC
« Reply #6 on: December 26, 2006, 01:09:41 pm »
Yes, now it\'s only a matter of extracting the MMC from the MIN-MAX socket and copy the data with the PC so for sure the webserver is fully usable.
Thankyou very much for your help, now the website is fully working !

vitaliy

  • Full Member
  • ***
  • Posts: 30
    • View Profile
Re: Issues with MMC-RTC
« Reply #7 on: January 21, 2007, 04:15:16 am »

2hawui1

I can duplicate issues with 256MB MMC from KData.

Success writing 512 bytes, 03FC00-03FDFF
Hard Drive Write error,ec=2143 3 2 251
Error downloading program, ec=2143

I will let you know as soon as I solve them

hawui1

  • Guest
Re: Issues with MMC-RTC
« Reply #8 on: January 24, 2007, 09:58:53 am »
So I\'ll wait for the news ;-)
Thankyou vitaliy

vitaliy

  • Full Member
  • ***
  • Posts: 30
    • View Profile
Re: Issues with MMC-RTC
« Reply #9 on: January 26, 2007, 02:59:23 pm »
2  hawui1

I fixed the timing issue of 256MB MMC

Please download the latest WebCat  release
from
http://www.bipom.com/support/webcat_26_jan_2007.zip

and upgrade WebCat firmware ( MMC version)

hawui1

  • Guest
Re: Issues with MMC-RTC
« Reply #10 on: January 29, 2007, 03:36:41 am »
Perfect !
I\'ll try this new version ASAP (This week end when I come back home .. I\'m abroad for work)

I\'ll let you know the results.
In the meanwhile thankyou very much vitaliy
;-)

vitaliy

  • Full Member
  • ***
  • Posts: 30
    • View Profile
Re: Issues with MMC-RTC
« Reply #11 on: January 29, 2007, 03:43:32 am »
OK :-)
I hope everything will work fine on your side with the cards you have

Best regards,
Vitaliy

hawui1

  • Guest
Re: Issues with MMC-RTC
« Reply #12 on: February 02, 2007, 01:52:23 pm »
As I promised I tested it ;-)
In my first attempt I tried without upgrading the firmware of the board and the transfer of the data to the MMC failed again !!! argh ! then I realized that and I did first a firmware update and then the transfer of the files.. the transfer worked like charm this time! (512K)  you fixed it !

but, there\'s a but..
after the download the web server was not working.. so I tried with the debuggin messages and I got..

ERROR: FAT
** WEB SERVER REV 1.06 **

* HARD DRIVE: I2C EEPROM *
* FILE SYSTEM: UNKNOWN *

* TCP/IP/ETHERNET *
MAC: 00-50-C2-46-90-00
IP: 192.168.0.1
SLIDE WINDOW SIZE: 32
ACTIVITY: 60
TIMER: 5
RETRIES: 5
PORT: 80

* RS-232 *
BAUD RATE: 19200
PARITY: 0

* PERIPHEARLS *

* HTTP *
INDEX FILE:INDEX.HTM
NOT FOUND FILE:NOTFOUND.HTM

USER:
PASSWORD:

It appears like, even Webcat was able to complete the download to the MMC something was messed up in the filesystem...
« Last Edit: February 02, 2007, 03:20:11 pm by hawui1 »

vitaliy

  • Full Member
  • ***
  • Posts: 30
    • View Profile
Re: Issues with MMC-RTC
« Reply #13 on: February 02, 2007, 03:46:54 pm »
Please note !!! * HARD DRIVE: I2C EEPROM * !!!
You downloded I2C firmware to the board ( not MMC firmware)
Please select MMC under  Firmware list box to upgrade


hawui1

  • Guest
Re: Issues with MMC-RTC
« Reply #14 on: February 03, 2007, 02:24:07 am »
Argh !! I didn\'t notice that ! I must have selected it by mistake when downloading the firmware..
Now everything\'s fine.. I re-downloaded the CORRECT firmware and it works perfectly, I also copied the files again and the transfer was completed without any issue.

Thankyou a bunch again vitaliy and sorry for the confusion ;-)