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.
Team,
Customer is using our sample code (TUSB2136 keyboard) in the IAR enviornment and is getting error (they did not modify anything). Please see attached and advise if this is someting that we can help them with. They have our EVM and all documentation that came with it. Is there any driver updates needed?
Hello Johnny,
Which version of IAR compiler is the customer using? That FW needs to be compiled with IAR v5.50.
Best Regards,
Ismael
Johnny,
This is an screenshot of the proper IAR compiler version.
Regards,
Ismael
Thanks Ismael,
Customer is using the latest version that can be downloaded for free here:
http://www.iar.com/website1/1.0.1.0/675/1/
The version v5.5 that you have is no longer available so is there some fix that we need to do to support customers? Have you tried the new version?
thank you
Unfortunately, the new IAR compiler changed from big-endian to little-endian at some point. The only way to get the 3410's FW working in the new IAR environment is to port all the source code to such new compiler.
Nevertheless, I've heard from some of TI customers whose intend to customize the 3410's FW source code that the old IAR compiler v5.50 is still being provided by IAR itself. So I believe that doing this special request of this specific old IAR compiler should be made to the IAR compiler team in order to build the FW and with no porting effort.
Best Regards,
Ismael
Johnny,
Please omit the 3410’s I placed in my previous response. Replace them with 2136’s instead…
I mixed both chips, since their FW was developed with the same IAR compiler v5.5.
Regards,
Ismael
Hi Ismael,
Thanks for all the support and the customer is porting over the code and cam across something that hopefully you can help on.
-------------------------------------
I am trying to port the code myself. i believe i have most of it done. Everything is compiled succesfuly but there is a linker definition that i am missing for the variable TUSB2136_DEBOUNCE_SEG.
This is the error code i am getting.
Fatal Error[e72]: Segment TUSB2136_DEBOUNCE_SEG must be defined in a segment definition option (-Z, -b or -P)
Can you check with the original tool version how they define this variable in the linker?
-----------------------------------------------
Looking into the "Keyboard.xcl" I found that the definition should be -Z. Take a look at the following screenshot: