Other Parts Discussed in Thread: HALCOGEN
Hi,
I have set up a simple project using halcogen:
- mibspi1 activated with "Enable Ram ECC" selected
- het1[27] pin configured as output (connected to LED on devkit board)
- ESM Chan 17 (mibspi1 ECC double error) is enabled, set to high level (FIQ) and set to affect nError pin
- I have verified in the code that generated system initialisations are called att startup - they are added by default to enty point _c_int00
- I have added calls to mibspiInit() and hetInit() to main()
I have managed to trip the mibspi1 double ECC error by setting the ECCDIAG_EN option in ECCDIAG_CTRL register for mibspi1 and manipulating the ECC values. This causes The correct flags to be set by ESM and the LED connected to nError lights up on the board.
What I want to test is to trap execution in the esmHighInterrupt() operation, however the interrupt does not appear to occur. I have added a "while(1)" to the interrupt operation, as well as setting the het1[27] LED (confirmed working), but this has no effect - execution continues normally.
What is missing from this configuration?
Regards,
Magnus