@cgracey said:
Francis, I found the bug. I homed in on the hangup and it was happening in a FIELD reference. I checked what I had changed between v44 and v45 and I found the problem. I had added set_inc to some code sequences, which I had to modify the skip patterns for, which was okay, but I didn't realize that the FIELD routine (fieldh) was jumping into bit_pop without a skip pattern. So, every time a FIELD reference was made, an RFVAR instruction would execute, which would throw the interpreter off:
I moved the 'set_inc rfvar indec' somewhere else, where I had to modify a few bit patterns, but no interloper was jumping into. That fixed the bug. I will update the files now.
Thanks for finding and reporting this problem. I am glad I was able to locate it without much trouble.
The PNut_v46.zip file is updated now and it runs the flash demo without any problems:
Comments
Good job Chip(@cgracey) , the Flash File System demo now works fine with PNut v46. Thank you for the quick fix.