Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
i.MX8MP 过热时的自动开机行为 我正在使用带有 imx8mp 处理器的 congatec SMARC 模块。 为了澄清我们的要求: 当 SMARC 模块上的温度传感器达到 105°C 时,系统关闭。 目前,系统需要手动电源循环才能重新启动。 我想修改这种行为,以便当温度低于触发阈值时系统自动重新启动。 我们发现参考资料表明可以在 SCFW(系统控制器固件)中修改此行为。但是,SCFW 固件不用于 i.MX8MP 处理器。 i.MX8MP的启动顺序如下: BootROM → SPL → BL31(ATF - ARM 可信固件)→ OP-TEE(可选)→ BL33(U-Boot)→ Linux 内核。 根据我们的理解,解决此行为的潜在领域包括: a) 修改 BL31(ATF)。 调整 SNVS(安全非易失性存储)内的设置。 b) 配置 SMARC 模块上的 PMIC PCA9450C 以启用自动开机。 如果 PMIC 配置是正确的路径,您能否提供有关配置 PCA9450C 实现自动开机的文档或详细信息? 或者,您有更好的解决方案吗? 评估板 回复:i.MX8MP 过热时的自动开机行为 我最终设置了一个闹钟,并添加了一个服务以在关机前进行设置。因此,每次触发系统断电等时,都会触发警报。总比没有好。 echo +120 > /sys/class/rtc/rtc1/wakealarm   回复:i.MX8MP 过热时的自动开机行为 亲爱的 Marco_Savo, 修改 BL31 不是一个选择。 您的第二个选项是不可能的,因为您必须断言 PMIC_ON_REQ 才能启动开机序列,它没有自动开机。 您可以使用 FPGA 来断言 PMIC_ON_REQ 信号。
View full article
過熱時のi.MX8MPの自動パワーオン動作 私は congatec SMARC モジュールと imx8mp プロセッサを使用しています。 要件を明確にするために、次のことを行います。 SMARCモジュールの温度センサーが105°Cに達すると、システムの電源がオフになります。 現在、システムの再起動には手動で電源を入れ直す必要があります。 この動作を変更して、温度がトリガーしきい値を下回ったときにシステムの電源が自動的にオンになるようにしたいと思います。 この動作がSCFW(システムコントローラーファームウェア)で変更できることを示唆する参考文献が見つかりました。ただし、SCFW ファームウェアは i.MX8MP プロセッサには使用されません。 i.MX8MPのブート シーケンスは次のとおりです。 BootROM → SPL → BL31 (ATF - ARM Trusted Firmware) → OP-TEE (オプション) → BL33 (U-Boot) → Linux カーネル。 私たちの理解に基づくと、この行動に対処する可能性のある分野は次のとおりです。 a) BL31(ATF)の改造。 SNVS(Secure Non-Volatile Storage)内の設定の調整。 b) SMARC モジュールに存在する PMIC PCA9450Cを設定して、自動電源オンを有効にします。 PMIC コンフィギュレーションが正しいパスである場合は、自動電源オンの CONFIGURATION PCA9450C に関するドキュメントまたは詳細を提供できますか。 それとも、もっと良い解決策はありますか? 評価ボード Re: i.MX8MP の過熱時の自動電源投入動作 結局、ウェイクアップアラームを設定し、シャットダウンの直前にそれを設定するサービスを追加しました。したがって、システムがトリガーされたり、電源がオフになったりするたびに、アラームがトリガーされます。何もないよりはましです。 エコー +120 > /sys/class/rtc/rtc1/wakealarm   Re: i.MX8MP の過熱時の自動電源投入動作 親愛なるMarco_Savo、 BL31を変更することはオプションではありません。 2番目のオプションは、電源オンシーケンスを開始するためにPMIC_ON_REQをアサートする必要があるため、自動電源オンがないため、不可能です。 FPGA を使用して、PMIC_ON_REQ 信号をアサートできます。
View full article
S32k146 LPSPI0 doesn't work Hi, I tested the LPSPI example for S32k146, to add in future the communication with a sd-card via SPI. But it doesn't work. I use PTB0 - PTB3 (LPSPI0). While debugging, it stucks at the while loop in transmit / read function. I attach the functions (init, send, read). Can anyone help? Best regards Sandra Re: S32k146 LPSPI0 doesn't work Hello Sandra, How many of the 128 CLK cycles do you see at the pin? If you don't read the RX data from the RX FIFO, set CFGR1[NOSTALL]. BR, Daniel Re: S32k146 LPSPI0 doesn't work Hi Daniel, thanks for your reply.  The CS and CLK line work as expected. But on the MOSI line there is no data. Here is how we call the write_byte() function: for (b = 0 ; b < 0x0f; b++) //Send min 74+ clocks { write_byte(0xff); } but it stay stuck in the write_byte() in the following line: while(((LPSPI0->SR & LPSPI_SR_TDF_MASK)>>LPSPI_SR_TDF_SHIFT)==0); What could be the problem? Best regards Sandra Re: S32k146 LPSPI0 doesn't work Hi @12914A, Can you scope the bus? Is the LPSPI0 sending something on the bus? How do you call the write_byte() and read_byte() functions? Regards, Daniel
View full article
Can you release the IVT for i.MX7D SABRE? Hellow. DDR3L cannot be recognized in a circuit using i.MX7D. I have tried everything but I cannot solve the problem. Can you release the IVT for i.MX7D SABRE? Thank you. Re: Can you release the IVT for i.MX7D SABRE? Hello, Yes @bernie654 is correct! also this can help you: https://github.com/u-boot/u-boot/blob/master/doc/imx/habv4/guides/mx6_mx7_secure_boot.txt Regards Re: Can you release the IVT for i.MX7D SABRE? The IVT for the i.MX7D SABRE is highly specific to the board and its configuration. I cannot directly provide it due to security concerns. Refer to the i.MX7D SABRE documentation, schematics, and NXP support resources for the necessary information.
View full article
How to get a SRAM section without initialize in K312? Hi everyone   I need to pass some information from boot to the app,so I think it's a good way to get some uninitialize SRAM section ,and define some variant here,as you can see: But when I read the values of these variables, there are some hardware failures: So Maybe there's something wrong with the way I wrote it. but,how to get a SRAM section without initialize in K312? or how can i pass some information from boot to app not used dataflash? Re: How to get a SRAM section without initialize in K312? Hi @danielmartynek  Thank you for your help ! Problem 3 is caused by my incorrect area definition, and after your prompt, I have  resolved this issue . Re: How to get a SRAM section without initialize in K312? Hi @Reyna_pan45, 1. You can use the Power_Ip RTD driver to trigger a funcional reset to see if the ECC initialization is skipped. Also, you can implement this on your new section only. 2. I don't know if there is any issue with the MPU. Anyway, the MPU can be disabled in system.c 3. I don't understand the question, please elaborate. Regards, Daniel Re: How to get a SRAM section without initialize in K312? Hi @danielmartynek  Thank you for your help,I have made modifications to the. s file according to the instructions you provided, and confirmed that the current partition is 0x100, which is a multiple of 64 bits. However, I still encountered a hardware failure The following are the modifications I made in the. s file: Based on the above phenomenon, my question is as follows: 1.Is this modification correct? 2.Can you provide the routine for how to modify and close this fault in the MPU you mentioned? 3.And, after this modification, I found a new issue: it will cause the generated hex file to contain this part of the content. Do you know how to modify this issue? Re: How to get a SRAM section without initialize in K312? Hi @Reyna_pan45, Have a look at the default linker_flash_s32k312.ld and startup_cm7.s, the SRAM ECC is initialized up to __INT_SRAM_END which is ORIGIN(ram_rsvd2). You placed the new section behind that, so it is not initialized. Before the memory can be read, its ECC must be initialized. It can be initialized later, but it must be a 64bit write. The SRAM is retain through functional system reset only. The bootloader / application can check the source of the reset and skip the ECC initialization if needed, this was discussed here: https://community.nxp.com/t5/S32K/SRAM-ECC-Initialization-for-S32K344/m-p/1764143 There can be also issues with the MPU that is initialized in system.c This would result in a MemManage fault exception. Regards, Daniel
View full article
您能发布 i.MX7D SABRE 的 IVT 吗? 你好。 使用 i.MX7D 的电路无法识别 DDR3L。 我已尝试了所有方法,但仍然无法解决问题。 您能发布 i.MX7D SABRE 的 IVT 吗? 谢谢! 回复:您能发布 i.MX7D SABRE 的 IVT 吗? i.MX7D SABRE 的 IVT 高度特定于电路板及其配置。出于安全考虑,我无法直接提供它。请参阅 i.MX7D SABRE 文档、原理图和 NXP 支持资源以获取必要信息。
View full article
i.MX7D SABREのIVTはリリースできますか? こんにちは。 i.MX7Dを使用した回路ではDDR3Lを認識できません。 私はすべてを試しましたが、問題を解決することはできません。 i.MX7D SABREのIVTはリリースできますか? ありがとうございます。 Re:i.MX7D SABREのIVTをリリースできますか? i.MX7D SABREのIVTは、ボードとその構成に非常に固有です。セキュリティ上の懸念から、直接提供することはできません。必要な情報については、i.MX7D SABREのドキュメント、回路図、およびNXPサポートリソースを参照してください。
View full article
USB HID Touch Screen detection with i.MX93-EVK Hello, My i.MX93-EVK board does not detect the USB HID touchscreen. I am using the T080a portable touch monitor, the touchscreen is connected via USB-C. I built used the following build commands repo init -u https://github.com/nxp-imx/imx-manifest -b imx-linux-mickledore -m imx-6.1.55-2.2.0.xml repo sync MACHINE=imx93evk DISTRO=fsl-imx-fb source imx-setup-release.sh -b build bitbake imx-image-core The device tree is fdtfile=imx93-11x11-evk.dtb It seems the USB HID device is not even detected. There is not even a log in dmesg when connecting the USB cable, so the device /dev/input/touchscreen0 is not created root@imx93evk:~# ls /dev/input/ by-path event0 event1 root@imx93evk:~# lsusb root@imx93evk:~# root@imx93evk:~# evtest No device specified, trying to scan all of /dev/input/event* Available devices: /dev/input/event0: 44440000.bbnsm:pwrkey /dev/input/event1: WM8962 Beep Generator Select the device event number [0-1]: Could you provide a solution for this issue? Thanks, Nicolas ps: the USB port is functional, a USB mouse on the same port is detected. Re: USB HID Touch Screen detection with i.MX93-EVK Actually we found a solution. Apparently the kernel can only see a USB host device, and so when we used a combination of a USB-C to host cable from i.MX93-EVK to a USB-C male/male cable to the HDMI screen, then we could see /dev/input/touchscreen0 mounted by the kernel. Re: USB HID Touch Screen detection with i.MX93-EVK Hi Please check your defconfig and enable all features about USB HID touch screen. Best Regards Zhiming
View full article
IA integration Hello, I would like to inquire if there are any upcoming plans to integrate AI tools within the MCUXpresso IDE for code generation or other development tasks. I’ve noticed that the Eclipse AssistIA tool is currently not compatible with MCUXpresso. Additionally, I wanted to mention that Visual Studio offers plugins such as Codestral that provide similar AI-driven features. Are there any existing or planned AI tools for MCUXpresso that could enhance the development experience in a comparable way? Regards. Re: IA integration Hi @ahmedhrabi , see https://community.nxp.com/t5/MCUXpresso-IDE/Broken-Text-search/m-p/1958351/highlight/true#M10045 I personally have not used Tabnine, but it seems to me that their claim of privacy does not cover the free tier. Anyway, my personal opinion is: if you are working on open source software only, such AI models might be fine. I never would use it for anything else. There are simply too many risks associated with such 'helpers'. And prior using AI with your coding: better check first with your legal and IP department and lawyer. Just my 1 cent. Erich Re: IA integration @ErichStygerThanks for your response. I wasn’t aware of the issues Copilot 4 has with Eclipse. On a related note, do you have any feedback on Tabnine, as it's also supported in Eclipse? Regards, Re: IA integration IMHO, these AI plugins at least in the current state are more experimental. Use them at your own risk. I have not tried AssistAI, but I know for example Copilot4Eclipse even can damage an existing Eclipse installation, causing standard functions to break. You will need a new fresh installation of the Eclipse distribution. This potentially might get more mature over time, but that might take time, depending on the quality of such AI plugins. As you already mention VS Code: NXP supports it and provides extensions for it, so if you really want to use AI tools, then you have a choice. I hope this helps, Erich Re: IA integration hi,ahmedhrabi Thank you for your suggestion. I have submitted it to the internal department. BR Xu Zhang
View full article
PN7220 with one HOST to use EMVCo polling and NFC Forum polling Hi everyone, I'm planning to use a host SoC with the PN7220 to support both EMVCo and NFC Forum polling. I'm uncertain about whether I should use the I2C, SPI interfaces, or both to achieve this functionality. Is SPI necessary for reading MasterCard/Visa cards compliant with EMVCo standards? While I don't need a PCI certification, I do need to accept payments via MasterCard/Visa cards as a Virtual POS. Can I use just the I2C interface for both EMVCo and NFC operations? Alternatively, should I use separate interfaces, with SPI for EMVCo polling and I2C for NFC, considering I have only one Android-running SoC in my hardware? Could you please advise on the best way to connect the PN7220 to an Android-based host? Should I dynamically switch the MODE pin to support both EMVCo and NFC Forum? Do I need to use both SPI and I2C interfaces? Thanks! Re: PN7220 with one HOST to use EMVCo polling and NFC Forum polling Hi @Daniel_Gutierrez, Thanks for your great support.  Re: PN7220 with one HOST to use EMVCo polling and NFC Forum polling Hello @mcihangir, Good Day! Thank you very much for your interest in our products. Regarding the use of PN7220 to support EMVCo and NFC Forum technologies, and considering you only have one Android Main Host in your setup, you may use only the PN7220 HIF1 enabling I2C communication, given that in Single Host Mode the PN7220 supports the use of both technologies, which are selected just by toggling the Mode_Switch_GPI.  Please refer to section 4 of the PN722X NFC controller User Manual to get a deeper understanding on the communication flow for Single Host Mode, and consider taking a look at Table 8. PN722X GPI usage on the same document to learn about signal handling for the Mode_Switch_GPI. My best regards, Daniel.
View full article
PN7220 と 1 つのホストで EMVCo ポーリングと NFC フォーラム ポーリングを使用 こんにちは、皆さん PN7220 でホスト SoC を使用して、EMVCo と NFC フォーラムの両方のポーリングをサポートする予定です。この機能を実現するために、I2C、SPIインターフェイス、またはその両方を使用すべきかどうかについて確信が持てません。 EMVCo規格に準拠したMasterCard/Visaカードを読み取るためにSPIは必要ですか? PCI認証は必要ありませんが、MasterCard/Visaカードによる支払いをVirtual POSとして受け入れる必要があります。I2CインターフェースだけをEMVCoとNFCの両方の操作に使用できますか? または、ハードウェアに Android を実行する SoC が 1 つしかないことを考慮して、EMVCo ポーリングに SPI を使用し、NFC に I2C を使用する、別々のインターフェースを使用する必要がありますか? PN7220をAndroidベースのホストに接続するための最良の方法についてアドバイスをいただけますか?EMVCo と NFC フォーラムの両方をサポートするために MODE ピンを動的に切り替える必要がありますか?SPIインターフェースとI2Cインターフェースの両方を使用する必要がありますか? ありがとうございます! 日時:PN7220と1つのホストでEMVCoポーリングとNFCフォーラムポーリングを使用 こんにちは @mcihangir、こんにちは! この度は、弊社製品にご興味をお持ちいただき、誠にありがとうございます。 PN7220を使用してEMVCoおよびNFCフォーラムテクノロジーをサポートすることについて、およびセットアップにAndroidメインホストが1つしかないことを考慮すると、PN7220はI2C通信を有効にするPN7220 HIF1のみを使用できます。シングルホストモードでは、PN7220は両方のテクノロジーの使用をサポートしており、Mode_Switch_GPIを切り替えるだけで選択できます 。 PN722X NFCコントローラーユーザーマニュアルのセクション4を参照して、シングルホストモードの通信フローをより深く理解し、表8を確認することを検討してください。PN722X GPIの使用法については、Mode_Switch_GPIの信号処理について同じドキュメントで説明しています。 よろしくお願いします。 ダニエル書。
View full article
PN7220 配备一个主机,用于 EMVCo 轮询和 NFC Forum 轮询 大家好, 我计划使用带有 PN7220 的主机 SoC 来支持 EMVCo 和 NFC Forum 轮询。我不确定是否应该使用 I2C、SPI 接口或两者来实现此功能。 读取符合 EMVCo 标准的 MasterCard/Visa 卡是否需要 SPI? 虽然我不需要 PCI 认证,但我确实需要通过万事达卡/维萨卡作为虚拟 POS 接受付款。我可以仅使用 I2C 接口进行 EMVCo 和 NFC 操作吗? 或者,考虑到我的硬件中只有一个运行 Android 的 SoC,我是否应该使用单独的接口,使用 SPI 进行 EMVCo 轮询,使用 I2C 进行 NFC? 您能否建议将 PN7220 连接到基于 Android 的主机的最佳方法?我是否应该动态切换 MODE 引脚以同时支持 EMVCo 和 NFC Forum?我是否需要同时使用 SPI 和 I2C 接口? 谢谢! 回复:PN7220 配备一个主机,用于 EMVCo 轮询和 NFC 论坛轮询 你好@mcihangir ,祝你有个愉快的一天! 非常感谢您对我们的产品感兴趣。 关于使用 PN7220 支持 EMVCo 和 NFC Forum 技术,考虑到您的设置中只有一个 Android 主主机,您可能只使用 PN7220 HIF1 来实现 I2C 通信,因为在单主机模式下 PN7220 支持使用这两种技术,只需切换Mode_Switch_GPI 即可选择这两种技术。 请参阅PN722X NFC 控制器用户手册第 4 节,以深入了解单主机模式的通信流程,并考虑查看表 8。同一文档中的 PN722X GPI 使用情况,以了解Mode_Switch_GPI 的信号处理。 谨致问候, 丹尼尔。
View full article
我无法在 iMX8ULP 中的 M33 核心上启动 VSCode 调试 我尝试在 iMX8ULP 处理器内部启动 Cortex M33 内核的调试会话。我按照AN14120:在 i.MX 8ULP 上使用 VS Code 调试 Cortex-M 的说明操作,但卡在了“连接到 i.MX 8ULP 的 J-Link 调试器”步骤。连接后,出现了带有调试按钮的面板,但调试无法在断点处停止,暂停按钮也无法停止代码执行。此外,我还在 Cortex A35 上运行了 Linux。调试控制台输出和 .vscode 文件已附上。 回复:我无法在 iMX8ULP 中的 M33 核心上启动 VSCode 调试 我已经闪了一下并且成功了,谢谢。
View full article
S32DS Licence Problem Hello, I am not able to reinstall S32DS due to a licence problem. (Fullfillment ID 197733417) I cannot return the licence or remove it from my account. I do not have S32DS currently installed. Also, what is the correct procedure so that this does not happen again? Thank you! Activation | Installation | Licensing | Installer Download Re: S32DS Licence Problem Hi @greyes  I think you are confused, the licenses shown are not for S32 Design Studio for the S32 platform, they are S32K3 software licenses. I cannot determine which one it is, but if you press the "Details" button it will send you to a page that provides all the details of the license. You can find the S32DS activation code directly on the IDE page: S32 Design Studio 3.5 > S32 Design Studio for S32 Platform v.3.5 > License Keys tab.  BR, VaneB
View full article
I can't start debug on VSCode for M33 core in iMX8ULP I try to start debug session for Cortex M33 core inside iMX8ULP processor. I follow the instructions AN14120: Debugging Cortex-M with VS Code on i.MX 8ULP and I stuck on step Attach to J-Link debugger for i.MX 8ULP.  After attach the panel with debug buttons apeared but debug doesn't stop on breakpoints and pause button doesn't stop code execution. Also I've got running Linux on Cortex A35. Debug console output and .vscode files are attached. Re: I can't start debug on VSCode for M33 core in iMX8ULP I flashed and it worked, thanks. Re: I can't start debug on VSCode for M33 core in iMX8ULP Hi @dzmitry! Thank you for contacting NXP Support! Do you create and flash the flash.bin image using your M33 image? For i.MX 8ULP, due to the Upower unit, build the flash.bin using m33_image in our "VSCode" repo first. The M33 image can be found in {CURRENT REPO}\armgcc\debug\sdk20-app.bin. Refer to Section 6 from the Getting Started with MCUXpresso SDK for EVK-MIMX8ULP and EVK9-MIMX8ULP in the SDK_2_xx_x_EVK-MIMX8ULP/docs on how to build the flash.bin image. Note: Use the M33 image in the active VSCode repo. Otherwise, the program does not attach properly. Right-click and choose "Attach" Best regards! Chavira
View full article
iMX8ULP の VSCode で M33 コアのデバッグを開始できません iMX8ULPプロセッサ内のCortex M33コアのデバッグセッションを開始してみます。AN14120の「i.MX 8ULPのVS Codeを使用したCortex-Mのデバッグ」の指示に従い、i.MX 8ULPのJ-Linkデバッガにアタッチする手順で立ち往生しました。 デバッグボタンが表示されたパネルをアタッチした後、デバッグはブレークポイントで停止せず、一時停止ボタンはコードの実行を停止しません。また、Cortex A35でLinuxを実行しています。デバッグ コンソール出力と .vscode ファイルが添付されています。 Re: iMX8ULP の M33 コアの VSCode でデバッグを開始できません フラッシュして、うまくいきました、ありがとう。
View full article
在Qt widget中使用glimagesink插件播放视频时软件崩溃 NXP工程师你好! 我们的开发板是i.mx8mp,内核5.10.9,Qt5,Yocto3.2.0。 开发软件的功能主要是视频播放和控制,需要将视频嵌入显示在widget里面,并且可以改变widget的大小,目前软件在ubuntu上开发是没有问题的,并且也能够正常运行,但是利用i.mx8mp的Qt交叉编译环境编译并运行到i.mx8mp上时,软件会崩溃,并报出Segmentation fault错误,经过问题定位,就是Glimagesink这个插件出现的问题,如果换成waylandsink,软件不会崩溃,但是视频会显示到widget之外 图1 Ubuntu显示效果,是正常想要的效果 图2 i.mx8mp崩溃log 图3 将glimagesink换成waylandsink后i.mx8mp显示效果 非常期待您能回复,如果提供例程或者问题调查方向,不胜感激 我们的源码放在附件中 feiyu Re: 在Qt widget中使用glimagesink插件播放视频时软件崩溃 Hi,@ Zhiming_Liu 非常感谢您的回复,目前问题已经解决,简单说就是wayland中,无法直接将waylandsink(或者glimagesink)插件绑定到Qt widget上,需要进行转换,我们最后的demo放到附件中,请参考 int main(int argc, char *argv[]) { gst_init(&argc, &argv); QApplication app(argc, argv); app.connect(&app, SIGNAL(lastWindowClosed()), &app, SLOT(quit())); qDebug() << "qt platform name: " << QGuiApplication::platformName(); // prepare the pipeline GstElement *pipeline = gst_parse_launch("videotestsrc ! waylandsink", NULL); // prepare the ui PlayerWindow *window = new PlayerWindow(pipeline); window->resize(640, 480); window->show(); GstElement *vsink = gst_element_factory_make("waylandsink", "wsink"); g_object_set(GST_OBJECT(pipeline), "video-sink", vsink, NULL); // connect to interesting signals GstBus *bus = gst_element_get_bus(pipeline); gst_bus_add_watch(bus, &PlayerWindow::postGstMessage, window); gst_bus_set_sync_handler(bus, bus_sync_handler, window, NULL); gst_object_unref(bus); // run the pipeline GstStateChangeReturn sret = gst_element_set_state(pipeline, GST_STATE_PLAYING); if (sret == GST_STATE_CHANGE_FAILURE) { gst_element_set_state(pipeline, GST_STATE_NULL); gst_object_unref(pipeline); // Exit application QTimer::singleShot(0, QApplication::activeWindow(), SLOT(quit())); } int ret = app.exec(); window->hide(); delete window; gst_element_set_state(pipeline, GST_STATE_NULL); gst_object_unref(pipeline); return ret; } Re: 在Qt widget中使用glimagesink插件播放视频时软件崩溃 Hi 能否再提供一下编译生成的二进制文件以及测试方法,我这边编译toolchain需要一点时间,我先在demo image上面试一下。 Best Regards Zhiming Re: 在Qt widget中使用glimagesink插件播放视频时软件崩溃 你好 感谢答复,才发现忘了上传附件,现在追加 feiyu Re: 在Qt widget中使用glimagesink插件播放视频时软件崩溃 Hi 请上传一下测试源码 Best Regards Zhiming
View full article
构建错误“对‘__data_end__’未定义引用,start、etext、StackTop 请帮忙! 朋友们, 在MCUXpresso IDE v11.10.0 [Build 3148] [2024-07-03] 中,我遇到的两种主要构建错误很奇怪: 1) 我*认为*在我尝试使用 Segger 调试器进行半托管时出现了几个“时钟的多重定义”错误。 2)几个“对‘__data_end__’的未定义引用”等等,非常神秘和可怕。 我附上了这些错误的图片,如果您知道到底发生了什么,我将不胜感激。我真的很困惑。 谢谢,~~罗伯特 回复:构建错误“对‘__data_end__’未定义引用,start、etext、StackTop 请帮忙! 无需导入基于 CMSIS 的组件来支持电路板/设备/核心。这些已经由基于 NXP 的 SDK 示例中的 IDE 带来。在项目资源管理器中选择项目后,您会注意到工具栏中的“管理 SDK 组件”按钮处于活动状态。单击它,您将能够查看/删除/更新 SDK 组件。 此致, 阿德里安 回复:构建错误“对‘__data_end__’未定义引用,start、etext、StackTop 请帮忙! 阿德里安,我相信你是对的。我不知道如何摆脱系统中不协调的方面,实际上也不知道要删除哪个部分,所以我将重新开始并尝试让一切保持简约并从 SDK 开始 - 让项目告诉我我缺少一些东西并让它提供所需的东西。我的指令是获取 CMSIS 驱动程序,但也许我可以得到一个可运行的系统并一次更换一个驱动程序,如果 CMSIS 替换导致我的系统崩溃则恢复。希望这能起作用?祝我好运。 感谢您的回复,祝您有美好的一天,~~罗伯特 回复:构建错误“对‘__data_end__’未定义引用,start、etext、StackTop 请帮忙! 我怀疑您的项目中有多个启动/系统配置文件。鉴于您没有提供用于创建项目的步骤,我怀疑您将 NXP SDK 的设备级支持组件(通过已安装的 SDK 视图安装)与特定于同一设备的 CMSIS-Packs 组件混合在一起。请注意,您有两个不同的组件来源,因此您必须确保项目中不会出现重复的组件。 此致, 阿德里安
View full article
Build Error "undefined reference to '__data_end__' , start, etext, StackTop please help! Friends, My two main kinds of build errors are weird in MCUXpresso IDE v11.10.0 [Build 3148] [2024-07-03]:   1) Several "multiple definition of clock" errors which I *think* arise from my attempt to get semi-hosting going with a Segger debugger.   2) Several "undefined reference to '__data_end__' etc. which are very mysterious and scary.   I've attached a picture of these errors and would really appreciate it if you have any clue as to what the heck is going on.  I'm REALLY confused. Thanks, ~~ Robert Re: Build Error "undefined reference to '__data_end__' , start, etext, StackTop please help! There's no need to import CMSIS-based components for board/device/core support. These are already brought by the IDE in NXP-based SDK examples. Once you select the project in Project Explorer, you'll notice the "Manage SDK Components" button active in the toolbar. Click it and you'll be able to see/remove/update SDK components.  Regards, Adrian Re: Build Error "undefined reference to '__data_end__' , start, etext, StackTop please help! Adrian,  I'm sure you're right.  I can't see how get rid of an incongruous aspect of the system, and actually wouldn't know what part to remove, so I'm going to start over and try to keep everything minimalist and from the SDK -- to keep the project telling me I lack something and have it offer to supply the needed thing.  My directive is to get to CMSIS drivers, but maybe I can get a working system and swap out one driver at a time, reverting if CMSIS substitution crashes my system.  Hopefully that will work? Wish me luck.   THANK YOU for your response and have a nice day, ~~ Robert  Re: Build Error "undefined reference to '__data_end__' , start, etext, StackTop please help! I suspect that you have multiple startup/system configuration files in your project. Given that you don't offer the steps used to create the project, my suspicion is that you mixed device-level support component from NXP SDK (installed through Installed SDKs view) with CMSIS-Packs component specific for the same device. Note that you have two different sources of components, thus you must make sure you don't end-up with duplicated components in a project. Regards, Adrian
View full article
ビルドエラー "'__data_end__' への未定義の参照、start、etext、StackTop 助けてください! フレンズ 私の 2 つの主要な種類のビルド エラーは、MCUXpresso IDE v11.10.0 [ビルド 3148] [2024-07-03] で奇妙です。 1)私が考えるいくつかの「クロックの複数の定義」エラーは、Seggerデバッガでセミホスティングを行おうとする私の試みから発生します。 2)いくつかの「『__data_end__』などへの未定義の言及は、非常に神秘的で恐ろしいものです。 私はこれらのエラーの写真を添付しました、そしてあなたが一体何が起こっているのかについての手がかりを持っているなら本当に感謝します。私は本当に混乱しています。 ありがとう、~~ ロバート Re:ビルドエラー"未定義の参照 '__data_end__'、開始、電子テキスト、StackTop助けてください! ボード/デバイス/コアサポートのためにCMSISベースのコンポーネントをインポートする必要はありません。これらは、NXPベースのSDKの例でIDEによってすでに提供されています。Project Explorer でプロジェクトを選択すると、ツールバーに [Manage SDK Components] ボタンがアクティブになります。それをクリックすると、SDKコンポーネントを表示/削除/更新できます。 よろしくお願いします。 エイドリアン Re:ビルドエラー"未定義の参照 '__data_end__'、開始、電子テキスト、StackTop助けてください! エイドリアン、きっと君の言う通りだよ。システムの不調和な側面をどのように取り除くかがわからず、実際にはどの部分を削除すべきかわからないので、最初からやり直して、すべてを最小限に保ち、SDKから -- プロジェクトが何かが不足していると私に伝え続け、必要なものを提供するようにし続けます。私の指示はCMSISドライバーに到達することですが、おそらく私は動作するシステムを取得し、一度に1つのドライバーを交換し、CMSISの置換によってシステムがクラッシュした場合は元に戻すことができます。うまくいけば、それはうまくいきますか?幸運を祈って下さい。 あなたの応答をありがとう、そして良い一日を、~~ロバート Re:ビルドエラー"未定義の参照 '__data_end__'、開始、電子テキスト、StackTop助けてください! プロジェクトには複数のスタートアップ/システム設定ファイルがあると思います。プロジェクトの作成に使用される手順を提供していないことを考えると、NXP SDKのデバイスレベルのサポートコンポーネント(Installed SDKsビューを介してインストール)と、同じデバイスに固有のCMSIS-Packsコンポーネントを混在させたのではないかと思います。コンポーネントのソースが 2 つあるため、プロジェクト内でコンポーネントが重複しないように注意する必要があることに注意してください。 よろしくお願いします。 エイドリアン
View full article