Multi Source Translation Content

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Multi Source Translation Content

ディスカッション

ソート順:
Microsoft system get stuck when S32DS is Building There is a probability that when using version 3.5 of S32DS software to compile the program, it will cause Microsoft system to get stuck. Only by forcibly power-off and restarting the computer can work again. Several people have already reported that this has happened. Re: Microsoft system get stuck when S32DS is Building I tried for a few days, there was no computer stuck. The number of parallel jobs was set to 20. Re: Microsoft system get stuck when S32DS is Building Thank you. I'll try for a while. Re: Microsoft system get stuck when S32DS is Building Hi,  try to decrease number of parallel jobs in project properties: 
記事全体を表示
Inqury of 16bit DDR apply at i.MX8ULP Hello, I am developing my product based on i.MX8ULP. The i.MX8ULP processor has 32bit interface in APD Domain of i.MX8ULP for DDR seeing the Data Sheet Document. I have to apply a 16bit DDR of my product because of design limitations. Let me know if the DDR Interface of APD Domain of i.MX8ULP could support 16bit DDR? Re: Inqury of 16bit DDR apply at i.MX8ULP HI, @hwyou0212   i.MX8ULP can support 16-bit DDR.
記事全体を表示
LLCE Firmware load fail Hi,      When I am porting the LLCE CAN example, it will jump to HardFault_Handler when running "Llce_Firmware_Load_GetBootStatus", but the official nxp example is fine, please help me to analyse what may be the reasons for the failure of LLCE firmware initialisation. Re: LLCE Firmware load fail Hi, Thanks for your feedback.  Have you set the same preprocessor options under your project as the LLCE example? You should be able to find this information under Properties > C/C++ Build > Settings > Standard S32DS C Compiler >  Preprocessor. Also, have verified that both linkers (the one under your project and the one under the LLCE example) are the same? Overall, if you are trying to implement a custom application on top of the LLCE example, we can recommend using the LLCE example as a base and not a new project, since it has all the required links and configurations to be able to run. Please, let us know. Re: LLCE Firmware load fail Hi,  Properties > C/C++ Build > Settings > Standard S32DS C Compiler >  Optimization > Optimize for size (-OS) Re: LLCE Firmware load fail Hi, Thanks for your feedback. Can you confirm in which optimization is your project at? You should be able to find it under Properties > C/C++ Build > Settings > Standard S32DS C Compiler >  Optimization Please, let us know. Re: LLCE Firmware load fail Hi, @Daniel-Aguirre  Thank you for your reply. The environment used is S32DS 3.5 & S32G-VNP-RDB3 development board & SW32G_RTD_4.4_4.0.2 & S32G_LLCE_1_0_8. The following are my porting steps. 1. Add new "S32DS Application Project" 2. Adding components against the configuration of "Can_Llce_DS_Can2Can_S32G399A_M7",and generate code 3. Adding LLCE bin file and C code to the project 4. settle error 5. Debugging Another,during debugging, I found that by placing the mouse over "Llce_Mgr_Status", its value can't be seen, but it can be seen in the official routine, as shown in the following two pictures, the first one is the official routine and the second one is my own routine So,please also tell me why the "Llce_Mgr_Status" variable cannot be loaded.(ps: my link file is a direct port of the official routine.) Re: LLCE Firmware load fail Hi, For the following comment: "When I am porting the LLCE CAN example, it will jump to HardFault_Handler" We understand that this is a custom application. Can you let us know how are you porting it? Is it to a different IDE or microprocessor? Overall, a HardFault refers to different things, one of which might be related to accessing unavailable or uninitialized memory, which this might be related to. Please, let us know.
記事全体を表示
Unable to debug i.MXRT1189 on cm33 core Hello, Can anyone help me out on this issue. I am trying to debug baremetal firmware in i.MXRT1189 evk and each time i am getting the error as per the image attached with this. i am able to debug successfully on cm7 core but not on cm33 core.  #i.MXRT1189  Re: Unable to debug i.MXRT1189 on cm33 core Hello @kerryzhou Yes i got the same solution from nxp technical team and the boot switch position was 0001 initially which was a serial downloader. Thank you very much for your support. but i think some configuration is still need to be done because i am getting the same error when i create a new c/c++ project for both cm7 and cm33 cores. Re: Unable to debug i.MXRT1189 on cm33 core Hi @vilas_shetty ,   Please check my test result: You can see the cm33 project can be entered. SW5: 0100 And the debugger is using the on board CMSIS DAP debugger, J53. Please try it again, thanks. If you still have issues, you even can refer to my document: https://community.nxp.com/t5/i-MX-RT-Knowledge-Base/How-to-create-RT-AVB-switch-amp-endpoint-platform/ta-p/1898344 chapter 2.3.2 RT1180 AVB switch, Use the mcubootutility to download the cm33 code. The code can try the mcubootutility attached cm33 code: Wish it helps you! If you still have question about it, please kindly let me know. if your question is solved, please tell me to close this case, and help me to fill the feedback as resolved, thanks. Any new issues, welcome to create the new case. Best Regards, Kerry Re: Unable to debug i.MXRT1189 on cm33 core Hello kerryzhou, Thank you and will be waiting for your response. Re: Unable to debug i.MXRT1189 on cm33 core Hi @vilas_shetty ,    Thanks for your updated information.   Please give me more time, I will help you to check it tomorrow, as I don't have the board on my hand right now, I will find board and test it on my side tomorrow, then give you updated information. Thanks a lot for your understanding. Best Regards, Kerry Re: Unable to debug i.MXRT1189 on cm33 core Hello @kerryzhou, I am still facing the same error even after i tried with helloworld cm33 demo project. Board details: mimxrt1180-evk reversion number - SCH-50577 REV C3, 700-50577 REV C SDK version - 2.16.000 Re: Unable to debug i.MXRT1189 on cm33 core Hi @vilas_shetty ,   Thank you for your interest in the NXP MIMXRT product, I would like to provide service for you.   Do you try the SDK demo code, eg, the helloworld cm33 project, whether that code downloading works or not?  BTW, please tell me your side information: 1. mimxrt1180-evk reversion number 2. Your used SDK version, please also try the helloworld or the led_blinky project, cm33,  If you still have issue about it, please kindly let me know. Best Regards, Kerry
記事全体を表示
sscanf question Hi, I'm working with LPC804 and MCUXpresso IDE. I'm trying to do work sscanf but no way. My example is the following: char buff[] = "12"; int i; sscanf(buff,"%d",&i); if (i == 12){ GPIO_PinWrite(BOARD_INITPINS_BLOQ_GPIO,BOARD_INITPINS_BLOQ_PORT,BOARD_INITPINS_BLOQ_PIN, 1); } Any idea what is wrong?  Thanks, Asier. Re: sscanf question Hi HangZhang, My problem was that I was doing uint16_t i; instead int i;. I don't know why but when using uint16_t i; sscanf stucks. Thank you for your time, BR Asier. Re: sscanf question Hi @asier  I refer to your code, i can get 12 value after executing "sscanf(buff,"%d",&i);" code line. I share my code with you. BR Hang Re: sscanf question Hi HangZhang, The pin is correctly initialized and it works fine. The issue is not with "GPIO_PinWrite" instruction, but with "sscanf". "i" does not get 12 value after executing "sscanf(buff,"%d",&i);" code line. What is wrong when using sscanf in our example? Thank you, Asier. Re: sscanf question Hi @asier  When you use this pin, please initialize the configuration for this pin. Hope this will help you. BR Hang
記事全体を表示
StandardTypes.h が見つかりません SW32G_RTD_4.4_4.0.2 を使用して、Design Studio に追加しました。アプリケーションをコンパイルした後、次のエラーが発生しました。 致命的なエラー: StandardTypes.h:該当するファイルやディレクトリはありません それで、あなたは私が解決策を見つけるのを手伝ってくれませんか? 注:このヘッダーファイルはSiul2_Dio_Ip.hによって呼び出します これらのパッケージをインストールしました。 S32 コンフィギュレーション ツール パッケージ S32 Design Studio プラットフォーム パッケージ S32トレースパッケージ S32G開発パッケージ S32G2 AUTOSAR 4.4 RTD 4.0.2D2306の   日時:StandardTypes.hが見つかりません いいえ、例として、設定ツールはどのように実行できますか? これは私がここに貼り付けるエラーです: 10:29:02 **** プロジェクトClock_Ip_Example_S32G274A_M7の構成Debug_RAMのビルド **** -j8 をすべて ビルドファイル: ../src/main.c ビルドファイル: ../Project_Settings/Startup_Code/Vector_Table.s ビルドファイル: ../Project_Settings/Startup_Code/exceptions.c ビルドファイル: ../Project_Settings/Startup_Code/nvic.c ビルドファイル: ../Project_Settings/Startup_Code/startup.c 起動:標準S32DS Cコンパイラ ビルドファイル: ../Project_Settings/Startup_Code/startup_cm7.s 起動:標準S32DS Cコンパイラ 起動:標準S32DSアセンブラ 起動:標準S32DS Cコンパイラ 起動:標準S32DS Cコンパイラ ビルドファイル: ../Project_Settings/Startup_Code/system.c arm-none-eabi-gcc "@Project_Settings/Startup_Code/exceptions.args"-MMD -MP -MF"Project_Settings/Startup_Code/startup.d"・MT「Project_Settings/Startup_Code/startup.o」・o "Project_Settings/Startup_Code/startup.o""../Project_Settings/Startup_Code/startup.c" arm-none-eabi-gcc "@Project_Settings/Startup_Code/Vector_Table.args"-o "Project_Settings/Startup_Code/Vector_Table.o""../Project_Settings/Startup_Code/Vector_Table.s" 起動:標準S32DSアセンブラ arm-none-eabi-gcc "@Project_Settings/Startup_Code/exceptions.args"-MMD -MP -MF"Project_Settings/Startup_Code/exceptions.d"-MT"Project_Settings/Startup_Code/exceptions.o"-o "Project_Settings/Startup_Code/exceptions.o""../Project_Settings/Startup_Code/exceptions.c" arm-none-eabi-gcc "@src/main.args"-MMD -MP -MF"src/main.d"-MT"src/main.o"-o "src/main.o""../src/main.c" arm-none-eabi-gcc "@Project_Settings/Startup_Code/Vector_Table.args"-o "Project_Settings/Startup_Code/startup_cm7.o""../Project_Settings/Startup_Code/startup_cm7.s" 起動:標準S32DS Cコンパイラ arm-none-eabi-gcc "@Project_Settings/Startup_Code/exceptions.args"-MMD -MP -MF"Project_Settings/Startup_Code/nvic.d"-MT「Project_Settings/Startup_Code/nvic.o」-o "Project_Settings/Startup_Code/nvic.o""../Project_Settings/Startup_Code/nvic.c" C:/NXP/S32DS.3.5/S32DS/software/PlatformSDK_S32XX_4_0_0/RTD/BaseNXP_TS_T40D11M40I2R0/include/StandardTypes.h:50からインクルードされたファイルでは、 arm-none-eabi-gcc "@Project_Settings/Startup_Code/exceptions.args"-MMD -MP -MF"Project_Settings/Startup_Code/system.d"-MT「Project_Settings/Startup_Code/system.o」-o "Project_Settings/Startup_Code/system.o""../Project_Settings/Startup_Code/system.c" C:/NXP/S32DS.3.5/S32DS/software/PlatformSDK_S32XX_4_0_0/RTD/BaseNXP_TS_T40D11M40I2R0/include/Std_Types.h:49から、 差出人。。/Project_Settings/Startup_Code/startup.c:27: C:/NXP/S32DS.3.5/S32DS/software/PlatformSDK_S32XX_4_0_0/RTD/BaseNXP_TS_T40D11M40I2R0/include/Platform_Types.h:55:10:致命的なエラー:PlatformTypes.h:該当するファイルやディレクトリはありません 55 |#include 「PlatformTypes.h」 |^~~~~~~~~~~~~~~~~ コンパイルが終了しました。 make: *** [Project_Settings/Startup_Code/subdir.mk:42:Project_Settings/Startup_Code/startup.o]エラー 1 make: *** 未完成の仕事を待っています...。 C:/NXP/S32DS.3.5/S32DS/software/PlatformSDK_S32XX_4_0_0/RTD/BaseNXP_TS_T40D11M40I2R0/include/StandardTypes.h:50からインクルードされたファイルでは、 完成した建物:../Project_Settings/Startup_Code/Vector_Table.s C:/NXP/S32DS.3.5/S32DS/software/PlatformSDK_S32XX_4_0_0/RTD/BaseNXP_TS_T40D11M40I2R0/include/Mcal.h:59から、 差出人。。/src/main.c:23: C:/NXP/S32DS.3.5/S32DS/software/PlatformSDK_S32XX_4_0_0/RTD/BaseNXP_TS_T40D11M40I2R0/include/Platform_Types.h:55:10:致命的なエラー:PlatformTypes.h:該当するファイルやディレクトリはありません 55 |#include 「PlatformTypes.h」 |^~~~~~~~~~~~~~~~~ コンパイルが終了しました。 からインクルードされたファイルで。/Project_Settings/Startup_Code/exceptions.c:36: C:/NXP/S32DS.3.5/S32DS/software/PlatformSDK_S32XX_4_0_0/RTD/BaseNXP_TS_T40D11M40I2R0/include/Platform_Types.h:55:10:致命的なエラー:PlatformTypes.h:該当するファイルやディレクトリはありません 55 |#include 「PlatformTypes.h」 |^~~~~~~~~~~~~~~~~ コンパイルが終了しました。 C:/NXP/S32DS.3.5/S32DS/software/PlatformSDK_S32XX_4_0_0/RTD/BaseNXP_TS_T40D11M40I2R0/include/StandardTypes.h:50からインクルードされたファイルでは、 C:/NXP/S32DS.3.5/S32DS/software/PlatformSDK_S32XX_4_0_0/RTD/BaseNXP_TS_T40D11M40I2R0/include/Std_Types.h:49から、 差出人。。/Project_Settings/Startup_Code/nvic.c:32: C:/NXP/S32DS.3.5/S32DS/software/PlatformSDK_S32XX_4_0_0/RTD/BaseNXP_TS_T40D11M40I2R0/include/Platform_Types.h:55:10:致命的なエラー:PlatformTypes.h:該当するファイルやディレクトリはありません 完成した建物:../Project_Settings/Startup_Code/startup_cm7.s 55 |#include 「PlatformTypes.h」 |^~~~~~~~~~~~~~~~~ コンパイルが終了しました。 make: *** [Project_Settings/Startup_Code/subdir.mk:42:Project_Settings/Startup_Code/exceptions.o]エラー 1 make: *** [src/subdir.mk:20:src/main.o]エラー 1 からインクルードされたファイルで。/Project_Settings/Startup_Code/system.c:42: C:/NXP/S32DS.3.5/S32DS/software/PlatformSDK_S32XX_4_0_0/RTD/BaseNXP_TS_T40D11M40I2R0/include/Platform_Types.h:55:10:致命的なエラー:PlatformTypes.h:該当するファイルやディレクトリはありません 55 |#include 「PlatformTypes.h」 |^~~~~~~~~~~~~~~~~ コンパイルが終了しました。 make: *** [Project_Settings/Startup_Code/subdir.mk:42:Project_Settings/Startup_Code/nvic.o]エラー 1 make: *** [Project_Settings/Startup_Code/subdir.mk:42:Project_Settings/Startup_Code/system.o]エラー 1 "make -j8 all" が終了コード 2 で終了しました。ビルドが不完全である可能性があります。 10:29:02 ビルドに失敗しました。エラーは 11 件、警告は 0 件。(454msを要しました) 日時:StandardTypes.hが見つかりません S32DS.3.5私が使用しているバージョン。 私は2つのアプリケーションを実行しました、1つは例から、もう1つは私自身からです。 Adc_example_S32G274A_M7例をビルドするときに次のエラーが発生しました。 致命的なエラー: PlatformTypes.h:そのようなファイルやディレクトリはありません 55 |#include 「PlatformTypes.h」 そして私自身のアプリケーションのために私はこのエラーを得ました: 致命的なエラー: StandardTypes.h:該当するファイルやディレクトリはありません
記事全体を表示
MPC5748G DSPI Clock Config Hi, I want to make clock DSPI clock continous  how can i achieve this? Re: MPC5748G DSPI Clock Config Hi, refer to chapter 40.5.7 Continuous Serial Communications Clock of the MPC5748G Reference Manual BR, Petr
記事全体を表示
找不到 StandardTypes.h 我使用了 SW32G_RTD_4.4_4.0.2 并将其添加到 Design Studio 中。编译应用程序后我收到此错误: 致命错误:StandardTypes.h:没有这样的文件或目录 那么,您能帮我找到解决方案吗? 注意:此头文件将由Siul2_Dio_Ip.h调用。 我安装了这些软件包: S32配置工具包 S32 设计工作室平台包 S32 跟踪包 S32G开发包 S32G2 AUTOSAR 4.4 RTD 4.0.2D2306   回复:找不到 StandardTypes.h 不,对于示例,我该如何设置工具? 这是我在此处粘贴的错误: 10:29:02 **** 为项目 Clock_Ip_Example_S32G274A_M7 构建配置 Debug_RAM **** 全部制作-j8 构建文件:../src/main.c 构建文件:../Project_Settings/Startup_Code/Vector_Table.s 构建文件:../Project_Settings/Startup_Code/exceptions.c 构建文件:../Project_Settings/Startup_Code/nvic.c 构建文件:../Project_Settings/Startup_Code/startup.c 调用:标准S32DS C编译器 构建文件:../Project_Settings/Startup_Code/startup_cm7.s 调用:标准S32DS C编译器 调用:标准S32DS汇编程序 调用:标准S32DS C编译器 调用:标准S32DS C编译器 构建文件:../Project_Settings/Startup_Code/system.c arm-none-eabi-gcc“@Project_Settings/Startup_Code/exceptions.args”-MMD -MP -MF“项目设置/启动代码/startup.d”-MT“项目设置/启动代码/startup.o”-o“项目设置/启动代码/startup.o”“../项目设置/启动代码/startup.c” arm-none-eabi-gcc“@Project_Settings/Startup_Code/Vector_Table.args”-o“项目设置/启动代码/Vector_Table.o”“../Project_Settings/Startup_Code/Vector_Table.s” 调用:标准S32DS汇编程序 arm-none-eabi-gcc“@Project_Settings/Startup_Code/exceptions.args”-MMD -MP -MF“项目设置/启动代码/exceptions.d”-MT“项目设置/启动代码/exceptions.o”-o“项目设置/启动代码/exceptions.o”“../Project_Settings/Startup_Code/exceptions.c” arm-none-eabi-gcc“@src/main.args”-MMD -MP -MF“src/main.d”-MT“src/main.o”-o“src/main.o”“../src/main.c” arm-none-eabi-gcc“@Project_Settings/Startup_Code/Vector_Table.args”-o“项目设置/启动代码/startup_cm7.o”“../项目设置/启动代码/startup_cm7.s” 调用:标准S32DS C编译器 arm-none-eabi-gcc“@Project_Settings/Startup_Code/exceptions.args”-MMD -MP -MF“项目设置/启动代码/nvic.d”-MT“项目设置/启动代码/nvic.o”-o“项目设置/启动代码/nvic.o”“../Project_Settings/Startup_Code/nvic.c” 在包含于 C:/NXP/S32DS.3.5/S32DS/software/PlatformSDK_S32XX_4_0_0/RTD/BaseNXP_TS_T40D11M40I2R0/include/StandardTypes.h:50 的文件中, arm-none-eabi-gcc“@Project_Settings/Startup_Code/exceptions.args”-MMD -MP -MF“项目设置/启动代码/system.d”-MT“项目设置/启动代码/系统.o”-o“项目设置/启动代码/系统.o”“../项目设置/启动代码/系统.c” 来自C:/NXP/S32DS.3.5/S32DS/软件/PlatformSDK_S32XX_4_0_0/RTD/BaseNXP_TS_T40D11M40I2R0/include/Std_Types.h:49, 来自../Project_Settings/Startup_Code/startup.c:27: C:/NXP/S32DS.3.5/S32DS/software/PlatformSDK_S32XX_4_0_0/RTD/BaseNXP_TS_T40D11M40I2R0/include/Platform_Types.h:55:10:致命错误:PlatformTypes.h:没有这样的文件或目录 55 | #include “平台类型.h” | ^~~~~~~~~~~~~~~~~~~ 编译终止。 制作:*** [Project_Settings/Startup_Code/subdir.mk:42:项目设置/启动代码/startup.o]错误 1 制作:*** 等待未完成的工作.... 在包含于 C:/NXP/S32DS.3.5/S32DS/software/PlatformSDK_S32XX_4_0_0/RTD/BaseNXP_TS_T40D11M40I2R0/include/StandardTypes.h:50 的文件中, 完成构建:../Project_Settings/Startup_Code/Vector_Table.s 来自C:/NXP/S32DS.3.5/S32DS/软件/PlatformSDK_S32XX_4_0_0/RTD/BaseNXP_TS_T40D11M40I2R0/include/Mcal.h:59, 来自../src/main.c:23: C:/NXP/S32DS.3.5/S32DS/software/PlatformSDK_S32XX_4_0_0/RTD/BaseNXP_TS_T40D11M40I2R0/include/Platform_Types.h:55:10:致命错误:PlatformTypes.h:没有这样的文件或目录 55 | #include “平台类型.h” | ^~~~~~~~~~~~~~~~~~~ 编译终止。 在包含于../Project_Settings/Startup_Code/exceptions.c:36 的文件中: C:/NXP/S32DS.3.5/S32DS/software/PlatformSDK_S32XX_4_0_0/RTD/BaseNXP_TS_T40D11M40I2R0/include/Platform_Types.h:55:10:致命错误:PlatformTypes.h:没有这样的文件或目录 55 | #include “平台类型.h” | ^~~~~~~~~~~~~~~~~~~ 编译终止。 在包含于 C:/NXP/S32DS.3.5/S32DS/software/PlatformSDK_S32XX_4_0_0/RTD/BaseNXP_TS_T40D11M40I2R0/include/StandardTypes.h:50 的文件中, 来自C:/NXP/S32DS.3.5/S32DS/软件/PlatformSDK_S32XX_4_0_0/RTD/BaseNXP_TS_T40D11M40I2R0/include/Std_Types.h:49, 来自../Project_Settings/Startup_Code/nvic.c:32: C:/NXP/S32DS.3.5/S32DS/software/PlatformSDK_S32XX_4_0_0/RTD/BaseNXP_TS_T40D11M40I2R0/include/Platform_Types.h:55:10:致命错误:PlatformTypes.h:没有这样的文件或目录 完成构建:../Project_Settings/Startup_Code/startup_cm7.s 55 | #include “平台类型.h” | ^~~~~~~~~~~~~~~~~~~ 编译终止。 制作:*** [Project_Settings/Startup_Code/subdir.mk:42:项目设置/启动代码/exceptions.o]错误 1 制作:*** [src/subdir.mk:20:src/main.o]错误 1 在包含于../Project_Settings/Startup_Code/system.c:42 的文件中: C:/NXP/S32DS.3.5/S32DS/software/PlatformSDK_S32XX_4_0_0/RTD/BaseNXP_TS_T40D11M40I2R0/include/Platform_Types.h:55:10:致命错误:PlatformTypes.h:没有这样的文件或目录 55 | #include “平台类型.h” | ^~~~~~~~~~~~~~~~~~~ 编译终止。 制作:*** [Project_Settings/Startup_Code/subdir.mk:42:项目设置/启动代码/nvic.o]错误 1 制作:*** [Project_Settings/Startup_Code/subdir.mk:42:项目设置/启动代码/系统.o]错误 1 “make -j8 all”以退出代码 2 终止。构建可能不完整。 10:29:02 构建失败。11 个错误,0 个警告。(耗时 454 毫秒) 回复:找不到 StandardTypes.h S32DS.3.5我正在使用的版本。 我已经运行了两个应用程序,一个来自示例,另一个来自我自己的。 我在构建 Adc_example_S32G274A_M7 示例时遇到此错误: 致命错误:PlatformTypes.h:没有这样的文件或目录 55 | #include "PlatformTypes.h" 对于我自己的应用程序,我得到了这个错误: 致命错误:StandardTypes.h:没有这样的文件或目录
記事全体を表示
StandardTypes.h not find I used the SW32G_RTD_4.4_4.0.2 and added it in Design Studio. After compiling the application I got this error: fatal error: StandardTypes.h: No such file or directory So, could you please help me to find the solution? Note: this header file will call by Siul2_Dio_Ip.h I installed these packages:  S32 Configuration Tools Package S32 Design Studio Platform package S32 Trace Package S32G development package S32G2 AUTOSAR 4.4 RTD 4.0.2 D2306    Re: StandardTypes.h not find Hi, Thanks for your feedback. For the following comment: No, for the examples how can I do the setting tools? We understand that you did not generate the required code under the example. For that, you right-click under the project itself then select the following option: Then, under configuration tools, click the following button: It should be green prior to the generation of code and gray (as shown above) once the code has been correctly generated. From our side, we have generated the example you have provided the logs for no problem: Please, let us know. Re: StandardTypes.h not find No, for the examples how can I do the setting tools? This the error that I paste here: 10:29:02 **** Build of configuration Debug_RAM for project Clock_Ip_Example_S32G274A_M7 **** make -j8 all Building file: ../src/main.c Building file: ../Project_Settings/Startup_Code/Vector_Table.s Building file: ../Project_Settings/Startup_Code/exceptions.c Building file: ../Project_Settings/Startup_Code/nvic.c Building file: ../Project_Settings/Startup_Code/startup.c Invoking: Standard S32DS C Compiler Building file: ../Project_Settings/Startup_Code/startup_cm7.s Invoking: Standard S32DS C Compiler Invoking: Standard S32DS Assembler Invoking: Standard S32DS C Compiler Invoking: Standard S32DS C Compiler Building file: ../Project_Settings/Startup_Code/system.c arm-none-eabi-gcc "@Project_Settings/Startup_Code/exceptions.args" -MMD -MP -MF"Project_Settings/Startup_Code/startup.d" -MT"Project_Settings/Startup_Code/startup.o" -o "Project_Settings/Startup_Code/startup.o" "../Project_Settings/Startup_Code/startup.c" arm-none-eabi-gcc "@Project_Settings/Startup_Code/Vector_Table.args" -o "Project_Settings/Startup_Code/Vector_Table.o" "../Project_Settings/Startup_Code/Vector_Table.s" Invoking: Standard S32DS Assembler arm-none-eabi-gcc "@Project_Settings/Startup_Code/exceptions.args" -MMD -MP -MF"Project_Settings/Startup_Code/exceptions.d" -MT"Project_Settings/Startup_Code/exceptions.o" -o "Project_Settings/Startup_Code/exceptions.o" "../Project_Settings/Startup_Code/exceptions.c" arm-none-eabi-gcc "@src/main.args" -MMD -MP -MF"src/main.d" -MT"src/main.o" -o "src/main.o" "../src/main.c" arm-none-eabi-gcc "@Project_Settings/Startup_Code/Vector_Table.args" -o "Project_Settings/Startup_Code/startup_cm7.o" "../Project_Settings/Startup_Code/startup_cm7.s" Invoking: Standard S32DS C Compiler arm-none-eabi-gcc "@Project_Settings/Startup_Code/exceptions.args" -MMD -MP -MF"Project_Settings/Startup_Code/nvic.d" -MT"Project_Settings/Startup_Code/nvic.o" -o "Project_Settings/Startup_Code/nvic.o" "../Project_Settings/Startup_Code/nvic.c" In file included from C:/NXP/S32DS.3.5/S32DS/software/PlatformSDK_S32XX_4_0_0/RTD/BaseNXP_TS_T40D11M40I2R0/include/StandardTypes.h:50, arm-none-eabi-gcc "@Project_Settings/Startup_Code/exceptions.args" -MMD -MP -MF"Project_Settings/Startup_Code/system.d" -MT"Project_Settings/Startup_Code/system.o" -o "Project_Settings/Startup_Code/system.o" "../Project_Settings/Startup_Code/system.c" from C:/NXP/S32DS.3.5/S32DS/software/PlatformSDK_S32XX_4_0_0/RTD/BaseNXP_TS_T40D11M40I2R0/include/Std_Types.h:49, from ../Project_Settings/Startup_Code/startup.c:27: C:/NXP/S32DS.3.5/S32DS/software/PlatformSDK_S32XX_4_0_0/RTD/BaseNXP_TS_T40D11M40I2R0/include/Platform_Types.h:55:10: fatal error: PlatformTypes.h: No such file or directory 55 | #include "PlatformTypes.h" | ^~~~~~~~~~~~~~~~~ compilation terminated. make: *** [Project_Settings/Startup_Code/subdir.mk:42: Project_Settings/Startup_Code/startup.o] Error 1 make: *** Waiting for unfinished jobs.... In file included from C:/NXP/S32DS.3.5/S32DS/software/PlatformSDK_S32XX_4_0_0/RTD/BaseNXP_TS_T40D11M40I2R0/include/StandardTypes.h:50, Finished building: ../Project_Settings/Startup_Code/Vector_Table.s from C:/NXP/S32DS.3.5/S32DS/software/PlatformSDK_S32XX_4_0_0/RTD/BaseNXP_TS_T40D11M40I2R0/include/Mcal.h:59, from ../src/main.c:23: C:/NXP/S32DS.3.5/S32DS/software/PlatformSDK_S32XX_4_0_0/RTD/BaseNXP_TS_T40D11M40I2R0/include/Platform_Types.h:55:10: fatal error: PlatformTypes.h: No such file or directory 55 | #include "PlatformTypes.h" | ^~~~~~~~~~~~~~~~~ compilation terminated. In file included from ../Project_Settings/Startup_Code/exceptions.c:36: C:/NXP/S32DS.3.5/S32DS/software/PlatformSDK_S32XX_4_0_0/RTD/BaseNXP_TS_T40D11M40I2R0/include/Platform_Types.h:55:10: fatal error: PlatformTypes.h: No such file or directory 55 | #include "PlatformTypes.h" | ^~~~~~~~~~~~~~~~~ compilation terminated. In file included from C:/NXP/S32DS.3.5/S32DS/software/PlatformSDK_S32XX_4_0_0/RTD/BaseNXP_TS_T40D11M40I2R0/include/StandardTypes.h:50, from C:/NXP/S32DS.3.5/S32DS/software/PlatformSDK_S32XX_4_0_0/RTD/BaseNXP_TS_T40D11M40I2R0/include/Std_Types.h:49, from ../Project_Settings/Startup_Code/nvic.c:32: C:/NXP/S32DS.3.5/S32DS/software/PlatformSDK_S32XX_4_0_0/RTD/BaseNXP_TS_T40D11M40I2R0/include/Platform_Types.h:55:10: fatal error: PlatformTypes.h: No such file or directory Finished building: ../Project_Settings/Startup_Code/startup_cm7.s 55 | #include "PlatformTypes.h" | ^~~~~~~~~~~~~~~~~ compilation terminated. make: *** [Project_Settings/Startup_Code/subdir.mk:42: Project_Settings/Startup_Code/exceptions.o] Error 1 make: *** [src/subdir.mk:20: src/main.o] Error 1 In file included from ../Project_Settings/Startup_Code/system.c:42: C:/NXP/S32DS.3.5/S32DS/software/PlatformSDK_S32XX_4_0_0/RTD/BaseNXP_TS_T40D11M40I2R0/include/Platform_Types.h:55:10: fatal error: PlatformTypes.h: No such file or directory 55 | #include "PlatformTypes.h" | ^~~~~~~~~~~~~~~~~ compilation terminated. make: *** [Project_Settings/Startup_Code/subdir.mk:42: Project_Settings/Startup_Code/nvic.o] Error 1 make: *** [Project_Settings/Startup_Code/subdir.mk:42: Project_Settings/Startup_Code/system.o] Error 1 "make -j8 all" terminated with exit code 2. Build might be incomplete. 10:29:02 Build Failed. 11 errors, 0 warnings. (took 454ms) Re: StandardTypes.h not find Hi, Thanks for your feedback. Can you provide a capture of the error being printed under S32 Design Studio? Have you generated the required code under Config Tools prior to compiling the example? Please, let us know. Re: StandardTypes.h not find S32DS.3.5   version I am using. I have run two applications one from example and another from my own. I got this error for building the Adc_example_S32G274A_M7 example: fatal error: PlatformTypes.h: No such file or directory 55 | #include "PlatformTypes.h" and for my own application I got this error: fatal error: StandardTypes.h: No such file or directory Re: StandardTypes.h not find Hi, Can you let us know which S32 Design Studio version are you using? Are you using any NXP examples? If so, which one? Can you provide a capture of the error being printed under S32 Design Studio? Have you generated the required code prior to compiling the example? Please, let us know.
記事全体を表示
How to Configure Clock for 24 bit 48 Khz I2s transfer in lpc55s69-evk As per the calculation the BCLK frequency  required is 2304000Hz. I seem to be getting the FXCOMCLK7 clkin(23.04Mhz) as a multiple of BCLK required. But MCLK also has to be multiple of BCLK. But MCLK seem to be not using the fractional clock divider output. Please share some inputs to configure the clock correctly Re: How to Configure Clock for 24 bit 48 Khz I2s transfer in lpc55s69-evk The noise sound issue is resolved after updating the Dma input buffer to the I2S. I was using same address as DMA source address. Updated it to a ring buffer as in SDK example to resolve the issue. Thanks Re: How to Configure Clock for 24 bit 48 Khz I2s transfer in lpc55s69-evk 2 channels. I think I am able to generate the clocks properly. MCLK is 46.08 Mhz, Bclk is 2.304 Mhz(Verified with DSO). Audio is playing with small noise in the output sound. Could you share some inputs to debug. Do we need to update any setting for the codec when we update the the sampling rate to 48 khz in 24 bit mode. I have used sdk example lpcxpresso55s69_dev_audio_speaker_freertos as reference Re: How to Configure Clock for 24 bit 48 Khz I2s transfer in lpc55s69-evk Hello @dawnpaul100  Please tell me how many channels does your I2S have? BR Alice
記事全体を表示
"cpufreq-info" command not working in imx93 Based custom board in yocto scarthgap 6.6.36 When i run "cpufreq-info" command on yocto , i got the below error. Below i have add what are the configurations are enbaled in defconfig CONFIG_CPUSETS=y CONFIG_CGROUP_CPUACCT=y CONFIG_ARM_PSCI_CPUIDLE=y CONFIG_CPU_FREQ=y CONFIG_CPU_FREQ_STAT=y CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y CONFIG_CPU_FREQ_GOV_POWERSAVE=y CONFIG_CPU_FREQ_GOV_USERSPACE=y CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y CONFIG_CPUFREQ_DT=y CONFIG_ACPI_CPPC_CPUFREQ=m CONFIG_ARM_SCPI_CPUFREQ=y CONFIG_ARM_IMX_CPUFREQ_DT=y CONFIG_ARM_SCMI_CPUFREQ=y CONFIG_QORIQ_CPUFREQ=y CONFIG_CPU_THERMAL=y CONFIG_LEDS_TRIGGER_CPU=y CONFIG_CORESIGHT_CPU_DEBUG=m Please suggest me any fixes? Linux Yocto Project Re: "cpufreq-info" command not working in imx93 Based custom board in yocto scarthgap 6.6. thanks for the help Re: "cpufreq-info" command not working in imx93 Based custom board in yocto scarthgap 6.6. Hi @arun_mozhi_thevan! Unfortunately in general in i.MX93 the Cpu frecuency is managed by lpm (Low power Module) and we use the lpm driver in iMX93 and is the reason that we obtain the error using that command. You can use the mhz command instead. Best Regards! Chavira Re: "cpufreq-info" command not working in imx93 Based custom board in yocto scarthgap 6.6. Hi , i could not able to find  mode directory ls /sys/devices/platform/imx93-lpm/ driver_override of_node/ subsystem/ uevent modalias power/ supplier:platform:44450000.clock-controller/ waiting_for_supplier Please suggest me any fix ? Re: "cpufreq-info" command not working in imx93 Based custom board in yocto scarthgap 6.6. Hi @Chavira  Why we could not able to use cpufreq-info command on imx93 custom board ? Re: "cpufreq-info" command not working in imx93 Based custom board in yocto scarthgap 6.6. Hi @arun_mozhi_thevan! Thank you for contacting NXP Support! Try with the command mhz. The result should be the next: Best Regards! Chavira
記事全体を表示
Questions about the internal SRAM of S32G Hi, I recently tested the bootloader to boot multi-core programs and found that the bootloader will move the complete bin file of each M7 core from QSPI to internal SRAM and then execute it. However, I noticed that the internal SRAM of S32G2 is only 8M, and the space allocated to each M7 core in LD is about 1M. Question: If my M7 core program is very large, such as 10M, how should I operate it? thanks, Re: Questions about the internal SRAM of S32G Hi chenyi,     As we know, if multi-core is enabled, it takes a long time for A-core to boot Linux. During the startup of Core A, if Core M collects 100MB of data that requires saving, how should this be handled?      I'm having this problem right now.S32G QSPI issue - NXP Community Re: Questions about the internal SRAM of S32G Hello, @youke  Thanks for your reply. In common,  the 8M of SRAM should be bigger enough to run a M7 application, I suggest checking the code to reduce the size. Regarding to XIP, yes, it is theoretically supported,  but there are no example or some documentations about XIP on S32G. It's not easy and not common to implement XIP from NOR flash on S32G,  the S32G didn't have internal nor flash, so the cpu can not directly access the nor flash. you could use a bootloader to initialize the QSPI controller and DDR controller at first and then let cpu to execute the application stored in Qflash or DDR on running time. I hope it will help.  BR Chenyin Re: Questions about the internal SRAM of S32G hi, 已解决: S32G2xx M7 execute code from external flash ? - NXP Community I saw this document introducing an XIP(eXecute-In-Place) mechanism that can execute code from external flash. Do you have any relevant materials or demos? thanks Re: Questions about the internal SRAM of S32G Hello, @youke  Thanks for you reply. As per my understanding, there is not formal sample/document regarding to this topic, you may reference the ddr init code from A53 side if willing to initialize the DDR for M7 side. Sorry for your inconvenience. BR Chenyin Re: Questions about the internal SRAM of S32G hi, Do you have any relevant demos or materials within NXP? thanks Re: Questions about the internal SRAM of S32G Hello, @youke  Thanks for your reply. Yes, I think both method may work for your situation, but as far as I know , most customers do not use DDR from M core side, it is  one option to solve your specific case. BR Chenyin Re: Questions about the internal SRAM of S32G Hi, What do you mean, if the M core wants to execute a large image, there are two options: 1. M7 first transfers a portion of the code to the internal SRAM for initializing DDR. After initializing DDR, the complete code is transferred to DDR for execution; 2. The M7 core waits first, and after the A core initializes the DDR, it moves the M7 core image to the DDR and executes it; Is that so? Re: Questions about the internal SRAM of S32G Hello, @youke  Thank for the reply. If the large size image is indeed caused by code(for example, large libs linked) and cannot be resized via linker file, then it cannot be directly loaded to the SRAM to run.  if so, I think you may have to initialize the DDR for running the code. But, unlike A53 side, the DDR is not by default enabled from sample code/bootloader from M7 side. BR Chenyin Re: Questions about the internal SRAM of S32G hi, Thank you for your reply Because I have written too much code, the compiled file is very large. Based on your answer, S32G2 does not support M7 core images exceeding 8MB because they cannot be copied to internal SRAM for execution. Is that correct? Re: Questions about the internal SRAM of S32G Hello, @youke  Thanks for your reply. I am not sure why your images are so large, since they have been far larger than the 8M ram size(24 M in total). One possible method is to check the linker file, for example,  edit it to make it to 1-2M size each. Then re-build 3 images, note that do not overlap the address of each other. If the big size of image is because multi-libs linked(large sized libs), then edit the linker file may not work for the case from my understanding. BR Chenyin Re: Questions about the internal SRAM of S32G Hi, We will use three M7 cores to run separate programs here, with each core having an image size of approximately 8M, totaling 24M, Because the internal SRAM of S32G2 is only 8MB, how should I plan the LD file thanks, Re: Questions about the internal SRAM of S32G Hello, @youke  Thanks for your post. In common, the actual size of the M7 image would not be that so big, if so, I suggest modify the linker file to change the address range of each part, thus resize the image.  BR Chenyin
記事全体を表示
Question about memory map of DDR on both M7 and A53 core Hello Community, I tried to initialize DDR on M7 core and will use DDR memory on both M7 and A53 core in S32G274A soc. But I am little confused about the memory map. According to the memory map file attached into S32G2RM (below picture), the DDR address on M7 core is mapped to 0x6000.0000 to 0xDFFF.FFFF in case of 2GB size DDR. Is it correct? In addition to this, if A53 core will not initialize DDR, then what is the address range of DDR in A53 side?  0x8000.0000 ~ 0xFFFF.FFFF or 0x6000.0000 ~ 0xDFFFF.FFFF(same as M7 core)? Thanks, Harry  Re: Question about memory map of DDR on both M7 and A53 core Hello, @harry_choi  Thanks for your update. From my understanding,  it is correct for your address map. the address you mentioned would be 0x80000000. BR Chenyin Re: Question about memory map of DDR on both M7 and A53 core Hello Chenyin, Per my understanding,  If M7_0 core writes the data '0x12345678' on DDR address 0x60000000, then which address has the data '0x12345678' on A53 core side?  Is below address map correct ? M7_0 DDR address    <-->  A53 DDR address ----------------------------------------------------- 0x6000.0000 ~ 0x7FFF.FFFF <-> 0x8000.0000 ~ 0x9FFFF.FFFF 0x8000.0000 ~ 0x9FFF.FFFF <-> 0xA000.0000 ~ 0xBFFFF.FFFF 0xA000.0000 ~ 0xBFFF.FFFF <-> 0xC000.0000 ~ 0xDFFFF.FFFF 0xC000.0000 ~ 0xDFFF.FFFF <-> 0xE000.0000 ~ 0xFFFFF.FFFF Thanks, Harry Re: Question about memory map of DDR on both M7 and A53 core Hello, @harry_choi  Thanks for the reply. Yes, if the DDR is initialized by the M7, then it do not need to re-initialized from A53 side. BR Chenyin Re: Question about memory map of DDR on both M7 and A53 core Hello Chenyin, Thanks for your reply. Your answer is valid even though there is no DDR initialization on A53 side, correct? I will check on A53 core side why A53 BL cannot read or write correctly on 0xFF000000 address more. BR, Harry Re: Question about memory map of DDR on both M7 and A53 core Hello, @harry_choi  Thanks for your post. From my understanding, from A53 view, it could be started from 0x80000000, not 0x60000000. BR Chenyin
記事全体を表示
LIN example not working for s32k344 I am working on LIN configuration for s32k344 in S32DS. I have took the example Lin_Ip_FrameTransfer_S32K344 from S32K3 RTD AUTOSAR 4.4 2.0.0 D2203 Example projects for S32K344 in S32DS 3.4. The code is building fine with 0 errors but ain't getting the output in Saleae Logic Analyzer. I haven't done any changes to the configurational settings in s32ds, just updated the code and flashed it into the S32k344 using PEMicro Debugger. Also cahnges from 257 to 172 package. What changes are to be made to get the data frame in the Logic analyzer. I'll attach the configuration in Logic analyzer too. Hoping a reply and thanks in advance. Regards,  Vinith Ramarapu. S32K344-WB S32K3X4EVB-T172 #lin-protocol @nxp @nxpcommunity  Re: LIN example not working for s32k344 Hi, this connect master pull-up resistor/reverse diode. LIN uses an open-drain line, so it needs to be pulled up to get a valid high-level voltage. BR, Petr Re: LIN example not working for s32k344 It's working fine. Thank you community. The only thing I missed is that I haven't connected either of the jumpers (J20 and J24). May I know why they should be shorted or used a jumper? I haven't seen anything like that specified anywhere in manuals or example description. Anyways it's working. Re: LIN example not working for s32k344 Hi, this is a simple application which shows a communication between a Lin Master and a Lin Slave of both Lpuart Ip and Flexio Ip. As example does communication between LIN Master/Slave on the board, you should connect J23.7 to J23.8 and place either J20 or J24 jumper. Then 2 LIN frames should be visible on this LIN bus connection after example running. This is what you should get Note in example just 2 frames are sent and then main function is leaved. You can try to add some endless while so frame will be sent still. BR, Petr    
記事全体を表示
K314 链接器文件 您好,我正在寻找 K314 的最新链接器文件。我尝试使用 S32 设计工作室的一个,但它似乎过时了(未列出 SW 版本)。提前致谢 回复:K314 链接器文件 问题解决了,谢谢! 回复:K314 链接器文件 你好@Senlent ,我正在使用 RTD 版本 4.0.0
記事全体を表示
The compilation of the "Etpu_Pwm_Ip_Example_S32K396" example program reports an error When I used the ETPU example program of S32K396, there were compilation problems. It indicated that the files "Clock_Ip_Types.h", "Clock_Ip_Cfg.h", "Clock_Ip.h", "Etpu_Ip_Cfg.h", "Etpu_Ip_Types.h", and "Etpu_Ipw_Cfg.h" were missing. The integrated environment I use is S32DS version 3.5. I have installed the SDK, RTD, and ETPU SW. The software configuration is shown as follows in the figure. Re: The compilation of the "Etpu_Pwm_Ip_Example_S32K396" example program reports an error Hi .@VaneB,      Is there a manual for programming the eTPU of the S32K396 using C language, or what tools are used for eTPU development? I have noticed that eTPU has some function sets, including the implementation of a resolver, but this part is already compiled into binary code. If eTPU can only use these function sets, are there corresponding examples or documentation available? Re: The compilation of the "Etpu_Pwm_Ip_Example_S32K396" example program reports an error Hi @qingwang_a  Since the S32K396 devices have only recently been released to the mass market, the example codes available are those provided in the S32K3 Standard Software and the S32K3 Reference Software. Re: The compilation of the "Etpu_Pwm_Ip_Example_S32K396" example program reports an error Thank you for your reply. I would like to use the S32K396 for resolver decoding. Do you have any examples from DS or EB? Re: The compilation of the "Etpu_Pwm_Ip_Example_S32K396" example program reports an error Hi @qingwang_a  Sorry for the inconvenience. This issue has already been reported to the relevant team and is expected to be resolved in future software releases. Also, there is a note in the software release notes mentioning that PWM ETPU supports only EB driver example. BR, VaneB
記事全体を表示
写入fip、kernal、rootfs到S32G的emmc 当我使用 s32g399ardb3 时,我可以将 fip、Image、dtb 和 rootfs 写入 SD 并成功启动。但我想将它们写入 emmc。我该怎么办?在规范中,我只找到如何将 fip 或整个 yocto 图像写入 emmc,而不是单独写入。谢谢。 回复:将fip、kernal、rootfs写入S32G的emmc 谢谢你的提问 有关 BSP UM 的可用信息,请参阅第 4.1.3 节介绍了将fip和整个二进制文件写入mmc的方法。 对于单独的kenel,dts和rootfs,UM中没有正式的描述,在我看来,您可以按照以下方式尝试。 首先按照 UM 中介绍的方式将整个预先构建的图像刷入 MMC。 通过 QSPI 闪存将开发板启动到 Linux,然后将 mmc 挂载到 rootfs,应该存在两个分区,将您自己的内核/dts 复制到分区 1。 清理分区2的内容,复制您的特定fsl-image-auto-s32xxxx.tar.gz(可以您将需要将 Ubuntu 16.04 中的 rootfs 复制到分区 2,然后在那里解压,最后您将获得部署自己的 rootfs。 最后,通过 MMC 启动开发板。 希望有帮助。 顺祝商祺! 陈银
記事全体を表示
LPC55S28の55ピンにはPWM機能がありますか? 現在、RGB LEDを制御するために3つのPWM信号が必要です。LPC55S28の53、55、58ピンはPWM出力信号ピンとして選択されています。この方法は実現可能ですか? Re:LPC55S28の55ピンにはPWM機能がありますか? こんにちは、ジュンさん。 今、私はPWM信号としてピン60(CTIMER0_MATCH0)でオンにし、次にピン55でGPIO出力と同期して、3つのPWMチャネルを同時に使用できるようにしようとしています。他の 2 つの 53 ピン (CTIMER0_MATCH1) と 58 ピン (CTIMER0_MATCH2) は、55 ピンの GPIO 出力に影響しますか?これが私のコードです ボイドctimer0_init(ボイド) { ctimer_config_t設定。 uint32_t srcClock_Hz; CLOCK_AttachClk(kFRO_HF_to_CTIMER0); srcClock_Hz = CTIMER0_CLK_FREQ; CTIMER_GetDefaultConfig(&config); timerClock = srcClock_Hz / (config.prescale + 1); CTIMER_Init(CTIMER0, &config); CTIMER_RegisterCallBack(CTIMER0, &ctimer_callback[0], kCTIMER_SingleCallback);kCTIMER_MultipleCallback kCTIMER_SingleCallback /* 2Khz PWM信号のPWM周期一致値とパルス幅一致値を取得 */ CTIMER_GetPwmPeriodValue(PWM_FRQ、デューティサイクル、タイマークロック); CTIMER_SetupPwmPeriod(CTIMER0、CTIMER0_MAT0_PWM_PERIOD_CHANNEL、CTIMER0_MAT0_OUT、g_pwmPeriod、g_pulsePeriod、真); CTIMER_SetupPwmPeriod(CTIMER0, CTIMER0_MAT0_PWM_PERIOD_CHANNEL, CTIMER0_MAT1_OUT, g_pwmPeriod, g_pulsePeriod, 真); CTIMER_SetupPwmPeriod(CTIMER0, CTIMER0_MAT0_PWM_PERIOD_CHANNEL, CTIMER0_MAT2_OUT, g_pwmPeriod, g_pulsePeriod, true); pwm_set_duty(global_bright_rgb); CTIMER_StartTimer(CTIMER0); } if (CTIMER_GetOutputMatchStatus(CTIMER0, CTIMER0_MAT0_OUT)) { bsp_led_off(LED_B); } 然も無くば { bsp_led_on(LED_B); } ボイドpwm_match_callback(uint32_tフラグ) { (void)フラグ; もし (times_ms >0) { times_ms--; } } 感謝! Re:LPC55S28の55ピンにはPWM機能がありますか? こんにちは、ジュン これでPCBAが完成しました。53PIN(ctimer0_match1)を使用して55PINを制御し、GPIO出力を通じて出力PWM波形をシミュレートできますか?ハードウェアを変更せずにPWM制御を行う他の方法はありますか? 感謝! Re:LPC55S28の55ピンにはPWM機能がありますか? こんにちは、ジュンさん。 LPC55S28JBD64のマイコンパッケージを使用しています。 感謝!
記事全体を表示
EQOS を使用した IMX8MP シングルイーサネット eqos ethernetは、単一のイーサネットではご利用いただけません。 私たちのボードは、imx8mp-evkをベースにしたカスタムボードです。 eqos シングルイーサネット上の imx8mp-evk とは異なるカスタムボード。 私の理解では、fecを使用する必要がない場合は、status = "disabled"を設定するだけです。imx8mp-evk.dts で。 問題は、fecを無効にしてeqosポートのみを使用したときに、「EQOS_DMA_MODE_SWR stuckFAILED:-110」というエラーが表示された場合です。 しかし、fec status = "okay";私たちのボードにFEC PHYチップがなくても、ケースは問題ありませんでした。 その理由を教えてください。 私は何かが間違っていますか? &fec { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_fec>; phy-mode = "rgmii-id"; phy-handle = <&ethphy1>; fsl,magic-packet; // status = "okay"; status = "disabled"; //Not use mdio { #address-cells = <1>; #size-cells = <0>; ethphy1: ethernet-phy@1 { compatible = "ethernet-phy-ieee802.3-c22"; reg = <1>; eee-broken-1000t; }; }; }; uboot ログ Uブート 2022.04-dirty(2024年7月26日 - 10:20:19 +0900) CPU: i.MX8MP[6] rev1.1 1800 MHz (1200 MHzで動作) CPU:商用温度グレード(0C〜95C)、45°C リセット原因: POR モデル:NXP i.MX 8M Plusベースのカスタムボード DRAM: 4 GiB コア:81デバイス、24uclass、デバイスツリー:セパレート MMC:FSL_SDHC:0 どこからともなく環境を読み込んでいます...わかりました [*]-Video Link 0が出力デバイスが見つかりません プローブ ビデオ デバイスが失敗しました、RET -19 [0] 液晶controller@32e80000、ビデオ 出力デバイスが見つからない プローブ ビデオ デバイスが失敗しました、RET -19 で:シリアル アウト:シリアル エラー:シリアル SEC0: RNG がインスタンス化されました ビルド情報: - ATF 8dbe286 (英語版) MMC デバイス 1 が見つかりません スロット 1 に MMC デバイスがない USBブートを検出します。fastbootモードに入ります! 網: 警告:ランダムなMACアドレスを使用するethernet@30bf0000(eth1)-0a:ad:b2:b1:75:bd eth1: ethernet@30bf0000 [プライム] ファストブーツ:ノーマル mfgtoolsのUSBからの起動 警告 - mfgtools のデフォルト環境を使用してください 、デフォルト環境を使用 Run bootcmd_mfg: run mfgtool_args;iminfo ${initrd_addr}の場合;次に、テスト ${tee} = はいの場合。それからbootm ${tee_addr} ${initrd_addr} ${fdt_addr};そうでなければ、ブーティ ${loadaddr} ${initrd_addr} ${fdt_addr};fi;else echo "fastboot を実行してください...";ファストブート 0;fi; 自動起動を停止するには、任意のキーを押します:0 ## 43800000 で画像を確認しています ... 画像形式不明! fastboot を実行し... u-boot = >環境変数セットipaddr 192.168.xx.xx u-boot = > env set netmask 255.255.0.0 u-boot = > ping 192.168.xx.xx スタックEQOS_DMA_MODE_SWR失敗: -110 Re: eqos を使用した imx8mp シングルイーサネット はい、dts の処理は変更されています。lf_では、NXP ubootを使用しているようです。私はメインラインにいます。とにかく、私の構成にはCONFIG_FEC_MXC = yが設定されておらず、dtsで有効になっていません。しかし、まあ、あなたは解決策を見つけます、それは大丈夫です!よろしくお願いします、そしてさらに頑張ってください。 Re: eqos を使用した imx8mp シングルイーサネット lf_v2024.04 U-Boot の場合、FEC ステータス設定については lf_v2022.04 の結果とそれほど変わりません。 まだ set fes status="okay" が必要です。 ご助言ありがとうございます。 Re: eqos を使用した imx8mp シングルイーサネット 私はu-bootブランチlf_v2022.04(デフォルト)を使用しました。 lf_v2024.04を使ってみます。 lf_v2024.04 DTSファイルはlf_v2022.04 DTSファイルと大きく異なります。 後でfec "status = disabled"を設定しようとすると、後で報告します。 Re: eqos を使用した imx8mp シングルイーサネット そのFECインターフェースを有効にする必要がないことは確かです。しかし、そのためには、少なくともこの古い2204バージョンでは、ボードファイルを変更する必要があります。これのinitは、実際の理由もなくそこに結合されていることを読むことができます。どのubootバージョン(メインライン、nxp、バージョン)を使用していますか?新しいものを選ぶ方が良いです、qosドライバーには多くの変更があります...しかし、このトリックがあなたの問題を解決するなら、それも大丈夫です。 Re: eqos を使用した imx8mp シングルイーサネット s_arendtさん、 ユースケースがない場合から理由を教えてください。 私は、そのエラーもfecが無効にされていることから来ていると思います。 したがって、fec set status = "okay"が必要です。FECを使用しなくても。 しかし、私たちのカスタムボードであるこれらのFECポートは接続されていないため、pinctrlの世話をする必要があります。 これらのポートがfecポートに対してアクティブになると、入力端子によるトラブルが発生する場合があります。 そこで、pinctrl-0を使用せずに以下の簡単な設定を行うことにしました。   // Dummy settings for activate eqos &fec { pinctrl-names = "default"; phy-mode = "rgmii-id"; status = "okay"; }; この場合、U-Boot Pingは次のように言いました。(FEC1のPHYを取得できませんでした:addr 1) u-boot = > ping 192.168.xx.xx FEC1 の PHY を取得できませんでした: addr 1 ethernet@30bf0000 PHY 自動ネゴシエーションが完了するのを待っています.......完成です ethernet@30bf0000デバイスの使用 ホスト 192.168.xx.xx は動作しています Re: eqos を使用した imx8mp シングルイーサネット 古いバージョンのUbootとEQOSにはいくつかの問題があります。開発者がそれを単一のイーサネットとして機能させるのは、単にユースケースがなかったのだと思います。新しいUbootバージョンをチェックアウトするのが最善です。そこでは物事が良くなります。また、ubootメーリングリストにアドレスを設定することもできます。
記事全体を表示
imx8mp single ethernet using eqos We cannot use eqos ethernet at singe ethernet. Our board is custom board base on imx8mp-evk. Custom board  different from imx8mp-evk on eqos single ethernet. My understanding is if we don't need to use fec, we just set status = "disabled"; in  imx8mp-evk.dts. The problem is if when I set fec disabled only use eqos port, Igot error "EQOS_DMA_MODE_SWR stuckFAILED: -110". But fec status = "okay"; case was fine even if our board don't have fec phy chip. please let me know about that reason. I'm something wrong? &fec { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_fec>; phy-mode = "rgmii-id"; phy-handle = <&ethphy1>; fsl,magic-packet; // status = "okay"; status = "disabled"; //Not use mdio { #address-cells = <1>; #size-cells = <0>; ethphy1: ethernet-phy@1 { compatible = "ethernet-phy-ieee802.3-c22"; reg = <1>; eee-broken-1000t; }; }; }; uboot log U-Boot 2022.04-dirty (Jul 26 2024 - 10:20:19 +0900) CPU: i.MX8MP[6] rev1.1 1800 MHz (running at 1200 MHz) CPU: Commercial temperature grade (0C to 95C) at 45C Reset cause: POR Model: NXP i.MX 8M Plus Based Custom Board DRAM: 4 GiB Core: 81 devices, 24 uclasses, devicetree: separate MMC: FSL_SDHC: 0 Loading Environment from nowhere... OK [*]-Video Link 0fail to find output device probe video device failed, ret -19 [0] lcd-controller@32e80000, video fail to find output device probe video device failed, ret -19 In: serial Out: serial Err: serial SEC0: RNG instantiated BuildInfo: - ATF 8dbe286 MMC Device 1 not found no mmc device at slot 1 Detect USB boot. Will enter fastboot mode! Net: Warning: ethernet@30bf0000 (eth1) using random MAC address - 0a:ad:b2:b1:75:bd eth1: ethernet@30bf0000 [PRIME] Fastboot: Normal Boot from USB for mfgtools *** Warning - Use default environment for mfgtools , using default environment Run bootcmd_mfg: run mfgtool_args;if iminfo ${initrd_addr}; then if test ${tee} = yes; then bootm ${tee_addr} ${initrd_addr} ${fdt_addr}; else booti ${loadaddr} ${initrd_addr} ${fdt_addr}; fi; else echo "Run fastboot ..."; fastboot 0; fi; Hit any key to stop autoboot: 0 ## Checking Image at 43800000 ... Unknown image format! Run fastboot ... u-boot=> env set ipaddr 192.168.xx.xx u-boot=> env set netmask 255.255.0.0 u-boot=> ping 192.168.xx.xx EQOS_DMA_MODE_SWR stuckFAILED: -110 Re: imx8mp single ethernet using eqos Yes, dts handling is changed. With lf_ seems you are using NXP uboot. I am in mainline. Anyway my config doesn't have set CONFIG_FEC_MXC=y and it is not enabled in dts. But well, you find a solution, that's ok! Best regards and good luck further. Re: imx8mp single ethernet using eqos lf_v2024.04 u-boot case, it is not so different from  lf_v2022.04 results about fec status setting. It still need set fes status="okay". Thank you for your advice. Re: imx8mp single ethernet using eqos I used u-boot branch lf_v2022.04(default). I will try to use lf_v2024.04. lf_v2024.04 dts file is so different from lf_v2022.04 dts file. I will report later when I try to set fec "status = disabled" later. Re: imx8mp single ethernet using eqos Pretty sure there is no need to enable that FEC interface. But for that you need to change the board files - at least in this old 2204 version. You can read that init of this is coupled there, for no real reason. Which uboot version (mainline, nxp, version) are you using? Better go for a newer one, there are a lot of changes for the qos driver... But if this trick solves your problem, that is ok too. Re: imx8mp single ethernet using eqos s_arendt-san, Thank you tell me about reason from no uses case. I think, that error also come from fec disabled. So we must need fec set status = "okay"; even if we don't use fec. But I need care of  pinctrl because our custom board these fec port are non connection. If these port active to fec port, it may occur some trouble by input pins. So I decide to set bellow simple settings without pinctrl-0.   // Dummy settings for activate eqos &fec { pinctrl-names = "default"; phy-mode = "rgmii-id"; status = "okay"; };  this case, u-boot ping said that bellow. (Could not get PHY for FEC1: addr 1) u-boot=> ping 192.168.xx.xx Could not get PHY for FEC1: addr 1 ethernet@30bf0000 Waiting for PHY auto negotiation to complete....... done Using ethernet@30bf0000 device host 192.168.xx.xx is alive Re: imx8mp single ethernet using eqos There are several issues with Uboot and EQOS in older versions. I guess it was simply no uses case for devs to make it working as single ethernet. Best is you checkout a newer Uboot version. Things get better there. You can also address uboot mailing list.
記事全体を表示