Forum Discussion
Altera_Forum
Honored Contributor
13 years agoImplement Arduino into Altera FPGA
Hi, my name is Andy. I'm working on a 2m tall robot and try to use a FPGA to control it.
I'm thinking to implement a Atmel softcore into my small Cyclone IV board. Did anyone try it before? Can the Arduino software recognize the Atmel core? The picture only shows the paper craft skeleton. Thanks, Andy www.andykong.com3 Replies
- Altera_Forum
Honored Contributor
These guys have created an FPGA-based Arduino board (using a Xilinx device)
http://papilio.cc/ The processor is an AVR core from OpenCores. I'm sure you can get it working on an Altera FPGA. Cheers, Dave - Altera_Forum
Honored Contributor
--- Quote Start --- These guys have created an FPGA-based Arduino board (using a Xilinx device) http://papilio.cc/ The processor is an AVR core from OpenCores. I'm sure you can get it working on an Altera FPGA. Cheers, Dave --- Quote End --- Hi Dave, Thanks for your reply. Here is the procedure, right? 1. Get a FPGA board (I have NIOSII development board) 2. Get the AVR core from OpenCore (ATmega168 or ATmega328) This link? http://opencores.org/project,avr_core 3. Download Ardunio Bootloader (http://arduino.cc/en/tutorial/arduinoisp), Wonder about the 3.3V and 5V stuff 4. Program the Ardunio using a FT232 board(http://www.instructables.com/id/diy-arduino-or-the-diy-duino/step23/programming/) I like Altera but it's NIOSII is just too big for a simple MCU. And it's 3.3V pin can't tolerant 5V annoys me. Here is my two meter tall Robot in progress. http://www.youtube.com/watch?v=mvmpcymyqg0 And my Iron Bear using Arduino http://www.youtube.com/watch?v=y_-no1ey_8a&feature=c4-overview&list=uumjlgyadhmxwnlorrffi9ww Cheers, Andy - Altera_Forum
Honored Contributor
Hi Andy,
--- Quote Start --- Here is the procedure, right? --- Quote End --- I would use a slightly different sequence. 1. Download the AVR core 2. Simulate it in Modelsim --- Quote Start --- I like Altera but it's NIOSII is just too big for a simple MCU. And it's 3.3V pin can't tolerant 5V annoys me. --- Quote End --- "Too big" depends on what you are trying to do. If the task is simple, write a state machine :) As for 3.3V vs 5V tolerance. If you are developing your own board, then that becomes a non-issue as there are bus switch devices that can be used to protect FPGA I/O. --- Quote Start --- Here is my two meter tall Robot in progress. http://www.youtube.com/watch?v=mvmpcymyqg0 And my Iron Bear using Arduino http://www.youtube.com/watch?v=y_-no1ey_8a&feature=c4-overview&list=uumjlgyadhmxwnlorrffi9ww --- Quote End --- Ha! Very cool! Cheers, Dave