Weird errors #592
Replies: 25 comments
-
Posted at 2016-04-16 by UliMerkel Shouldn't it read ...Array, not ...Arsay ? |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-04-16 by jonreid Yes - that is what I would expect ! That is not in my code though - it is in module code and getting corrupted somehow. It seemed to be the way my LCD update function was being called. It was being called by various async events throughout the system. When I changed to a single interval checking a flag for LCD updates it has come right. I dont understand how that was the problem as I thought this was all single threaded ? |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-04-16 by jonreid Actually not that as now a different part is getting corrupted - this is in the flip function for the ST7565 module. It was working fine earlier today
|
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-04-16 by DrAzzy That one is back?! There was a thread on single-letter corruption quite a while back... |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-04-18 by @gfwilliams Are you using an up to date firmware? This was definitely an issue in the past, but as @drazzy said I fixed that bug a while back and haven't seen any issues since. If you can strip the code back to something you're willing to share that exhibits the problem reliably, that'd be a huge help - then I can hopefully figure out what the issue is. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-04-19 by jonreid Yes it is running the latest firmware. I will message you some code |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-04-19 by @gfwilliams Thanks! |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-04-29 by jonreid Hey Gordon not sure if you have been getting my private messages but this is still a real problem for me. How do i progress on this? |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-04-29 by @gfwilliams Sorry, I didn't see that - it only registered as one new message. I'm seriously busy at the moment - I'll try and find time to look at this today. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-04-29 by jonreid Thanks would be most appreciated. Let me know if i can supply any other debug info |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-05-18 by Cale Similar issue. I am connected to the nrf24lo1 and trying to read data from it. The first command goes great and then when I try to do another through the nrf I get this:
Obviously it should be analogRead('B1');switch..... ugh....its all messed up. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-05-18 by DrAzzy Cale - what do you mean call through nrf24? Are you sending the code via that or what? |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-05-18 by Cale All I am sending to the slave unit is "one" and then the slave unit turns on light #1, then it reads the battery voltage and sends it (voltage reading using voltage divider) back to the master unit. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-05-19 by @gfwilliams What firmware are you using, and could you post your code up? It'd be great if we could get a reproduceable way of getting this, as at the moment it's almost impossible for me to track down remotely. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-05-19 by Cale Master Handler
Response is:
|
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-05-19 by Cale Slave Handler:
Response is:
|
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-05-19 by Wilberforce What is the output of |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-05-19 by Cale Master Board is
|
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-05-19 by Cale Slave Board is
|
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-05-20 by @gfwilliams Great - thanks! This is really helpful. And it happens repeatably? I won't get a chance to look at this today, but I'll look into it next week. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-05-20 by Cale yeah definitely repeatable |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-05-21 by jonreid Great that there is a simpler example ! It only started showing for me when the code was more complex. By the way I have been running 1v85.499 for the last week or two and the problem has not come back even though my code has changed a lot. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-05-23 by @gfwilliams @Cale - before I try and reproduce this, please could you give it a go with a build from here? http://www.espruino.com/binaries/git/commits/master/ As @jonreid says, it's possible I actually fixed this issue in a more recent build. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-05-24 by Cale Yeah so far that seems to be working. Ill post back after some more testing if anything comes up. Thanks guys |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-05-24 by @gfwilliams Great, thanks for letting us know! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2016-04-16 by jonreid
My code was working fine, came back 3 hours later made a small change and getting this error - same error if I go back to my original code.
What is causing something like a type to get corrupted ?
Beta Was this translation helpful? Give feedback.
All reactions