We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I try to use uVision with GNU compiler (CodeSourcery G++ Lite), my target board is an evaluation kit from Luminary LM3S8962 mcu and I want to use it with ULink2.
The problem is that I cannot download code to the flash memory before to enter in debug. Ulink2 erase entire the mcu flash and start programming it and just before end of program it exit with error. When I read the flash memory after download fail I see that the last page of my program is missing. I suspect that Ulink2 or uVision doesn’t like the ELF file, generated by GNU compiler. By the way if I load my program using binary file generated from the same ELF file using Luminary programmer the program works.
Please, give me some ideas where the problem comes from!