Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 [2]  Send TopicPrint
Hot Topic (More than 8 Replies) Plugin for Libelium Waspmote (Read 30947 times)
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Plugin for Libelium Waspmote
Reply #20 - Aug 8th, 2013 at 12:20pm
Print Post  
The avrdude output doesn't show for waspmote devices because of the error returned by avrdude.

Below we can see the "Yikes!" error Smiley 

I don't know enough to be sure this error can be ignored however it is certainly the reason why vm shows the "Wrong Micro-controller error"

If you compile with waspmote verbose what does it show? Thanks

Code
Select All
avrdude: Device signature = 0x000000
avrdude: Yikes!  Invalid device signature.
avrdude: Expected signature for ATMEGA1281 is 1E 97 04
avrdude: safemode: lfuse reads as 0
avrdude: safemode: hfuse reads as 0
avrdude: safemode: efuse reads as 0
avrdude: reading input file ct.hex"
avrdude: writing flash (60716 bytes): 

  
Back to top
IP Logged
 
l1f3@dd.ict
Junior Member
**
Offline


Posts: 20
Location: Leoben (Austria)
Joined: Aug 1st, 2013
Re: Plugin for Libelium Waspmote
Reply #21 - Aug 8th, 2013 at 4:38pm
Print Post  
this is the output using Waspmote Pro IDE
Code
Select All
avrdude: Version 5.11, compiled on Sep  2 2011 at 19:38:36
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is "{waspmote_ide}\hardware/tools/avr/etc/avrdude.conf"

         Using Port                    : \\.\COM19
         Using Programmer              : stk500v1
         Overriding Baud Rate          : 115200
         AVR Part                      : ATMEGA1281
         Chip Erase delay              : 9000 us
         PAGEL                         : PD7
         BS2                           : PA0
         RESET disposition             : dedicated
         RETRY pulse                   : SCK
         serial program mode           : yes
         parallel program mode         : yes
         Timeout                       : 200
         StabDelay                     : 100
         CmdexeDelay                   : 25
         SyncLoops                     : 32
         ByteDelay                     : 0
         PollIndex                     : 3
         PollValue                     : 0x53
         Memory Detail                 :


         Programmer Type : STK500
         Description     : Atmel STK500 Version 1.x firmware

avrdude: Recv: . [10]
avrdude: AVR device initialized and ready to accept instructions


avrdude: Device signature = 0x000000
avrdude: Yikes!  Invalid device signature.
avrdude: Expected signature for ATMEGA1281 is 1E 97 04

avrdude: reading input file
avrdude: writing flash (5836 bytes):

Writing | avrdude: Send: U [55] . [00] . [00]   [20]

Here

avrdude: 5836 bytes of flash written
avrdude: Send: Q [51]   [20]
avrdude: Recv: . [14]
avrdude: Recv: . [10]

avrdude done.  Thank you. 


I had to cut most of the send/recv stuff so the text fits in here...
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Plugin for Libelium Waspmote
Reply #22 - Aug 8th, 2013 at 5:19pm
Print Post  
Funny, So we need a config setting to prevent us reporting "Yikes!" as an error  Smiley

Device signature = 0x000000
Yikes!  Invalid device signature.

Seriously though, thanks for checking this. If you agree the waspmote ide output matches Visual Micro then it does seem to indicate that you have a correct compile and upload.

I guess we just need a config property that ignores the incorrect board error 

So as a reminder for me we need something like these for our master waspmote override/config

Code
Select All
waspmote.ide.exe=waspmote.exe
waspmote.upload.report.hardware_signature.ignore=1
waspmote.programmer.stk500.alias=stk500v1

waspmote.upload.tool=avrdude
waspmote.tools.avrdude.upload.params.verbose=-v -v -v -v
waspmote.tools.avrdude.upload.params.quiet=-q -q
waspmote.tools.avrdude.upload.pattern="{cmd.path}" "-C{config.path}" {upload.verbose} -F -p{build.mcu} -c{upload.protocol} -P{serial.port} -b{upload.speed} -D "-Uflash:w:{build.path}/{build.project_name}.hex:i"
 

« Last Edit: Aug 8th, 2013 at 5:20pm by Tim@Visual Micro »  
Back to top
IP Logged
 
l1f3@dd.ict
Junior Member
**
Offline


Posts: 20
Location: Leoben (Austria)
Joined: Aug 1st, 2013
Re: Plugin for Libelium Waspmote
Reply #23 - Aug 12th, 2013 at 7:39am
Print Post  
what about something like:

Code
Select All
waspmote.ide.header=waspmote.h 

  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Plugin for Libelium Waspmote
Reply #24 - Aug 12th, 2013 at 9:45am
Print Post  
Thanks, the include can already be set in the platform.txt or applications.txt in version 1308.04 +

The exe name can also be set in the latest builds so I think we are very close to a full solution.

I have been giving some thought to the invalid info returned by the waspmote avrdude. It might be that waspmote is offered as a downloadable option via visualmicro.com. When they fix the error then we could include it as standard
« Last Edit: Aug 12th, 2013 at 9:47am by Tim@Visual Micro »  
Back to top
IP Logged
 
Page Index Toggle Pages: 1 [2] 
Send TopicPrint