avr: AVR microcontroller code for the v2 Flukso sensor board

I tried to compile the AVR microcontroller code for the v2 Flukso sensor board, but i failed, can you give detailed instructions to do it, how do i get the .hex and .eep files to transfer it to the sensor board??

i used the files from this links:
https://github.com/icarus75/flukso/tree/develop/mote/v2/avr

Joel Flores Rubio's picture

help me please!!!

gebhardm's picture

Why are you using the alpha version of the code? Go via the "Source" menu to the current code repository...
What compiler do you use? With WinAVR-20100110 (http://winavr.sourceforge.net/download.html) the compile runs through by "just typing 'make'" in the corresponding "avr" directory. The same works for the icarus75-flukso-36922ef/mote/v2/avr directory; 'make' delivers in the latter case a main.hex file of 18K and a main.eep file of 1KB. Maybe check your path settings...
Strange. Best regards
Markus

Joel Flores Rubio's picture

thank you so much Gebhardm!!!

Joel Flores Rubio's picture

i have a new problem, i got the .hex and .eep files, and transfered to the Flukso card, but i needed to change some instruction to the makefile in the AVR directory, how can i erase the data from the Flukso card and re-install again the .hex and .eep files ...............

icarus75's picture

Line 414 of the same makefile.

  1. make rprogram V=99

Joel Flores Rubio's picture

Hi Bart.
Flukso card program v2.1, but I get the following error:

avrdude: AVR device not responding
avrdude: initialization failed, rc=-1
avrdude: AVR device initialized and ready to accept instructions
avrdude: Device signature = 0x000000
avrdude: Yikes! Invalid device signature.
avrdude: Expected signature for ATMEGA168P is 1E 94 0B

I can do to solve this problem?

icarus75's picture

The sensor board is either not properly connected or that you have a dead sensor board.