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

Pages: 1 2 3 4 5 6 [7] 8 9 10 11 12 ... 14
91
8051 Development Tools / Re: Writing EEprom
« on: December 02, 2004, 04:28:13 am »
sorry

   deviceNumber |= (address >> 8 ) ;

   ec = Transmit( I2C_DEVICE_24CXX | I2C_WRITE | (deviceNumber << 1) );

92
8051 Development Tools / Re: Writing EEprom
« on: December 02, 2004, 04:27:05 am »
Please note, you changed the original  source.
It had contained
....

   deviceNumber |= (address >> 8);
   ec = Transmit( I2C_DEVICE_24CXX | I2C_WRITE | (deviceNumber << 1) );
...

93
8051 Development Tools / Re: Writing EEprom
« on: October 12, 2004, 09:50:48 am »
If you use 8051/52 development system
you will be able to find EEPROM example under
C:\\bipom\\devtools\\MicroC\\Examples\\8051\\tiny\\eeprom\\24C04 folder.
Please try it.

Best regards,
Vitaliy

94
8051 Development Tools / Re: debug messages
« on: November 14, 2004, 01:01:56 am »
The following Preprocessor  commands are recognized by the MicroC compiler
if they occur at the beginning of the source file line:  
1)
#error <text>
 Causes  MicroC to  issue  an  error  message  containing   the
specified text, and then terminate.

2)
#message <text>
Outputs an informational message (does not terminate).

For example,
#message "SOME MESSAGE"

Best regards,
Vitaliy

95
8051 Development Tools / Re: MINI-MAX/51-D Communication problem
« on: October 12, 2004, 09:47:59 am »
Please download the latest release from http://www.bipom.com/software.shtm
This known problem was fixed a few months ago.
Mini-Max/51-C loaders of the new releases were modified to support AT89C51ED2 chip.

Best regards,
Vitaliy

96
8051 Development Tools / Re: 8051 development
« on: June 07, 2004, 11:32:46 am »
"8051/52  DevelopmentSystem" includes:
- Micro-IDE;
- Micro C compiler from Dunfield Development Systems;
- XASM 8051/8052 Cross Assembler;
- Help documentation in HTML form;
- Examples for all shipped hardware;
- 8051/52 Simulator;
- debugger;
- loaders.

Micro-IDE is a Windows based Integrated Development Environment for micro-controller systems application development.
Micro-IDE integrates essential components of software development including:
- Multi File Editor with C and Assembly language syntax coloring;
- Integration with toolkits including command line compilers, assemblers, linkers;
- Project Manager;
- Tools: Terminal program, Calculator, ASCII Chart.

97
68HC12 Development Tools / Re: Running C programs
« on: March 07, 2004, 04:22:00 am »
I guess you have some problems with CSTARTUP files.
In other words, you should  adapt the start-up code for your board.
Please check 6812RLM.ASM, 6812RLP.ASM, and 6812RLS.ASM files
under C:\\bipom\\devtools\\MicroC\\Lib12 folder.
As minimum action  you have to uncomment  RESET vector (6812RLS.ASM)

*
* DDS MICRO-C 68HC12 Runtime library - Suffix file
*
?heap      EQU      *            Heap memory goes here
* For stand-alone ROM system, uncomment the following
     ORG      $FFFE            Position to reset vector
     FDB      ?begin            Set start address
*00000

98
68HC08 Development Tools / Re: Illegal address reset
« on: June 27, 2005, 01:18:46 am »
If you use Mini-Max/908 board the system can be reset if PTC1 goes low for 2 seconds.


99
WebCat/WebCatPlus / Re: WebCat and DIO with tags
« on: January 14, 2007, 03:32:12 am »
> Found a possible solution.. let me know if it\'s correct
yes, it\'s correct.
It is necessary to empty I2C buffer periodically.
The buffer has only 8-byte depth.

Also, you can reset the I2c Pointer only (CLR=IP).
This way you can re-get all the bytes from buffer again.

> Question :  
> How can I explicitly set some lines as inputs and some > as outputs in port A ?

You can do that using TRISA unit.

#define PORTA_UNIT                        0
#define TRISA_UNIT                        1
#define PORTB_UNIT                        2
#define TRISB_UNIT                        3
#define PORTC_UNIT                        4
#define TRISC_UNIT                        5


For example, you would like to have 3 inputs( PORTA0..2) and 3 outputs (PORTA3..5).
It means you have to write 7 (000111B) to TRISA.
1 defines  input
0 defines output

100
WebCat/WebCatPlus / Re: WebCat and DIO with tags
« on: January 12, 2007, 03:18:56 pm »
<form method="get" action="dio.asp">
<input type="hidden" name="I2CSTART">
<input type="hidden" name="I2CNUM" value="16">
<input type="hidden" name="I2CNUM" value="0">
<input type="hidden" name="I2CSTART">
<input type="hidden" name="I2CNUM" value="17">
<input type="hidden" name="I2CREC">
<input type="hidden" name="I2CNAK">
<input type="hidden" name="I2CSTOP">
</form>
^I2CNUM^

