Hy all,
I have an RCB128RFA1 board (AtMega128rfa1 based) and I'm trying to run WSNDemo on it. I installed BitCloud 1.14 and installed the board specific extensions provided by the board manufacturer. I'm using Atmel Studio 6.0.
First I configured the configuration.h specific to run a "coordinator" on my board.
I compile and it seems averything is ok but in the output files I notice that my WSNDemo.hex file has a size of just 16KB that comparing it to the pre-compiled files (about 350KB) of this example is too small.
I download the image to the board and it do nothing and I try to debug and it gets stopped just in the begining .
Im doing something wrong but I dont know what.
This is part of my output(the one that i consider important to show):
------ Build started: Project: RCB, Configuration: All_Rcb_Atmega128rfa1_8Mhz_Gcc AVR ------ Build started. Project "RCB.cproj" (default targets): Target "PreBuildEvent" skipped, due to false condition; ('$(PreBuildEvent)'!='') was evaluated as (''!=''). Target "CoreBuild" in file "C:\Program Files\Atmel\Atmel Studio 6.0\Vs\Compiler.targets" from project "C:\BIT_CLOUD\BitCloud_MEGARF_1_14_0\Applications\WSNDemo\as5_projects\RCB.cproj" (target "Build" depends on it): Task "RunCompilerTask" C:\Program Files\Atmel\Atmel Studio 6.0\make\make.exe -C "C:\BIT_CLOUD\BitCloud_MEGARF_1_14_0\Applications\WSNDemo\as5_projects\..\makefiles\RCB" -f "Makefile_All_Rcb_Atmega128rfa1_8Mhz_Gcc" all make: Entering directory `C:/BIT_CLOUD/BitCloud_MEGARF_1_14_0/Applications/WSNDemo/makefiles/RCB' . . . . C:\BIT_CLOUD\BitCloud_MEGARF_1_14_0\Applications\WSNDemo\BitCloud\Components\ConfigServer\src\configServer.c(63,24): uninitialized variable 'csMemoryItems' put into program memory area [-Wuninitialized] avr-gcc -Wl,-Map=All_Rcb_Atmega128rfa1_8Mhz_Gcc/List/WSNDemo.map -Wl,--gc-sections -Wl,--script=./../../linkerScr/atmega128rfa1.ld -Wl,--section-start=.data=0x800200 -mmcu=atmega128rfa1 All_Rcb_Atmega128rfa1_8Mhz_Gcc/Obj/WSNSensorManager.o All_Rcb_Atmega128rfa1_8Mhz_Gcc/Obj/WSNVisualizer.o All_Rcb_Atmega128rfa1_8Mhz_Gcc/Obj/WSNEndDevice.o All_Rcb_Atmega128rfa1_8Mhz_Gcc/Obj/WSNCoord.o All_Rcb_Atmega128rfa1_8Mhz_Gcc/Obj/WSNMessageSender.o All_Rcb_Atmega128rfa1_8Mhz_Gcc/Obj/WSNCommandHandler.o All_Rcb_Atmega128rfa1_8Mhz_Gcc/Obj/WSNRouter.o All_Rcb_Atmega128rfa1_8Mhz_Gcc/Obj/WSNDemoApp.o All_Rcb_Atmega128rfa1_8Mhz_Gcc/Obj/WSNUARTManager.o All_Rcb_Atmega128rfa1_8Mhz_Gcc/Obj/pdsMem.o All_Rcb_Atmega128rfa1_8Mhz_Gcc/Obj/pdsWriteData.o All_Rcb_Atmega128rfa1_8Mhz_Gcc/Obj/pdsDataServer.o All_Rcb_Atmega128rfa1_8Mhz_Gcc/Obj/pdsInit.o All_Rcb_Atmega128rfa1_8Mhz_Gcc/Obj/pdsTimer.o All_Rcb_Atmega128rfa1_8Mhz_Gcc/Obj/pdsEvents.o All_Rcb_Atmega128rfa1_8Mhz_Gcc/Obj/pdsMemAccess.o All_Rcb_Atmega128rfa1_8Mhz_Gcc/Obj/pdsCrcService.o All_Rcb_Atmega128rfa1_8Mhz_Gcc/Obj/usbFifoVirtualUsart.o All_Rcb_Atmega128rfa1_8Mhz_Gcc/Obj/usbFifoFT245RL.o All_Rcb_Atmega128rfa1_8Mhz_Gcc/Obj/leds.o All_Rcb_Atmega128rfa1_8Mhz_Gcc/Obj/bspTaskManager.o All_Rcb_Atmega128rfa1_8Mhz_Gcc/Obj/buttons.o All_Rcb_Atmega128rfa1_8Mhz_Gcc/Obj/fakeBSP.o All_Rcb_Atmega128rfa1_8Mhz_Gcc/Obj/csPersistentMem.o All_Rcb_Atmega128rfa1_8Mhz_Gcc/Obj/csMem.o All_Rcb_Atmega128rfa1_8Mhz_Gcc/Obj/configServer.o -Wl,-\( ./../../../../BitCloud/lib/libHAL_RcbAtm128rfa1_Atmega128rfa1_8Mhz_Gcc.a ./../../../../BitCloud/lib/libBc_All_Atmega128rfa1_Atmega128rfa1_Gcc.a ./../../../../BitCloud/lib/WdtInitatmega128rfa1_Gcc.o -Wl,-\) -o All_Rcb_Atmega128rfa1_8Mhz_Gcc/Exe/WSNDemo.elf avr-objcopy -O ihex -R .eeprom All_Rcb_Atmega128rfa1_8Mhz_Gcc/Exe/WSNDemo.elf All_Rcb_Atmega128rfa1_8Mhz_Gcc/Exe/WSNDemo.hex avr-objcopy -O srec --srec-len 128 All_Rcb_Atmega128rfa1_8Mhz_Gcc/Exe/WSNDemo.elf All_Rcb_Atmega128rfa1_8Mhz_Gcc/Exe/WSNDemo.srec avr-objcopy -O binary --strip-debug --strip-unneeded -R .eeprom All_Rcb_Atmega128rfa1_8Mhz_Gcc/Exe/WSNDemo.elf All_Rcb_Atmega128rfa1_8Mhz_Gcc/Exe/WSNDemo.bin cp -f All_Rcb_Atmega128rfa1_8Mhz_Gcc/Exe/*.* ./../../ O comando ECHO está desactivado. text data bss dec hex filename 5790 4096 2631 12517 30e5 All_Rcb_Atmega128rfa1_8Mhz_Gcc/Exe/WSNDemo.elf 5790 4096 2631 12517 30e5 (TOTALS) make: Leaving directory `C:/BIT_CLOUD/BitCloud_MEGARF_1_14_0/Applications/WSNDemo/makefiles/RCB' Done executing task "RunCompilerTask". Using "RunOutputFileVerifyTask" task from assembly "C:\Program Files\Atmel\Atmel Studio 6.0\Vs\Compiler.Task.dll". Task "RunOutputFileVerifyTask" Display Output File Size Skipped due to : Output File not found Done executing task "RunOutputFileVerifyTask". Done building target "CoreBuild" in project "RCB.cproj". Target "PostBuildEvent" in file "C:\Program Files\Atmel\Atmel Studio 6.0\Vs\Avr.common.targets" from project "C:\BIT_CLOUD\BitCloud_MEGARF_1_14_0\Applications\WSNDemo\as5_projects\RCB.cproj" (target "Build" depends on it): Using "Exec" task from assembly "Microsoft.Build.Tasks, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a". Task "Exec" Command: cp -fu C:\BIT_CLOUD\BitCloud_MEGARF_1_14_0\Applications\WSNDemo\as5_projects\..\makefiles\RCB\All_Rcb_Atmega128rfa1_8Mhz_Gcc\Exe\WSNDemo.elf C:\BIT_CLOUD\BitCloud_MEGARF_1_14_0\Applications\WSNDemo\as5_projects\..\makefiles\RCB\All_Rcb_Atmega128rfa1_8Mhz_Gcc\Exe\RCB.elf Done executing task "Exec". Done building target "PostBuildEvent" in project "RCB.cproj". Target "Build" in file "C:\Program Files\Atmel\Atmel Studio 6.0\Vs\Avr.common.targets" from project "C:\BIT_CLOUD\BitCloud_MEGARF_1_14_0\Applications\WSNDemo\as5_projects\RCB.cproj" (entry point): Done building target "Build" in project "RCB.cproj". Done building project "RCB.cproj". Build succeeded. ========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========
Can someone say if something is wrong?