New setup with Studio 5 & AVRISP mkII seems troubled

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

Hai!

Welcome back to my insane rantings!

I have a tiny bit of a problem, I recently "went into business" and for this purpose bought a new Laptop, downloaded the newly released AVR Studio 5.

I soon found that my new laptop in combination with Studio 5 did not recognise my "Cheap Clone AVRICE JTAG mkII new special price for friend from China" device (which otherwise always worked like a charm for the past years, by the way).

Since I don't use JTAG much anymore I opted to buy the genuine article from Atmel: AVRISP MkII. It's detected, it can be used to program, it verifies code just fine, but:
When I compile and test a program in Studio 5 (either C or ASM) it works exactly like it is supposed to.
When I program it to the controller the project does absolutely nothing. Or at least nothing useful. The programmer says it programmed the device properly and that the verification went okay.

When I use my old home PC (stowed away in a dark corner) with my old Cheap China Chum to compile basically the same code (and I went far back to even such gems as "while(1){Temp = PINA; DDRB = Temp; PORTB = Temp}" in both languages) but with all the old style fiddling with device-type includes and what not my board works perfectly in every way.

I have yet to test programming a Studio 4 HEX file with Studio 5 & genuine AVRISP, but since I won't have access to my home PC for a week and do have time to fiddle with my new set up I thought I'd throw it out there:

Anyone else here who had this issue and what do you know me to be doing wrong?

Ahead of time I would like to apologise for my excessive stupidity, because obviously I forgot one simple setting somewhere.

Yours insanely,

Robert.

Embedded design is as much a life choice as any other and I demand the right to legally marry my work.
-------
If it helps, I can PM you my answer in a number of different languages. Ask if you have trouble reading my high-speed-babble in English.

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

Robert, the only insane thing you are doing is that you are using an incomplete IDE, AVR Studio 5. Search the forum and you will see many references to problems with AS5 and programmers, and problems with AS5 in general. Insane rantings are good for the soul, ask Jeckson. :)

"I may make you feel but I can't make you think" - Jethro Tull - Thick As A Brick

"void transmigratus(void) {transmigratus();} // recursio infinitus" - larryvc

"It's much more practical to rely on the processing powers of the real debugger, i.e. the one between the keyboard and chair." - JW wek3

"When you arise in the morning think of what a privilege it is to be alive: to breathe, to think, to enjoy, to love." -  Marcus Aurelius

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

But but but but...
I likeses the colours!

Embedded design is as much a life choice as any other and I demand the right to legally marry my work.
-------
If it helps, I can PM you my answer in a number of different languages. Ask if you have trouble reading my high-speed-babble in English.

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

I like the IDEs underpinnings, look at my location. 8) :wink: I'm sure it will be nice when it is complete.

"I may make you feel but I can't make you think" - Jethro Tull - Thick As A Brick

"void transmigratus(void) {transmigratus();} // recursio infinitus" - larryvc

"It's much more practical to rely on the processing powers of the real debugger, i.e. the one between the keyboard and chair." - JW wek3

"When you arise in the morning think of what a privilege it is to be alive: to breathe, to think, to enjoy, to love." -  Marcus Aurelius