Wiznet812MJ cold start problem

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I have a Wiznet812MJ connected to Atmega644P (all running at 3.3V), so far ping, TCP (http) working excellent, UDP working excellent. Only 1 problem though, when I cold start the module, it will hang in the Wiznet init routine.

If I programmed the device using AVRISP MKII, it runs without a problem (means, hot start).

I then tried to put a delay before init the Wiznet, I put delay of 5 sec, same...

Then I tried to reset the module before init (I put 5 sec delay in between again), same, also hang.

I reset the module by sending a high, delay 50ms, send low, delay 50ms, send high again delay 50 ms to the Reset pin of Wiznet module.

So far the only way to make it work is to use "hot" start.

Anyone experience this type of problem?

The Reset pin of the Wiznet module is directly connected to my PB0 of Atmega644P.

BTW I'm using SPI.

cs

I'm happy ytd, today, and tmr :)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Problem solved! Thanks anyway...

Weird, everytime I posted here, I can solve the problem in 5 min AFTER I post it...AVRFreaks forum got some divine power? Haha....Happy, job done... :)

cs

I'm happy ytd, today, and tmr :)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

What was the issue?

I have too many hobbies.
s-conductor.com