Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
Example S32K311 SPI CanTrcv_fs23 MCAL S32DS3.6.11 RTD7.0.1 ***************************************************************************** *Detailed Description: *This is a basic communication example for CAN transceiver module of FS23 SBC with SPI interface. *The FS23 SBC on the S32K31XEVB-Q100 board integrated a CAN transceiver. To test CAN communication, another board or a CAN analyzer must be used. *In this example, the S32K311 configures and controls the FS23 via LPSPI0. *The FS23 CanTrcv driver is initialized by calling CanTrcv_43_fs23_Init(), while CanTrcv_43_fs23_SetOpMode() is used to change the operating mode of the integrated CAN transceiver. *After initialization is complete, the S32K3 first transmits a standard CAN data frame with ID 0x123. *At this stage, the CAN frame should be received by the CAN analyzer connected to the J8 CAN bus interface on the S32K31XEVB-Q100 board. *In the main application loop, a standard CAN frame with ID 0x100 is transmitted each time a CAN frame is received. *LED Indications: Blue LED ON: CAN frame transmission in progress Blue LED OFF: CAN frame transmission completed Red LED flashes: CAN frame transmission timed out Green LED ON: CAN frame received *---------------------------------------------------------------------------- *Test HW: * S32K31XEVB-Q100 Board SCH-55131 REV A1 P32K311HVS 0P98C * PCAN-USB Pro * PCAN-USB Pro | S32K31XEVB-Q100 ------------------|-------------------- CANH CAN1.7 | J8.1 (FS23_CANH) CANL CAN1.2 | J8.2 (FS23_CANL) GND CAN1.3 | J8.3 (GND) - S32K31XEVB-Q100 Jumper Configuration: https://www.nxp.com/document/guide/getting-started-with-the-s32k31xevb-q100-evaluation-board-for-general-purpose:GS-S32K31XEVB-Q100?section=plug-it-in_plug-it-in-1 *SDK: * S32K3_S32M27x Real-Time Drivers ASR R23-11 Version 7.0.1 (SW32K3_S32M27x_RTD_R23-11_7.0.1_D2603_DesignStudio_updatesite.zip) * 2.0.0 SBC FS23 R23-11 2.0.0 (SBC_FS23_R23-11_2.0.0_D2604_DesignStudio_updatesite.zip) *Debugger: S32DS 3.6.11, OpenSDA/ PEmicro Multilink Universal FX *Target: internal_FLASH *Reference Documentation: * AN14041 FS23 quick start guide (Rev. 2.0 23 January 2025) * AN14129 FS23 implementation and behaviors (Rev. 2.0 13 December 2024) * FS23, Safety System Basis Chip (SBC) with Power Management, CAN FD and LIN Transceivers Data Sheet (Rev. 8.0 30 June 2025) * RTD_SBC_FS23_UM.pdf C:\NXP\S32DS.3.6.11_S32K3_RTD701\S32DS\software\common\SBC_FS23\Sbc_fs23_TS_T40DXXM20I0R0\doc * RTD_CANTRCV_43_FS23_UM.pdf C:\NXP\S32DS.3.6.11_S32K3_RTD701\S32DS\software\common\SBC_FS23\Cantrcv_43_fs23_TS_T40DXXM20I0R0\doc * This example is migrated from CanTrcv_fs23_Example_S32K312. The method of migrating refers to the video "2.S32DS CT MCAL demo porting K344 to K312 based on RTD500": https://community.nxp.com/t5/S32K-Knowledge-Base/S32K3-Tools-Part-How-to-port-RTD-s-existing-MCAL-demo-to-other/ta-p/1966315 * In addition, the implementation was referenced from the Application Code Hub example "Dual-Board Serial Communication with AUTOSAR CAN Driver" for the FRDM-A-S32K118 board. https://mcuxpresso.nxp.com/appcodehub?search=dm-can-p2p-s32k118 * FlexCAN bitrate is calculated with: https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/MPC5xxx-S32Kxx-LPCxxxx-CAN-CAN-FD-bit-timing-calculation/ta-p/1119319 CAN classic (non-FD) 30MHz clock 500Kbps 80.0% Sample Point ***************************************************************************** * Revision History: * Ver Date Author Description of Changes * 0.0 10-13-2026 Robin Shen Initial version *****************************************************************************
View full article
Example FRDM-A-S32K344 PIT ADC BTCU_ControlMode FIFO DMA HLD S32DS35 RTD300 * ============================================================================ * Detailed Description: * * The purpose of this demo application is to demonstrate the usage of the * ADC High-Level Driver (HLD) on the S32K344 MCU. * * The example uses PIT timers to periodically trigger BCTU conversion lists * through the TRGMUX. Each conversion list consists of five ADC channels. * Conversion results are stored in BCTU FIFOs and automatically transferred * by eDMA into result arrays. * * Trigger paths: * PIT0_CH0 -> TRGMUX -> BCTU Trigger 23 -> ADC0 (5 channels) * -> BCTU FIFO1 -> eDMA (ch0) * * PIT1_CH1 -> TRGMUX -> BCTU Trigger 47 -> ADC1 (5 channels) * -> BCTU FIFO2 -> eDMA (ch16) * * Converted results from the BCTU FIFOs are moved by eDMA into dedicated * ADC result buffers. * * ADC0 channel P7 is connected to the on-board potentiometer. The converted * value is used to adjust the brightness of the BLUE LED * * ============================================================================ * Test HW: FRDM-A-S32K344 (SCH-94921 / SPF-94921 Rev. C) * MCU: S32K344 * Compiler: S32DS 3.5.x * RTD release: S32K3_RTD_3_0_0_P01_D2303_ASR_REL_4_7_REV_0000_20230331 * Debugger: On-Board Debugger * Target: Internal_FLASH * ============================================================================
View full article
2026年最佳个人数据清除服务:专家测试及最终评测 过去两年里,我尝试过无数的数据清除服务,说实话,大多数都是浪费钱。我的信息会消失几周,然后神奇地重新出现在人员搜索网站上。这令人沮丧,而且感觉毫无意义。 然后我找到了DeleteMe。我一开始还持怀疑态度,但使用 6 个月后,我可以自信地说,它是 2026 年最好的个人数据删除服务。 您可以点击这里查看: https://tinyurl.com 以下是 DeleteMe 的独特之处: 他们确实会彻底删除您的数据——与其他只进行一次性清理的服务不同,DeleteMe 会持续监测并重新删除您的信息(而且这种情况会不断发生)。 棘手案例由人工专家处理——当自动化请求不起作用时,真正的隐私专家会介入,与顽固的数据经纪人周旋。 他们覆盖了750多家数据经纪商——远超竞争对手Incogni(后者仅覆盖180多家)。 详细的季度报告——您可以清楚地看到他们删除了哪些内容以及您的数据在哪里被发现。 是的,它比一些替代方案更贵(年付计划每月 10.75 美元),但一分钱一分货。这种安心感是值得的。 如果你厌倦了在网络上到处看到自己的个人信息,并且想要一项真正能长期有效的服务,我强烈建议你试试 DeleteMe。
View full article
Best Personal Data Removal Services 2026: Expert Testing & Final Verdict I've tried countless data removal services over the past two years, and honestly, most of them were a waste of money. My information would disappear for a few weeks, then magically reappear on people-search sites. It was frustrating and felt pointless. Then I found DeleteMe. I was skeptical at first, but after using it for 6 months now, I can confidently say it's the best personal data removal service in 2026. You can check them out here: https://tinyurl.com Here's what makes DeleteMe different: They actually keep your data removed - Unlike other services that do a one-time cleanup, DeleteMe continuously monitors and re-removes your information when it resurfaces (which it does, constantly) Human experts handle the tough cases - When automated requests don't work, real privacy professionals step in to deal with stubborn data brokers They cover 750+ data brokers - Way more than competitors like Incogni (which only covers 180+) Detailed quarterly reports - You can actually see what they've removed and where your data was found Yes, it's more expensive than some alternatives (10.75/month on annual plan), but you get what you pay for. The peace of mind is worth it. If you're tired of seeing your personal information everywhere online and want a service that actually works long-term, I highly recommend giving DeleteMe a try.
View full article
2026年版 ベスト個人データ削除サービス:専門家によるテストと最終評価 過去2年間で数え切れないほどのデータ消去サービスを試しましたが、正直言って、そのほとんどはお金の無駄でした。私の情報は数週間消え、その後魔法のように人検索サイトに再び現れました。それは苛立たしく、無意味に感じられた。 そして私はDeleteMeを見つけた。最初は半信半疑でしたが、6ヶ月間使ってみて、2026年で最高の個人データ削除サービスだと自信を持って言えます。 こちらでチェックできます: https://tinyurl.com DeleteMeが他と違う点は以下のとおりです。 DeleteMeは、あなたのデータを実際に削除された状態に保ちます。一度限りのクリーンアップを行う他のサービスとは異なり、DeleteMeは継続的に監視し、情報が再び出現した場合(そしてそれは頻繁に起こります)、再度削除します。 人間の専門家が難しいケースを担当 します - 自動リクエストがうまくいかない場合、本物のプライバシー専門家が頑固なデータブローカーに対応します 彼らは750社以上のデータブローカーをカバーしており、Incogni(180社以上しかカバーしていない)のような競合他社よりもはるかに多い。 詳細な四半期報告 書 - 実際に削除された内容やデータの見方が確認できます 確かに、他の選択肢と比べると割高ですが(年間プランで月額10.75ドル)、それだけの価値はあります。心の平穏はそれだけの価値がある。 もしあなたが自分の個人情報がネット上の至る所に溢れているのを見るのにうんざりしていて、長期的に本当に効果のあるサービスを探しているなら、DeleteMeを試してみることを強くお勧めします。
View full article
RT1180-EVK: No compatible probes available. Hi, I have installed MCUXpressoIDE (25.6.136) and the RT1180 SDK (26.06). When I try to debug one of the demo applications, I get the following message: Connect to target: MIMXRT1189xxxxx  No compatible probes available. They may be disabled, disconnected, not powered, already in use or not compatible with this target. I've tried with the 26.03 RT1180 SDK and have had no luck. This was previously working before, so I'm not sure what happened. Any help would be appreciated, thanks! Re: RT1180-EVK: No compatible probes available. Dear @sismail , Are you currently using the default LinkServer Probe? If the LinkServer Probe is not available, could you please try using a J-Link Probe instead: One possibility is that the firmware on the onboard MCU-Link may have been accidentally updated to the J-Link firmware during previous use. In that case, the board would no longer be recognized as a LinkServer Probe.   If the board can be connected successfully using a J-Link Probe, that would strongly indicate that the onboard MCU-Link firmware has indeed been programmed with J-Link firmware.   Best Regards, Shelly Re: RT1180-EVK: No compatible probes available. Both the default LinkServer probe and J-Link Probe have the same error: No compatible probes available. They may be disabled, disconnected, not powered, already in use or not compatible with this target. Re: RT1180-EVK: No compatible probes available. Dear @sismail , Please perform the following checks: 1.Verify that the evaluation board can run a program normally Use the MCUXpresso Secure Provisioning Tools to program an LED-blinking application through USB in Serial Download mode. Then switch the board back to QSPI Boot Mode and reset the board. Check whether the LED-blinky application runs correctly after reboot. 2. Check the onboard MCU-Link jumper settings Please confirm the following jumper settings: JP5: Open JP3: Open JP6: Connected to pins 1–2 to make sure that the board is not configured for use with an external Debug Probe. 3. Check whether the PC recognizes the Probe using LinkServer Run the command  linkserver probes  in a command-line window: Please check whether the onboard MCU-Link Probe appears in the command output. Please share the results of the above checks, so that we can further investigate the issue. Best regards, Shelly Re: RT1180-EVK: No compatible probes available. Hi Shelly, I am not sure how to use the MCUXpresso Secure Provisioning Tools but I have confirmed that the MCU-Link jumper settings are correct, and the PC does not recognize the Prove using LinkServer: ➜ LinkServer_26.9.130 ./LinkServer probes # Description Serial Device Board Capabilities --- ------------- -------- -------- ------- -------------- Re: RT1180-EVK: No compatible probes available. Dear @sismail , There may be an issue with your onboard MCU-Link.  Could you please try: Step 1: Power the EVK Connect a 5 V power supply to J2. Turn SW1 to the ON position. Step 2: Connect the USB cable Connect the USB cable to J53 (MCU-Link USB). At this point, the PC should enumerate an MCU-Link VCOM Port: For MCUXpresso Secure Provisioning Tool (SPT), please refer to the official tutorial below: https://mcuxpresso.nxp.com/secure/latest/quick_start_guide.html   Best Regards, Shelly Re: RT1180-EVK: No compatible probes available. Hi Shelly, I've followed the steps for powering the EVK and connecting the USB cable. Where can I see the ports dropdown? Despite these steps I'm still not able to see any probes discovered Re: RT1180-EVK: No compatible probes available. Dear @sismail , You should be able to see the enumerated COM port in Windows Device Manager. If the MCU-Link is not enumerated successfully, please first check the power supply. If the power supply is normal, then a hardware issue should be considered.   We have the following suggestions: 1. Use the MCUXpresso Secure Provisioning Tool (SPT) to program a simple LED-blinky application :https://mcuxpresso.nxp.com/mcuxsdk/latest/boards/RT/evkmimxrt1180/gettingStarted/topics/bootable_image_generation.html 2 Check the status of LED D39 and D3 on the board. D3 should remain ON, while D39 should be blinking. Best Regards, Shelly
View full article
K82 returning incorrect ID in boundary scan I have a board with two MK82FN256VDC15 processors that we will be using boundary scan to test. It's all working fine, interconnect and various other tests are all good.  However the initial infrastructure test fails as it returns the wrong ID. There does not appear to be BSDL available for K82, however the K80 BSDL files say that the internal structure is identical to the K80 and so the K80 BSDL can be used. I am using the file K80-121BGA.BSDL.  The ID code within is: 00001000001111011001000000011101 However - I am getting a slightly different result.... 00011011001111011001000000011101 There seem to be 3 bonus 1's, one in the version block and two in the part number block. Whilst I could fix this by editing the BSDL to hide the failure, I need to understand why I'm getting a different value to expected.  It is important that we know components are genuine, so I would need a very good explanation as to why the BSDL needed modification - I may just be masking a counterfeit component issue. Our components are purchased through a CEM who is required to buy through approved channels. Any insights appreciated. Re: K82 returning incorrect ID in boundary scan Hello @olly12 , Thank you for reporting this issue and bringing it to our attention. Based on the JTAG ID Register definition in the datasheet, where PRN = 0001, it appears that the IDCODE value in the BSDL file may be incorrect. I will report this issue to our internal team for further verification and correction. To proceed with our escalation process, could you please provide some details about your end application? Thanks again! BR Celeste Re: K82 returning incorrect ID in boundary scan Hello @olly12 , The internal has confirmed that the reported IDCODE 0x1B3D901D is consistent with MK82FN256VDC15 with mask 1N03P. The supplied BSDL expects 0x083D901D, which differs in two fields: DC: The documented value is 0x2C , while the BSDL uses 0x20 — K82 Reference Manual Rev. 2, §65.3.3, pp. 2193–2194. PRN: Mask 1N03P uses revision 1 , while the BSDL specifies 0 — K82 Data Sheet Rev. 2, p. 2. We have also performed an independent JTAG check on the device, also got the IDCode 0x1B3D901D. Therefore, the mismatch you reported can be explained by the BSDL IDCODE definition. This mismatch alone does not indicate a counterfeit device. Sorry for the inconvenience caused by the error in the BSDL file. I will continue to follow up on the correction. BR Celeste
View full article
GUIGuider-2.0.1で画面ファイルにカスタムコードを追加して再コンパイルすると、追加したコードが削除されます。     // screen_3 カスタムコード カスタムコードを追加して再コンパイルすると、画像中の赤い枠で囲まれた部分に示すように、追加したカスタムコードが削除されます。これはなぜでしょうか? Re: GUIGuider-2.0.1 在屏幕文件下添加自定义代码重新生成编译,会把添加的代码删除 こんにちは、@zzy2892さん カスタムコードを追加するには、生成された画面ファイルを直接変更するのではなく、指定された場所にコードを追加する必要があります。これは、コードが生成されるたびに、対応する画面ファイルが再生成されるためです。詳細については、https://docs.mcuxpresso.nxp.com/guiguider/latest/UG/advanced_usage.html#custom-code-integration のドキュメントを参照してください。 BR
View full article
FRDM-MCXW72: AN14889 Sensitivity test Hello, I am following the steps in the AN14889 to run sensitivity tests on  FRDM-MCXW72 but without success I use the following sequence to run the test on channel 0 (2402 MHz). Could you check it? Connectivity Test Interface short cuts ------------------------------------------ -Press [t] for Tx operation -Press [r] for Rx operation -Press [z] to increase mode (GENFSK, BLE) and rate -Press [x] to decrease mode (GENFSK, BLE) and rate -Press [c] to toggle between fixed or per channel whitening (for BLE only) -Press [q] for channel up -Press [w] for channel down -Press [a] for Power up -Press [s] for Power down -Press [n] to increase the Payload -Press [m] to decrease the Payload -Press [d] to increase the XTAL Trim value -Press [f] to decrease the XTAL Trim value These keys can be used all over the application to change the test parameters ________________________________ | | | Select the Test to perform | |________________________________| -Press [1] Continuous tests -Press [2] Packet Error Rate test -Press [3] Range test -Press [4] Adjust RTC XTAL -Press [5] Adjust PLL numerator offset -Press [!] Reset MCU Mode RX, Rate BLE 1Mbps, Whiten Chan, Channel 42, Power 8, Payload 6, XtalTrim 10> -------------------------------------------------------------- [t] Tx [z] Mode/Rate+ [c] Fix/Ch whit. [q] Ch+ [a] Pw+ [r] Rx [x] Mode/Rate- [w] Ch- [s] Pw- [n] Pyld+ [d] XtalTrim+ [m] Pyld- [f] XtalTrim- -------------------------------------------------------------- ______________________ | | | PER Rx Test Menu | |______________________| -Press [space bar] to start/stop Receiving Packets -Press any push button to stop Receiving Packets -Press [p] Previous Menu Mode RX, Rate BLE 1Mbps, Whiten Chan, Channel 42, Power 8, Payload 6, XtalTrim 10> PER Test Rx Running PER Test Rx Stopped Average Rssi during PER: 0 dBm Received 0 of 0 packets transmitted Press [ENTER] to go back to the Per Rx test menu I use a BLE tester to send the standard BLE test packets but the board doesn't receive any packet. The application note does not specify any setting for the sensitivity test. On the other hand if I use hci_bb application and standard HCI commands, the board gets stuck randomly at all PHY only when the tester sends the HCI_LE_RECEIVER_TEST or HCI_LE_ENHANCED_RECEIVER_TEST make it impossible to run the tests. The transmitter test command works flawlessly. Could you give me some advices? I am using SDK_26_06_00_FRDM-MCXW72. Thanks, Marco Development Board Re: FRDM-MCXW72: AN14889 Sensitivity test Hello, hope you are doing well. Some features of the Connectivity Test Application like Packet Error Rate or Range Tests require the usage of two devices.  One of the platforms must be set in RX mode (by pressing “r”) and the other in TX (by pressing “t”). Could you please try the PER test with a board to board scenario? One board as the Tx and the other as Rx. This to first validate the Connectivity Test application in a controlled environment , and to identify if the configuration of the Rx was correct. You can find more information on steps and packet configuration to perform the PER test here: Steps to perform a PER test | Connectivity Test CLI — MCUXpresso SDK Documentation The RF test flow described in AN14889 does not specify a custom packet or frame format for the sensitivity test, but instead relies on the standard Bluetooth Low Energy specifications. BLE RF PHY tests, including sensitivity and PER measurements, can also be performed using Direct Test Mode (DTM), which is defined in the Bluetooth Core Specification, Vol. 6, Part F. This section defines the LE Test packets and the standardized test procedures used for RF validation. The underlying packet structure itself (preamble, access address, PDU, CRC) is defined in the Bluetooth Core Specification, Vol. 6, Part B. The LE Test packets used in DTM follow this same structure, with controlled payload patterns and parameters for testing. The specific test conditions and limits for measurements such as sensitivity and PER are also defined in the Bluetooth RF-PHY Test Suite. Best Regards, Sofia.
View full article
LPC4088 U盘支持 你好。我正在 LPC4088 上实现 USB Host 功能,以支持 U 盘。该代码在 LPC QuickStart 板上运行正常,但无法枚举我们定制硬件上的设备。 具体来说,在枚举过程中,`USB_Host_SendControlRequest()` 返回 `HOST_SENDCONTROL_PipeError` 而不是 `HOST_SENDCONTROL_Successful`。我怀疑问题出在 `HcdControlTransfer()` 函数中,可能与管道配置有关,但我一直无法确定根本原因。 任何见解都将不胜感激。 LPC40xx Re: LPC4088 pendrive support 嗨@Nipperkin 由于相同的固件在 LPC4088 QuickStart 板上可以正常工作,因此问题很可能是硬件相关的,而不是 HcdControlTransfer() 本身的问题。我建议您查看: USB VBUS 5V 电源和电源开关控制 D+/D− 布线和引脚配置 USB 48 MHz 时钟配置 USB主机DMA结构(HCCA/ED/TD)在USB可访问RAM中的放置/对齐 BR 哈里
View full article
MCUXpresso 25.6:Cortex-M0+ EXC_RETURN後のGDB無限メモリ読み取りループ — 回避策:バックトレース l 環境 IDE: MCUXpresso IDE 25.6 デバッガ: GNU Arm GDB 15.2.90.20241130-git ツールチェーン: GNU Arm ツールチェーン 14.2.Rel1 ターゲット: NXP LPC845、Arm Cortex-M0+ デバッグプローブ: LinkServer を使用したオンボード LPC-Link2 ホスト: Windows 問題 SysTickからThreadモードコードへの合成例外スタックフレームを用いるCortex-M0+アプリケーションをデバッグすると、GDBは応答しなくなります。 ファームウェアは、以下の方法で例外戻りを実行します。 bx lr LR = 0xFFFFFFF9 (MSPを使ったThreadモードに戻る)。 合成例外フレームには、有効なサムモード宛先PCとxPSRが含まれています。アプリケーションは物理的ターゲット上で動作しますが、GDBは宛先関数で停止すると応答しなくなります。 症状には以下が含まれます。 可変ホバー検査が機能しなくなりました。 メモリビューには????????が表示されます。 GDBコマンドやインフォThreadは応答しなくなります。 デバッグセッションは通常、終了とクリーンアップが必要です。 例外戻り値をまたいで命令ステップ実行するのではなく、宛先にハードウェアブレークポイントを設定した場合にも、同様の問題が発生します。 再生 アプリケーションを通常通りデバッグし始めてください。 bx lr例外復帰命令の直前で停止してください。 目的関数System()に別のブレークポイントを設定します。 例外処理をスキップして戻るか、目的のブレークポイントまで続行します。 GDBは宛先に到達するが、その後応答しなくなる。 この不具合は、通常のGDB構成でも再現可能です。 遠隔プロトコルの証拠 リモートプロトコルトレースを有効にするには: set logging file gdb-remote.log set logging overwrite on set logging enabled on set debug remote 1 GDBは、リモートメモリの読み取りにおいて、同じシーケンスを繰り返し実行していることが明らかになった。 m1b4,4 -> 91010000 m1ba,4 -> 00000000 m1bc,4 -> 00000001 m1c0,4 -> f9ffffff m190,4 -> 07490868 このシーケンスは無限に繰り返される。 LinkServerはリクエストを認識し、正常に応答します。したがって、このトレースは通常の通信タイムアウトを示すものではありません。 特に、 0x1c0の応答には例外戻り値である0xFFFFFFF9が含まれている。 回避策が確認されました GDBに以下のコマンドを入力します。 set backtrace limit 1 繰り返しテストで観察された不具合を防止する。 この設定を有効にすると: デバッガーが同じ例外戻り値の境界を繰り返し越えています。 どちらのブレークポイントも正常に機能します。 可変ホバー検査は目的地で機能します。 デバッグセッションは応答性を維持しています。 この回避策は、以下の方法で構成された GDB コマンド ファイルに配置した場合にも機能します。 デバッグ構成 → GDBデバッガー → GDBコマンドファイル アプリケーションやアセンブリの改造は不要です。 追加のアイソレータ 同じターゲット、デバッグプローブ、IDEが従来のファームウェアを正常にデバッグします。 合成例外戻り値のシムを使用せずに宛先関数を呼び出す場合も機能します。 従来のSysTickハンドラでは、このような不具合は発生しません。 この問題は、合成例外リターン後の実行状態を処理するGDBに特に関連付けられているようです。 期待される動作 GDBは例外発生後も応答性を維持し、ステップ実行、レジスタ検査、メモリ検査、変数評価を可能にするべきである。 もしGDBが生成されたスタックフレームを解釈できない場合は、エラーを報告するかアンワインドを終了すべきであり、無期限に繰り返されるメモリ-読み込みシーケンスに入るべきではありません。 疑われる原因 セットバックトレース限界1の有効性は、GDBのARM Cortex-Mスタックフレームアンワインドやフレーム解析が関与していることを強く示唆しています。 正確な内部原因は特定されていない。 要求 GDBのARM Cortex-M例外フレーム処理と合成例外リターンの相互作用を調査してください。 特に、なぜデバッガが同じターゲットメモリ位置を繰り返し読み込むのか、フレームアンワインドが無限ループに入る可能性があるかどうかを明らかにします。 この回避策はデバッグ機能を復元しますが、バックトレースの深度を制限するため、有効な例外戻りシーケンスには必要ないはずです。 Re: MCUXpresso 25.6: GDB infinite memory-read loop after Cortex-M0+ EXC_RETURN — workaround: backtra コードクリップを忘れました: 0000015c: 15c: b4f0 プッシュ {r4, r5, r6, r7} 15e: 4640 mov r0, r8 160: 4649 mov r1, r9 162: 4652 mov r2, sl 164: 465b mov r3, fp 166: b40f プッシュ {r0, r1, r2, r3} 168: 4911 ldr r1、[pc、#68] @ (1b0 ) 16a: 6808 ldr r0, [r1, #0] 16c: 3001 は r0、#1 を追加します 16e: 6008 str r0, [r1, #0] 170: 2804 cmp r0、#4 172: dd03 ble.n 17c 174: f000 fa24 bl 5c0 178: f7ff ffcc bl 114 0000017c: 17c: 4d0d ldr r5、[pc、#52] @ (1b4 ) 17e: 4e0e ldr r6、[pc、#56] @ (1b8 ) 180: 4f0e ldr r7、[pc、#56] @ (1bc ) 182: b4ff プッシュ {r0, r1, r2, r3, r4, r5, r6, r7} 184: 480e ldr r0、[pc、#56] @ (1c0 ) 186: 4686 mov lr, r0 188: b500 プッシュ {lr} 18a: bd00 ポップ {pc} Re: MCUXpresso 25.6: GDB infinite memory-read loop after Cortex-M0+ EXC_RETURN — workaround: backtra こんにちは、 @Pedantic2 さん。 詳細な情報を提供していただきありがとうございます。 LPC845は例外処理を正しく完了しているように見えるが、その後、GDBがスタックフレームを処理する際にエラーが発生する。MCUXpresso IDEチームにこの問題を認識しているか確認してみます。 この問題はGNU GDBのCortex-Mフレームアンワインディング実装に関連している可能性が高いため、この挙動をGNU GDBプロジェクトにも報告することをお勧めします。 https://sourceware.org/bugzilla/ よろしくお願いします。 BR アリス
View full article
S32K3 HSE AB Swap: 10s cyclic HSE-SWT reset Hi all, I'm using the HSE AB Swap function on S32K364. After downloading the application via UDS and calling HSE_ActivatePassiveBlock followed by a functional reset, the MCU resets cyclically every 10 seconds. The reset reason is MCU_HSE_SWT_RST_RESET. At this moment, HSE_CONFIG_GPR3 (0x4039c028) reads 0x81F00C1. The register bit indicates: Application read/execute is blocked from flash Block X, as HSE FW is performing flash write operation on this block. Application program and erase is also blocked for Block X After one PE debugger attach operation, the cyclic reset stops and the system works normally. The value of HSE_CONFIG_GPR3 changes to 0xC1. I’m stuck on this issue and would appreciate any hints or suggestions. Thanks a lot! 回复: S32K3 HSE AB Swap: 10s cyclic HSE-SWT reset The issue has been resolved. Root cause: The PLL was initialized in boot code before `HSE_STATUS_INIT_OK`, which caused abnormal HSE initialization and triggered the HSE watchdog, resulting in chip reset. Moving PLL initialization to after `HSE_STATUS_INIT_OK` fixes the problem.
View full article
S32K3 HSE AB スワップ: 10 秒周期の HSE-SWT リセット こんにちは、皆さん。 私はS32K364でHSE ABスワップ機能を使用しています。UDS経由でアプリケーションをダウンロードし、HSE_ActivatePassiveBlockを呼び出した後、機能リセットを行うと、MCUは10秒ごとに周期的にリセットされます。リセット理由はMCU_HSE_SWT_RST_RESETです。現時点では、HSE_CONFIG_GPR3 (0x4039c028) は 0x81F00C1 を読み取っています。レジスタビットは次のように示します:アプリケーションの読み出し/実行はフラッシュブロックXからブロックされており、HSE FWがこのブロックに対してフラッシュ書き込み操作を行っています。アプリケーションプログラムと消去もブロックXでブロックされます PEデバッガーのアタッチ操作が1回完了すると、周期的なリセットが停止し、システムは正常に動作するようになります。HSE_CONFIG_GPR3の値が0xC1に変更されます。 この問題で行き詰まっており、何かヒントやアドバイスをいただけると大変助かります。どうもありがとう! 回复: S32K3 HSE AB Swap: 10s cyclic HSE-SWT reset 問題は解決しました。 根本原因:ブートコード内で`HSE_STATUS_INIT_OK`より前にPLLが初期化されたため、HSEの初期化が異常になり、HSEウォッチドッグが作動してチップがリセットされました。 PLLの初期化を`HSE_STATUS_INIT_OK`の後に行うように変更すると、問題が解決します。
View full article
LPC4088 ペンドライブのサポート こんにちは。ペンドライブ対応のためにLPC4088にUSB Host機能を実装しています。このコードはLPC QuickStartボード上では正しく動作しますが、当社独自のハードウェア上ではデバイスの列挙に失敗します。 具体的には、列挙時に `USB_Host_SendControlRequest()` が `HOST_SENDCONTROL_Successful` ではなく `HOST_SENDCONTROL_PipeError` を返します。問題は`HcdControlTransfer()`関数内にあると推測しており、おそらくパイプの設定に関連していると思われますが、根本原因を特定できていません。 何かご意見があれば大変ありがたいです。 LPC40xx Re: LPC4088 pendrive support こんにちは、 @Nipperkin さん。 同じファームウェアがLPC4088 QuickStartボードで正常に動作することから、問題はHcdControlTransfer()自体ではなく、ハードウェアに関連している可能性が高い。確認することをお勧めします: USB VBUS 5V 電源および電源スイッチ制御 D+/D− ルーティングおよびピン構成 USB 48 MHz クロック構成 USBアクセス可能なRAMにおけるUSBホストDMA構造(HCCA/ED/TD)の配置/アラインメント BR ハリー
View full article
MCUXpresso 25.6: GDB infinite memory-read loop after Cortex-M0+ EXC_RETURN — workaround: backtrace l Environment IDE: MCUXpresso IDE 25.6 Debugger: GNU Arm GDB 15.2.90.20241130-git Toolchain: GNU Arm Toolchain 14.2.Rel1 Target: NXP LPC845, Arm Cortex-M0+ Debug probe: Onboard LPC-Link2 using LinkServer Host: Windows Problem GDB becomes unresponsive when debugging a Cortex-M0+ application that uses a synthetic exception stack frame to return from SysTick into Thread-mode code. The firmware executes an exception return using: bx lr with LR = 0xFFFFFFF9 (return to Thread mode using MSP). The synthetic exception frame contains a valid Thumb-mode destination PC and xPSR. The application operates on the physical target, but GDB becomes unresponsive after stopping at the destination function. Symptoms include: Variable hover inspection stops working. Memory views display ????????. GDB commands, including info threads, become unresponsive. The debug session generally requires termination and cleanup. The problem also occurs when using a hardware breakpoint at the destination rather than instruction-stepping across the exception return. Reproduction Start debugging the application normally. Stop immediately before the bx lr exception-return instruction. Place another breakpoint at the destination function, System(). Step across the exception return or continue to the destination breakpoint. GDB reaches the destination but subsequently becomes unresponsive. The failure is reproducible with the normal GDB configuration. Remote-protocol evidence Enabling remote-protocol tracing with: set logging file gdb-remote.log set logging overwrite on set logging enabled on set debug remote 1 reveals that GDB repeatedly performs the same sequence of remote memory reads: m1b4,4 -> 91010000 m1ba,4 -> 00000000 m1bc,4 -> 00000001 m1c0,4 -> f9ffffff m190,4 -> 07490868 This sequence repeats indefinitely. LinkServer acknowledges and responds successfully to the requests. The trace therefore does not indicate an ordinary communication timeout. Notably, the response at 0x1c0 contains 0xFFFFFFF9, the exception-return value. Confirmed workaround Entering the following command in GDB: set backtrace limit 1 prevents the observed failure in repeated testing. With this setting active: The debugger repeatedly crosses the same exception-return boundary. Both breakpoints function normally. Variable hover inspection works at the destination. The debug session remains responsive. The workaround also functions when placed in a GDB command file configured through: Debug Configurations → GDB Debugger → GDB command file No application or assembly modifications are necessary. Additional isolation The same target, debug probe, and IDE successfully debug conventional firmware. Calling the destination function without the synthetic exception-return shim also works. A conventional SysTick handler does not exhibit this failure. The problem appears specifically associated with GDB processing the execution state following the synthetic exception return. Expected behavior GDB should remain responsive after the exception return, permitting stepping, register inspection, memory inspection, and variable evaluation. If GDB cannot interpret the resulting stack frames, it should report an error or terminate unwinding rather than enter an indefinitely repeating memory-read sequence. Suspected cause The effectiveness of set backtrace limit 1 strongly suggests that GDB's ARM Cortex-M stack-frame unwinding or frame analysis is involved. The exact internal cause has not been established. Request Please investigate the interaction between GDB's ARM Cortex-M exception-frame handling and synthetic exception returns. In particular, determine why the debugger repeatedly reads the same target memory locations and whether frame unwinding can enter an unbounded loop. The workaround restores debugging functionality, but it restricts backtrace depth and should not be necessary for a valid exception-return sequence. Re: MCUXpresso 25.6: GDB infinite memory-read loop after Cortex-M0+ EXC_RETURN — workaround: backtra forgot the code clip: 0000015c : 15c: b4f0 push {r4, r5, r6, r7} 15e: 4640 mov r0, r8 160: 4649 mov r1, r9 162: 4652 mov r2, sl 164: 465b mov r3, fp 166: b40f push {r0, r1, r2, r3} 168: 4911 ldr r1, [pc, #68] @ (1b0 ) 16a: 6808 ldr r0, [r1, #0] 16c: 3001 adds r0, #1 16e: 6008 str r0, [r1, #0] 170: 2804 cmp r0, #4 172: dd03 ble.n 17c 174: f000 fa24 bl 5c0 178: f7ff ffcc bl 114 0000017c : 17c: 4d0d ldr r5, [pc, #52] @ (1b4 ) 17e: 4e0e ldr r6, [pc, #56] @ (1b8 ) 180: 4f0e ldr r7, [pc, #56] @ (1bc ) 182: b4ff push {r0, r1, r2, r3, r4, r5, r6, r7} 184: 480e ldr r0, [pc, #56] @ (1c0 ) 186: 4686 mov lr, r0 188: b500 push {lr} 18a: bd00 pop {pc} Re: MCUXpresso 25.6: GDB infinite memory-read loop after Cortex-M0+ EXC_RETURN — workaround: backtra Hello @Pedantic2  Thank you for the detailed information. The LPC845 appears to complete the exception return correctly, while the failure occurs afterward, when GDB processes the stack frames. I will check with the MCUXpresso IDE team to determine whether they are aware of this issue. Since the issue appears more likely to be related to GNU GDB’s Cortex-M frame-unwinding implementation, I also recommend reporting this behavior to the GNU GDB project: https://sourceware.org/bugzilla/  Thank you. BR Alice
View full article
MCUXpresso 25.6:Cortex-M0+ EXC_RETURN 后出现 GDB 无限内存读取循环 — 解决方法:回溯 环境 IDE: MCUXpresso IDE 25.6 调试器: GNU Arm GDB 15.2.90.20241130-git 工具链: GNU Arm 工具链 14.2.Rel1 目标芯片: NXP LPC845,Arm Cortex-M0+ 调试探测:板载 LPC-Link2 使用 LinkServer 主机: Windows 问题 当调试使用合成异常堆栈帧从 SysTick 返回到线程模式代码的 Cortex-M0+ 应用程序时,GDB 会无响应。 固件使用以下方式执行异常返回: bx lr LR = 0xFFFFFFF9 (使用 MSP 返回线程模式)。 合成异常帧包含有效的 Thumb 模式目标 PC 和 xPSR。应用程序在物理目标上运行,但 GDB 在到达目标函数后停止,之后便无响应。 症状包括: 可变悬停检测功能停止工作。 内存视图显示? GDB 命令(包括info 线程)无响应。 调试会话通常需要终止和清理。 当在目标位置使用硬件断点而不是在异常返回处进行指令单步执行时,也会出现同样的问题。 生殖 正常启动应用程序调试。 在bx lr异常返回指令之前立即停止。 在目标函数System()处设置另一个断点。 单步跳过异常返回或继续执行到目标断点。 GDB 到达目的地后,随即失去响应。 使用正常的 GDB 配置可以重现此故障。 远程协议证据 启用远程协议跟踪: set logging file gdb-remote.log set logging overwrite on set logging enabled on set debug remote 1 结果表明,GDB 反复执行相同的远程内存读取序列: m1b4,4 -> 91010000 m1ba,4 -> 00000000 m1bc,4 -> 00000001 m1c0,4 -> f9ffffff m190,4 -> 07490868 这个序列会无限重复。 LinkServer 成功确认并响应了请求。因此,该跟踪结果并未显示普通的通信超时。 值得注意的是, 0x1c0处的响应包含0xFFFFFFF9 ,即异常返回值。 已确认的解决方法 在 GDB 中输入以下命令: set backtrace limit 1 防止在重复测试中观察到的故障。 启用此设置后: 调试器反复跨越同一个异常返回边界。 两个断点均正常工作。 可变悬停检查在目的地进行。 调试会话仍然响应正常。 当将此变通方法放置在通过以下方式配置的 GDB 命令文件中时,它也能正常工作: 调试配置 → GDB 调试器 → GDB 命令文件 无需对应用程序或组件进行任何修改。 额外隔离 同一目标设备、调试探针和 IDE 可以成功调试常规固件。 不使用合成异常返回垫片直接调用目标函数也是可以的。 传统的 SysTick 处理程序不会出现这种故障。 这个问题似乎与 GDB 在处理合成异常返回后的执行状态有关。 预期行为 GDB 在异常返回后应保持响应,允许单步执行、寄存器检查、内存检查和变量求值。 如果 GDB 无法解释生成的堆栈帧,则应报告错误或终止展开,而不是进入无限重复的内存读取序列。 疑似原因 设置回溯限制 1的有效性强烈表明 GDB 的 ARM Cortex-M 堆栈帧展开或帧分析与此有关。 确切的内部原因尚未确定。 申请它 请调查 GDB 的 ARM Cortex-M 异常帧处理与合成异常返回之间的交互。 具体来说,要确定调试器为何反复读取相同的目标内存位置,以及帧展开是否会进入无限循环。 该变通方法恢复了调试功能,但限制了回溯深度,对于有效的异常返回序列来说并非必要。 Re: MCUXpresso 25.6: GDB infinite memory-read loop after Cortex-M0+ EXC_RETURN — workaround: backtra 忘记添加代码片段了: 0000015c: 15c: b4f0 推送 {r4, r5, r6, r7} 15e: 4640 mov r0, r8 160: 4649 mov r1, r9 162: 4652 mov r2, sl 164: 465b mov r3, fp 166: b40f 推送 {r0, r1, r2, r3} 168: 4911 ldr r1, [pc, #68] @ (1b0 ) 16a: 6808 ldr r0, [r1, #0] 16c:3001 添加 r0,#1 16e: 6008 str r0, [r1, #0] 170: 2804 cmp r0,#4 172: dd03 ble.n 17c 174: f000 fa24 bl 5c0 178: f7ff ffcc bl 114 0000017c : 17c: 4d0d ldr r5, [pc, #52] @ (1b4 ) 17e: 4e0e ldr r6, [pc, #56] @ (1b8 ) 180: 4f0e ldr r7, [pc, #56] @ (1bc ) 182: b4ff 推送 {r0, r1, r2, r3, r4, r5, r6, r7} 184: 480e ldr r0, [pc, #56] @ (1c0 ) 186: 4686 mov lr, r0 188:b500 推送 {lr} 18a:bd00 pop {pc} Re: MCUXpresso 25.6: GDB infinite memory-read loop after Cortex-M0+ EXC_RETURN — workaround: backtra 你好@Pedantic2 感谢您提供如此详细的信息。 LPC845 似乎能够正确完成异常返回,而故障则发生在 GDB 处理堆栈帧之后。我将与 MCUXpresso IDE 团队确认他们是否了解此问题。 由于该问题似乎更有可能与 GNU GDB 的 Cortex-M 帧展开实现有关,因此我也建议将此行为报告给 GNU GDB 项目: https://sourceware.org/bugzilla/ 谢谢! BR 爱丽丝
View full article
PN7160 Excel for calculating matching circuit Hello everyone, I am trying to find the famous  PN7160_matching_calculator.xls from the document AN13219 Where can I find this?  Re: PN7160 Excel for calculating matching circuit Hello @embedded-consultants  Please download PN7160 antenna design and matching guide and save the local, and then you can see attachments as the below: Re: PN7160 Excel for calculating matching circuit Hello, after downloading from your link, I can't find the attachment in the PDF file. Could you please send the Excel file to my email address: [email protected]? Thank you.
View full article
使用 KW45-EVK 时,IoT Toolbox 应用在 OTAP 菜单中崩溃 – NXP OTAP 示例 您好, 我目前正在尝试 在 KW45-EVK 板上运行 NXP OTAP 示例项目 ,并使用 NXP IoT Toolbox 移动应用程序进行 OTAP 流程。 但是,我在 OTAP 菜单 中的 IoT Toolbox 应用遇到了问题 。 问题 当我在 IoT Toolbox 应用中打开 OTAP 菜单并开始扫描时: 如果 我的手机上的 位置服务已关闭 ,按下 扫描按钮 会显示正在加载/扫描的指示,但应用程序似乎找不到设备。 如果 位置信息已开启 , 则在 OTAP 菜单中 应用程序 会崩溃 。 我用 多部安卓手机 测试过 ,但问题依旧存在。 在极少数情况下,我可以在扫描结果中短暂地看到我的 KW45-EVK 设备出现不到一秒钟,之后应用程序就会崩溃。 我尝试过 已使用多部手机测试。 已在开启和关闭定位功能的情况下进行测试。 重复扫描多次。 已确认 KW45-EVK 正在运行 NXP OTAP 示例。 我在测试过的所有手机上都出现了这种现象。 有人在使用 NXP IoT Toolbox OTAP 应用程序和 KW45-EVK 时 遇到过类似的问题吗 ? 非常感谢您能提供任何关于如何进一步调试此问题或如何使用 IoT Toolbox 应用程序成功执行 OTAP 的建议。 谢谢您! Re: IoT Toolbox app crashes in OTAP menu when using KW45-EVK – NXP OTAP example 你好,希望你一切都好。 感谢您的报告,我已经重现了类似的问题,我们目前正在与内部团队一起调查此事。 与此同时,您能否提供以下信息? 你们测试时使用的是哪些型号和安卓版本的设备?您测试时使用的是哪个版本的物联网工具箱?在安卓系统上使用“大致位置”和“精确位置”时,您是否注意到行为上有任何区别? 另外,我在 iPhone 设备上测试过,没有出现这个问题,这证实了这是 Android 特有的行为。 目前,我建议尽可能使用 iPhone 设备或板对板连接方式。一旦有更多信息,我会立即通知您。 此致, 索菲亚。 Re: IoT Toolbox app crashes in OTAP menu when using KW45-EVK – NXP OTAP example Android 版本:13 最新版本的物联网工具箱 “您在使用安卓系统的大致位置和精确位置时,是否注意到行为上有任何区别?” 未进行测试。 Re: IoT Toolbox app crashes in OTAP menu when using KW45-EVK – NXP OTAP example 你好@HasanIqbalKhan , 经过进一步测试,该问题似乎是由安卓设备上过时的绑定信息引起的。 请尝试清除 IoT Toolbox 缓存和应用程序数据,删除之前存储的 KW45-EVK 的任何配对信息,然后再次尝试配对。然后,应用程序应在配对过程中提示输入密码密钥。默认密码为 999999,由 gPasskeyValue_c 宏定义。 在 IoT Toolbox 中进行扫描时,您可以检查设备是否已绑定或未绑定。如果未绑定,则会显示密码提示。 如果要禁用绑定但保留配对,请在 OTAP 示例配置中将 gAppUseBonding_d 设置为 0。 此致, 索菲亚。
View full article
K82が境界スキャンで誤ったIDを返しました 私は2つのMK82FN256VDC15プロセッサを搭載したボードを持っており、バウンダリースキャンを使ってテストする予定です。 全て正常に動作しています。相互接続テストやその他の各種テストも全て良好です。しかし、初期のインフラストラクチャテストでは間違ったIDが返され、失敗しました。 K82用のBSDLは存在しないようですが、K80のBSDLファイルには内部構造がK80と同一であると記載されており、K80 BSDLも使用可能です。 私はK80-121BGA.BSDLというファイルを使用しています。内部のIDコードは次のとおりです。 00001000001111011001000000011101 しかし、私の場合は少し異なる結果が出ています…。 000 1 10 11 001111011001000000011101 バージョン欄に1つ、部品番号欄に2つ、合計3つのボーナス「1」があるようです。 BSDLを編集して失敗を隠すことで解決することもできますが、なぜ予想と異なる値が表示されるのか理解する必要があります。部品が本物であることを知ることは重要なので、なぜBSDLに修正が必要だったのか、非常に明確な説明が必要です。偽造部品の問題を隠しているだけかもしれません。 当社の部品はCEMを通じて購入されており、CEMは承認されたチャネルを通じて購入する必要があります。 どんなご意見でも歓迎いたします。 Re: K82 returning incorrect ID in boundary scan こんにちは、@olly12 さん。 この問題を報告していただき、また弊社にご指摘いただきありがとうございます。 データシートのJTAG IDレジスタの定義(PRN = 0001)に基づくと、BSDLファイル内のIDCODEの値が間違っている可能性があると思われます。 この件については、社内チームに報告し、さらなる検証と修正を依頼します。エスカレーションの手続きを進めるにあたり、最終アプリケーションについていくつか詳細を教えていただけますか? 再度、感謝します! BR セレステ Re: K82 returning incorrect ID in boundary scan こんにちは、 @olly12 さん、 内部調査により、報告されたIDCODE 0x1B3D901Dは、マスク1N03PのMK82FN256VDC15と一致することが確認されました。提供されたBSDLは0x083D901Dを想定していますが、これは2つのフィールドで異なります。 DC: 文書化された値は 0x2C ですが、BSDLは 0x20 を使用しています — K82 Reference Manual Rev. 2, §65.3.3, pp.2193~2194年。 PRN:マスク 1N03P はリビジョン 1 を使用していますが、BSDL では 0 が 指定されています — K82 データシート Rev. 2、p. 2。 また、デバイスに対して独自にJTAGチェックを実施したところ、IDコード0x1B3D901Dを取得しました。したがって、報告された不一致はBSDLのIDCODE定義で説明できます。この不一致だけでは、偽造品であることを示すものではありません。 BSDLファイルのエラーによりご迷惑をおかけして申し訳ございません。訂正内容については引き続きフォローアップいたします。 BR セレステ
View full article
Adding custom code to the screen file and recompiling in GUIGuider-2.0.1 will delete the added code.     // screen_3 custom code Adding custom code and recompiling will delete the added custom code, as shown in the red box in the image. What could be the reason for this? Re: GUIGuider-2.0.1 在屏幕文件下添加自定义代码重新生成编译,会把添加的代码删除 Hello @zzy2892 Adding custom code requires adding the code to a specified location, rather than modifying it directly in the generated screen file. This is because the corresponding screen file is regenerated every time code is generated. You can refer to the documentation at https://docs.mcuxpresso.nxp.com/guiguider/latest/UG/advanced_usage.html#custom-code-integration BR
View full article