A Forum run by Enthusiasts of MidNite Solar

Charge Controllers and Clippers => The "Classic" charge controller => Topic started by: dgd on February 05, 2013, 07:53:47 PM

Title: Classic OS?
Post by: dgd on February 05, 2013, 07:53:47 PM
@boB

I am interested in looking at a web interface in the Classic.  Web servers in embedded systems is quite common and lots of info is available on the net.
Some questions about the Classic computer system -
I think I read somewhere about 3 processors in the Classic, I'm interested in the one that deals with the ethernet interface. Is there an operating system (OS) running on this pocessor? If so what is it?
What memory and storage resources does this processor have available?  (ram and flash) and % not available for use?

dgd
Title: Re: Classic OS?
Post by: boB on February 06, 2013, 12:32:57 AM

There is no web interface in the Classic yet...  Nothing that is done yet anyway.

No OS or RTOS in the Classic.   All architecture was done in house.

The Classic itself has one processor, with a whopping 256 K bytes of flash and around 48 K bytes of RAM.
My home built Z-80 CPM S100 machine around 1980 had more RAM than the main processor of the Classic.

The MNGP remote is the same kind of thing as the controller.  Then the Arc fault has another one.
The Lite has no arc fault or MNGP but just the one processor.

The MX60 had 32K of flash and when I left had about 1 byte left over.  I'd be darned if I was
going to let that kind of thing happen again.

boB

Title: Re: Classic OS?
Post by: dgd on February 06, 2013, 02:09:15 AM
Quote from: boB on February 06, 2013, 12:32:57 AM

There is no web interface in the Classic yet...  Nothing that is done yet anyway.

No OS or RTOS in the Classic.   All architecture was done in house.

The Classic itself has one processor, with a whopping 256 K bytes of flash and around 48 K bytes of RAM.
My home built Z-80 CPM S100 machine around 1980 had more RAM than the main processor of the Classic.

The MNGP remote is the same kind of thing as the controller.  Then the Arc fault has another one.
The Lite has no arc fault or MNGP but just the one processor.

The MX60 had 32K of flash and when I left had about 1 byte left over.  I'd be darned if I was
going to let that kind of thing happen again.

boB

ok thanks for explaining, 32k / 256k is good for a controller device, that 256k is probably near used up on config info and the 380 day log.
The last  controller device project I was involved with had 64k / 16k internal flash and USB port that could use 2M flash stick, enough to use lilinux, boa web server and have 10 or so html pages and jpg images to serve.
The Classic memory resources may not easily allow a web server to be hosted.

dgd
Title: Re: Classic OS?
Post by: boB on February 06, 2013, 03:34:17 AM
Quote from: dgd on February 06, 2013, 02:09:15 AM
Quote from: boB on February 06, 2013, 12:32:57 AM

There is no web interface in the Classic yet...  Nothing that is done yet anyway.

No OS or RTOS in the Classic.   All architecture was done in house.

The Classic itself has one processor, with a whopping 256 K bytes of flash and around 48 K bytes of RAM.
My home built Z-80 CPM S100 machine around 1980 had more RAM than the main processor of the Classic.

The MNGP remote is the same kind of thing as the controller.  Then the Arc fault has another one.
The Lite has no arc fault or MNGP but just the one processor.

The MX60 had 32K of flash and when I left had about 1 byte left over.  I'd be darned if I was
going to let that kind of thing happen again.

boB

ok thanks for explaining, 32k / 256k is good for a controller device, that 256k is probably near used up on config info and the 380 day log.
The last  controller device project I was involved with had 64k / 16k internal flash and USB port that could use 2M flash stick, enough to use lilinux, boa web server and have 10 or so html pages and jpg images to serve.
The Classic memory resources may not easily allow a web server to be hosted.

dgd


Nahh.  The Classic can host a web page or two or 3.  We're just efficient, but slow getting there.

BTW, I should have mentioned, the 380 days (for dailies) and 380 data points (for minutely or
recent history), and general settings are stored in external EEprom.

The MNGP also has external 32 MB of flash memory but that is for functions other than
what the Classic controller itself needs, like voice and longer term data logging storage.
But that is a serial port away from the Classic controller so can't easily be used for code
or WWW space.

boB





Title: Re: Classic OS?
Post by: dgd on February 06, 2013, 04:12:20 AM
Quote from: boB on February 06, 2013, 03:34:17 AM

Nahh.  The Classic can host a web page or two or 3.  We're just efficient, but slow getting there.

BTW, I should have mentioned, the 380 days (for dailies) and 380 data points (for minutely or
recent history), and general settings are stored in external EEprom.

The MNGP also has external 32 MB of flash memory but that is for functions other than
what the Classic controller itself needs, like voice and longer term data logging storage.
But that is a serial port away from the Classic controller so can't easily be used for code
or WWW space.

boB

Its good to know you are confident a web server may be possible, what about external storage?  that USB port, ok it would need an adaptor to convert the client to host type port and maybe pick up the missing +5v from one of those Teleco connectors. USB memory stick may then be possible too.
dgd