Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Strange problem!!! AT91SAm7x256 and Micrel KSZ8721BL
PostPosted: Tue Apr 29, 2008 12:15 am 
Offline

Joined: Mon Apr 28, 2008 11:59 pm
Posts: 4
Hi everyone,

I designed self board using SAm7X256 and KSZ8721BL, all other functions RS232, SPI AT45DB, file system, flash work properly, the problem that SAM7X256 not able to communicate with Micrel chip, I modified ethernut Nut/Net to my Borad, in Hyperterminal ( debug mode) I get my first greeting message repeated many times e.g:
printf("Server Started");
//here
ethernit setup---->but not work, always the first greeting make loop until power down ( remove power).
Like the SAM7X256 try to communicate with Micrel but make reset itself and start again.
after looking in different forums, I downlaoded this file:
1) http://www.efo.ru/ftp/pub/atmel/_ARM_MC ... emoCMX.bin.

this demo bin it work perfect I'm able to access to my Board and see the CMX demo webpage wihtout any problem.
2)
http://www.efo.ru/ftp/pub/atmel/_ARM_MC ... eeRTOS.bin
this file it make init of Micrel but after each 3 sec drop connection repeatly wihtout making reset of Board.
3)
µTasker V1.3 SAM7X demo bin, don't work but the act leds in RJ45 don't flash also can't see anything in debug serial port ( hyper terminal).

Please Anyone can advise what can be the problem?
Note: my Board connection it the same , Olimex EX256 the connection between AT91SAmX256 and micrel, but Olimex Bin file don't work for me connection dropped each 3sec, and CMX webdemo work properly wihtout any problem.
Please if someone had this problem before could you advise?
Thank you ina dvance for all your help
bye


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 30, 2008 11:26 am 
Offline

Joined: Thu Mar 02, 2006 1:32 pm
Posts: 127
Location: Switzerland
Hi

See the fllowing discussion about different PHY types and HW on ATMEL and Olimex boards:
http://www.utasker.com/forum/index.php?topic=161.0

When testing the uTasker code ensure that you use the bin for the Olimex board (there is also a BIN for the ATMEL board which will not work with the Olimex board due to it verifying the PHY type before activating the Ethernet).

Check also that the RST line is connected to the PHY since it is used to force the correct default configuration via PIO.

Regards

Mark

http://www.uTasker.com


Top
 Profile  
 
 Post subject: Could you explain more ?
PostPosted: Fri May 02, 2008 3:39 am 
Offline

Joined: Mon Apr 28, 2008 11:59 pm
Posts: 4
Hi Mark,
Thank you for your reply, about this issue, but as I understand about RST, for PHY That I already readed this link before and followed it, I download code from Olimex using FreeRtos and connection dropec each 3sec as I said before, also I downlaod Webcmx demo bin and it work properly, so please could you send me uTasker.bin demo for Olimex Board ?
I still have the same problem, but I as understand the problem related about reset delay or disabling reset in AT91SAM7X, I don't know exactly how I can solve the problem but I'm sure the emac it correct about ID of Micrel ethernet, so please could you send me utasker.bin for olimex ?
Best regards
Nizar


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 02, 2008 11:22 am 
Offline

Joined: Thu Mar 02, 2006 1:32 pm
Posts: 127
Location: Switzerland
Hi Nizar

You can download the uTasker bin files from
http://www.utasker.com/software/software.html

The link µTasker demo binary image for AT91SAM7X-EK and Olimex SAM7-EX256 Evaluation Boards (loading with SAM-BA) V1.3 [23.1.2008] contains bin file for ATMEL and Olimex boards - use uTaskerV1.3_olimex_SAM7-EX256.bin

If this does run on your board you can load the demo web pages via FTP to it (address 192.168.0.3, which can be modified via serial interface or on the LAN web page after connection):
Web pages to load via FTP to AT91SAM7X-EK and Olimex EX256 Evaluation Boards [23.1.2008]


Regards

Mark

http://www.uTasker.com


Top
 Profile  
 
 Post subject: Still don't work
PostPosted: Tue May 13, 2008 10:17 am 
Offline

Joined: Mon Apr 28, 2008 11:59 pm
Posts: 4
Hi mark,
how are you doing ?
I followed your instruciton step by step but still not working, as I said before the WebdemoCMX dor AT91SAM7X-Ek it work properly and I'm using Micrel KSZ8721BL ( ethernet controller), if possible I can send you the cmx demo, or you can chekc my previous post.
Also I used Nut/OS, I have as follow:
The first message repeated many time* ( in debug port), like the Main MCu reset itself many times.
I can send you the files or could you please check cmx demo why it work ?
Best regards

*: I talk Nut/os the first message it, nut os ver, started.


Top
 Profile  
 
 Post subject: Re: Strange problem!!! AT91SAm7x256 and Micrel KSZ8721BL
PostPosted: Thu Aug 25, 2011 10:55 am 
Offline

Joined: Thu Mar 04, 2010 2:15 pm
Posts: 2
hi
i have same problem
i use olimex schematic and keil-RTX compiler. when i designed self board for first time i use ks8721bl and it work properly. for second board i use ksz8721bl and it dosen't work with same code
can you solve this problem after this long time :)


Top
 Profile  
 
 Post subject: Re: Strange problem!!! AT91SAm7x256 and Micrel KSZ8721BL
PostPosted: Fri Aug 26, 2011 12:32 pm 
Offline

Joined: Thu Mar 04, 2010 2:15 pm
Posts: 2
i found :)
reset timing is very important keil-rtx don't consider this


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: