I am using: eclipse-platform-3.2-win32 btnut_system_1.8 and WinAVR-20070525
When i burn the .hex file on BTNODEv3 hardware i get the following warning: [LPM] Device is not responding correctly All four LED's of BTNODE hardware are blinking continously, but when i connect it using hyperterminal there is no output, even i have certain printf code in my main.
My main file look like(i simply used the cppdemo available in btnut-system, how ever even cppdemo .hex file is not working on BTNODE):
#include "Main.h" // Trivial C++ Demo for NutOS. /*! * $Log: cppdemo.cc,v $ * Revision 1.3 2006/07/10 14:24:11 haraldkipp * Header files replaced by platform independent variants. * Contributed by Matthias Wilde. * * Revision 1.2 2005/08/02 17:46:44 haraldkipp * Major API documentation update. * */ /*! * \example cppdemo/cppdemo.cc * * This sample demonstrates the usage of Nut/OS with C++. * * You should carefully think about using C++ with tiny embedded systems. * This sample just proofs, that it basically works. */ #include <cpp/nutcpp.h> extern "C" { #include <dev/board.h> #include <sys/version.h> #include <inttypes.h> #include <io.h> #include <stdio.h> }