Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

Some answer for a beginner please

Hello,

I've just bought an Altera BAIXUN on eBay. It is an Atera Cyclone EP1C6T144C8. Can you give me some answer ?

Can I program it in VHDL without "USB Blaster" ? I have only USB cable.

How I know pins for LED, switch etc ... ? There is no doc with it...

Thanks a lot, I'm really a beginner, please understand me.

8 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I guess you need an Altera programming adapter, either USB- or ByteBlaster. I'm only aware of a Cyclone II "BAIXUN" DevKit, it has standard JTAG and AS programming connectors and no on-board programming adapter.

    If I understand right, BAIXUN is from China, hopefully a Forum member can provide the documentation.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Thank you for you answer :)

    My first idea was right, I have to buy a "USB Blaster" :/

    Yes, there are two port named "AS" and "JTAG" on the board. So, can I program it with Quartus II ? In VHDL ?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hello,

    I've just bought an Altera BAIXUN, as well. It is an Altera CycloneII EP2C8Q208C8N.

    The board had some default code a "BAIXUN welcome" on LSD and digits on 7-seg.

    I'll be really glad if some one can assist me to solve my problems:

    1. Made a simplest code (AND gate), tried to program it via JTag - Quartus (Web ed.) programmer showed successive result, but actually the default program still ran. Why it didn't worked any idea?

    2. As i passed to AS (Active serial) programming using another plug on board.

    i succeed to delete the existing program an program mine (to EPSC4).

    The logic works as expected (LED lights), but it looks like resetting each time - blinking.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Quick ans:

    JTAG - load .sof (your design code) into FPGA

    AS - program .pof (converted from .sof) into EPCS4 as storage where later on when you power cycle the board, it automatically loads your design from EPCS4
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    if your design looks like resetting all the time, it might be caused the wrong unused pins setting. by default quartus II grounds all the unused pins which might not be all right if you have some connections to other devices on board.

    go to assignment->settings. find "device and pin options" and under "unused pins", set them as "input tri-stated"
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Thank you very much jacklsw86!

    It worked! After setting the unassigned input pins to tri-state,

    both AS and JTag is capable of being programmed and work correct.