Posted: Wed Feb 12, 2020 5:05 pm Post subject: Problem with Printbin
I run my program and wonder why it isnt executing.
Then i found in the Simulator that the program is Halt or Stuck ( view Picture )
When i let it run R25 is rapidly blinking in Red. i Tryed with some Assembler code like !CLR R25 at the Programline before, but it is Halting everytime at this position.
And i dont know why it is so.
Don't worry, the buffer runs full, the simulator doesn't fire the UDRE-interrupt, thus it gets stuck.
In real life the code works.
Not sure if the simulator is designed to automatically fire said interrupts, to empty the buffer you can fire UDRE yourself in the simulator 'Interrupts' tab.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum