I think the srec file is an intermediate between .exe and .ihex. Examine the make output carefully and you may find the command line that does the conversion. It looks like a differently abled download format.
One thing that might be a problem is that I believe there is a boot loader of some kind on the micas, so the download code may not actually contain a reset vector. Without a major reverse engineering effort I'm not sure how I would go about validating this assertion however. Many hex files have addresses as the first element in the line, so examining the file format might be a place to start. MS farooq_s wrote: > I am trying to program the atmega128 using tinyos. I have made the platform > similar to the micaz shemetic. However, when i run 'make micaz' to compile > the blink application, two files main.ihex and main.srec are generated. I > tried downloading the main.ihex file using the avrdude and avrisp mkII > programmer, the download is successfull but the blink doesnt function. > > Moreover i also want to know whats the function of main.srec file? > > Also, am i doing the correct procedure by downloading the main.ihex file > using avrdude? > > Kindly help me in this regard. > > farooq _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
