Parts issue with AVRISP II

Go To Last Post
9 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello:

I can use my AVRISPMKII on my win 10 computer with the newest studio7 to program the MEGA328PB device (a "somewhat" recent device). 

 

However I need to do some work at my older win7 setup, which has the last edition of studio 4 installed.  I can connect to the ISPII there, but the device selection (device & signature bytes) dropdown selection does not include the MEGA328PB....I'm not sure where these dropdown selections are stored or where/what to upgrade.  In studio4 directories I do see an AVRISP-mkii.dat file from 2009..Is this it & is an update avail.  The programmer itself has the latest firmware, as downloaded at the insistence of studio 7.

 

Is it possible to use studio4 with an MKII programmer on a  MEGA328PB ?

 

 

This topic has a solution.

When in the dark remember-the future looks brighter than ever.   I look forward to being able to predict the future!

Last Edited: Tue. Mar 14, 2017 - 03:50 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Why not install AS7 on the win7 box?  You can have both versions on the same platform.

Jim

 

Click Link: Get Free Stock: Retire early! PM for strategy

share.robinhood.com/jamesc3274
stack gold/silver https://www.onegold.com/join/713...

 

 

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Doubt that you will ever properly "do" MEGA328PB on Studio4. With any programmer.

 

Jim

Jim Wagner Oregon Research Electronics, Consulting Div. Tangent, OR, USA http://www.orelectronics.net

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

This looks like the problem is with AS4 and not the programmer.

Can you even build a MEGA328PB project on AS4?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I have studio6.2 on my win7 machine...I found some posts about a partspack for the mega328pb,  but there were some issues getting it to work (didn't seem to install properly)...so I decided to just forget about 6.2 & install studio7

 

I tried installing Studio7 on my win7 machine...but it would give errors relating to windows upgrades...fought that battle for a while...made some progress (installed a studio7 required windows upgrade)...then just when I though all was well, studio7 installer additionally required some "recommended" (but would halt the install!) windows "visualization upgrade" & gave a link to Microsoft...of course that link would start/download fine & I felt good, until it quit with some message like "this upgrade is not required/applicable to your system"...then back to studio 7 installer & the same visualization error...plus about 10 reboots along the way.  I may fight that battle again at some point.

 

So instead I made a small quick assembler file to run some timers...I found the m328pbdef.inc file  in the studio7 install (on my win10 machine)...so I added that to studio4, so the assembler would work.  I felt good then, until I connected up to the MKII & found no selection for the device!! ARRG.

 

 

 

When in the dark remember-the future looks brighter than ever.   I look forward to being able to predict the future!

Last Edited: Mon. Mar 13, 2017 - 06:18 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Update---I tried installing Studio7 on win7 again, but this time didn't select to install avr32 & ARM devices ..this time no windows upgrades were requested & it finished install & seems to be working (not sure if my selections had anything to do with success).  And it even recognizes the MKII, which seems to function (maybe those wonky USB driver issues are finally fixed).

 

I'd still like to have MKII working in studio4 for mega328pb programming, since it is so quick to pop in & out of.  Perhaps it is best put to pasture.

When in the dark remember-the future looks brighter than ever.   I look forward to being able to predict the future!

This reply has been marked as the solution. 
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

avrcandies wrote:
I'd still like to have MKII working in studio4 for mega328pb programming, since it is so quick to pop in & out of.
Is it acceptable to invoke AVRDUDE from AVR Studio 4?

mega328PB is a simple addition to AVRDUDE 6.3

 

"Dare to be naïve." - Buckminster Fuller

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

mega328PB is a simple addition to AVRDUDE 6.3

   ---can you specify how/what, I've never used AVRDUDEat all (I assume it is compatible with the MKII).  I was wondering what is the source (file) for the dropdown device selections for the MKII (when in Studio 7, the drop down includes all the new devices, but in studio 4 it does not--so the dropdown list data is not read from the MKII itself ).  Since studio 7 is finally working on all of my machines, I'm not too worried about it.

 

When in the dark remember-the future looks brighter than ever.   I look forward to being able to predict the future!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

avrcandies wrote:
---can you specify how/what, ...

AVRDUDE - AVR Downloader/UploaDEr

http://www.nongnu.org/avrdude/

AVRDUDE is a utility to download/upload/manipulate the ROM and EEPROM contents of AVR microcontrollers using the in-system programming technique (ISP).

...

Am uncertain how AVRDUDE can be added as an external tool in AVR Studio 4; otherwise, once the image is built then AVRDUDE can be invoked from the Windows command prompt.

How to add mega328PB to AVRDUDE 6.3 :

https://www.avrfreaks.net/forum/uploading-error-reading-different-device-signature-each-time#comment-2109331 by JoniS

avrcandies wrote:
(I assume it is compatible with the MKII)
AVRISP2 is one of many programmers in AVRDUDE :

http://download.savannah.gnu.org/releases/avrdude/avrdude-doc-6.3.pdf

(page 5)

1 Introduction

...

AVRDUDE supports the following basic programmer types: Atmel's STK500, Atmel's
AVRISP and AVRISP mkII devices, Atmel's STK600, Atmel's JTAG ICE (the original one,
mkII, and 3, the latter two also in ISP mode), appnote avr910, appnote avr109 (including
the AVR Butterfly), serial bit-bang adapters, and the PPI (parallel port interface).

...

via

http://download.savannah.gnu.org/releases/avrdude/

 

"Dare to be naïve." - Buckminster Fuller