For the past couple of days I have uploaded a couple of versions of my program, and somehow the processor every time I push the Reset button, executes any of those versions or a mix of them.
And then in one of those Resets, executes the latest program.
Can a low voltage cause this? Or incorrect baud rate?
I’ve included for you the attached code.
After compiling the program, I have:
RBZ-Program001.a11: text 8000-80CB data 0002-0004 vector FFFE-FFFF
That would explain the C-like syntax in your first post that I didn’t quite recognize.
I don’t think I ever used that tool back when I did play with HC11 based bots.
I don’t think I ever hit any issues like that before. So if you upload code once to the HC11 and then keep hitting reset on the HC11, it appears to run different versions of the code each time after the reset or are you uploading between each reset? How do you know it is running different versions? Different blink patterns or something?
I hate to say this but it would be a lot easier to make progress if you switched to a more modern board such as an Arduino Uno or an RP2040 based one. There are very active communities using those boards that could help point you in the right direction if you hit any issues. While I know a few people who have used the HC11 in the past, none of us are using them now.