реклама на сайте
подробности

 
 
> Проблема с TSE в NIOS, TSEMAC SW reset bit never cleared!
toly1985
сообщение Dec 1 2011, 11:23
Сообщение #1


Участник
*

Группа: Участник
Сообщений: 23
Регистрация: 4-05-07
Пользователь №: 27 510



Здравствуйте!

Есть плата с CYCIII + 2 PHY KSZ9021GQ.

Во время отладки программы web_server под NIOS выходит ошибка "TSEMAC SW reset bit never cleared!".
И соответсвенно не запускаеться web-server.

Кто сталкивался с подобной ошибкой - в чем причина?


Лог запуска:

InterNiche Portable TCP/IP, v3.1

Copyright 1996-2008 by InterNiche Technologies. All rights reserved.
prep_tse_mac 0
Your Ethernet MAC address is 11:22:33:44:55:66
Static IP Address is 192.168.3.250
prepped 1 interface, initializing...
[tse_mac_init]
INFO : TSE MAC 0 found at address 0x04002000
INFO : PHY Micrel KSZ9021GQ found at PHY address 0x1f of MAC Group[0]
INFO : PHY[0.0] - Automatically mapped to tse_mac_device[0]
INFO : PHY[0.0] - Restart Auto-Negotiation, checking PHY link...
INFO : PHY[0.0] - Auto-Negotiation PASSED
INFO : PHY[0.0] - Checking link...
INFO : PHY[0.0] - Link established
INFO : PHY[0.0] - Speed = 100, Duplex = Full
TSEMAC SW reset bit never cleared!
OK, x=10002, CMD_CONFIG=0x00002000

MAC post-initialization: CMD_CONFIG=0x04000200
[tse_sgdma_read_init] RX descriptor chain desc (1 depth) created
mctest init called
IP address of et1 : 192.168.3.250
Created "Inet main" task (Prio: 2)
Created "clock tick" task (Prio: 3)
Created "web server" task (Prio: 4)

Web Server starting up
Go to the top of the page
 
+Quote Post
 
Start new topic
Ответов
toly1985
сообщение Dec 2 2011, 10:59
Сообщение #2


Участник
*

Группа: Участник
Сообщений: 23
Регистрация: 4-05-07
Пользователь №: 27 510



на модуль TSE заходят данные. По каким причинам он не будет эти данные выдавать их в FIFO ?
Может нужно "как-то правильно" сконфигурировать TSE?

Command_Config Register у TSE.

SW_RESET
Software reset. Set this bit to 1 to trigger a software reset. The MAC
function clears this bit when it completes the software reset sequence.
When reset is triggered, the MAC function completes the current
transmission or reception, and subsequently disables the transmit and
receive logic, flushes the receive FIFO buffer, and resets the statistics
counters.

По каким причинам этот бит не очищается?

Сообщение отредактировал toly1985 - Dec 2 2011, 10:59
Go to the top of the page
 
+Quote Post



Reply to this topicStart new topic
1 чел. читают эту тему (гостей: 1, скрытых пользователей: 0)
Пользователей: 0

 


RSS Текстовая версия Сейчас: 1st July 2025 - 02:54
Рейтинг@Mail.ru


Страница сгенерированна за 0.01373 секунд с 7
ELECTRONIX ©2004-2016