Start
Write 16 // DIO I2C address
Write 0 // PORTA UNIT
Start
Write 17 // DIO I2C address | READ
Read      // Read port A to internal buffer
Nak
STOP

WebCat server will replace ^I2CNUM^ with the received data byte from the internal buffer

Also, you can empty the internal buffer using the following form

<form method="get" action="dio.asp">
<input type="submit" name="CLR" value="IP - clear RX buffer of I2C Port">
<input type="submit" name="CLR" value="IB - reset TAG pointer of I2C buffer">
</form>





101
WebCat/WebCatPlus / Re: WebCat and DIO with tags
« on: January 12, 2007, 12:44:24 pm »
<form method="get" action="dio.asp" name="">
<input name="I2CSTART" type="hidden" id="I2CSTART">
<input name="I2CNUM" type="hidden" id="I2CNUM" value="16">
<input name="I2CNUM" type="hidden" id="I2CNUM" value="2">
<input name="I2CNUM" type="hidden" id="I2CNUM" value="255">
<input name="I2CSTOP" type="hidden" id="I2CSTOP">
<input type="submit" name="Submit" value="Set Outputs">
</form>

There are brief explanations of "Set Outputs" action

Start
Write 16 // DIO I2C address
Write 2 // PORTB UNIT
Write 255 // PORTB = 255
STOP
....

<form method="get" action="dio.asp" name="">
<input name="I2CSTART" type="hidden" id="I2CSTART">
<input name="I2CNUM" type="hidden" id="I2CNUM" value="16">
<input name="I2CNUM" type="hidden" id="I2CNUM" value="2">
<input name="I2CNUM" type="hidden" id="I2CNUM" value="0">
<input name="I2CSTOP" type="hidden" id="I2CSTOP">
<input type="submit" name="Submit" value="Clear Outputs">
</form>

There are brief explanations of "Clear Outputs" action
Start
Write 16 // DIO I2C address
Write 2 // PORTB UNIT
Write 0 // PORTB = 0
STOP


Please download DIO technical manual from www.bipom.com

Also, please look at examples of 8051/52 development system under
C:\\bipom\\devtools\\MicroC\\Examples\\8051\\tiny\\IO_Expander
to obtain more information on UNITS of DIO board




102
WebCat/WebCatPlus / Re: MINI-MAX/51-E and WebCat
« on: December 09, 2006, 06:45:43 am »
Please follow my instructions to get started with MMC
- format MMC Card using a PC reader to FAT (! Not FAT32 !)
- file naming should be 8 characters with 3 character filename extension (xxxxxxxx.xxx)
- copy the file directly at the root directory of MMC (! No Subfolders !)
- copy config.txt and password.txt from Webcat DEMO files/folder to MMC card
(please make sure you modify the IP address, password, user name etc. with your settings)

103
WebCat/WebCatPlus / Re: MINI-MAX/51-E and WebCat
« on: December 09, 2006, 02:47:16 am »

>Is it possible to run a working webcat (although with very limited resources) with just a MM/51-E board alone ? or it\'s mandatory to buy an MMC or a RAM/FLASH peripheral board ?

It is possible to run WebCat without MMC, RAM-1 boards if AT24C1024 EEPROM is installed into a DIL-8 machine socket on MM/51-E board.
In that case all the files served from serial EEPROM.

> Does the MMC board come with the cable to connect it with the MM/51-E board ?  

The MMC board can be installed on top of MM/51-E without a cable. If you need a flat cable it can be purchased separately.

> Does the MMC board already include the MMC or it has to be bought separately ?

separately

>To build a fully functional WebCat server is it ok to buy (in addition to the MM/51-E card I already have)

1) MMC-RTC-1
2) MMC card for the above one


YES

> Last question, is it possible to change the I/O status of the MM/51-E board via commands like "http://192.168.0.1/lights.asp?CLR=P1.0"
without any additional board ?

It is possible if  your setup has any file storage ( MMC, RAM-1, AT24C1024 EEPROM) to keep lights.asp.









104
WebCat/WebCatPlus / Re: TB1 Buzzer with WebCat?
« on: July 31, 2010, 01:46:43 am »
Quote
Is there a way (HTML tag or embedded/remote command) to
activate the Training Board 1 (TB1) buzzer through WebCat?

The current version of WC+ does not support such  a feature.
It is necessary to add a new command to open sources.
The simplest way is to generate waves using Timer interrupts.

105
I am sorry.  I mentioned WC+.
Please read http://www.bipom.com/web_faqs/us/318646.html#2

Pages: 1 2 3 4 5 6 [7] 8 9 10 11 12 ... 14