This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

N2HET code for RM57 in C?

I have seen that the N2HET module in the RM57 requires that i write my timer logic in assembly using the HET IDE and then place the code in the HET RAM in rm57.

Is it possible to implement the logic in a high level language like C and not assembly?

  • There is no C compiler for the N2HET timing co-processor.

  • So if you have to use the timer module you got to do it using assembly only. But why so?? What are the advantages of such an approach? Im curious to learn
  • Timing co-processors are very specific to timing functions. They can do virtual timers, input signal measurements and output signal toggles with very few instructions. They are not very good at doing general CPU functions such as regular math, for loops etc. They are limited in execution time by the resolution loop which does not allow for any instruction inefficiency. I think this architecture does not lend itself to a general purpose high level language. The HET IDE with the GUI, wizards and simulator is more likely the future of developing timing co-processor code than a general purpose high level language. Even the HET assembly language is great step forward from when we used to work out the 1's and 0's by hand.