Eclipse with Seeeduino LoRaWAN : bossac problem

Good afternoon,

I have successfully installed the Seeeduino .json support package into a Windows-10 Eclipse 2019-06 CDT environment and this has compiled and linked my project files cleanly into a .bin file, ready for download to my LoRaWAN board on COM4.



Problem: The ‘bossac’ download command terminates reporting an error “Unsupported Cortex-M3 architecture”. This is weird because the processor is SAMD21, which should identify as Cortex-M0.



Question: Is 1.6.1-arduino the correct version of bossac for this board? If not, could you please advise how I can proceed?



Details: The full command is </s>.../.arduinocdt/packages/Seeeduino/tools/bossac/1.6.1-arduino/bossac.exe -i -d --port=COM4 -U true -i -e -w -v ./DemoNode.bin -R<e>

Console trace shows…
</s>Set binary mode readWord(addr=0)=0x2064654c readWord(addr=0xe000ed00)=0x6e727574 readWord(addr=0x400e0740)=0x6f206465 version()=ff! chipId=0x6f206465 Unsupported Cortex-M3 architecture Send auto-baud Set binary mode readWord(addr=0)=0x2064654c readWord(addr=0xe000ed00)=0x6e727574 readWord(addr=0x400e0740)=0x6f206465 version()=ff! chipId=0x6f206465 Unsupported Cortex-M3 architecture No device found on COM4<e>

Many thanks, Dave.

Hi Dave~



Sorry, we do not use the eclipse. We suggest you to use the arduino ide to program the seeeduino lorawan. We use the latest one 1.8.9.



<LINK_TEXT text=“http://wiki.seeedstudio.com/Seeeduino_L … ng-started”>http://wiki.seeedstudio.com/Seeeduino_LoRAWAN/#getting-started</LINK_TEXT>



You can select Seeed SAMD Boards in board manager. thanks.



http://wiki.seeedstudio.com/Seeed_Arduino_Boards/

Thank you for replying, bill.yu.



Yes, I already have my code working under the latest Arduino IDE.



I was wanting to port to the Eclipse-IDE because some of our existing TI-CC13xx projects use it and, to be quite honest, Eclipse provides much more powerful features than Arduino.



I guess it was the <LINK_TEXT text=“http://wiki.seeedstudio.com/Eclipse_IDE … Phone_Kit/”>http://wiki.seeedstudio.com/Eclipse_IDE_for_RePhone_Kit/</LINK_TEXT> link on the Seeed Wiki that led me to think there was general support for development under Eclipse. A great pity because it almost works… as I said, the only outstanding obstacle seems to be the version of ‘bossac’ included in the Seeduino .json support bundle.



Please could Seeed consider Eclipse support in the future. Best regards, Dave.