Guest earl Posted August 7, 2011 Report Share Posted August 7, 2011 Kudos - This is a really worthwhile project! The tutorials made it easy to get started experimenting with FPGAs and VHDL coding using the Papilio One board. I've been trying out some custom user core VHDL changes with the Arduino IDE and it gets tedious copying bit files and using the loader to burn the SPI flash after making Arduino code changes. A small mod to the Makefile and the boards.txt file allows you to burn the SPI Flash directly from the Arduino IDE for custom user core designs. It adds these board options to the IDE choices: Gadget Factory Papilio Custom 250K Board (Burn) Gadget Factory Papilio Custom 500K Board (Burn) The Makefile mod is to insert the following at line 439: papilio_custom250Burn: hex mem pcustom bf_programBurn250K papilio_custom500Burn: hex mem pcustom bf_programBurn500K The boards.txt mod is to insert the following at line 130: papilio_Custom250burn.name=Gadget Factory Papilio Custom 250K Board (Burn) papilio_Custom250burn.upload.command=../utils/bin/make.exe papilio_Custom250burn.upload.using=papilio_custom250burn papilio_Custom250burn.upload.maximum_size=16384 papilio_Custom250burn.build.mcu=atmega103 papilio_Custom250burn.build.f_cpu=16000000L papilio_Custom250burn.build.core=arduino ############################################################## ############################################################## papilio_Custom500burn.name=Gadget Factory Papilio Custom 500K Board (Burn) papilio_Custom500burn.upload.command=../utils/bin/make.exe papilio_Custom500burn.upload.using=papilio_custom500burn papilio_Custom500burn.upload.maximum_size=16384 papilio_Custom500burn.build.mcu=atmega103 papilio_Custom500burn.build.f_cpu=16000000L papilio_Custom500burn.build.core=arduino ############################################################## ############################################################## Link to comment Share on other sites More sharing options...
Jack Gassett Posted August 7, 2011 Report Share Posted August 7, 2011 Thank you earl, Tips and tricks like this are greatly appreciated. Jack. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.