General > 68HC12 Development Tools

Running C programs

(1/1)

b00011692:
Hi, I am using the M68EVB912B32 board with Micro IDE.
I tried to run a simple hello world program but it doesnt work. I was able to write an assembly code and its running fine.
C code compiles, download fine but I cant run them. Please HELP

vitaliy:
I guess you have some problems with CSTARTUP files.
In other words, you should  adapt the start-up code for your board.
Please check 6812RLM.ASM, 6812RLP.ASM, and 6812RLS.ASM files
under C:\\bipom\\devtools\\MicroC\\Lib12 folder.
As minimum action  you have to uncomment  RESET vector (6812RLS.ASM)

*
* DDS MICRO-C 68HC12 Runtime library - Suffix file
*
?heap      EQU      *            Heap memory goes here
* For stand-alone ROM system, uncomment the following
     ORG      $FFFE            Position to reset vector
     FDB      ?begin            Set start address
*00000

b00011692:
Thank you for your help. I tried that but it didnt work. I also tried using the board with kevin and ross BDM12. I compile with micro IDE and debug using another debbuger software(NOICE).
I hope you can help me solve this problem.

Navigation

[0] Message Index

Go to full version