ICE 200 problem (or maybe not)

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

Hello again
In order to talk with an IC i need to pull up and pull down pins(it doesnt metter which and why)

It is even very easy to declare its routine inorder to start talking to it.
I have to ive some typical delayes between the pins timing according to the IC data sheet.
The problem is that ianm doing very thing right but when i am tring to see how it is working ......well it doesnt work altough i gave it a longer delayes then the typical suggestions of the manufactores.

But if i will go using the stepping (F10 on the AVR studio) and i am using ICE200 connected to the STK500 with the AT90S8515 ....It does work..

How can it be that when i am using the Step mode it works fine and when i am tring to simulate the system with out any break points and stepping it dorsnt work????

Please advise

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

Hi,

The code is moving too fast normally - when you single-step it you are generating huge delays between each instruction or group of instructions. Or that seems most likely.

Double-check that you have the delay at all the right spots (ie: forgot to add it after one clock, and especially consider the effect of loops), and that it is as long as you thought it should be. You can use AVR Studio to time the length of the delay.

Regards,

-Colin