xpg 127 Posted July 30, 2013 Author Share Posted July 30, 2013 (edited) I am trying with this one: https://github.com/xpgdk/stellaris-enc28j60-booster and a cheap enc28j60 board, but I seem to be stuck at: Welcome Welcome ENC_ESTAT: 1 Econ: 0 Silicon Revision: 6 int enabled Waiting for IP address... this is the same result as when i dont connect the INT to PE4 Does anyone have any ideas how to find whats going on ? and am i trying with the correct version ? or should i try the one at: https://github.com/MrDoomBringer/stellaris-enc28j60 regards, Paul Does your ENC28J60 board have any LEDs? Do any of those light up / blink when connecting the power? Also, do you have the ethernet cable attached before applying power? Currently, the cable must be attached when powering up. Regarding the source repository I would suggest to use https://github.com/xpgdk/stellaris-enc28j60-booster to begin with. But I'll verify which one works later today. Cheers, Paul Edited July 30, 2013 by xpg Quote Link to post Share on other sites
langepaul 0 Posted July 30, 2013 Share Posted July 30, 2013 it's the enc29j60 breakout like the one you have in this video: http://www.youtube.com/watch?v=IHRwiBdNwZQ the red led D1 is lighted up. the green ethernet led lights up, and the yellow ethernet led blinks irregularly. i have the ethernet cable attached before applying power by putting the power-select to debug. the virtual com only works after i have applied power, so i only get text output after pressing the reset button. since enc-int seems to be selectable on your boosterpack, do i need to tell it somehow which one i'm using ? oh, and does it matter if the enc28j60 gets 3.3V from J1[1] or Vbus from J3[1] which I assume is 5V ? regards, Paul Quote Link to post Share on other sites
xpg 127 Posted July 30, 2013 Author Share Posted July 30, 2013 it's the enc29j60 breakout like the one you have in this video: http://www.youtube.com/watch?v=IHRwiBdNwZQ the red led D1 is lighted up. the green ethernet led lights up, and the yellow ethernet led blinks irregularly. i have the ethernet cable attached before applying power by putting the power-select to debug. the virtual com only works after i have applied power, so i only get text output after pressing the reset button. since enc-int seems to be selectable on your boosterpack, do i need to tell it somehow which one i'm using ? oh, and does it matter if the enc28j60 gets 3.3V from J1[1] or Vbus from J3[1] which I assume is 5V ? regards, Paul Unfortunately, I didn't get around to check the source code today, but I'll do it as soon as possible. You should check the source code for the exact configuration. The code at https://github.com/xpgdk/stellaris-enc28j60-booster uses PE4 as as ENC28J60 Interrupt pin. The code should perform a soft-reset of the ENC28J60, so it shouldn't matter that you do a reset of the Launchpad. However, you could try to remove the power connection from the ENC28J0 while holding the reset-button of the Launchpad and put the power back connection back before releasing the reset-button. This would allow you to see the output from a "hard-reset". The ENC28J60 should be powered from 3.3V. The activity LED blinking indicates that the ENC28J60 is properly initialized, and receiving and/or transmitting data. This doesn't tell us much more, than it is most likely a problem with the interrupt line. You could try to modify the code such that the interrupt signal is not used, such that it just keeps polling the ENC28J60 all the time. For the code in https://github.com/xpgdk/stellaris-enc28j60-booster you can do so by replacing line 206 "MAP_SysCtlSleep();" with "enc_action();" . Hope this helps you, /Paul bluehash 1 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.