HC12 Eval Board M68EVB912B32 Flash EEPROM

Hi:

I am trying to use the real time interrupt on the HC12 (68HC912B23 derivative), but my EVB uses a interrupt vector table that is located in the read-only section of the Flash EEPROM. Instead, to program the internet vector table I must do the following (quote from the manual):

"To allow the user code to specify interrupt and reset addresses, each member of the erase-protected vector table starting at address $FFC0 contains a pointer to a vector jump table, which is located in user-programmable FLASH EEPROM starting at address $F7C0."

Hence, what I understand is that I cannot write directly to the RTI Vector, which is located at $FFF0, but instead use the jump table address, which in the RTI case is $F7F0. However, if try to place the address of the interrupt service routine at $F7F0 I still get an error when uploading my .s19 listing file that memory cannot be written. Does anyone have suggestions or experience on how to do this? I already tried to properly enable the FLash EEPROM programming sequence by using the FEECTL register, but nothing works.

Thanks for all and any help.

Christian

Reply to
Christian Winter
Loading thread data ...

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.