Multi Source Translation Content

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Multi Source Translation Content

Discussions

Sort by:
如何解决这个非常奇怪和困难的问题...... 大家好。我遇到了一个非常奇怪的问题,希望有人可以给我建议如何解决这个问题,因为我已经研究这个问题好几天了,但我只是不明白出了什么问题。 我正在使用 MCUXpresso 和 MIMXRT1010-EVK。 我有一个 ADC,它为每个样本生成一个中断。并且采样率为288KHz! 我根据全局变量在这个中断中做一些处理。默认情况下,全局标志较低,我几乎不进行处理。 我在中断期间将输出引脚设置为高电平。在示波器上我可以看到中断确实以 288KHz 的速率发生,并且每次中断仅需要几分之一微秒。处理器负载约为 8%。 在主函数中,命令循环正在运行。通过这个我可以改变全局变量并且可以慢慢增加中断负载。我可以在示波器上看到中断负载上升。通常高达 80% 甚至 90% 都没有问题。主命令循环继续运行。 问题: 有时,在重新编译后,应用程序可以正确启动,但是当增加全局变量并因此增加中断负载时,主循环会突然停止。但中断仍在继续工作。它似乎总是发生在大约相同的中断负载(约 40%)下。 下次我编译并运行时(添加一些与中断无关的代码后)完全没有问题。并且主循环继续运行,同时增加中断负载。它是否取决于内存中代码或变量的位置? 知道是什么原因导致的吗?如何解决这个问题?我没有主意了。 在中断程序中我只读取 ADC 值并做一些计算。然后我写一个全局变量。 回复:如何解决这个非常奇怪和困难的问题...... 我想我找到问题了! 我为此创建了一个新线程,因为我认为它对于处理高频率中断的开发人员来说是非常有价值的信息。 请参阅此主题。 问题似乎是,为了执行主循环,需要读取外部代码,而这些代码却被某些中断一次又一次地中止。 回复:如何解决这个非常奇怪和困难的问题...... 我觉得你没有理解我的意思。 发生了一些无法解释的奇怪事情。当代码改变时,问题可能会消失,即使这种改变与问题无关。因此,改变某些东西并在其工作时说它已经修复,这是没有意义的。这是一颗定时炸弹。 解决这个问题的唯一方法是重现问题,然后找出发生了什么。将其视为发现 SDK(或芯片)中严重错误的机会。 说我应该改变我的架构也不是解决这个问题的方法。如果我想以这种方式使用中断,那么我应该能够做到这一点。但这并不是重点。重点是SDK(或芯片)可能存在严重问题,我做了一个演示来展示这个问题。也许我做错了什么。但你提到的改变并不是我犯下的根本性错误。 并且清除 ADC 中断内的 ADC_ENV 中断对我来说毫无意义。而且无论如何,它大多数时候都是有效的。因此,如果忘记清除中断,它就根本无法正常工作。无论如何,我尝试了您的更改,但问题仍然存在。 我正在评估 NXP MCU 是否适合新的产品线。如果不解决这个问题那么我们将无法选择这个MCU。我真的很想使用这个 MCU,所以请尝试按照我的方式看待它。 如果您不想这样做,请将其他有兴趣查找 SDK(或芯片)中可能存在的问题的人添加到此线程中。 回复:如何解决这个非常奇怪和困难的问题...... 感谢@mayliu1的回答。 一个非常重要的问题是:您是否可以重现该问题? 回复:如何解决这个非常奇怪和困难的问题...... 你好@mayliu1 ,我添加了你的更改,但没有帮助。 您是否成功重现了该问题?我认为这是非常重要的第一步。正如我所说,这是一个非常奇怪的问题,我已经尝试了各种各样的方法。 您将 PIT 初始化移至所有初始化结束时的主循环。为什么? 为什么要消除延迟? 这些只是猜测还是有目的?我想了解如何自己解决此类问题。 正如我之前提到的:以任何方式更改代码都可能导致问题不显现。这并不意味着不再存在问题。这是一颗定时炸弹。下一次代码更改后,该错误就会显现出来。 您要求插入ADC_ETC_ClearInterruptStatusFlags 。 我想这就是你想让我做的: uint32_t标志 = ADC_ETC_GetInterruptStatusFlags(ADC_ETC_PERIPHERAL, kADC_ETC_Trg0TriggerSource ); ADC_ETC_ClearInterruptStatusFlags (ADC_ETC_PERIPHERAL, kADC_ETC_Trg0TriggerSource ,标志); 如果确实需要手动清除,我认为代码将永远无法正常工作。但它有时确实运行完美。 请运行演示,输入一个低位数字并观察 LED 闪烁。也尝试一些其他数字。 然后重新启动并输入“9”(最大的中断负载)。失败了吗? 回复:如何解决这个非常奇怪和困难的问题...... 并且请注意,启动后第一次输入一些低数字(低中断负载)时似乎不会出错。然后由于某种原因,高负载确实可以正常工作。 但当重启后按下的第一个数字是 8 或 9 时,它会失败。 回复:如何解决这个非常奇怪和困难的问题...... @mayliu1 ,当您启动演示时,它应该在终端上显示“按下键输入命令...”。然后您可以输入 1 到 9 之间的数字来定义中断负载。然后它使 LED 闪烁 20 次并将负载设置回 20,您可以输入其他数字。 按下数字后,您应该会看到 LED 闪烁,并且闪烁频率也取决于负载(选定的数字)。如果不是这种情况,演示将不起作用。 请注意,仅设置 g_delay 不起作用,因为还需要设置 g_mode。这也是由主循环完成的。 请再试一次,因为我认为确实出了问题。 我尝试增加堆栈大小,但没有帮助。 是的,我知道,不应该在中断程序中进行太多计算。但这正是该应用程序的目的所在。无法改变这一点。 无论如何,我使用人工中断负载来使问题更容易被发现。 回复:如何解决这个非常奇怪和困难的问题...... 你好@mayliu1 ,你有机会测试它吗?我真的不知道为什么会发生这种情况,而且我目前没有任何主意。 回复:如何解决这个非常奇怪和困难的问题...... 我能够将其缩小为一个非常简单的程序。 它有一个以 288KHz 调用的 ADC 中断程序。该例程根据全局变量执行一些虚拟操作。因此负载可以改变。请注意,也可以在 J56 的引脚 16 处监控负载。 主循环只是等待一个键(1-9),然后相应地设置中断例程加载的全局变量。然后,它使用软件循环延迟使 LED 闪烁几次。因此当中断负载较高时,LED 将以较低的频率闪烁。 当我启动该程序并点击“6”(中断例程的负载约为 50%)时,主循环就会冻结。LED 不再闪烁。但中断程序继续(引脚 16 J56 仍在切换)。 当使用调试器暂停并恢复时(几次),主循环再次启动!从那时起,对于我输入的任何数字,主循环都不会冻结。即使对于中断程序的最高负载也是如此。 请注意,这一切并不总是发生,所以也许你需要做几次。 还要注意,当您第一次击中像“3”这样的较小数字时。主循环不会冻结。即使此后选择一个较高的数字。问题没有出现!那么这可能与缓存有关吗? 还要注意,程序中仍然有一些代码没有执行或者做了无用的事情。但当我改变某些东西并重新编译时,问题就会消失。这是我能制作的最小版本,它显示了问题。至少在我的 MIMXRT1010-EVK 板上(我有两个 EVK 板并且都出现同样的问题)。 我使用了最新版本的 SDK,版本号为 2.16.000(847 2024-07-12),清单版本号为 3.14.0 我使用了最近安装的 MCUXpress IDE:v24.9 [Build 25][2024-09-26] 回复:如何解决这个非常奇怪和困难的问题...... 你好 Mayliu1, 谢谢您的回复。 奇怪的是,当问题发生并且我暂停 MCU 时,我没有看到任何异常。当再次恢复 MCU 时,它又可以工作了!! 请注意,即使没有调试器也会出现该问题。所以这不是调试器的问题。 关于您对中断中的计算的评论。我需要在中断中做一些计算,这正是我所需要的。 目前我的中断程序只是做了一些虚拟的事情来创建一些负载来显示问题。 您有 MIMXRT1010-EVK 板吗?我可以发送这个项目,以便您亲眼看到这种奇怪的行为。
View full article
QN9080cdk Bluetooth example pin setting Hello, I try to do data transmission through QN9080cdk using SDK example: "qn908xcdk_wireless_examples_bluetooth_private_profile_server_bm". I works fine, and USB dongle get data well. Now I want to do this work in my own PCB board which MCU(QN9080) is mounted. To do it, I refer the pin setting of "qn908xcdk_wireless_examples_bluetooth_private_profile_server_bm", but I found that the RF pin is not used. How QN908xcdk board can send the data wirelessly to USB dongle without using RF pin which is connected to antenna? Which pin is a {{really}} needed one to send data wirelessly? Below is a default pin setting of above SDK example. Thanks, Product: QN9080|SIP Re: QN9080cdk Bluetooth example pin setting Oh, When I change the BOARD_XTAL0_CLK_HZ from 32M to 16M and change k32M_to_XTAL_CLK to k16M_to_XTAL_CLK, usb dongle find my PCB board BLE address! Of course, there are still other problems to be solved in my job (I will upload them to a new question subject), but I am deeply grateful to you for solving this problem. Thank you, Re: QN9080cdk Bluetooth example pin setting Hi, By default, the SDK examples are configured to work with 32MHz, as our board has a 32MHz XTAL. You should change this on code: BOARD_XTAL0_CLK_HZ Regards, Ricardo Re: QN9080cdk Bluetooth example pin setting Of course before I made my PCB board, I check the file you tell me and consider as much as possible. I checked the XTAL clks(16MHz, and 32.768kHz) and powers(VCC, VSS, etc) on my PCB through oscilloscope and those are fine (maybe this is not a reason of problem, because other SDKs such as I2C communication, ctimer works well in my PCB board). My PCB schematic and layout is as attatched on file (only parts). When I design antenna part, I refer to "BLE_Antenna_Design_AN11994.pdf" which I upload. I use "2450AT18A100". Did I miss something? Is there any possible mistakes I have made? Thanks,   Re: QN9080cdk Bluetooth example pin setting Hi, Something important to remark, is that our SDK examples ready to work on our board without modifications. If you are using an example for another board, you would need to double check that you have the needed HW, or modify the SW for your HW. Please check the clocks, GPIO's. Also, you would need to check the antenna design. Maybe this Application Note can help you with other considerations: QN908x Hardware Design Consideration. I strongly recommend comparing your design with the design files from our QN9080DK. Regards, Ricardo Re: QN9080cdk Bluetooth example pin setting Thank you your reply. The gray pins are the default, not disable.  Then here is another question. When I debug SDK "qn908xcdk_wireless_examples_bluetooth_private_profile_server_bm" in my own PCB board, loT toolbox or connectivity QTool cannot find my MCU BLE device (it works fine when I tested it using Design Kit). I didn't touch any code in SDK, except I add BleAPP_Start() function on main_task() to start task directly after debugging start without pressing a Button1 (because there is no Button1 in my own PCB board). In my PCB board, I connect RF pin to inductor and antenna as manual said. The below is a schematic.  What I have to do more to wirelessly connect my own QN9080 in my PCB to phone or PC? Do I have to connect RF pin to any other pins? or which position I have to modify in the code?   Thanks,    Re: QN9080cdk Bluetooth example pin setting Hello, Hope you are doing well. As seen on the image, some pins are "enabled" by default, like RF, RSTN, XTAL. Hope this helps! Regards, Ricardo
View full article
RW612 - PM4 deep sleep intermittently draws high current We are encountering an issue where one of our products, based on an RW612 in a u-blox IRIS-W10 module, is ostensibly entering deep sleep but in reality is drawing ~60 mA and rapidly draining the battery. Here is our function that is entering deep sleep: void PowerManager::EnterPowerDown(uint32_t duration_secs) { auto &board = Board::GetInstance(); debug_.Info(kTopicGeneral, "sleeping for %lu secs (max)", duration_secs); os_self_sleep_ms(500u); auto sleep_ticks = SecsToRtcTicks(duration_secs); PM_SetConstraints(kLowPowerMode, APP_PM_CONSTRAINTS); auto base_priority = os_enter_critical_from_isr(); board.InitPins(); PM_EnablePowerManager(true); PM_EnterLowPower(sleep_ticks); /* Should never get here, PM4 Deep Sleep requires a cold boot. */ PM_EnablePowerManager(false); os_exit_critical_from_isr(base_priority); PM_ReleaseConstraints(kLowPowerMode, APP_PM_CONSTRAINTS); } kLowPowerMode is defined as PM_LP_STATE_PM4, and APP_PM_CONSTRAINTS is 0.  We select our power mode and constraints, enter a critical section, put our GPIO into a known state, enable the Power Management driver, and invoke low power mode.  Our board does wake up when a wake signal occurs on GPIO[24], or when one hour has elapsed, and it does immediately restart, as one would expect after entering PM4 Deep Sleep. Most of the time the system draws <1 mA in this state.  But intermittently, it enters this state and draws ~60 mA for the duration of the sleep cycle, which is a maximum of one hour in our application.  Needless to say, this destroys our battery life between charges.  (The power should be going to <10 uA per the datasheet, but that's a topic for another day.) To avoid complications with starting and stopping the Wi-Fi driver, I've engineered the system such that when we want to go to sleep, I set a flag in NVRAM, reboot the system by calling __NVIC_SystemReset(), and then enter low-power mode, while leaving the Wi-Fi subsystem untouched.  When we wake from sleep, we reboot (because we're coming out of PM4), start Wi-Fi, and upload telemetry to the cloud. Your "power_manager_test" SDK example was written for baremetal; are there additional precautions that one must take when running FreeRTOS to ensure that entering PM4 will genuinely yield a low-power state?  What other conditions could cause a false PM4 state? Dana M. Re: RW612 - PM4 deep sleep intermittently draws high current I believe I’ve found the issue.  Our system performs a reboot immediately prior to engaging low-power mode.  This removes the requirement to implement a graceful shutdown of the Wi-Fi + TCP/IP stack prior to power-down.  (My initial attempts at shutting down the Wi-Fi stack through the Wi-Fi API were unreliable, so I switched to the reboot approach.)  We use a flag in NVRAM to signal the system not to bring up Wi-Fi but instead immediately configure the wakeup pin for the correct polarity and go into power-down.  Our board pulls ~1 mA in deep sleep. I believe the cause of our excessive current draw is that sometimes when we would reset the main CPU (Cortex-M33), the Wi-Fi CPU/radio would be left in an active state, pulling ~56 mA.  Since our sleep/check-in interval is 1 hour, that’s 56 mAh of draw from the battery.  I asked NXP specifically about how the CPUs and radios are reset, and that seemed to confirm that __NVIC_SystemReset() only resets the Cortex-M33, leaving the other processors alone.  This morning, I put two lines of code into our board startup function: /* Ensure that the radios are powered off at startup. Thus, if we go * directly into power-down, this should eliminate the possibility that * the radios are still powered and thus pulling current. */ POWER_PowerOffWlan(); POWER_PowerOffBle(); I rebuilt the application and then ran it for ~40 minutes, using an LED flashlight to wake up the board every time it went to sleep.  I woke the unit up likely about 50 times during the test, and 50/50 it went into low power, i.e. it did not draw excessive current.  Previously, it would take me only a few attempts to get the system into a high-current sleep state.  At this point, I consider the issue solved. In summary… if the Wi-Fi and/or BLE stacks are initialized and running, and the system is reset or watchdogged, it is necessary to call POWER_PowerOffWlan() and/or POWER_PowerOffBle() at startup to ensure that the Wi-Fi and BLE CPUs/radios are powered off.  When starting Wi-Fi using the NXP stack, one of the first steps is powering down and then powering up the Wi-Fi processor, so explicitly powering down the radio at startup does not interfere with a later initialization of the Wi-Fi stack. Dana M. Re: RW612 - PM4 deep sleep intermittently draws high current What SDK version are you using? I generated our project using SDK v2.16.1.  I have SDK 24.12 (2025-01-15) pulled down but I have not yet attempted to apply it to this project, given how MCUXpresso likes to render projects unusable when adding or upgrading components. Are you seen this behavior with the SDK example without modifications? In the very limited testing we did with the SDK example, no, it did not occur. Can we reproduce this behavior with the SDK example? Likely not. What changes need to be done? Add FreeRTOS, Wi-Fi driver, lwIP networking, and an AWS client stack to the example. Are you able to see this behavior in our FRDM? It would take considerable effort to rig up a FRDM board to work the same as our custom board, but it could be done. Dana M. Re: RW612 - PM4 deep sleep intermittently draws high current Hello, Hope you are doing well. What SDK version are you using? Are you seen this behavior with the SDK example without modifications? Can we reproduce this behavior with the SDK example? What changes need to be done? Are you able to see this behavior in our FRDM? Best Regards, Ricardo
View full article
リンカが noneexistend crt0 オブジェクトを含めようとするのはなぜですか。 ここでは、リンカが存在しない crt0.o の暗号化を試みていることを示すログ ファイルの一部を示します。オブジェクト: 建物対象:DiagnosticsTest_CM7.elf 起動時:標準S32DS Cリンカ arm-none-eabi-gcc -o "DiagnosticsTest_CM7.elf" "@DiagnosticsTest_CM7.args" c:/nxp/s32ds.3.5/s32ds/build_tools/gcc_v9.2/gcc-9.2-arm32-eabi/bin/../lib/gcc/arm-none-eabi/9.2.0/../../../../arm-none-eabi/bin/real-ld.exeに追加します。crt0.o が見つかりません:該当するファイルやディレクトリはありません c:/nxp/s32ds.3.5/s32ds/build_tools/gcc_v9.2/gcc-9.2-arm32-eabi/bin/../lib/gcc/arm-none-eabi/9.2.0/../../../../arm-none-eabi/bin/real-ld.exeに追加します。-LC が見つかりません collect2.exe:エラー: ld が 1 つの終了ステータスを返しました make: *** [makefile:76: DiagnosticsTest_CM7.elf] エラー 1 "make -j12 TOOLCHAIN=linaro" が終了コード 2 で終了しました。ビルドが不完全である可能性があります。 明らかに調整が必要なS32DSツールオプションに案内してください。 ところで、私はまた、オプションの-lcがツールで設定される場所を見ていません Re: なぜリンカは noneexistend crt0 オブジェクトを含めようとするのですか? ところで、2023年11月頃、私はNXP SWチームのメンバーと、この診断コードの将来について話し合いました。その時点では、すでにコンパイルされていませんでした。そして、NXPチームは知っていました。では、どうやってコンパイルしたのでしょう。とにかく。。。問題は、S32DSで適切なコンパイラを選択して再度コンパイルするにはどうすればよいかだと思います。
View full article
FP92 p119.2 FW crash of 88W8997, 88W8987 when bring up WiFi if txpower.bin file included. HW: i.mx8mm or i.mx8mp, + AW-CM358 (88w8987) or Murata 1YM (88W8997) SW: SDK 6.6.3 WiFi: Tried NXP EVK board i.mx8mm PCIE8997--16.92.21.p119.2-MM6X16437.p3-GPL-(FP92) SD8987----16.92.21.p119.2-MM6X16437.p3-GPL-(FP92) Customer side: i.mx8mp kernel: 5.x SD8997 ---- 16.92.21.p119.2-16.92.21.p119.2-MM6X16437.P3-GPL Ref version: Tried  i.mx8mm 6.1.22 SD8987----16.92.21.p76.5-MM5X16391.p3-GPL-(FP92) PCIE8997--16.92.21.p84.4-MM5X16391.p3-GPL-(FP92) No issue on this version. Steps: 1. Convert conf to txpower bin by (refer to UM11490) ./mlanutl mlan0 hostcmd txpwrlimit_cfg_8987.conf generate_raw txpower.bin or ./mlanutl mlan0 hostcmd txpwrlimit_cfg_8997.conf generate_raw txpower.bin OK:  without this line: txpwrlimit_cfg=nxp/txpower.bin NOK(FW crash just after load txpower.bin): add this line txpwrlimit_cfg=nxp/txpower.bin in /lib/firmware/nxp/wifi_mod_para.conf and then bring up by modprobe moal mod_para=nxp/wifi_mod_para.conf FW crash after dmesg txpwrlimit_cfg=nxp/txpower.bin Logs share: NOK logs: 663_p1192_8987_fail.txt 663_p1192_8997_fail.txt OK logs: 663_p1192_8987_ok_noPwr.txt 663_p1192_8997_ok_noPwr.txt 6122_i.mx8mm_8987.txt 6122_p844_i.mx8mm_8997_noPwr_ok.txt 6122_p844_i.mx8mm_8997_withPwr_ok.txt Customer can share their logs if needed. Please help check if the procedure need to be changed after p119.2  Thanks. Re: FP92 p119.2 FW crash of 88W8997, 88W8987 when bring up WiFi if txpower.bin file included. Hi, @NancyHuang  We have standalone release completed and available on the nxp.com with secure sign in. Can you please check if this link can be accessible to you for the Q2 release? Below link is for 88W8987: https://www.nxp.com/webapp/sps/download/license.jsp?colCode=SD.GEN.16.92.21.p119.3-MM6X16437.P21-GPL&appType=file1&DOWNLOAD_ID=null Below link is for 88W8997: Generic_SD-WLAN-UART-BT-8997-LNX_6_6_23-IMX8-16.92.21.p119.3-16.92.21.p119.3-MM6X16437.P21-GPL Generic_PCIE-WLAN-UART-BT-8997-LNX_6_6_23-IMX8-16.92.21.p119.3-16.92.21.p119.3-MM6X16437.P21-GPL  If this is not accessible, then you may need to use Q2 (end of June) release available via i.MX BSP or Github release.   Thanks, Christine. Re: FP92 p119.2 FW crash of 88W8997, 88W8987 when bring up WiFi if txpower.bin file included. Hi @Christine_Li  Thanks for your reply. Could you tell us when the new firmware will be available? 6/28? Nancy Re: FP92 p119.2 FW crash of 88W8997, 88W8987 when bring up WiFi if txpower.bin file included. Hi, @yao_feng  I received our internal team feedback as below: The reported issue is a regression issue and it is fixed already. We have verified the changes on our local setup and it is working fine. The release with the fixes will be available in Q2 (end of June).  Please help to update this info to our end customer and request them to verify on the Q2 release. Thanks. Best regards, Christine. Re: FP92 p119.2 FW crash of 88W8997, 88W8987 when bring up WiFi if txpower.bin file included. Hi, @yao_feng  We are able to observe FW crash/Kernel panic as below on our local setup:   Message from syslogd@imx8mpevk at Wed Sep 20 11:32:59 2023 ... kernel: Internal error: Oops: 0000000096000007 [#1] PREEMPT SMP Message from syslogd@imx8mpevk at Wed Sep 20 11:32:59 2023 ... kernel: Code: 91000f9c 1100077b 6b1b029f 54001a0b (38401743) [ 244.448042] Timeout cmd id (244.444015) ??? [0xecf], act = 0x0   We are checking internally for further debugging the issue. We will update you soon. Best regards, Christine. Re: FP92 p119.2 FW crash of 88W8997, 88W8987 when bring up WiFi if txpower.bin file included. Hi, @yao_feng  Thanks for creating case to us. Yes, I can also reproduced locally, and I am checking internally. Once have any updates, I will let you know. Best regards, Christine. Re: FP92 p119.2 FW crash of 88W8997, 88W8987 when bring up WiFi if txpower.bin file included. Add logs. Customer board: i.mx8mp platform SW: BSP 5.15.129 WiFi version SD8997 ---- 16.92.21.p119.2-16.92.21.p119.2-MM6X16437.P3-GPL-(FP92) Module: Murata 1YM Attached logs. Logs.zip Re: FP92 p119.2 FW crash of 88W8997, 88W8987 when bring up WiFi if txpower.bin file included. Add more info. if set ps_mode=2 auto_ds=2 Got same result. Re: FP92 p119.2 FW crash of 88W8997, 88W8987 when bring up WiFi if txpower.bin file included. cont.
View full article
S32K344从待机唤醒后程序从哪里开始运行? S32K344从待机唤醒后程序从哪里开始运行? 回复:S32K344从待机状态唤醒后程序从哪里开始运行? 谢谢 回复:S32K344从待机状态唤醒后程序从哪里开始运行? 是的。将 GPIO 设置为高电平,然后将 1 写入 DCMRWF1[STANDBY_IO_CONFIG]: 建议使用示波器确认引脚状态。 回复:S32K344从待机状态唤醒后程序从哪里开始运行? 那么当我的 MCU 从待机模式唤醒到运行模式时,我可以一直保持 GPIO 输出高吗? 回复:S32K344从待机状态唤醒后程序从哪里开始运行? 是的。 看一下 图8。S32K3xx 低功耗管理 的 PAD保持流程.pdf。待机期间,所有引脚均保持其在运行模式下的最后状态。 无论进入待机模式前是否启用了焊盘保持功能,GPIO 都会始终保持进入待机模式前设置的状态。焊盘保持功能的主要作用是在 MCU 复位到焊盘保持禁用(写入 DCM_GPR->DCMRWF1[STANDBY_IO_CONFIG] = 1)期间保持 GPIO 模式。 Re: Where does the program start running after S32K344 wakes up from standby? TPS62135、TPS54J061RPGR and BQ25171Q1。Can I maintain the high output level of S32K344 gpio pin during the system reset period when S32K344 wakes up? 回复:S32K344从待机状态唤醒后程序从哪里开始运行? 请告诉我电源管理芯片的零件编号。如果只需要维持S32K3引脚电压,请阅读7. S32K3xx低功耗管理 待机模式下的Pad保持.pdf。 回复:S32K344从待机状态唤醒后程序从哪里开始运行? 我们的S32K344管理着给其他模块供电的电源管理芯片,需要S32K344来启用这些电源管理芯片。如果我从待机模式唤醒 S32K344,它将从重置处理程序执行系统重置以运行程序,并且我们主板上的其他模块将断电。我该如何解决这个问题?
View full article
无法构建 imx-image-full,出现 git-native 编译错误 我正在尝试在 Ubuntu 24.04 LTS 服务器上构建 imx-image-full。 我正在使用所有软件包和 imx8 的最新版本 命令行: 回购初始化 -u https://github.com/nxp-imx/imx-manifest-b imx-linux-scarthgap -m imx-6.6.52-2.2.0.xml 发行版=fsl-imx-xwayland 机器=imx8mp-lpddr4-evk 源 imx-setup release.sh -b 构建 bitbake imx-图像-full 错误: 警告:主机发行版“ubuntu-24.04”尚未通过此版本的构建系统进行验证;您可能会遇到意外的失败。建议您使用经过测试的发行版。 加载缓存:100% |################################################################################################################################################### ##| Time: 0:00:05 Loaded 5730 entries from dependency cache. Parsing recipes: 100% |## #############################################################################################################################################################| 时间:0:00:01 3654 .bb 的解析文件已完成(3653 个已缓存,1 个已解析)。5731 个目标,跳过 377 个,屏蔽 3 个,错误 0 个。 注意:解决任何缺失的任务队列依赖关系 构建配置: BB_VERSION = "2.8.0" BUILD_SYS =“x86_64-linux” NATIVELSBSTRING =“通用” TARGET_SYS =“aarch64-poky-linux” 机器=“imx8mp-lpddr4-evk” 发行版 = “fsl-imx-xwayland” DISTRO_VERSION = "6.6-scarthgap" TUNE_FEATURES = “aarch64 armv8a crc 加密” 目标FPU = "" 元 元-poky =“头:200d12b6a58ad961d60a7774ca0f7a9d29498724” 元 元多媒体 meta-python =“HEAD:72018ca1b1a471226917e8246e8bbf9a374ccf97” 元飞思卡尔=“HEAD:0627128b341cfb2bef7a0832ce8cac0ce1127f13” meta-freescale-3rdparty =“HEAD:6c063450d464eb2f380443c7d9af1b94ce9b9d75” meta-freescale-distro =“HEAD:b9d6a5d9931922558046d230c1f5f4ef6ee72345” meta-imx-bsp meta-imx-sdk meta-imx-ml 元-imx-v2x =“头:219f6d04a4c339eb6f2dc626f944bbdf9a716ff5” meta-nxp-demo-experience =“HEAD:e8e646e22b1f926aac83bb7ad522efa9cd8ccc45” 元-nxp-物质-基线 meta-nxp-openthread =“HEAD:f58365ec75a5768ff3e8e8bcd64f237738c93160” 元臂 meta-arm-toolchain =“HEAD:950a4afce46a359def2958bd9ae33fc08ff9bb0d” meta-clang =“HEAD:2b7433611d80f6d0ee1b04156fa91fc73d3c2665” 元侏儒 元网络 元文件系统 = “HEAD:72018ca1b1a471226917e8246e8bbf9a374ccf97” meta-qt6 =“HEAD:586a6cb5aec755803a3be3cec359baafe89d6432” 元秒差距 meta-tpm =“HEAD:459d837338ca230254baa2994f870bf6eb9d0139” 元虚拟化 = “HEAD:6f3c1d8f90947408a6587be222fec575a1ca5195” Sstate 摘要:想要 5228 本地 0 镜像 0 错过 5228 当前 2596(0% 匹配,33% 完成)####################################################### ## | ETA: 0:00:01 Initialising tasks: 100% |## #######################################################################################################################################################| 时间:0:00:15 注意:执行任务 错误:git-native-2.44.1-r0 do_compile:oe_runmake 失败 错误:git-native-2.44.1-r0 do_compile:ExecutionError('/mnt/disks/yocto_disk/imx-yocto-bsp/build/tmp/work/x86_64-linux/git-native/2.44.1/temp/run.do_compile.60384',1,无,无) 错误:故障日志文件存储在:/mnt/disks/yocto_disk/imx-yocto-bsp/build/tmp/work/x86_64-linux/git-native/2.44.1/temp/log.do_compile.60384 日志数据如下: | 调试:执行 python 函数 autotools_aclocals | 调试:SITE 文件 ['endian-little'、'common-linux'、'common-glibc'、'bit-64'、'x86_64-linux'、'common'] | 调试:Python 函数 autotools_aclocals 已完成 | DEBUG:执行 shell 函数 do_compile |注意:make -j 16 NO_PYTHON=1 CFLAGS=-isystem/mnt/disks/yocto_disk/imx-yocto-bsp/build/tmp/work/x86_64-linux/git-native/2.44.1/recipe-sysroot-native/usr/include -O2 -pipe LDFLAGS=-L /mnt/disks/yocto_disk/imx-yocto-bsp/build/tmp/work/x86_64-linux/git-native/2.44.1/recipe-sysroot-native/usr/lib -L /mnt/disks/yocto_disk/imx-yocto-bsp/build/tmp/work/x86_64-linux/git-native/2.44.1/recipe-sysroot-native/lib -Wl,--启用新dtags -Wl,-rpath链接,/mnt/磁盘/yocto_disk/imx-yocto-bsp/build/tmp/work/x86_64-linux/git-native/2.44.1/recipe-sysroot-native/usr/lib -Wl,-rpath链接,/mnt/磁盘/yocto_disk/imx-yocto-bsp/build/tmp/work/x86_64-linux/git-native/2.44.1/recipe-sysroot-native/lib -Wl,-rpath,/mnt/磁盘/yocto_disk/imx-yocto-bsp/build/tmp/work/x86_64-linux/git-native/2.44.1/recipe-sysroot-native/usr/lib -Wl,-rpath,/mnt/磁盘/yocto_disk/imx-yocto-bsp/build/tmp/work/x86_64-linux/git-native/2.44.1/recipe-sysroot-native/lib-Wl,-O1-Wl,--allow-shlib-undefined-Wl,--动态链接器=/mnt/磁盘/yocto_disk/imx-yocto-bsp/build/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2-pthread PERL_PATH=/usr/bin/env perl COMPUTE_HEADER_DEPENDENCIES=no NO_GETTEXT=1 NO_CROSS_DIRECTORY_HARDLINKS=1 | 链接 git | LINK 标量 | /mnt/disks/yocto_disk/imx-yocto-bsp/build/tmp/hosttools/ld: common-main.o: 在函数“main”中: | common-main.c:(.text.startup+0xde):对“cmd_main”未定义引用 | collect2:错误:ld 返回 1 退出状态 | make: *** [Makefile:2833: scalar] 错误 1 | make:*** 等待未完成的工作.... | /mnt/disks/yocto_disk/imx-yocto-bsp/build/tmp/hosttools/ld:git.o:(.data.rel+0x7d0):对“cmd_pack_objects”的未定义引用 | /mnt/disks/yocto_disk/imx-yocto-bsp/build/tmp/hosttools/ld:git.o:(.data.rel+0xb60):对“cmd_submodule__helper”未定义引用 | /mnt/disks/yocto_disk/imx-yocto-bsp/build/tmp/hosttools/ld:git.o:(.data.rel+0xd10):对“cmd_worktree”未定义引用 | collect2:错误:ld 返回 1 退出状态 | make: *** [Makefile:2418: git] 错误 1 | 错误:oe_runmake 失败 | 警告:从 shell 命令退出代码 1。 错误:任务(虚拟:本机:/mnt/disks/yocto_disk/imx-yocto-bsp/sources/poky/meta/recipes-devtools/git/git_2.44.1.bb:do_compile)失败,退出代码为“1” 注意:任务摘要:尝试了 2220 项任务,其中 2216 项无需重新运行,1 项失败。 摘要:1 个任务失败: 虚拟:本机:/mnt/disks/yocto_disk/imx-yocto-bsp/sources/poky/meta/recipes-devtools/git/git_2.44.1.bb:do_compile 摘要:有 1 条警告消息。 摘要:有 2 条错误消息,返回非零退出代码。 回复:无法使用 git-native 编译错误构建 imx-image-full 我想这有帮助,因为之后我设法通过了 git-native 步骤。 回复:无法使用 git-native 编译错误构建 imx-image-full 尽管如此,在 git-native 上重新尝试为 imx8 构建 bitback 仍然失败。 ubuntu@yocto-build-server:/mnt/disks/yocto_disk/imx-yocto-bsp/build$ bitbake imx-image-full WARNING: Host distribution "ubuntu-24.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution. Loading cache: 100% |#######################################################################################################################################| Time: 0:00:02Loaded 5730 entries from dependency cache. Parsing recipes: 100% |#####################################################################################################################################| Time: 0:00:00Parsing of 3654 .bb files complete (3653 cached, 1 parsed). 5731 targets, 377 skipped, 3 masked, 0 errors. NOTE: Resolving any missing task queue dependencies Build Configuration: BB_VERSION = "2.8.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "universal" TARGET_SYS = "aarch64-poky-linux" MACHINE = "imx8mp-lpddr4-evk" DISTRO = "fsl-imx-xwayland" DISTRO_VERSION = "6.6-scarthgap" TUNE_FEATURES = "aarch64 armv8a crc crypto" TARGET_FPU = "" meta meta-poky = "HEAD:200d12b6a58ad961d60a7774ca0f7a9d29498724" meta-oe meta-multimedia meta-python = "HEAD:72018ca1b1a471226917e8246e8bbf9a374ccf97" meta-freescale = "HEAD:0627128b341cfb2bef7a0832ce8cac0ce1127f13" meta-freescale-3rdparty = "HEAD:6c063450d464eb2f380443c7d9af1b94ce9b9d75" meta-freescale-distro = "HEAD:b9d6a5d9931922558046d230c1f5f4ef6ee72345" meta-imx-bsp meta-imx-sdk meta-imx-ml meta-imx-v2x = "HEAD:219f6d04a4c339eb6f2dc626f944bbdf9a716ff5" meta-nxp-demo-experience = "HEAD:e8e646e22b1f926aac83bb7ad522efa9cd8ccc45" meta-nxp-matter-baseline meta-nxp-openthread = "HEAD:f58365ec75a5768ff3e8e8bcd64f237738c93160" meta-arm meta-arm-toolchain = "HEAD:950a4afce46a359def2958bd9ae33fc08ff9bb0d" meta-clang = "HEAD:2b7433611d80f6d0ee1b04156fa91fc73d3c2665" meta-gnome meta-networking meta-filesystems = "HEAD:72018ca1b1a471226917e8246e8bbf9a374ccf97" meta-qt6 = "HEAD:586a6cb5aec755803a3be3cec359baafe89d6432" meta-parsec meta-tpm = "HEAD:459d837338ca230254baa2994f870bf6eb9d0139" meta-virtualization = "HEAD:6f3c1d8f90947408a6587be222fec575a1ca5195" Sstate summary: Wanted 5226 Local 0 Mirrors 0 Missed 5226 Current 2598 (0% match, 33% complete)############################################### | ETA: 0:00:01Initialising tasks: 100% |##################################################################################################################################| Time: 0:00:15NOTE: Executing Tasks ERROR: git-native-2.44.1-r0 do_compile: oe_runmake failed ERROR: git-native-2.44.1-r0 do_compile: ExecutionError('/mnt/disks/yocto_disk/imx-yocto-bsp/build/tmp/work/x86_64-linux/git-native/2.44.1/temp/run.do_compile.12690', 1, None, None) ERROR: Logfile of failure stored in: /mnt/disks/yocto_disk/imx-yocto-bsp/build/tmp/work/x86_64-linux/git-native/2.44.1/temp/log.do_compile.12690 Log data follows: | DEBUG: Executing python function autotools_aclocals | DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common'] | DEBUG: Python function autotools_aclocals finished | DEBUG: Executing shell function do_compile | NOTE: make -j 16 NO_PYTHON=1 CFLAGS=-isystem/mnt/disks/yocto_disk/imx-yocto-bsp/build/tmp/work/x86_64-linux/git-native/2.44.1/recipe-sysroot-native/usr/include -O2 -pipe LDFLAGS=-L/mnt/disks/yocto_disk/imx-yocto-bsp/build/tmp/work/x86_64-linux/git-native/2.44.1/recipe-sysroot-native/usr/lib -L/mnt/disks/yocto_disk/imx-yocto-bsp/build/tmp/work/x86_64-linux/git-native/2.44.1/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,/mnt/disks/yocto_disk/imx-yocto-bsp/build/tmp/work/x86_64-linux/git-native/2.44.1/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/mnt/disks/yocto_disk/imx-yocto-bsp/build/tmp/work/x86_64-linux/git-native/2.44.1/recipe-sysroot-native/lib -Wl,-rpath,/mnt/disks/yocto_disk/imx-yocto-bsp/build/tmp/work/x86_64-linux/git-native/2.44.1/recipe-sysroot-native/usr/lib -Wl,-rpath,/mnt/disks/yocto_disk/imx-yocto-bsp/build/tmp/work/x86_64-linux/git-native/2.44.1/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=/mnt/disks/yocto_disk/imx-yocto-bsp/build/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -pthread PERL_PATH=/usr/bin/env perl COMPUTE_HEADER_DEPENDENCIES=no NO_GETTEXT=1 NO_CROSS_DIRECTORY_HARDLINKS=1 | * new build flags | CC oss-fuzz/dummy-cmd-main.o | /bin/sh: 1: cc: not found | CC oss-fuzz/fuzz-commit-graph.o | /bin/sh: 1: cc: not found | make: *** [Makefile:2735: oss-fuzz/dummy-cmd-main.o] Error 127 | make: *** Waiting for unfinished jobs.... | make: *** [Makefile:2735: oss-fuzz/fuzz-commit-graph.o] Error 127 | ERROR: oe_runmake failed | WARNING: exit code 1 from a shell command. ERROR: Task (virtual:native:/mnt/disks/yocto_disk/imx-yocto-bsp/sources/poky/meta/recipes-devtools/git/git_2.44.1.bb:do_compile) failed with exit code '1' 回复:无法使用 git-native 编译错误构建 imx-image-full 添加这些之后,成功构建它。 如果没有它们,它就会给我带来 curl-config 和 git-gui 问题。 sudo apt install libcurl4-openssl-dev libssl-dev gettext tcl-dev 回复:无法使用 git-native 编译错误构建 imx-image-full 请转到文件夹“imx-yocto-bsp_scarthgap/build/tmp/work/x86_64-linux/git-native/2.44.1/git-2.44.1”并检查是否可以成功运行以下命令。 $ make distclean $ make -j 4 NO_PYTHON=1 CFLAGS='-isystem/mnt/disks/yocto_disk/imx-yocto-bsp/build/tmp/work/x86_64-linux/git-native/2.44.1/recipe-sysroot-native/usr/include -O2 -pipe' LDFLAGS='-L /mnt/disks/yocto_disk/imx-yocto-bsp/build/tmp/work/x86_64-linux/git-native/2.44.1/recipe-sysroot-native/usr/lib -L /mnt/disks/yocto_disk/imx-yocto-bsp/build/tmp/work/x86_64-linux/git-native/2.44.1/recipe-sysroot-native/lib -Wl,--启用新dtags -Wl,-rpath链接,/mnt/磁盘/yocto_disk/imx-yocto-bsp/build/tmp/work/x86_64-linux/git-native/2.44.1/recipe-sysroot-native/usr/lib -Wl,-rpath链接,/mnt/磁盘/yocto_disk/imx-yocto-bsp/build/tmp/work/x86_64-linux/git-native/2.44.1/recipe-sysroot-native/lib -Wl,-rpath,/mnt/磁盘/yocto_disk/imx-yocto-bsp/build/tmp/work/x86_64-linux/git-native/2.44.1/recipe-sysroot-native/usr/lib -Wl,-rpath,/mnt/disks/yocto_disk/imx-yocto-bsp/build/tmp/work/x86_64-linux/git-native/2.44.1/recipe-sysroot-native/lib-Wl,-O1-Wl,--allow-shlib-undefined-Wl,--dynamic-linker=/mnt/disks/yocto_disk/imx-yocto-bsp/build/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2-pthread'PERL_PATH='/usr/bin/env perl'COMPUTE_HEADER_DEPENDENCIES=no NO_GETTEXT=1 NO_CROSS_DIRECTORY_HARDLINKS=1 回复:无法使用 git-native 编译错误构建 imx-image-full 是的,git-native 是sources/poky/meta/conf/bitbake.conf文件的一部分: ASSUME_PROVIDED = "\ bash-native \ bzip2-native \ chrpath-native \ diffstat-native \ file-native \ findutils-native \ gawk-native \ git-native \ grep-native \ hostperl-runtime-native \ hostpython-runtime-native \ libgcc-native \ patch-native \ sed-native \ tar-native \ texinfo-native \ virtual/crypt-native \ virtual/libiconv-native \ virtual/libintl-native \ wget-native \ " 这是 bitback git-native 命令的输出: ubuntu@yocto-build-server:/mnt/disks/yocto_disk/imx-yocto-bsp$ bitbake git-native WARNING: Host distribution "ubuntu-24.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution. Loading cache: 100% |#######################################################################################################################################| Time: 0:00:02Loaded 5730 entries from dependency cache. Parsing recipes: 100% |#####################################################################################################################################| Time: 0:00:00Parsing of 3654 .bb files complete (3653 cached, 1 parsed). 5731 targets, 377 skipped, 3 masked, 0 errors. WARNING: Explicit target "git-native" is in ASSUME_PROVIDED, ignoring NOTE: Resolving any missing task queue dependencies Build Configuration: BB_VERSION = "2.8.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "universal" TARGET_SYS = "aarch64-poky-linux" MACHINE = "imx8mp-lpddr4-evk" DISTRO = "fsl-imx-xwayland" DISTRO_VERSION = "6.6-scarthgap" TUNE_FEATURES = "aarch64 armv8a crc crypto" TARGET_FPU = "" meta meta-poky = "HEAD:200d12b6a58ad961d60a7774ca0f7a9d29498724" meta-oe meta-multimedia meta-python = "HEAD:72018ca1b1a471226917e8246e8bbf9a374ccf97" meta-freescale = "HEAD:0627128b341cfb2bef7a0832ce8cac0ce1127f13" meta-freescale-3rdparty = "HEAD:6c063450d464eb2f380443c7d9af1b94ce9b9d75" meta-freescale-distro = "HEAD:b9d6a5d9931922558046d230c1f5f4ef6ee72345" meta-imx-bsp meta-imx-sdk meta-imx-ml meta-imx-v2x = "HEAD:219f6d04a4c339eb6f2dc626f944bbdf9a716ff5" meta-nxp-demo-experience = "HEAD:e8e646e22b1f926aac83bb7ad522efa9cd8ccc45" meta-nxp-matter-baseline meta-nxp-openthread = "HEAD:f58365ec75a5768ff3e8e8bcd64f237738c93160" meta-arm meta-arm-toolchain = "HEAD:950a4afce46a359def2958bd9ae33fc08ff9bb0d" meta-clang = "HEAD:2b7433611d80f6d0ee1b04156fa91fc73d3c2665" meta-gnome meta-networking meta-filesystems = "HEAD:72018ca1b1a471226917e8246e8bbf9a374ccf97" meta-qt6 = "HEAD:586a6cb5aec755803a3be3cec359baafe89d6432" meta-parsec meta-tpm = "HEAD:459d837338ca230254baa2994f870bf6eb9d0139" meta-virtualization = "HEAD:6f3c1d8f90947408a6587be222fec575a1ca5195" Summary: There were 2 WARNING messages. 回复:无法使用 git-native 编译错误构建 imx-image-full 你修改过 yocto 食谱吗? 请检查“git-native”是否列在 sources/poky/meta/conf/bitbake.conf 中的“ASSUME_PROVIDED”列表中。 运行命令“bitbake git-native”时输出什么? 回复:无法使用 git-native 编译错误构建 imx-image-full 谢谢,但是所有这些软件包都已经安装在我的系统上了: ubuntu@yocto-build-server:~$ sudo apt install gawk wget git diffstat unzip texinfo gcc build-essential utils-ping python3-git python3-jchrpath socat cpio python3 python3-pip python3-pexpect xz-utils debianutils 正在读取包裹清单... Doneon3-j inja2 python3-subunit zstd liblz4-tool 文件 构建依赖树...完成 正在读取状态信息...完成 gawk已经是最新版本(1:5.2.1-2build3)。 wget已经是最新版本(1.21.4-1ubuntu4.1)。 git已经是最新版本(1:2.43.0-1ubuntu7.2)。 diffstat 已经是最新版本(1.66-1build1)。 unzip已经是最新版本(6.0-28ubuntu4.1)。 texinfo已经是最新版本(7.1-3build2)。 gcc已经是最新版本(4:13.2.0-7ubuntu1)。 build-essential 已经是最新版本 (12.10ubuntu1)。 升级了 0 个,新安装了 0 个,要删除 0 个,未升级 0 个。 回复:无法使用 git-native 编译错误构建 imx-image-full 在 OpenEmbedded-Core 中,ASSUME_PROVIDED 主要指定本机 不应该构建的工具。一个例子是“git-native”,它 指定后,允许使用主机上的 Git 二进制文件 而不是构建“git-native”。 请在您的主机上安装以下软件包。 $ sudo apt install gawk wget git diffstat unzip texinfo gcc build-essential chrpath socat cpio python3 python3-pip python3-pexpect xz-utils debianutils iputils-ping python3-git python3-jinja2 python3-subunit zstd liblz4-tool 文件 语言环境 libacl1
View full article
S32k1xx RTM 4.0.1 installation Error I have being trying to install the plugin S32K1xx Develpoment package and S32SDK S32K1XX RTM v4.0.1 in S32 Design Studio v3.5 but always getting the below error. Here is the error details: An error occurred while installing the items session context was:(profile=DefaultProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Install, operand=null --> [R]com.nxp.s32ds.s32k1.sdk.s32k1xx_4.0.1.win32.win32.x86_64 1.0.0.202010271245, action=com.nxp.s32ds.ext.rcp.p2.core.actions.InstallAction). Error Error unzipping C:\NXP\S32DS.3.5\eclipse\p2\org.eclipse.equinox.p2.core\cache\binary\com.nxp.s32ds.s32k1.sdk.s32k1xx_4.0.1.win32.win32.x86_64_1.0.0.202010271245: invalid entry size (expected 0 but got 6975327 bytes)  Also when I completed this installation I was not able to see any of the development packages, so i added offline packages. But still this error is not  S32 SDK for S32K1 Re: S32k1xx RTM 4.0.1 installation Error So finally I have found that there are alot of restrictions on my company laptop which restrict alot of installation even thought the S32DS installer says its installed everthing properly. So the solution was to i had to update the S32DS using offline method which also had error but worked after few work around onto our firewall. Also this RTM 4.0.1 is not going to work in S32DS V3.5 because moving forward RTD will be used, so this RTM will not be supported and update for V3.5. Got the RTD V2.0.0 working and now moving forward into the project. Re: S32k1xx RTM 4.0.1 installation Error Hi @rj3010  Which Package are you trying to install? Let me know so I can test it from my side. Re: S32k1xx RTM 4.0.1 installation Error I have S32DS v3.4 and the SDK there are working fine, but the problem is the project i'm upgrading is for ISO26262 and the SDK for that are only compatible with V3.5. I tried adding them to the v3.4 but it gives error and is not visible. So i have no other option than to try and get V3.5 working so that the team can work using th SDK for function safety.  I have also tried to uninstall and install the V3.5 several time i have told my IT to give me full access for the installation process  still there is blocking and the SDK are never downloaded. I have to somehow get it working.  Re: S32k1xx RTM 4.0.1 installation Error Hi @rj3010  Sorry for all the problems, noting that you are facing several problems with the installation of packages, I can recommend working on the newest versions of the SDKs in the S32DS v3.4. Another thing you can try is to uninstall S32DS 3.5 and try installing the corresponding packages again. Re: S32k1xx RTM 4.0.1 installation Error Yes, i have all the sites added here in the list  Here is the list i have added in the Available software list. Now when i open the extension and update page the error log shows that the files cannot be accessed. As shown below. Also when i try to open the site on the web browser it shows that page not found 404 for almost all the websites giving error. So when i tell that IT team to unblock they suggest to check if the site is accessible from browser which it does like it open a page. Here is the example of 2 site i tried to access externally, So when they check it opens a page so they cannot figure it what is getting blocked. Re: S32k1xx RTM 4.0.1 installation Error Hi @rj3010  I am attaching an image of the available software sites that reach the content for S32DS 3.5. Re: S32k1xx RTM 4.0.1 installation Error Yes , i contacted my IT team for this also and they are saying they do not see any block for nxp site they have even added few nxp websites that we found in the error log. My IT team told that if you NXP team can give a list of sites that needs to be bypassed they can do that for me.  But yes i can loop in my IT team and get this sorted can you tell me the process of doing that, do i need to create a ticket for that.  Re: S32k1xx RTM 4.0.1 installation Error Hi @rj3010  As S32DS is having problems downloading some items, it looks to have a connection problem with some update sites. A possible cause of this situation could be a firewall issue or also could be caused by your company's IT/Network policy. Please help us contact your local IT to verify if this is the reason for this situation. Re: S32k1xx RTM 4.0.1 installation Error Tried to update the S32 DS using the Install New software Option but there also i'm getting error as below.  Tried installing Update 2 ,3 and 6 all are failing the same way. After the error the installation in terminated.  I want to install S32k1xx RTM and few SDK regarding Function Safety ISO26262 which are only supported for v3.5. Re: S32k1xx RTM 4.0.1 installation Error Hi @rj3010  Could you please share your installation details? In the meantime, please install any S32 Design Studio for S32 Platform 3.5 Update from version 4 onwards.  Re: S32k1xx RTM 4.0.1 installation Error Hi @VaneB , I did see these post it says to use a offline installer. I'm using that offline packages only since the sdk was not available during the start only. I was able to install the S32DSK1xx Development package using the offline package but not the RTM 4.0.1 is there any compatibility issue with RTM 4.0.1 and s32DS v3.5 since the same RTM v4.0.1. Also i have not updated the S32DS v3.5 its the base version i can see there are 12 updates to it i have not installed that Re: S32k1xx RTM 4.0.1 installation Error Hi @rj3010  Similar situations have been discussed in several threads, try the workarounds provided in the links I am attaching, and if the problem persists let me know.  'Installing software' has encountered a problem. S32K DS update problem Extensions and Updates not working correctly B.R. VaneB
View full article
查找 FreeMaster 旧版本 3.2.2.2 或 3.2.3.2 尊敬的各位专家: 我的 FreeMastger 3.2.4.5 太慢了,我想回到更快的旧版本,在哪里可以下载旧版本,例如 3.2.2.2 或 3.2.3.2? 先感谢您! 建 回复:查找 FreeMaster 旧版本 3.2.2.2 或 3.2.3.2 您好,请注意,该问题已在刚刚发布的3.2.5 版本中得到最终修复。 再次感谢你, 米哈尔 回复:查找 FreeMaster 旧版本 3.2.2.2 或 3.2.3.2 你好,Jian, 感谢您协助我解决性能问题(此线程之外的离线)。 事实证明,速度变慢是由于一个错误引起的,该错误间接导致项目中存在过多的枚举对象(>100000)。枚举列表填写在 FreeMASTER 变量编辑对话框中,因此在填写这么长的列表时,需要花费几秒钟才能打开对话框。 该问题将在几周后的下一个 3.2.5 版本中修复。此版本还将在打开项目时自动清理未使用的重复枚举对象。 注意:错误的根本原因是在文件/打开操作期间未删除现有的枚举对象,仅在文件/新建期间删除。因此,任何时候打开一个项目同时打开另一个项目都会导致旧的和新的枚举列表合并和增长...... 目前唯一的解决方法是在执行任何文件/打开之前执行文件/新建。 不便之处,敬请谅解。 米哈尔
View full article
LPC55S69 USB问题 问候! 对于医疗设备项目,我们正在使用 LPC55S69,我无法从用户手册或硬件设计手册中找到有关以下问题的信息,因此,如果您能提供帮助,我将非常感激: 1. USB0 和 USB1 PHY 是否已经包含串联终端电阻(90 欧姆要求)以及用于电速度信号传输或检测的上拉/下拉电阻? 2. 如果使用 24 Mhz 的外部晶体作为 MCU 的时钟源,那么 USB0 和 USB1 是否也会使用它来获取其时钟?换句话说,无晶溶液不再相关,对吗? 3. 如果 USB1 被用作主机控制器,是否有办法强制它仅在 FS/LS 控制器上运行;换句话说,主机控制器应该拒绝任何连接到它的 HS 设备 提前致谢! 曼努埃拉 回复:LPC55S69 USB问题 你好,Pavel,谢谢你的及时回复。祝您周末愉快! 回复:LPC55S69 USB问题 您好,我可以更详细地回答您的问题。 第一个问题与 USB 规范中关于 90 欧姆差分阻抗的规定有关。我们串联使用 33 欧姆电阻,因为阻抗包括 USB 收发器的阻抗。USB 收发器的阻抗低于 USB 规范的要求,因此需要 33 Ω 电阻器来使设备阻抗在所需的规范限制范围内。请检查 EVK 的原理图作为参考。 2. 全速 USB 上的主机操作和高速 USB 上的主机/设备操作都需要晶振。需要适当的时钟配置来确保您选择正确的时钟源和衍生时钟。可以使用 MCUXpresso 时钟配置工具来简化此操作。 3. 对于主机操作,由于 IP 规格限制,当两端都具有 HS 功能时,没有设置可以将 USB1 限制为全速。如果适用的话,我建议使用 USB0。其他可能的解决方案可能包括在 USB1 中添加全速 USB 集线器 IC,从而有效地将速度限制为全速。对于 USB1 上的设备操作,有一个 FORCE FS 字段可以作为全速设备运行。 此致, 帕维尔 回复:LPC55S69 USB问题 您好,我查看了您的问题,并查看了参考手册和数据表,但没有找到足够的信息,我会向内部工程师询问。 此致, 帕维尔 回复:LPC55S69 USB问题 您好,我叫 Pavel,我将支持您的案例,让我获取有关 USB 的更多信息,当我有更多详细信息时,我会与您联系。 此致, 帕维尔
View full article
检测S32K358锁步对 你好。我正在研究 S32K3X8EVB-Q289 开发套件,并试图找出正确的方法来确定哪些核心配置为 S32K358 的锁步核心? 我转储了DCM_GPR.DCMROF19寄存器并得到: 0x60000000 ,这表明: - DCM 完成 - M7_Core0 和 M7_Core1 上的 LOCKSTEP EN 为了验证,我转储了 MSCM 的寄存器 -核心 0,Cfg2 @ 0x40260034 返回 0x09080000,这表明 DTCM 和 ITCM 大小与锁步相对应。 核心 1,Cfg2 @ 0x4026054 返回 0x08070000,可以忽略,因为 DCMROF19 表示 Lockstep 已启用。 核心 2,Cfg2 @ 0x4026074 返回 0x09080000,这表明 DTCM 和 ITCM 大小与锁步相对应。 我预计Core 2、Cfg2寄存器包含 0x08070000,但我看到的却是一个指示锁步配置的值。那么,这是否意味着 Core0 和 Core2 是组成锁步核心的对?如果是这样,这与 S32K3XX 参考手册中描述的DCM_GPR.DCMROF19内容不一致。 如果有人能指出我根据参考手册理解中的缺陷,或者提供检测哪些核心处于锁步配置的万无一失的方法来,我将不胜感激。 先行致谢。 回复:检测S32K358锁步对 不幸的是,我不知道,但每个文档中总会有一些错误。 回复:检测S32K358锁步对 感谢您的快速回复和澄清。 修复文档肯定有助于避免任何此类混乱。我想知道参考手册中是否有类似的误导信息? 再次感谢。 回复:检测S32K358锁步对 听起来不错。感谢您如此迅速地确认。 回复:检测S32K358锁步对 我可以确认在我这边它的行为也是同样的。让我进一步调查。 回复:检测S32K358锁步对 感谢您的快速回复。 该开发套件包括: SoC:恩智浦 S32K358HVS、0P14E、CTZE2233A - 其他标签:SCH-54870 Rev B2、700-54870 Rev X2 此致问候 回复:检测S32K358锁步对 我明天会在 HW 上测试它,然后通知你。 同时,您能否指定安装在 EVB 上的 MCU 部件编号?请所有线路
View full article
S32K146 Csec 库 嗨,支持团队, 此页面上的 S32K146 Csec 库是否可供下载? 每当我找到 S32XXX 的 AN5401SW 包并打开 Csec 示例时,它总是具有如下 S32K144 库: “S32K144.h”或“S32K144_features.h” 其他还包括 “fsl_core_cm4.h”,“fsl_设备_寄存器” 总是指的是标题内的 S32K144。 谢谢。 回复:S32K146 Csec库 好的,我不确定。非常感谢 😃
View full article
rt685 HiFi4、MCUからロードされたときの不安定なDSPコードの動作 こんにちは、 私は R685-AUD-EVK で実行されるオーディオ プロセッシング デモに取り組んでいます。私は入門リソースに従いました。MCU と DSP FW は主に SDKs の「audio_demo_bm」に基づいています。 MCU FW は、シンプルなユーザーインターフェースのために GPIOS の基本的な初期化のみを実行します。 DSP FW はオーディオ入出力用の I2S と DMA を初期化し、NXP アプリケーション ノートの 1 つで提案されている「トリプル バッファ」アプローチを使用してデータをバッファリングします。 実際のオーディオ プロセッシング関数は、1msのオーディオデータ(つまり、左48個、右48個のサンプルが受信されました。 オーディオ データのプロセッシングには、natureDSP ライブラリ関数が使用されます。 これまでのところ、MCU FW と DSP FW がビルドされ、デバッグ モードで実行されるとすべてが期待どおりに実行されますが、DSP FW が MCU からロードされるときに問題が発生しています (リリース ビルド、 DSP_IMAGE_COPY_TO_RAM = 1)。 オーディオ プロセッシング関数(ISRから呼び出される)が「.iram0.text」に配置されている場合(命令 TCM メモリ) DSP FW で例外が発生します。 xt-ocd プリント: エラー: 例外の詳細: exccause:0x0、excvaddr:0xff0042、epc:0x240205bc、epcdbg:20e022 関数が TCM 以外のメモリに配置されている場合、または DSP FW がデバッグ モードでロードされている場合、この問題は発生しません。 観察された問題を説明するために探すべきものはありますか? これはメモリの配置に関係しているのでしょうか? i.MX RT600 Re: rt685 HiFi4, erratic DSP code bahaviour when loaded from MCU @Omar_Anguiano返信ありがとうございます。 post_buildスクリプトは「.iram0.text」をコピーしないことがわかりました。セクションは MCU コードに含まれるバイナリ ファイルに含まれていたSO、実際の機能コードはメモリ内に存在しませんでした。 現時点では「デバッグ」モードで作業を継続CANため、アライメントの問題についてはこれ以上調べていません。 BRウィタリ Re: rt685 HiFi4, erratic DSP code bahaviour when loaded from MCU アライメントの問題が潜在的な問題となる可能性がありますが、デバッグ用にビルドされている場合はこの問題は発生しないことがわかります。 リリース用にビルディングする場合、コンパイラによっていくつかの最適化レベルが追加されるCANがあり、それが例の動作に影響を与える可能性があります。 MCUが.iram0.textを適切にコピーしない場合または整列させないと、DSP は無効な命令をフェッチし、結果として 0x0 (不正な命令) が発生する可能性があります。 よろしくお願いします、 オマール
View full article
imxrt1061 ハードフォールトはクロックAPI呼び出しを指しています 良い一日 私のプロジェクトでは、ThreadX RTOS を実行する imxrt1061 を使用しています。安定走行中に、重大な障害が発生する場合があります。再現が難しく、未知の状況下で発生します。テスト実行 5000 回につき 1 回程度発生する可能性があります。 通常、これは制御された再起動後に発生します - すべてのアクティビティが完了し、再起動が開始され、メインアプリケーション(init Thread)が起動し、init Threadの実行中に失敗する可能性があります。 以下はリストの一部です(CLOCK_SetLowSpeed呼び出し内のすべての関数はI-TCM RAMにあります) 601020d0 : 601020d0: b580 push {r7, lr} 601020d2: af00 add r7, sp, #0 601020d4: f14c fd80 bl 6024ebd8 <__CLOCK_SystemCoreClockSwitchLowPower_veneer> 601020d8: f14c fd82 bl 6024ebe0 <__CLOCK_DeinitArmPll_veneer> 601020dc: f7ff ff8a bl 60101ff4 601020e0: 2000 movs r0, #0 601020e2: f14c fd3d bl 6024eb60 <__CLOCK_DeinitSysPfd_veneer> 601020e6: 2001 movs r0, #1 601020e8: f14c fd3a bl 6024eb60 <__CLOCK_DeinitSysPfd_veneer> 601020ec: 2118 movs r1, #24 601020ee: 2002 movs r0, #2 601020f0: f14c fd56 bl 6024eba0 <__CLOCK_InitSysPfd_veneer> 601020f4: 2003 movs r0, #3 601020f6: f14c fd33 bl 6024eb60 <__CLOCK_DeinitSysPfd_veneer> 601020fa: f14c fd55 bl 6024eba8 <__CLOCK_DeinitUsb2Pll_veneer> 601020fe: f14c fd1b bl 6024eb38 <__CLOCK_DeinitAudioPll_veneer> 60102102: f14c fd11 bl 6024eb28 <__CLOCK_DeinitVideoPll_veneer> 60102106: f14c fce3 bl 6024ead0 <__CLOCK_DeinitEnetPll_veneer> 6010210a: f14c fd5d bl 6024ebc8 <__CLOCK_SystemCoreClockSwitchLowSpeed_veneer> 6010210e: 46bd mov sp, r7 60102110: e8bd 4080 ldmia.w sp!, {r7, lr} 60102114: f05f be04 b.w 60161d20 スタックのプリントアウト REBOOT OCCURED\n", TYPE: HARD FAULT\n", --- Stack frame -------------------------------------------------------\n", IPSR= 0x00000003 >>>>> HardFault <<<<\n", R0 = 0x00000008\n", R1 = 0x5018505B\n", R2 = 0x400D8000\n", R3 = 0x00000080\n", R12 = 0x00000280\n", LR = 0x601020E7\n", PC = 0x60102100\n", PSR = 0x0100000E\n", SP (when faulted) = 0x20077F08\n", --- System Control Block (SCB) ----------------------------------------\n", 0x00080000 - CFSR - Configurable Fault Status Register\n", > The processor has attempted to access a coprocessor\n", 0x40000000 - HFSR - HardFault Status Register\n", > Forced HardFault\n", 0x411FC271 - CPUID - CPUID Base Register\n", 0x00481003 - ICSR - Interrupt Control and State Register\n", 0x60100400 - VTOR - Vector Table Offset Register\n", 0xFA050000 - AIRCR - Application Interrupt and Reset Control Register\n", 0x00000000 - SCR - System Control Register\n", 0x00070200 - CCR - Configuration Control Register\n", 0x00F00000 - CPACR - Coprocessor Access Control Register\n", この問題をどのようにCANローカライズできるかアドバイスをお願いします。ご提案があれば歓迎いたします。ありがとう Re: imxrt1061 Hard fault points to clock API call @エドウィンHz 質問は実際には ThreadX についてではなく、xip アプローチとその制限についてです。私たちのプロジェクトでは xip アプローチを使用しているSO、xip と外部 QSPI フラッシュを使用する際のメモリ アクセス制限について説明しているドキュメントはありますか? Re: imxrt1061 Hard fault points to clock API call こんにちは@swisst 、 残念ながら、ThreadX は弊社ではサポートされなくなりました。このOSのサポートについては、ThreadXのサービスとサポートのWebサイト(Eclipse ThreadX Services and Support | The Eclipse Foundation)で確認することを強くお勧めします。 ご不便をおかけして申し訳ございません。 BR、 エドウィン。 Re: imxrt1061 Hard fault points to clock API call こんにちは@EdwinHz チケットに記載される情報量は非常に限られていることは承知していますが、とにかく私が知っているのはそれだけです。SO残念ながら、問題は依然として残っています 実行時に、fsl_memcpy.S に実装された memcpy 関数を指すバックトレースで別のハード エラーが発生しています。SO、コードが fsl_memcpy 実装と正確にリンクされており、ライブラリ実装を使用していないことを何度か確認しました。 00002e48 : 2e48: b5f1 push {r0, r4, r5, r6, r7, lr} 2e4a: 2a00 cmp r2, #0 2e4c: d04b beq.n 2ee6 00002e4e : 2e4e: f011 0303 ands.w r3, r1, #3 2e52: d006 beq.n 2e62 2e54: f811 4b01 ldrb.w r4, [r1], #1 2e58: 3a01 subs r2, #1 2e5a: f800 4b01 strb.w r4, [r0], #1 2e5e: d042 beq.n 2ee6 2e60: e7f5 b.n 2e4e memcpy は ITCM メモリに配置され、ハード障害が発生したときに PC は 0x00002E54 値を保持しました。この機能の実装を確認しましたが、最新のSDKsとの違いは見つかりませんでした。 偶然そのチケットに気づいたSO疑問が生じましたが、答えを見つけることができませんでした。私たちのプロジェクトでは xip アプローチを使用しているため、xip と外部 QSPI フラッシュを使用する際のメモリ アクセスの制限について説明しているドキュメントはありますか? よろしくお願い申し上げます。 Re: imxrt1061 Hard fault points to clock API call @エドウィンHz 返信が遅くなってごめんなさい すでに例から離れすぎているため、特定のアプリケーションについてのみ説明します。 ご覧のとおり、主な問題は問題の再現が不安定なことです。 私たちは NXP USB ミドルウェア (CDC クラス デバイス) を使用しているSO、ロガーとシェルの入出力は USB 経由で行われます。私の最初の仮定は、再起動前にクロックペリフェラルセクションが正しく初期化解除されていないということでした。再起動は制御され、SO、ソフトウェアでいくつかのアクション(サービスの停止、接続の終了)が実行され、最後に NVIC リセット要求が行われます。しかし、他の面では、すべてのペリフェラルはリセット時にデフォルト値にリセットされる必要があります。 Re: imxrt1061 Hard fault points to clock API call こんにちは@swisst 、 あなたのボード上の ThreadX 用に提供しているサンプル コードでも、同様の現象が発生しますか?それとも、実行している特定のアプリケーションのみでしょうか?
View full article
在 CTIMER 元器件中使用输入捕获模式 这次我发布的是答案而不是问题,因为已经有四年多没有人指出没有关于在 SDK CTIMER 驱动程序中使用输入捕获模式的演示或解释了。我想它现在已经被遗忘了。 首先,所有可用的 CTimer_inPN 输入都可以使用任何 CTimer_inPN 输入作为其触发源。如果使用 "引脚 "工具,它可以为您配置引脚多路复用。否则,您需要使用 INPUTMUX。不管 SDK 手册中怎么说, /boards/ /driver_examples/inputmux 中没有提供任何示例(至少不适用于我的任何板),所以你可以自己去那里。 接下来,使用 clock_attachCLK () 连接源时钟,然后可选 ctimer_getDefaultConfig () 获取默认配置并进行修改,或者自己设置参数,然后使用参数调用 ctimer_init ()。 使用 CTIMER_RegisterCallBack()注册一个将被定时器 ISR 调用的回调函数。请注意,即使定义的是单个回调,存储的也只是指向数组的指针,因此请确保传递给寄存器函数的数组会在内存中持续存在。是的,单个回调函数地址可以放在同一个指针中,但驱动程序不是这样编写的。这是一个有趣的细节,却从来没有人愿意记录下来。 接下来,调用 CTIMER_SetupCapture() 来选择捕获源和边缘类型,最后调用 CTIMER_StartTimer() 来设置计时器运行,除非你想在回调函数中这样做来测量两条边之间的间隔。无论定时器是否在运行,您都会在相应的边沿获得中断。 该软件开发工具包没有提供访问捕获值的机制,因此您需要直接访问 CTIMERn->CR[c] 才能读取该值。ctimer_reset () 将重置计数器值。 与 2018 年的线程所说的相反,您不需要在回调中清除任何状态标志,这是由驱动程序完成的。传递给回调函数的 "flags "参数来自 CTIMERn->IR,即中断寄存器。同样,这也是 SDK 手册完全没有提及的问题之一。 这就是一个完美的例子,说明了 SDK 最终会如何"比什么都没有还糟糕" - 如果没有适当的文档,使用它的唯一方法就是自己仔细阅读数据表,弄清需要做什么,然后阅读驱动程序代码,弄清实际情况。 总之,这就是我目前的发现。希望这能省去别人从头开始摸索的麻烦。 Scott Re: Using input capture mode with the CTIMER component 谢谢你花时间写了这篇文章,对我帮助很大!
View full article
CodeWarrior® Development Studio for MPC55xx/MPC56xx (Classic IDE) v2.10 是否支持 Windows 10? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 我在 Windows 7 中使用 CW v2.10。但当我尝试在 windows 10 中安装设置文件时,却发现无法正常工作。错误 scrrenshot 如图所示。 Re: CodeWarrior® Development Studio for MPC55xx/MPC56xx (Classic IDE) v2.10 is supported in windows 我使用 MacBook Air M1(操作系统:Sonoma 14.7.5 (23H527))和 Wine v10.6,运行 CodeWarrior 2.10 进行编码。它的工作速度超快。当然,调试是不可能的,因为 PEMicro Apple 硅驱动程序/支持的运气不好。但在这一步,我不需要它。 Re: CodeWarrior® Development Studio for MPC55xx/MPC56xx (Classic IDE) v2.10 is supported in windows 1) 继续使用 CodeWarrior for MPC55xx/56xx v2.10   我无法在 Windows 10 中使用 cw 2.10,而且调试窗口不断弹出一条未被检测到的断开/连接的 USB 电缆。我用过了 https://www.pemicro.com/faqs/faq_view.cfm?ID=29 网页的方法无法解决问题。在固件更新中,固件可以正常识别和升级,并且已经安装了最新版本的驱动程序。该驱动程序也可以在设备管理器中找到。我就是无法调试。 Re: CodeWarrior® Development Studio for MPC55xx/MPC56xx (Classic IDE) v2.10 is supported in windows 10? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 在 CW 安装下有 Qorivva 样本: C:\Freescale\CW MCU v11.0\MCU\CodeWarrior_Examples\Qorivva_Examples 如果您需要更多帮助,请按照 Stan 的建议提交报告。 Re: CodeWarrior® Development Studio for MPC55xx/MPC56xx (Classic IDE) v2.10 is supported in windows 10? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 嗨,斯坦、 感谢您的反馈, 我按照方案 1 中提到的步骤进行了操作。但它对我不起作用。 我也尝试了方案 2。但是,在代码战士集成开发环境中出现了很多错误。(编译器错误) 是否有文件说明从 CW v2.1 中的旧项目迁移到 CW v11.1 中的新项目的步骤? 是否有使用 CW v11.1 的 MPC5668G 示例项目? 此致, 苏克鲁特 Re: CodeWarrior® Development Studio for MPC55xx/MPC56xx (Classic IDE) v2.10 is supported in windows 10? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 你好,苏克鲁思、 不幸的是,项目导入器不支持适用于 MCU 10.x 的 CodeWarrior 中的 mpc5xxx 项目(仅适用于 DSC) 总之,基本上有两种选择: 1) 继续使用 CodeWarrior for MPC55xx/56xx v2.10 尽管官方不支持 Windows 10,但我已证实可以在 Windows 10 64 位系统中使用它。 (IDE + 版本工具 + 调试器) 我建议你试试: * 以管理员身份运行安装程序。 * 输入"Program Files" 文件夹之外的安装路径(例如使用"C:\NXP\CW for MPC55xx and MPC56xx 2.10") * 如果上述建议无效,请将安装程序的兼容模式设置为 Windows 7。 * 如果安装正确,请下载最新的 Pemicro 驱动程序(PEmicro | Flash 编程和开发嵌入式工具专家)。 2) 将项目迁移到 CodeWarrior for MCUs v11.0 中 您必须创建一个新项目,添加源文件并手动配置项目。 有关迁移版本工具设置,请参阅随附文档 AN4094-CW v2.10 对比 MCU 版 CodeWarrior (Eclipse) 选择 2 的好处是,您将获得最新的编译器版本,其中的许多问题都已得到解决。 如果您在迁移项目的过程中遇到任何问题,我们可以为您提供帮助(在这种情况下,请提交支持票据到私人支持频道):如何向恩智浦支持中心提交新问题 希望对你有所帮助。 Stan Re: CodeWarrior® Development Studio for MPC55xx/MPC56xx (Classic IDE) v2.10 is supported in windows 10? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 已安装并尝试导入我们的旧项目文件。出现以下错误 是否可以将 CW2.1 中创建的项目移植到此版本? Re: CodeWarrior® Development Studio for MPC55xx/MPC56xx (Classic IDE) v2.10 is supported in windows 10? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 是的,使用 CodeWarrior11 创建新项目时,您将在此处看到 MPC5668G Re: CodeWarrior® Development Studio for MPC55xx/MPC56xx (Classic IDE) v2.10 is supported in windows 10? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 嗨,俊、 Qorivva® 56xx 和 POWERPC 5668G 是否相同? 因为在这个工具中,我没有找到从 POWERPC 中选择目标的选项。 此致, 苏克鲁特 Re: CodeWarrior® Development Studio for MPC55xx/MPC56xx (Classic IDE) v2.10 is supported in windows 10? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 苏克鲁特 请使用此 eclipse 版本,它可以在 win10 上支持 MPC56xx CodeWarrior® for Microcontrollers-Eclipse IDE 11.1 | NXP 祝您愉快, Jun Zhang   ------------------------------------------------------------------------------- 注: - 如果本帖回答了您的问题,请点击"标记正确" 按钮。谢谢!   - 我们会在最后一次发帖后的 7 周内跟踪主题,之后的回复将被忽略 如果您以后有相关问题,请另开新主题并参考已关闭的主题。 ------------------------------------------------------------------------------- Re: CodeWarrior® Development Studio for MPC55xx/MPC56xx (Classic IDE) v2.10 is supported in windows 10? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 嗨,俊、 遗憾的是,我们公司没有使用 Windows 7 的选项。 您是否建议在 Windows 10 中使用 CW2.1 的替代方法? 此致, 苏克鲁特 Re: CodeWarrior® Development Studio for MPC55xx/MPC56xx (Classic IDE) v2.10 is supported in windows 10? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 苏克鲁特 我检查了MPC5668g。不幸的是,对于这种芯片,我们只有 CW2.1,没有其他更新的版本。 请在我们推荐的 Windows 平台上使用 CW2.1。 不便之处,敬请原谅。 祝您愉快, Jun Zhang   ------------------------------------------------------------------------------- 注: - 如果本帖回答了您的问题,请点击"标记正确" 按钮。谢谢!   - 我们会在最后一次发帖后的 7 周内跟踪主题,之后的回复将被忽略 如果您以后有相关问题,请另开新主题并参考已关闭的主题。 ------------------------------------------------------------------------------- Re: CodeWarrior® Development Studio for MPC55xx/MPC56xx (Classic IDE) v2.10 is supported in windows 10? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 嗨,俊、 感谢您的回复。 我使用的是 MPC5668g(POWERPC 控制器)。 请向我推荐适合该目标的 CW 版本。 此致, 苏克鲁特 Re: CodeWarrior® Development Studio for MPC55xx/MPC56xx (Classic IDE) v2.10 is supported in windows 10? <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> CodeWarrior® Development Studio for MPC55xx/MPC56xx (Classic IDE) v2.10 可支持以下 Windows 平台。 Microsoft® Windows® XP Windows Vista™ ,32 位或 64 位版 Windows 7,32 位或 64 位版 CW2.1 在 win10 版本之前发布,因此 win10 不在 CW2.1 支持清单上。 你的芯片零件编号是多少?我可以帮你检查是否有相关的 CW eclipse 版本可以支持你的目标。 祝您愉快, Jun Zhang   ------------------------------------------------------------------------------- 注: - 如果本帖回答了您的问题,请点击"标记正确" 按钮。谢谢!   - 我们会在最后一次发帖后的 7 周内跟踪主题,之后的回复将被忽略 如果您以后有相关问题,请另开新主题并参考已关闭的主题。 -------------------------------------------------------------------------------
View full article
使用 UUU 闪存 i.MX8MM SD 卡的问题 我一直在尝试在 i.MX8MM 上闪存 SD 卡,但遇到了一些问题。我查看了文档,但并没有完全解开我的困惑。 关于 UUU,我已经下载了最新的 1.4.127 版:https://github.com/NXPmicro/mfgtools/releases/tag/uuu_1.4.127 而且我还下载了最新的预构建的 Linux 二进制文件 L5.10.9_1.0.0_MX8MM:https://www.nxp.com/webapp/Download?colCode=L5.10.9_1.0.0_MX8MM& apptype=License 我使用 UUU 通过以下方式将这个 5.10 Linux 版本闪存到我的 eMMC 中: uuu.exe uuu.auto 闪烁和启动都很正常。然后,我尝试通过更新 uuu.auto 文件将其闪存到 SD 卡,具体方法如下: # SD Programming: FB: ucmd setenv fastboot_dev mmc FB: ucmd setenv mmcdev ${sd_dev} FB: ucmd mmc dev ${sd_dev} FB: flash -raw2sparse all imx-image-multimedia-imx8mmevk.wic FB: flash bootloader imx-boot-imx8mmevk-sd.bin-flash_evk FB: ucmd if env exists sd_ack; then ; else setenv sd_ack 0; fi; FB: ucmd mmc partconf ${sd_dev} ${sd_ack} 1 0 FB: done # Emmc programming: #FB: ucmd setenv fastboot_dev mmc #FB: ucmd setenv mmcdev ${emmc_dev} #FB: ucmd mmc dev ${emmc_dev} #FB: flash -raw2sparse all imx-image-multimedia-imx8mmevk.wic #FB: flash bootloader imx-boot-imx8mmevk-sd.bin-flash_evk #FB: ucmd if env exists emmc_ack; then ; else setenv emmc_ack 0; fi; #FB: ucmd mmc partconf ${emmc_dev} ${emmc_ack} 1 0 #FB: done 在以下步骤中失败了: uuu.exe uuu.auto uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.4.127-0-g08c58c9 Success 0 Failure 1 2:2 7/ 8 [ ] FB: ucmd mmc partconf ${sd_dev} ${sd_ack} 1 0 这让我觉得我不能简单地把一个换成另一个。所以我的问题是,如何使用 uuu 将 v5.10 预发布的 Linux 二进制文件闪存到 i.mx8mm EVK 上的 SD 卡中? i.MX 8M | i.MX 8M Mini | i.MX 8M Nano Re: Issue flashing i.MX8MM SD card with UUU 我同意,UUU 的文档非常少,如果不反复试验,很难使用。 如果恩智浦能派一名以英语为母语的应用工程师对其进行彻底更新,提供适当的使用案例,并采用标准的 Linux 风格命令行帮助语法,用户将受益匪浅。 我可以帮忙,但自己没有足够的业余时间...... Re: Issue flashing i.MX8MM SD card with UUU 使用脚本没有问题。 你需要的是常见的基本知识。 因为从"FB: ucmd mmc partconf${sd_dev} ${sd_ack} 1 0", 可以了解到你对 emmc 和 SD 卡一无所知,因为你不知道 WIC。 下面是闪存 SD 卡的脚本。uuuuuu.sd.auto,即可使用。 uuu.sd.auto uuu_version 1.2.39 # 此命令将在 i.mx6/7 i.mx8MM、i.mx8MQ SDP: 启动 -f imx-boot-imx-boot-imx8mmevk-sd.bin-flash_evk 时 # 这个命令将在 ROM 支持直播模式时运行 # i.mx8QXP,i.mx8QM SDPS:启动 -f imx- 启动-imx-启动-imx8mmevk-sd.bin-flash_ev k # 使用 SPL 时将运行这些命令,如果没有 spl # SDPU 将被弃用,则跳过这些命令。请使用 SDPV 代替 SDPU # { SDPU:延迟 1000 SDPU:write -f imx-boot-imx8mmevk-sd.bin-flash_evk-offset 0x57c00 SDPU: jump # } # 这些命令将在使用 SPL 时运行,如果没有 spl 则会跳过 # if(SPL 支持 SDPV) # {SDPV:延迟 1000 SDP V:write-f imx-boot-imx8mmevk-sd.bin-flash_evk -skipspl SDPV: jump # } FB: ucmd setenv fastboot_dev mmc FB: ucmd setenv mmcdev${emmc_sd} FB: ucmd mmc dev${emmc_sd} FB: flash -raw2sparse all imx-image-multimedia-imx8mmevk.wic FB: 已完成 Re: Issue flashing i.MX8MM SD card with UUU 要想知道什么是 wic,你就应该掌握 yocto 知识。 而 wic 与 .sdcard 相同。 Re: Issue flashing i.MX8MM SD card with UUU 谢谢您的建议。如果通过 `.sdcard` 文件闪存,文档和 `uuu` 输出都会提到 sdcard: sd_all burn whole image to sd card arg0: _flash.bin arg1: _rootfs.sdcard 显然,在这种情况下,它是一个 `.wic` 文件。是否有地方提到过,而我却忽略了? 第二个问题:在内置命令起作用的同时,uuu.auto 文件也可以用于 SD 卡刷机吗? Re: Issue flashing i.MX8MM SD card with UUU 使用 uuu 版本命令只需要一个命令行 uuu -b sd_all imx-启动-imx8mmevk-sd.bin-flash_evkimx-image-multimedia-imx8mmevk.wic 建议阅读 uuu 手册或键入 uuu(不带参数)以显示帮助
View full article
配置工具 v26.06 你好,恩智浦、 我将配置工具从 v25.3 升级到了 v25.6。 当我运行 DDR 测试时,出现了以下错误。如果我使用 v25.3 版进行测试,就不会有问题。如何用最新版本 25.6 解决这个问题? 谢谢! 西蒙 ################### Result for: phy_init ###### Run 1 #############################################Microsoft Windows [版本 10.0.26100.4652] (c) 微软公司。保留所有权利。 C:\nxp\i.MX_CFG_25.06\bin>prompttest-prefix : test-prefix :"C:/nxp/i.MX_CFG_25.06/bin/python3/python""C:/nxp/i.MX_CFG_25.06/bin/python3/memtool/memtool_entry.py"-t"runtest" -d"C:/ProgramData/NXP/mcu_data_25.06/processors/MIMX9596xxxxN/ksdk2_0/mem_validation/ddrc"-p"C:/Users/eg_fw/AppData/Local/Temp/mem_validation/phy_training_phy_test_0_0_.log"-l INFO"C:/Users/eg_fw/AppData/Local/Temp/mem_validation/connect.json" " C:/Users/eg_fw/AppData/Local/Temp/mem_validation/test.json""C:/Users/eg_fw/AppData/Local/Temp/mem_validation/phy.json""C:/Users/eg_fw/AppData/Local/Temp/mem_validation/ddrc_registers.json""C:/Users/eg_fw/AppData/Local/Temp/mem_validation/ddrc_config.json""C:/Users/eg_fw/AppData/Local/Temp/mem_validation/ddrc_config_in.json" INFO memtool.utils.helper *****C:/Users/eg_fw/AppData/Local/Temp/mem_validation/connect.json INFO memtool.utils.helper *****C:/Users/eg_fw/AppData/Local/Temp/mem_validation/test.json INFO memtool.utils.helper *****C:/Users/eg_fw/AppData/Local/Temp/mem_validation/phy.json INFO memtool.utils.helper *****C:/Users/eg_fw/AppData/Local/Temp/mem_validation/ddrc_registers.json INFO memtool.utils.helper *****C:/Users/eg_fw/AppData/Local/Temp/mem_validation/ddrc_config.json INFO memtool.utils.helper *****C:/Users/eg_fw/AppData/Local/Temp/mem_validation/ddrc_config_in.json INFO memtool.processor.imx9.imx9_processorXls 映射加载时间 0.037542 INFO memtool.processor.imx9.imx9_processor配置时间 0.000289 INFO memtool.processor.imx9.imx9_processorDS 文件时间 0.281771 INFO memtool.phyinit.phy_init为 2024.09\lpddr5 运行 phyinit INFO memtool.comm.serial_channel使用串行COM27 ERROR memtool.common.base_test应用程序加载结束时出现异常:由于配置错误,下载未完成! Re: Config Tools v26.06 你好@simonng 对于最新的 25.06 版配置工具,我们只支持 B0 版本的 imx95 芯片,我认为您的芯片也是 A1 或 A0 版本,您需要使用之前版本的工具运行 i.MX95 的 DDR 相关测试。 B.R
View full article
A30:HVQFN 20 代码包没有引脚分配 你们好 我在 A30 数据表中找不到 HVQFN20 代码包的引脚排列图。 有谁知道在哪里可以找到它? 谢谢! 埃尔森 Re: A30: There is no pinout for HVQFN 20 package 你好@郑志伟、 数据表正在按流程更新缺失的信息,作为快速解决方案,详情请参考下文。 很抱歉给您带来不便、 祝您愉快, Kan ------------------------------------------------------------------------------- 注: - 如果本帖回答了您的问题,请点击"标记正确" 按钮。谢谢! - 我们会在最后一次发帖后的 7 周内跟踪主题,之后的回复将被忽略 如果您以后有相关问题,请另开新主题,并参考已关闭的主题。 ------------------------------------------------------------------------------- 回复: A30: There is no pinout for HVQFN 20 package 你好 ,会A1006 的开发吗?我有个老项目需要开发,有兴趣的聊聊!
View full article
TJA1103 PHYレジスタのSYMBOL_ERROR_COUNTERについて NXPテクニカルサポートチーム様 このメールがあなたのお元気のところに届くことを祈っています。私の名前はSeongHyeon Limです。現在、TJA1103 100BASE-T1 PHYを使用したオートモーティブ イーサネット診断システムを開発しています。 イーサネットケーブルとコネクタの段階的な劣化を検出する予測メンテナンス機能を実装しようとしているため、SYMBOL_ERROR_COUNTER の特定の動作について問い合わせるためにこのメールを書いています。 システム概要: 製品: TJA1103 100BASE-T1 PHY ([S32K3X4EVB-T172]搭載) 目的: ケーブル/コネクタの老朽化による通信品質の低下を検出し、予知保全を図る。 監視対象レジスタ: SIGNAL_QUALITY(共有MMD、アドレス0x8320) SYMBOL_ERROR_COUNTER (共有MMD、アドレス0x8350) 観察された行動: 信号品質を意図的に低下させるテストでは、SIGNAL_QUALITY レジスタの SQI 値が 7 から 4 または 3 に徐々に減少することがわかります。SQI 値が低下すると、SYMBOL_ERROR_COUNTER が少なくとも断続的に増加し始めると予想されました。 ただし、SQI が大幅に低下した場合でも (たとえば、3 または 4)、SYMBOL_ERROR_COUNTER はゼロのままであることがわかります。カウンターは、リンクダウン イベント情報と同時に発生する SQI が 0 に低下した瞬間にのみ急速に増加するように見えます。 私たちの仮説: これは、リンクが「利用可能」である (つまり、LINK_AVAILABLE ビットが設定されている) 限り、ほぼすべての信号エラーを効果的に修正する、TJA1103 の堅牢な内部 DSP とアダプティブ イコライザーによるものであると考えられます。したがって、シンボル エラーは、PHY の訂正能力が完全に圧倒され、リンク障害が発生した場合にのみカウントされます。 質問: 1. この観察された動作(SQI 値が 0 より大きいのに SYMBOL_ERROR_COUNTER が 0 のままになる)が、TJA1103 の意図された予想される動作であるかどうかを確認してください。 2. これが予想される動作である場合、ケーブルの段階的な老朽化を予測的にメンテナンスする目的で、NXP は、SYMBOL_ERROR_COUNTER を早期指標として使用するのではなく、主に SQI の下降傾向と MSE の上昇傾向を監視することを推奨しますか? 3. SYMBOL_ERROR_COUNTER が増加し始める特定の条件 (特定の内部状態、リンク障害以外のしきい値など) に関して、さらに詳しい技術ドキュメントや説明はありますか? ご協力ありがとうございました。必要に応じて、コードスニペットやログなどの追加情報を提供できます。 Re: TJA1103 PHY registers about SYMBOL_ERROR_COUNTER こんにちは@forfortuna 、 明確かつよく構成された質問をありがとうございます。 あなたの観察と仮説は正しいです。TJA1103 の SYMBOL_ERROR_COUNTER は、信号品質が低下している場合でも、SQI がゼロより大きい間は通常ゼロのままです。これは予想される動作です。 1. SYMBOL_ERROR_COUNTERの動作 はい、これが意図した操作です。カウンターは、LINK_AVAILABLE = 1 かつ COUNTERS_ENABLE = 1 の場合にのみ増加し、通常は PHY の内部修正メカニズムが十分でなくなったとき(通常は SQI が 0 に低下してリンクがダウンしたとき)にのみ増加します。 2. モニタリングに関する推奨事項 予測保守では、SQI の傾向と MSE に重点を置くことをお勧めします。これらは、SYMBOL_ERROR_COUNTER よりも早期かつ段階的にリンク劣化の指標を提供します。 3. 追加ドキュメント SYMBOL_ERROR_COUNTER をトリガーする内部条件に関する公開ドキュメントは他にありません。 よろしくお願いいたします。 パベル
View full article