Hi,
There seems to be something wrong with the webserver component for EB023-1.
The initialise macro never ends.
Sample program attached.
Regards,
Ivan
EB023-1 webserver initialise hangs
Moderator: Benj
- DavidA
- Matrix Staff
- Posts: 1076
- Joined: Fri Apr 23, 2010 2:18 pm
- Location: Matrix Multimedia Ltd
- Has thanked: 58 times
- Been thanked: 258 times
- Contact:
Re: EB023-1 webserver initialise hangs
Hello,
The initialize will hang if the board is not detected, i would check the connections and that the board is on the right port to use the I2C hardware peripheral, i know it is on PORTC for the 16F877A, you may need to check the chip datasheet from Microchip to ensure that it is the same for the 16F877, additionally, ensure that the jumpers on the Eb023 are in the correct position, please check the datasheet to ensure the correct position for your hardware.
http://www.matrixmultimedia.com/resourc ... .php?id=95
Also, ensure that the clock settings are set up for your hardware, by doing a 1s flasher you can ensure that the timing is correct.
The initialize will hang if the board is not detected, i would check the connections and that the board is on the right port to use the I2C hardware peripheral, i know it is on PORTC for the 16F877A, you may need to check the chip datasheet from Microchip to ensure that it is the same for the 16F877, additionally, ensure that the jumpers on the Eb023 are in the correct position, please check the datasheet to ensure the correct position for your hardware.
http://www.matrixmultimedia.com/resourc ... .php?id=95
Also, ensure that the clock settings are set up for your hardware, by doing a 1s flasher you can ensure that the timing is correct.
-
- Posts: 17
- Joined: Sat Sep 17, 2011 7:10 pm
- Location: Belgium
- Has thanked: 8 times
- Been thanked: 5 times
Re: EB023-1 webserver initialise hangs
I believe everything is connected correctly.
To make sure the e-block is functioning i was looking for the Test program "EB023_test.hex" mentioned in the e-block pdf but couldn't find it on the website.
Where can i find "EB023_test.hex" ?
To make sure the e-block is functioning i was looking for the Test program "EB023_test.hex" mentioned in the e-block pdf but couldn't find it on the website.
Where can i find "EB023_test.hex" ?
- Enamul
- Posts: 1772
- Joined: Mon Mar 05, 2012 11:34 pm
- Location: Nottingham, UK
- Has thanked: 271 times
- Been thanked: 814 times
Re: EB023-1 webserver initialise hangs
Hi,
I have old version of test hex..you can check that whether it works or not..I have searched in the MM web site..I have managed to find later on...
Enamul
(Edited)
http://www.matrixmultimedia.com/lc_index.php?p=30
I have old version of test hex..you can check that whether it works or not..I have searched in the MM web site..I have managed to find later on...
Enamul
(Edited)
http://www.matrixmultimedia.com/lc_index.php?p=30
- Attachments
-
- User test routine.rar
- (19.39 KiB) Downloaded 279 times
- DavidA
- Matrix Staff
- Posts: 1076
- Joined: Fri Apr 23, 2010 2:18 pm
- Location: Matrix Multimedia Ltd
- Has thanked: 58 times
- Been thanked: 258 times
- Contact:
Re: EB023-1 webserver initialise hangs
Hello I beleive this should be the User test routine for the EB023v1
- Attachments
-
- User test routine.zip
- (22 KiB) Downloaded 281 times