Thank you for responding
I am building from GCC under Linux at the COMMAND LINE.
Not CW, Not KDS. Everything but MQX is built from scratch with every build.
The MQX libraries BSP/PSP have been independently tested with some of the MQX Example Projects
The application is cross platform and can be built for Windows, Linux, and other targets besides MQX.
When porting to MQX 4.1.1 I started with the Linux Build as that was already setup for GCC.
MQX 4.1.1 is being build as libraries independently in the MQX directory.
I took alot of effort to get the few files associated with the BSP/PSP that are different between my board and the twrk70 working but I have resolved that.
Or atleast I beleive I have. My board has he clocks on different pins and not the same clocks. It has different DDR both in size and type. But that is working. (everything works in MQX 3.8 built with CW)
So bassically I have a standard MQX 4.1.1 set of libraires built in the MQX source directories with the BSP/PSP mods needed for my board.
These appear to work.
Or atleast I can build and test simple MQX example applications on my board
And MQX has been rebuilt and retried many times with slight differences in BSP/PSP or just to be sure.
Now I am trying to get my application - which is quite large and complex working.
I am LINKING in the assorted MQX 4.1.1 files - from the same location I buitl them, and tested them with simple demo applications.
The build is using a fairly complex Makefile. But I do nto think that has anything to do with my issues.
I can build and link and debug, and have been doing so for weeks.
My problem is that there are debugging anomalies - and crashes occuring inside MQX api's.
My guess is that these are likely due to some kind of memory overlapp or corruption.
I started with the sram and ddr .ld files for the twrk70. These are close enough they should just work for my board. Though I have also tried them modifed to reflect the different memory block sizes from the MQX 3.8 .lcf file.
So far no joy. Some changes make things worse, but nothing makes things better.