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 -F override (Read 1815 times)
stevewidg
Newbies
*
Offline


Posts: 5
Joined: Feb 18th, 2015
-F override
Aug 9th, 2018 at 2:02pm
Print Post  
Hi, 
Im trying to use with an Atmega 1284P using arduino as ISP as programmer. It comes back with following error

avrdude: Device signature = 0x1e950f
avrdude: Expected signature for ATmega1284P is 1E 97 05
         Double check chip, or use -F to override this check.

Which is the same in VM and IDE. However in IDE pressing Shift when select programming seems to select -F, but how do I override in VM
Thanks
Steve
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: -F override
Reply #1 - Aug 9th, 2018 at 5:22pm
Print Post  
Please switch on verbose upload in the arduino prefs and upload with shift. then post the line with the -F thanks

We can add a checbox menu item if that is all that is required.
  
Back to top
IP Logged
 
stevewidg
Newbies
*
Offline


Posts: 5
Joined: Feb 18th, 2015
Re: -F override
Reply #2 - Aug 13th, 2018 at 4:29pm
Print Post  
Sorry,
I got that a bit (Completely) wrong!!
Im using MightyCore for 1284P. I  have been developing code so far on an Arduino Mega with VS and of course a bootloader. My real target didnt have a serial port (ie no FTDI) but as I wont be able to debug VS without , simplest option is to add one. Pressing the spacebar bypasses the bootloader and writes directly to external programmer, the error message appears to be that it is reading the Arduino programmer chip and not target device as ID.
Sorry about that.
Steve
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: -F override
Reply #3 - Aug 13th, 2018 at 5:28pm
Print Post  
Okay, in visual micro you need to set the correct programmer and also switch on "vMicro>Upload>Always use programmer". Then all the normal upload controls work without need to special key combination.

If you want to use the programmer and debug without bootloader that is okay but you do need a serial port. You can specify the Remote and Local Port on the vMicro>debugger menu. For example  LocalPort: COM1 and RemotePort: Serial 

With this combination you can upload using the programmer as normal (F5, start etc) and visual micro will kick the debugger off using the specified ports.

I assume you are using visual studio and not atmel studio
« Last Edit: Aug 13th, 2018 at 5:29pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint