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 'generic' 328PB as target (Read 2256 times)
TTSS
Newbies
*
Offline


Posts: 2
Joined: Jan 28th, 2021
'generic' 328PB as target
Jan 28th, 2021 at 11:27pm
Print Post  
Hello All,
Is it possible to compile and upload to a 'generic' 328PB board through Visual Micro?   This 'generic' board is just a ATMega328PB, a crystal, and an ISP port.  Well, and a few bypass caps and a pull-up on reset.    I'm using an AVR-ICE as the programmer.    

The 'issue' seems to me that VisualMicro gets it's list of targets from the loaded boards in the Arduino IDE, not from the target one selects in AS7.  

Thoughts?   Thank You.  
-Jaco     
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2145
Joined: Feb 13th, 2019
Re: 'generic' 328PB as target
Reply #1 - Jan 29th, 2021 at 4:41pm
Print Post  
To use the Arduino cores and libraries, the Arduino board selections (and underlying configuration) has to be used.

There appears to be a board package available for Arduino, for the 328PB chip, which may allow this to work using the Arduino Framework:
https://github.com/watterott/ATmega328PB-Testing
  
Back to top
 
IP Logged
 
TTSS
Newbies
*
Offline


Posts: 2
Joined: Jan 28th, 2021
Re: 'generic' 328PB as target
Reply #2 - Jan 29th, 2021 at 6:54pm
Print Post  
Thank You Simon.  The Wattuino Pro Mini PB is functionally identical to what I'm doing.....a 'generic, bare bones' 328PB.   They add a board selection for the  Atmel atmega 328PB Xplained mini development board.    So this is a step closer.
  
Back to top
 
IP Logged
 
doc arduino
Newbies
*
Offline


Posts: 8
Joined: Aug 10th, 2015
Re: 'generic' 328PB as target
Reply #3 - Jul 5th, 2021 at 1:03pm
Print Post  
Hi,

Hello,

maybe still helpful. You can go to Micro Explorer -> Manage Libraries > under additional boards
add the following line
Code
Select All
https://mcudude.github.io/MiniCore/package_MCUdude_MiniCore_index.json 



Read here  https://github.com/MCUdude/MiniCore

save it, wait a while and restart AS/VS if necessary.
« Last Edit: Jul 5th, 2021 at 9:45pm by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint