atprogram.exe question

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

Sorry if I necro-bump @ Renate USB  @ grindv1k  . Currently the default flasher of atmel studio changed from jtagice to atprogram.exe
I don't get this command flags : 

        jtagice atmega328p /e /p /v /b250 blinky.hex

And there is no documentation nowhere about what it does , could you translate it to an atprogram.exe command or avrdude ?
Also about the spi , should I use the reset pin as the chip select of the spi? Can I  add other devices on the spi  with diffrent chip select pins?
The DGI reads as chars simple spi tranfers like SPDR = 'c';

 on an atmega328p or I need a protocol over the spi ?
Thank you in advnace

 

 

Split from:

https://www.avrfreaks.net/commen...

Moderator

Smd crisis?? Let's get back to basics

Last Edited: Wed. Oct 20, 2021 - 01:00 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

jtagice.exe from AS4 was replaced with atprogram.exe, I'm not at a computer with AS4 installed or I would run the help command and post the results, perhaps another freak can do that.

Jim

 

FF = PI > S.E.T

 

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

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

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

spyros_ wrote:
Can I  add other devices on the spi  with diffrent chip select pins?
That's possible though gang programming is done via USB as Atmel's programmers have a serial number (likely same with Microchip's programmers)

There are TWI bootloaders (TWI has device addresses)

 

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

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

ki0bk wrote:

jtagice.exe from AS4 was replaced with atprogram.exe, I'm not at a computer with AS4 installed or I would run the help command and post the results, perhaps another freak can do that.

That's one big problem of us relying too much on proprietary software , projects just disappear and if we are lucky someone will have an image of them. Thanks for the response

I am not looking for a manual on atprogram these are quite accessible ,  a manual to the depricated jtagice would be much more usefull to me as I want to dimistify the command from the old thread linked to mine.

Ty for the spi clarification , fortunately the other devices I have to share the spi with are not microcontrollers and they don't need programming

 

Smd crisis?? Let's get back to basics

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

spyros_ wrote:
a manual to the depricated jtagice would be much more usefull to me
It's built into the program (option -h or -? or something?). Suggest you install Studio 4 (still available in Microchip archives) and simply run "jtagice -h" at a command prompt and it will tell you what the e, p, v and b options are.

 

I'm going to take a wild guess though (as these are typical programming actions):

 

/e - start with a chip erase

/p - program the chip

/v - check read to verify after programming

/b250 - this one is trickier but could it be setting the ISP clock (bit rate) to 250kHz perhaps ?

 

Somewhere I've got a laptop that still has a copy of AS4 - if you can't install it and test this yourself I'll try to dig it out and paste the program's help output here.

 

Another tack is the "internet Archive". AS4 (including tools like jtagice) used to be documented online and could easily be found with "avr studio atmel webdocs" in Google. I can't remember what the resulting site was but if you can determine that (I'm sure it was linked many times from Freaks) then you can go to the Internet Archive and see if they have snapshots of the site/page.

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

spyros_ wrote:
fortunately the other devices I have to share the spi with are not microcontrollers and they don't need programming
Shared Use of SPI Programming Lines | AVR® Microcontroller Hardware Design Considerations

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

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

spyros_ wrote:
The DGI reads as chars simple spi tranfers like SPDR = 'c';

 on an atmega328p or I need a protocol over the spi ?

Data Gateway Interface (DGI) has protocols.

Protocols | Data Visualizer Software User's Guide

 

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

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

Thank you all for the responses , I managed to make it work !

Smd crisis?? Let's get back to basics