Content originally posted in LPCWare by Harrie Nijhof on Wed Oct 29 07:54:19 MST 2014
Marc,
I am not complaining about your program. I am not complaining at all, I merely tried to express how hard it is for a lone bungler like me to get things running. And i am waay behind the boys who are entitled to critisize so(u)rcerers like you.
It is like crossing a river on slippery and wobbling stepstones. You have to learn which ones are save and which ones rock and before you are on the other bank, you are soaking wet. But you made it, or at least you tried.
for instance does "A 0" (is echo off) self issue an echo? Generally, is the echo before or after the result of the command? Or is the echo overwritten by the result?
About the "Checksum Error": Most likely is this from the write to ram command, perhaps caused by my equipment. But all signals are clean and square on my Rigol DS 1052. And so I looked in the isp.c source code and found lines 52, 53
* - BIIIIG BUG fix: checksum in vector 5 (reserved), not in vector 7 (FIQ).
* - still not correct (the above!)
That scared me off, I decided to go for the step by step Python aproach. With stunning success, I can startup the communication, can turn echo off and can get the id number, but I never get the expected result on a read command. I never read "CMD_SUCCESS" and yet I get the ID number. (I fear I soon have to vacuum-clean the bitbucket.)
Greetings Harrie