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

Pages: [1] 2
Ethernet Boards (8-bit) / connections in html
« on: June 17, 2008, 06:44:34 AM »
I need to display in the pages of webserver the numbers of connections in that time and the IP of the clients connected. It is posible?

Ethernet Boards (8-bit) / Re: No javascript
« on: March 24, 2008, 02:34:28 AM »
Ok this the answer that I want to receive!.
Now I can send commands in my cellular to my tiny webserver.
Thanks a lot.

Ethernet Boards (8-bit) / No javascript
« on: March 15, 2008, 02:45:45 AM »
Hello all:
I have a ethernet board and the web pages content javascript code. My problem is that i need to show in celullar telephone with no javascript interpreter. My firmware is 3.06 but in this version change the mode of show variables and to do accion like change de pin state . How can i change the web pages to do this without javascript code , only html pure.

Ethernet Boards (8-bit) / Re: Send number from HTTP Client
« on: September 15, 2007, 12:02:00 PM »
Thanks is OK.
This is the code that i need.
I get the idea.

Ethernet Boards (8-bit) / Re: Send number from HTTP Client
« on: September 14, 2007, 01:25:02 AM »
I test all your code in my sbc44 and all is ok!
I need to simplify de code of html to only a text box . I need your help. I need a array of text box to send variables to sbc to the internal code . I make something but my html is very poor.

Ethernet Boards (8-bit) / Re: == New SBC44EC and SBC45EC Beta Code ==
« on: June 16, 2007, 01:55:48 PM »
Regarding the error message generated by MPLAB/C18 posted by ecasvelasco

>>I try to compile the project with ide 7.51 y c18 3.02 and the linker send:
Error - section '.code_stacktsk.o' can not fit the section. Section '.code_stacktsk.o' length=0x00000268
Errors    : 1

I believe this error is due to the compiler not performing the "procedural abstraction optimization."  Without the optimizations by the compiler, the project is too big for the microcontroller memory (either program memory or flash)   I compiled/built the beta code initially with the student/free version of the c18 compiler and the project compiled and ran.  When I recently tried the build  again, same setup, same file set, I received the same error message reported by ecasvelasco.  By this time, the optimizations had expired within this student/free compiler.

I uninstalled the c18 compiler, which was version 3.04, and  then installed the latest c18 which is version 3.12 (demo) and ran the project again.  It worked.  Again I am building for the SBC45.  (I also uninstalled the old mplab 7.4 and installed 7.6a)

In looking at the memory usage guage when the build is complete, it looks like this beta code uses almost all of the program memory (15419 bytes out of 16384 bytes) and 70% of the data memory of 1223 out of 1536.

Since my compiler will go de-optimal in another 60 days, I'm wondering if you could comment on what may have caused this.  Will I need the optimization compiler to build this project?  Is there a data structure that possibly uses alot of memory (I think the optimization has to do with overlays) that I might be able to comment out.  Is there a particular module that might require the optimization that I could remove?


Yes , I finally compile but without some modules ,dhcp,ftp,udp and other and the memory is lower. I think thatis very big and my modifications will be tiny because is full for 18452.

Ethernet Boards (8-bit) / Modify ram with webserver
« on: June 02, 2007, 03:15:10 AM »
I need to change the values of a array of ram but with the webserver . Who i do to map this ram position in command http? 

There is new beta 'Modtronix SBC44EC Web Server' available. This code is a port of the 'Modtronix SBC65EC Web Server' for the SBC44EC. For documentation, see:

The source code, documentation, hex files and MPLAB project files can be downloaded from:

After extracting the contents of this file, it can be built by opening the "websrvr_nobl_mc_hw200.mcp" MPLAB project file. The web pages for this project are in the '../src/webpages/default' folder. See documentation for screen shots of the web pages, and information how to update the web pages on the SBC44EC. To compile for the SBC45EC, simply change the "BRD_SBC44EC" define in the project properties to "BRD_SBC45EC".

