Hi,
I'd like to know how it's possible to use ECIO40 with the internet board. We're working on a project that requires web input/output, temperature taking and heat regulation. Originally we used PIC 16f877a, but it only has 8k of flash memory and using web server and tcpip component uses up almost all of it. ECIO40 has 24k of memory but apparently no support for the internet board. Actually it appears there is not a single PIC with more then 8k of memory that can be used with the internet board and is at the same time supported by Flowcode.
If there's a solution with ECIO40, please let me know what it is. If not, when is it planned to support the internet board and until then what chip can we use?
Thanks,
ECIO40 and internet board
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: ECIO40 and internet board
Hello
Yes the ECIOs and any other PICmicro device with a MI2C peripheral will work fine with our Internet Board.
Yes the ECIOs and any other PICmicro device with a MI2C peripheral will work fine with our Internet Board.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 10
- Joined: Wed Dec 10, 2008 10:39 am
Re: ECIO40 and internet board
If it works, would you please write how to configure Flowcode so it will really work.
See the attached picture for the error we're getting.
Thanks.
See the attached picture for the error we're getting.
Thanks.
- Attachments
-
- ECIO error.png
- (11.05 KiB) Downloaded 3684 times
- Steve
- Matrix Staff
- Posts: 3433
- Joined: Tue Jan 03, 2006 3:59 pm
- Has thanked: 114 times
- Been thanked: 422 times
Re: ECIO40 and internet board
I see the problem, and it looks like this affects all 18F PICmicro chips. We'll fix this in V4 of Flowcode.
There is a quick workaround: enter "#define TMR0 TMR0L" into the "defines" section of the "supplementary code" window.
There is a quick workaround: enter "#define TMR0 TMR0L" into the "defines" section of the "supplementary code" window.
- Attachments
-
- tmr0L.png
- (16.28 KiB) Downloaded 2311 times
-
- Posts: 10
- Joined: Wed Dec 10, 2008 10:39 am
Re: ECIO40 and internet board
Thanks for your prompt answer. The compilation error doesn't occur anymore but we ran into new problems.
We used your sample with WebServer for testing and now we can ping the device, but the web page from the device isn't displayed in the browser. The same code works OK on PIC 16F877A. With our application the behaviour is the same.
We used your sample with WebServer for testing and now we can ping the device, but the web page from the device isn't displayed in the browser. The same code works OK on PIC 16F877A. With our application the behaviour is the same.
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: ECIO40 and internet board
Hello
To get the ECIO40 working with the TCP/IP E-Block EB023 you will need to connect the E-Block to PortB and then setup the patch system as follows.
Jumper Setting C
Wire the following connections using the turned pin sockets on the E-Block.
SDA wired to Bit 0
SCK wired to Bit 1
/INT wired to Bit 2
Also in the Webserver properties you must change I2C interrupt from 0 to 2.
Hope this helps.
To get the ECIO40 working with the TCP/IP E-Block EB023 you will need to connect the E-Block to PortB and then setup the patch system as follows.
Jumper Setting C
Wire the following connections using the turned pin sockets on the E-Block.
SDA wired to Bit 0
SCK wired to Bit 1
/INT wired to Bit 2
Also in the Webserver properties you must change I2C interrupt from 0 to 2.
Hope this helps.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 10
- Joined: Wed Dec 10, 2008 10:39 am
Re: ECIO40 and internet board
Thanks guys,
after setting the interrupt (just overlooked the setting somehow) it works fine now.
after setting the interrupt (just overlooked the setting somehow) it works fine now.