The above video goes away if you are a member and logged in, so log in now!
Coding Error –
Hey, why the post from raticus has been deleted?
I was excelente information:
>For Att: Vdavide
>Check out the attached note.
>I apologise for my mistake.Wherever the doc. says 'byte',
>replace with 'word'.
>Attachment: coding error.txt
No error, but some doubt!
Try and see this pdf:
The instruction that immediately follows a skip instruction must never be a compound instruction: otherwise strage result may occour.
I have read on other pdf, and SB,SNB instruction skip only ONE cycle instruction.
In the latest pdf , I see different.
So... is it wrong on pdf , or there are variuos revision of sx28?
If is true, ice,vdavide etc, on old device are working?
If a code error really there , chip will never work with the jump-error-related-media ...
Logic analyzer test show always a correct jump ...
Do you have prob. with these codes ?!?
Only prob. i know is timing related ...
I've not try with the latest sx, but some times with the oldest sx it is not working (more 1 year ago). I've try it with logic analyzer to. Sx not skip instruction with more 1 cycle... I don't know with the latest sx.
PS: Never try your code and I don't know which problems there are inside. I write only about the skip.
I know that Scenix SX and Ubicom SX have some little diff. ( IFBD -internal feedback resistor - for example ... ) but i' ve tested code on scenix and ubicom and work in the same way ...
Again : take a look at some multiple word instruction like CJNE : this use an SZ to skip the next jmp instruction ( 1 cycle) , however it work also if use jmp @address (2 cycle)