Atmega 1284P, unknown behaviour I finally got it. It was a bad pointer exactly as most of you said. It seems that when I was allocating memory in function and initializing it with 0, I was able to stop the...
Tuesday, 5 December 2017 - 20:26
Atmega 1284P, unknown behaviour So while digging to find the error, every day, I found something. Yesterday while trying to replace parts of code, I found out that the MCU restarts if I don`t call for a function...
Monday, 4 December 2017 - 17:53
Atmega 1284P, unknown behaviour Is it possible to have those problems from the optimization level? Now I have the O1 . I will try also the others. I hope I will find this error. The main ideea is that I have two...
Atmega 1284P, unknown behaviour Actually I tried with my dragon to debug. But it always restart and i don`t know how to catch it.
Tuesday, 21 November 2017 - 14:41
Atmega 1284P, unknown behaviour Long time since I wrote here. I still was not able to find the problem. Due to the fact I cannot post the code here, I will try to rename the functions, so i can post it, and...
Monday, 20 November 2017 - 21:25
Atmega 1284P, unknown behaviour For me it does not look so good, I think i know the function that writes that part of memory.
Sunday, 1 October 2017 - 17:26
Atmega 1284P, unknown behaviour This is another photo of the stack pointer and it seems to keep its value. How can I see who is the entity which writes that portion.
Atmega 1284P, unknown behaviour While I was trying to make some debug I discovered something. I was in debug mode, on pause. Even If I was pausing at a instruction the MCU restarted itself and the code was...
Sunday, 1 October 2017 - 15:29
Atmega 1284P, unknown behaviour awneil wrote:nners yourself, but you've also ensured that spa
Kinda! I made some changes today,( more exactly the entire day and I connected the JTAG ( Dragon). Now the...
I finally got it. It was a bad pointer exactly as most of you said. It seems that when I was allocating memory in function and initializing it with 0, I was able to stop the...
So while digging to find the error, every day, I found something. Yesterday while trying to replace parts of code, I found out that the MCU restarts if I don`t call for a function...
Is it possible to have those problems from the optimization level? Now I have the O1 . I will try also the others. I hope I will find this error. The main ideea is that I have two...
I will do this as soon as i get home. And after that how can i track it backwards?
Actually I tried with my dragon to debug. But it always restart and i don`t know how to catch it.
Long time since I wrote here. I still was not able to find the problem. Due to the fact I cannot post the code here, I will try to rename the functions, so i can post it, and...
For me it does not look so good, I think i know the function that writes that part of memory.
This is another photo of the stack pointer and it seems to keep its value. How can I see who is the entity which writes that portion.
While I was trying to make some debug I discovered something. I was in debug mode, on pause. Even If I was pausing at a instruction the MCU restarted itself and the code was...
awneil wrote:nners yourself, but you've also ensured that spa Kinda! I made some changes today,( more exactly the entire day and I connected the JTAG ( Dragon). Now the...
Pages