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 Send TopicPrint
Normal Topic More woes with Pololu A-Star 32U4 (Read 2052 times)
Harrzack
Member
***
Offline


Posts: 133
Location: Lindenwold, NJ USA
Joined: Dec 28th, 2012
More woes with Pololu A-Star 32U4
Oct 31st, 2018 at 11:57am
Print Post  
I've recently begun using the Pololu A-Star 32U4 board.  I believe this is also similar to the SparkFun Pro Micro (32U4 processor).  I read the long exchange with FrankP and am wondering if there are some similarities in the probs working with that processor and VM.

Pololu has a compatibility library that allows the Arduino IDE to be used with their board.  It is first installed thru the IDE and adding the link in the IDE Preferences (https://files.pololu.com/arduino/package_pololu_index.json) for additional boards.
And it all works well with the Arduino IDE.

So next I get Visual Studio 2017 working, and have the latest VM installed, and all seems well until I try and compile a test script that does NOT have the VM debug enabled.  I get the weird msg below (which I posted earlier).

Now my long project is close to being done and so I wanted to compile with no debugger - so I turned it off, and low and behold that same weird message shows up!  AND - the upload sometimes works, sometimes doesn't.

I've gone to Pololu about this and they say they have never seen such a message and are saying it must be VM.  After the problems FrankP had with a 32U4 I'm wondering if there is something about the boot loader for the 32U4 use that makes VM unhappy.

Currently I'm running in VS2017 in debug mode, but have to go to the straight Arduino to do a no-debug compile.  Which isn't so bad but it does seem something is up.

------------------------
Code
Select All
Compiling 'ConstantSpeed-avr' for 'Pololu A-Star 32U4'
Program size: 8,224 bytes (used 29% of a 28,672 byte maximum) (0.85 secs)
Minimum Memory Usage: 447 bytes (17% of a 2560 byte maximum)

Uploading 'ConstantSpeed-avr' to 'Pololu A-Star 32U4' using 'COM10'
	The upload process has finished. via 'COM11'
Connecting to programmer: .
Found programmer: Id = "CATERIN"; type = S
    Software Version = 1.0; No Hardware Version given.
Programmer supports auto addr increment.
Programmer supports buffered memory access with buffersize=128 bytes.
Programmer supports the following devices:
    Device code: 0x44 

« Last Edit: Oct 31st, 2018 at 11:58am by Harrzack »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: More woes with Pololu A-Star 32U4
Reply #1 - Oct 31st, 2018 at 12:58pm
Print Post  
Do you get the same upload issue if you switch to the "No Ide" option?

Please remember to post verbose outputs with "show build properties" when you have compile or upload issues. This avoids the need to ask what you have installed.
  
Back to top
WWW  
IP Logged
 
Harrzack
Member
***
Offline


Posts: 133
Location: Lindenwold, NJ USA
Joined: Dec 28th, 2012
Re: More woes with Pololu A-Star 32U4
Reply #2 - Oct 31st, 2018 at 4:19pm
Print Post  
Ok Tim - I've enclosed the output from three runs.  The "No IDE" couldn't find the extras for the Pololu chip.
Hope this will help...   =A.
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: More woes with Pololu A-Star 32U4
Reply #3 - Oct 31st, 2018 at 9:23pm
Print Post  
I don't see any issue in any of your files except the "no ide" option

One of your files shows an upload attempt. Here is your output showing the upload worked.

Code
Select All
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avrdude "-CC:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf" -v -patmega32u4 -cavr109 "-PCOM14" -b57600 -D tar32U4\Debug/CICStepper.ino.hex:i"
avrdude: Version 6.3-20171130
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch
         System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"
         Using Port                    : COM14
         Using Programmer              : avr109
         Overriding Baud Rate          : 57600
         AVR Part                      : ATmega32U4
         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                 :
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           eeprom        65    20     4    0 no       1024    4      0  9000  9000 0x00 0x00
           flash         65     6   128    0 yes     32768  128    256  4500  4500 0x00 0x00
           lfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
           hfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
           efuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
           lock           0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
           calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00
           signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00
         Programmer Type : butterfly
         Description     : Atmel AppNote AVR109 Boot Loader
Connecting to programmer: .
Found programmer: Id = "CATERIN"; type = S
    Software Version = 1.0; No Hardware Version given.
Programmer supports auto addr increment.
Programmer supports buffered memory access with buffersize=128 bytes.
Programmer supports the following devices:
    Device code: 0x44
avrdude: devcode selected: 0x44
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% -0.00s
avrdude: Device signature = 0x1e9587 (probably m32u4)
avrdude: safemode: lfuse reads as FF
avrdude: safemode: hfuse reads as D0
avrdude: safemode: efuse reads as C8
avrdude: reading input file bug/CICStepper.ino.hex"
avrdude: writing flash (17584 bytes):
Writing | ################################################## | 100% 1.30s
avrdude: 17584 bytes of flash written
avrdude: verifying flash memory against ug/CICStepper.ino.hex:
avrdude: load data flash data from input file ug/CICStepper.ino.hex:
avrdude: input file ug/CICStepper.ino.hex contains 17584 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 0.14s
avrdude: verifying ...
avrdude: 17584 bytes of flash verified
avrdude: safemode: lfuse reads as FF
avrdude: safemode: hfuse reads as D0
avrdude: safemode: efuse reads as C8
avrdude: safemode: Fuses OK (E:C8, H:D0, L:FF)
avrdude done.  Thank you.
	The upload process has finished. via 'COM14' 

  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint