This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello,
I've been working with the TMS570LS0432 LaunchPad evaluation board for some time now. Up until this point it has been very easy to program. I've recently started trying to work with the F021 Flash API to save some data locally on the controller. I've had a bunch of different issues trying to get the API to work with my code but I think I have most of them worked out now. The one issue that I have now is that when compiling the code I get this error message:
Description Resource Path Location Type
#16001 object files have incompatible byte orderings ("C:\ti\Hercules\F021 Flash API\02.01.00\F021_API_CortexR4_LE.lib<Async.WithAddress.obj>" = little endian, "./source/ti_fee_writeSync.obj" = big endian) Flash Test C/C++ Problem
I've tried to change ti_fee_writeSync to little endian just to see what it would do but it created a bunch more errors.
Do you have any advice on where to go from here?
Hello:
I'm forwarding your post to one of our experts. We will provide some feedback soon.
Regards.
Hello:
You should use F021_API_CortexR4_BE.lib as TMS570LS0432 is a Big Endian device.
Regards,
Enrique
I've tried all the different libraries already, when I use the F021_API_CortexR4_BE.lib, I receive 15 errors all mostly identical to:
Description Resource Path Location Type
#16004-D file "C:\ti\Hercules\F021 Flash API\02.01.00\F021_API_CortexR4_BE.lib<FlashStateMachine.ScaleFclk.obj>" has a Tag_PCS_config attribute value of "1" that is different than one previously seen ("0"); combining incompatible files Flash Test C/C++ Problem
Is there a good way to fix these?
Hello Christopher,
What is the compiler version you are using? Can you try compiling the same code with 5.1.3 or higher version of the compiler?
Thanks,
Siddharth
Hey Siddharth,
I was using 5.1.1 and upgraded to 5.1.8. This solved the problem.
Thanks so much!