ben Posted August 3, 2011 Report Share Posted August 3, 2011 Hi all, I wanted to try that AVR8 soft processor, but I couldn't get it to work with basic tools. I downloaded the AVR8 code, opened the Papilio_AVR8_500k project (I am the happy owner of a Papilio One 500) in Xilinx ISE, and generated the bit file. No problems there. Then I wanted to put some AVR code into the memory. So I dug up my old Makefile for compiling C to AVR, and created a simple .hex file for a program blinking all output ports, using avr-gcc and avr-obj-copy. Then I updated the bit file with the data, using data2mem: data2mem -bm custom_bd.bmm -bd avr_prog.mem -bt custom.bit -o b avr.bit (custom_bd.bmm and csutom.bit are copies of the Papilio_AVR8_bd.bmm and Papilio_AVR8.bit, as the shell script in the Papilio Arduino IDE does) Then I uploaded the bit file, using butterflyprog as usual... and no blinking at all. On any port. Did I do something wrong ? All the tutorials are about ArduinoIDE, which is probably great but 1) I use linux so the provided Papilio ArduinoIDE won't work and I'll have to reconfigure the Linux stock version to add the Papilio output and 2) I'd like to use C for my project. I'll try it too, but any insight on why my "no IDE" toolchain did not work would be great. Thanks, Ben Link to comment Share on other sites More sharing options...
This topic is now archived and is closed to further replies.