Microchip
直播中

杜喜喜

7年用户 1480经验值
私信 关注
[问答]

AppIO在MPLAB XC32 v1.43中不起作用但在v1.42中有效

参考XC32 V1.43的新版本,这里宣布:MPLAB XC32 V1.43在这个时候发布最新安装:MPLAB X IDE V3.61Health1.1.1升级编译器之后,我的设计中的AppIO将不再工作。所以,我从最新的和声FRA中找到了最简单的项目。MeWorksExpApp:APP并排编译,没有任何修改,比较这两个编译器:XC32 V1.42(AppIO Works!)XC32 V1.43(没有从APPIO读取或写入的响应)附上的两个图片显示了比较两个编译器版本的相同项目。

以上来自于百度翻译


      以下为原文

    Referring to the new release of XC32 v1.43 as announced here: MPLAB XC32 v1.43 Released
Latest setup at this time of writing:
  • MPLAB X IDE v3.61
  • HARMony 1.11
After upgrading the compiler, the AppIO in my design would no longer work.
So, i took the simplest project i could find from the latest Harmony Framework Example App:
C:microchipharmonyv1_11appsexamplessystemcommand_appio

Compiled it side-by-side without any modification comparing these two compilers:
XC32 v1.42 (AppIO Works!)
XC32 v1.43 (No response from AppIO reads or writes)

The attached two pictures shows the identical project comparing the two compiler versions.


   Attached Image(s)

回帖(4)

陈杰

2019-3-22 06:42:36
我可以确认AppIO在XC32 1.43中被破解,但是在XC32 1.42i中已经提交了一张支持票。

以上来自于百度翻译


      以下为原文

    I can confirm AppIo is broken in xc32 1.43 but works in xc32 1.42
I have submitted a support ticket today.
举报

陈杰

2019-3-22 06:56:29
我得到了回应

以上来自于百度翻译


      以下为原文

    I got a response

 **** Microchip Comments Begin ****
Hi, 

The issue with dbprintf not working in XC32 1.43 is due to incorrect linking of weak functions. This has been informed to developers and has been rectified in upcoming release of XC32 compiler. 

Please continue to use XC32 1.42 until newer version of compiler is released.
举报

杨叶

2019-3-22 07:13:19
嗨,XC32 V1.44出(即使下载链接说V1.43,现在是V1.44)这些是固定的问题在V1.44:固定在MPLAB®XC32 V1.44 xC32-720在MPLAB XC32 V1.43版本中,链接器错误地对待输入符号文件中的所有符号都是弱的。这意味着非弱符号不能重写弱符号。弱和非弱符号的正确行为已经恢复。XC32-709在编译和链接智能IO和传统LIBC、Primff()和相关函数时可能打印不正确的输出。在某些条件下,可以打印格式说明符。XC32-708在XC32 V1.43中被固定,并且较早地在编译和连接非传统LIB时,Primff()和相关函数在上32位位置的值为非零位时没有正确处理%LL转换说明符。XC32-707XC32 V1.43发出链接器E。当将相干属性应用到零大小的区段时,RROR。(EX:UIT88TyAtApple)((相干))ARY〔0〕;当不能分配非零大小的部分时,链接器现在发出错误。

以上来自于百度翻译


      以下为原文

    Hi,
 
XC32 v1.44 is out (even if the download link says v1.43 it is now v1.44)
these are the fixed issues in V1.44 :
 
Fixed in MPLAB® XC32 v1.44
XC32-720
In the MPLAB XC32 v1.43 release, the linker incorrectly treated all symbols in the input object files as weak. This meant that non-weak symbols could not override weak symbols. The correct behavior of weak and non-weak symbols has been restored.
XC32-709
When compiling and linking with Smart IO and the Legacy Libc, printf() and related functions may print incorrect output. Under some conditions, the format specifier could get printed. This issue has been fixed.
XC32-708
In XC32 v1.43 and earlier, When compiling and linking with the Non-Legacy Libc, printf() and related functions did not handle the %ll conversion specifier correctly when the value has non-zero bits in the upper 32-bit positions.
XC32-707
XC32 v1.43 emitted a linker error when applying the coherent attribute to a zero-sized section. (Ex: uint8_t __attribute__((coherent)) ary[0];) The linker now emits an error when it can't allocate only non-zero sized sections.
Regards
举报

陈杰

2019-3-22 07:21:01
是的,ApIPO再次工作,谢谢。

以上来自于百度翻译


      以下为原文

    And yes AppIo works again, thank you
举报

更多回帖

发帖
×
20
完善资料,
赚取积分