ICE200 vs. AVR2313

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

Hi Guys,
Anyone ever have code execute flawlessly on the ICE200 emulator, then execute poorly on the actual 2313 part?
I can't seem to get the actual part to run as expected (as it does with the emulator).

This is possibly related to the timers. The problem is very hard to explain - I'm looking for any "gotchas" that may already exist. Thanks for your input- Dave

admin's test signature
 

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

Did you initialize the stack pointer? I have seen this problem before.

admin's test signature
 

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

SPL is initialized to RAMEND properly.

admin's test signature
 

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

My code executes as expected, using the ICE200 emulator. When I take the same ".hex" code, and burn a 2313 part, the code does not execute the same. This is very frustrating, I've been trying everything for a week straight now. I'm considering dumping the Atmel (querky) and going back the the tried and true HC11.

Has anyone seen bugs when using the ICE200 emulator, then transferring code to an actual part? I'm looking for any "gotchas" that may exist.

Thank you.

admin's test signature
 

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

I never used the emulator for these processor. Usually, I was able to simulate most of the software in AVR Studio.

Can you give more details about what is does when you say in does not execute the same?

admin's test signature