Hello All,
I am working on a project based on the MCore MCU, and am having a roug time getting a basic test program working correctly. The actual device tha I am working with is the O-Navi Phoenix AX which has an embedded MMC2114. am using a gcc 4.3.0 cross compiler under cygwin to build, and the PE Micr CableMC and ProgMCZ to flash the chip. I compiled newlib along with gcc but am excluding it for now with the -nostdlib and -nostartfiles gcc flags The code I am working with is hosted a
Included in the kit with this device is some example code which wa clearly written for CodeWarrior, so I had to adapt it to build under gcc. have gotten the example program to build and run correctly on the hardware however there are still problems as I cannot get a simpler program to wor correctly. Starting from the example program, if I modify main to simpl print a "hello world" to uart without modifying any of the other code, thi works as expected. However, when I remove the other functions so there i just the main (and the device/serial setup code) which prints to uart - seemingly more simple program - it does not work!
I cannot think of what could cause this problem or how to approac debugging it. If anyone has any pointers or suggestions, I would greatl appreciate it. Please let me know if I can provide any more information.
Thanks, Nick Hebner