Archive for November, 2009

PING with some pictures

Sunday, November 29th, 2009

Some minor changes in the W7100.DAT file for Bascom-8051. Had some trouble with the out-command, expected were DPL and DPH, in my W7100.DAT-files these were called DPH0 and DPL0 (SFR &H82 and &H83). Changed that and out-command is working now. To access the &HFE0000-&HFEFFFF you have to fill the DPX0 register (SFR &H94) with &HFE and after reading/writing you have to put &H00 in it. With the out-command you can read and write the TCPIP-core registers. Filled the SIPR, SHAR, SUBR and GAR-registers with IP-number, MAC, netmask and gateway and can PING the device. So far so good.

Wondering if anyone else is working on the iMCU7100EVB-board with Bascom-8051…

W7100_115200.JPG

W7100_mem.jpg

w7100_ping.jpg

W7100.DAT

PING working…

Sunday, November 29th, 2009

PING working on the iMCU7100. It is the DPX0-register that did the trick.

RJ-45-cable_small.jpg

Lcd, Serial and toggle working

Sunday, November 22nd, 2009

LCD working on the iMCU7100EVB board. Not with the standard LCD-commands from Bascom-8051, but with the routines I wrote before for the 80C535, changed I2c-writes to direct-Port2-writes. Serial working on 115200 baud. After the $baud command in Bascom-8051 had to change two non-standard registers. TL1 = &HFC and TH1 = &HFC This I found in the Keil C sources on the CD, it is a bit different then in the datasheets of the W7100 for 115200 baud. And toggle of three LEDs worked before. Now the basic functions of the board are working I can start creating a W7100.INC file for all registers on the W7100 chip, and start trying to get the first PINGs working.

Have noticed that working with the WizISP in combination with Bascom-8051 is very handy. Keep the switch [BOOT] ON, keep the WizISP program running on the background, every time you compile the Bascom-code with a new HEX-file as result, WizISP will prompt you that there is an updated version of the HEX-file “This file has been modificated outside of the source editor. Do you want to reload it?”, and will update it’s buffer. You only have to press Reset on the board, to get it in BOOT-mode again, connect to COM1 or COM2 and press Auto in the WizISP-program. The new hex-file is loaded in the W7100 chip, gets verified and the board starts to run automatically. Almost as easy as AVRISP programming on the AVR-chips.

W7100_LCD.jpg

Bascom-8051 and W7100

Wednesday, November 18th, 2009

Still a long way to go but the first steps have been made. Bascom-8051 and the iMCU7100, a 8051 with hardcoded TCP/IP. Changed the REG51.DAT file a bit, adding the extra registers of the W7100. And now, with a simple program the three LED’s on PORT0.3 PORT0.4 and PORT0.5 are blinking with an interval of 2 seconds, just as programmed in Bascom-8051. If you want to give it a try, place W7100.DAT in the Bascom-8051 directory. In the pictures the iMCU7100EVB, used for the Circuit Cellar/Wiznet contest and a hardcopy of the WizISP, a program to put the HEX/BIN file through RS232 in the W7100.

PA290063.jpg

W7100.DAT

wizISP.jpg

STK500, WebTiger and Nokia display

Monday, November 16th, 2009

Here a picture of one of the projects we are going to show on the Elektor_live! Bascom-AVR presentation. It is a STK500, with a Ethernet Add-On from www.achatz.nl and a Nokia 6100 display (Epson).

webtiger400.jpg

On display in Evoluon - Eindhoven

Monday, November 9th, 2009

In Holland, 21 november, there will be a Electronic Conference by Elektor, an European Electronics magazine. In the Bascom-AVR stand some of my boards will be on display. Evoluon is called the building, it used to be a museum of Philips, but a few years back it has turned into a conference center.

evoluon2.jpg

evoluon1.jpg