Checking high FLASH registers in a 9S08QE8 works when code is executed in FALSH butcannot gain access to the registers when the same code is in RAM. Anybody have any ideas?
Try these six lines of machine code in FLASH, then try it executed from RAM::
ORG ROMStart (for FLASH) ORG RAMStart (for RAM)
LP LDA FCDIV
LP2 JMP LP2
I use CodeWarrior v6.3 and load the code into the QE8. Run in FLASH and LP@ is were it ends up. Run in RAM and the code loops at LP since it cannot read FCDIV from FLASH. Is there something I should check?