The download also constain a compiled version for the SBC44EC. To update the firmware and webpages on the SBC44EC, follow these steps:
  • Download the source code from the link above
  • Use a programmer to program your SBC44EC with the new firmware hex file "websrvr_nobl_mc_hw200.hex". This file is located in the src folder of the downloaded source code. It is very important to instruct your programmer to also program the internal EEPROM of the PIC18F452 chip! The SBC44EC settings are located in the internal EEPROM, including your username and password! If you do not program the internal EEPROM, your username an password will have undefined values!
  • Program the new web pages file "default.img" onto your SBC44EC. This can done via a couple of different methods, for details, see:
    This file is a compiled version of the web pages that you will place on your device. This file is in the "../src/webpages" folder of the downloaded source. The HTML source code (standard HTML files) for this file is in the "../src/webpages/default" folder, and can be compiled to get your "default.img" file.
  • Connect the board onto a network with a DHCP server. You can now access the board via it's default NetBIOS name MXBOARD. Just enter the following into a web browser:

There is  a new version for sbc44/5ec beta o release code?

Ethernet Boards (8-bit) / Re: SBC65EC + LM35 Newbie Questions!
« on: March 26, 2007, 10:45:49 AM »
If you don't want to use an op amp, you can try a simple resistor divider (two resistors in series connected to +5V and Gnd) with a 1V output. Use the 1V as the Vref of your ADC on port A3. Remember to configure the "Voltage Reference Configuration" to use the external voltage for Vref+ via the "Analog Settings" page of the SBC65EC. After doing this, you should get a better resolution on the ADC.
I canīt to do a Vref < 3v. and is not stable  in the Vref of microchip there is a limit. The noise will be more big in data.

Ethernet Boards (8-bit) / Re: SBC65EC + LM35 Newbie Questions!
« on: March 25, 2007, 08:23:54 AM »
Itīs OK 0,21-->21 Celsius 0,31--> 31 Celsius . If you want more resolution you need a OP to more volts. The lm35 output 1V at 100 Celcius.

Ethernet Boards (8-bit) / Re: error compiling source sbc44ecr2
« on: March 23, 2007, 11:52:09 AM »

post is an error in previous my. :roll:

Pic below 16C5x is of two positions
and from 16Cxx of 8 positions
17Cxx of 16 positions, and thus raising.

But it is always better not to abuse the capacity of store I lie of stack


Thanks but the source is the original of webserver I thinks that the source is OK . My error is in the configuration of compiler, ide or anything of build the proyect.

Ethernet Boards (8-bit) / error compiling source sbc44ecr2
« on: March 20, 2007, 09:25:59 AM »
Hi, all :
I try to compile the source of webserver for sbc44ecr2. I get this error:
MPLAB C18 v3.10 (demo)
Copyright 1999-2005 Microchip Technology Inc.
Days remaining until demo becomes feature limited:  60
C:\webserver\websrvr44_v203\src\mxwebsrvr.c:152:Warning [2074] location .tmpdata specified in the interrupt save list is redundant
C:\webserver\websrvr44_v203\src\mxwebsrvr.c:791:Error [1300] stack frame too large
C:\webserver\websrvr44_v203\src\mxwebsrvr.c:792:Error [1300] stack frame too large
C:\webserver\websrvr44_v203\src\mxwebsrvr.c:793:Error [1300] stack frame too large
This error is for version 2.03 with the new beta version is the same error.
I need help to jump this error.

Ethernet Boards (8-bit) / Re: TCP client using SBC 45EC
« on: March 19, 2007, 08:52:52 AM »
Hello , I am using a sbc44ecr2 . But I canīt compile any version and canīt modify the original. My changes are serial port by tcp/ip and a implementes I2c for upgrade more I/O ports. You can send me the modify source that you compile. I am stopped by this error and donīt program anymore.

Ethernet Boards (8-bit) / Re: pin b6 and b7
« on: February 27, 2007, 03:22:12 AM »
I change to outputs and the web page change to two buttons b6 an b7 , if pressed any don't change . I connect a led and is 0V forever . One more data : if I change to another page and again back to port values b6 and b7 back to inputs !!!!
Thanks a lot for you time

Ethernet Boards (8-bit) / Re: pin b6 and b7
« on: February 26, 2007, 05:09:01 AM »
I haven't conected de sbc in ICD2 and configuration bits is normal not debug. The hex verify and the configuration bits no is inthe debub mode...

Pages: [1] 2