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

 
 
> Разработка Altera USB Blaster (Help me!)
Drummer
сообщение Sep 5 2006, 04:33
Сообщение #1





Группа: Новичок
Сообщений: 12
Регистрация: 4-09-06
Пользователь №: 20 065



Привет всем!!!
Я начинающий ПЛИСер. Пытаюсь сделать оригинальный Altera USB Blaster на базе FT245BM и EPM3064.
Вообщем собрал я девайс, зашил все что нужно, комп и квартус определили его как Altera USB Blaster.
Пытаюсь через квартус прошить EPCS4, он ругается что не может прочитать Silicon ID.
Написал прогу на C++ Builder, которая посылает и принемает данные по USB. Послал своему девайсу согласно Configuration Handbook на EPCS сигналы Read Silicon ID Operation Timing Diagram и девайс ответил правильно!
То есть бластер все-таки работает, но квартус посылает не те сигналы что послал я, видимо я неправильно сделал распиновку датовских сигналов, может кто знает как они должни быть?
Вот как у меня:
DCLK = D[0]; (output)
N_CONF = D[1]; (output)
N_CE = D[2]; (output)
N_CS = D[3]; (output)
ASDI = D[4]; (output)
DATAOUT= D[5]; (input)
CDONE = D[6]; (input)
Go to the top of the page
 
+Quote Post
 
Start new topic
Ответов
khach
сообщение Sep 6 2006, 09:10
Сообщение #2


Гуру
******

Группа: Свой
Сообщений: 3 439
Регистрация: 29-12-04
Пользователь №: 1 741



Дык вроде победили уже. http://www.edaboard.com/viewtopic.php?t=114946
Цитата
Hi, regarding active serial mode:

I've now determined the meaning of all bits, including AS mode, in the simple protocol; it should be easy to add them in the code available from h**p://www.ixo.de/info/usb_jtag/. I'll do myself if I find the time... Maybe someone else can test AS? I hope there isn't more magic than I assume. I have no devices set up for AS mode here, so I can't actually test... JTAG however HAS been tested, I'm using it every day.

bit 0 in is tdo/conf_done,
bit 1 is dataout/nstatus.

bit 0 out is tck/dclk,
bit 1 out is tms/nconfig,
bit 2 out is nce,
bit 3 out is ncs,
bit 4 out is tdi/asdi/datao,
bit 5 out is led/output enable (has to be set to 1 for proper operation).

The meaning of bit 6 and bit 7 is described in the fx2/usbjtag.c in the zip from the above site. Furthermore I've uploaded experimental USB-Blaster drivers for openwince JTAG tools and OpenOCD there (work in progress).

Kolja
Go to the top of the page
 
+Quote Post



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

 


RSS Текстовая версия Сейчас: 23rd July 2025 - 09:11
Рейтинг@Mail.ru


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