Hello Guys,
I was given an old code to work recently. The code used a generic processor along with a commercially available RTOS. The problem was the compilation was complicated (when different tools for program, and development) and gcc compiler used was version specific.
This code used it's own make custom written makefile. Now, I wanted to make this simple by getting it to work on MPLAB and program it using the same IDE (easy right?Not so fast). I spent a lot of time setting the compiler and finally got it to work on MPLAB with hi-tech PICC compiler this week. The program now compiles fine and generates a hex file.
When I loaded this new hex file in the processor, it did not work.
. I noticed that in the hex file the code is smaller. BTW, I turned off code optimization and played around with the compiler settings. Any ideas where do I start and how do I fix this issue?
- Tarun