Multi Source Translation Content

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Multi Source Translation Content

讨论

排序依据:
imx93 dm-crypt オプション こんにちは、 私たちは imx93 に dm-crypt をセットアップしていますが、cbc-AES-tee ドライバで安定性の問題が発生しています。NXP がまだ対応を検討していることを期待しています。 キータイプと暗号化アルゴリズムを調べながら、さまざまなオプションを理解しようとしました。私の理解では: 1. ユーザーキーと cbc-aes-ce を使用します。キーは完全に保護されておらず、ユーザー空間でプレーンテキストで利用できます。暗号化はカーネル内で処理されます。実行可能な選択肢ではありません。 2. TEE ベースの信頼できるキーと cbc-aes-ce を使用する。キーは保護されており、ユーザー空間で暗号化された状態でのみ利用可能です。キーは、OP-TEE を呼び出すことによってカーネル内で封印解除されます。暗号化はカーネル内で処理されます。キーは、DRAM バス スニッフィングおよびカーネル攻撃に対して無防備です。 3. ユーザーキーと cbc-aes-tee を使用します。キーリング内のキーは完全に保護されておらず、ユーザー空間でプレーンテキストで利用できます。ただし、このキーは OP-TEE で導出された実際のキーのソルトとしてのみ使用されるため、マターにはなりません(?)。派生キーは OCRAM にのみ保存されます。暗号化は OP-TEE で処理されます。 4. TEE ベースの信頼できるキーと cbc-aes-tee を使用します。キーは保護されており、ユーザー空間で暗号化された状態でのみ利用可能です。キーは、OP-TEE を呼び出すことによってカーネル内で封印解除されます。ただし、このキーは依然として OP-TEE で導出された実際のキーのソルトとしてのみ使用されるSO、キーリングでも不必要に保護されるようになりました(?)。派生キーは OCRAM にのみ保存されます。暗号化は OP-TEE で処理されます。 Linux ユーザー ガイドの Rev. LF6.12.3_1.0.0 ではユーザー キーが使用され、Rev. LF6.12.20_2.0.0 では信頼されたキーが使用されるため (10.5.5 章)、その違いについて考え始めました。上記のオプションについての私の理解は正しいでしょうか? オプション 2 と 3 または 4 のセキュリティ上の影響を考慮すると、主な違いは、キーが DRAM スニッフィング攻撃やカーネル攻撃に対して無防備になる可能性があることでしょうか?キーのディスク上の保存は依然として暗号化され、安全ですか? Security Re: imx93 dm-crypt options こんにちは、 最新のBSPリリースを参照してください: 6.12.34_2.1.0問題がないか確認します。まず、ソルトは信頼できる blob にカプセル化されます。次に、キーはソルトとともに ELE から OCRAM にエクスポートされ、TEE 内でのみ使用されます。 よろしくお願いします。 Harvey
查看全文
mc33771 sleep coulomb counter issue? I want to measure the Coulomb count of the MC3371 during its sleep period. Before going to sleep, I cleared the relevant registers of the coulometer and configured CYCLIC_TIMER = 2S at the same time. After sleeping for 16 seconds, I woke up the MC33771 using CSB and then read the three registers -cc_nb_samples, COULOMB_CNT1, and COULOMB_CNT2. CC_NB_SAMPLES is always 65535, and COULOMB_CNT1 and COULOMB_CNT2 are normal values. Shouldn't the count of CC_NB_SAMPLES during hibernation be based on the CYCLIC_TIMER? The relevant screenshots are as follows This waveform is the voltage waveform of VANA:   Re: mc33771 sleep coulomb counter issue? Dear Ye Xiaoer, if coulomb counting during the entire hour is not critical, you can disable coulomb counting in sleep mode by setting the I_MEAS_EN=0 and enable it only during short active windows. This avoids overflow but sacrifices continuous integration. With Best Regards, Jozef Re: mc33771 sleep coulomb counter issue? Dear JozefKozon: Thank you very much for your answer. I confirmed that the SAMP_OVF flag bit was set. But now our project has a requirement: the BMS wakes up once every hour, and it is necessary to read the average current and sleep time during the sleep period after waking up? If CC_NB_SAMPLES reaches 0XFFFF within a very short actual cycle now(CycLic_Timer = 1s), then I cannot obtain the correct number of samples and cannot calculate the average current correctly? Is it also impossible to convert the duration of the sleep period based on the number of samplings? How to solve this problem? Looking forward to your reply. Re: mc33771 sleep coulomb counter issue? Dear Ye Xiaoer, CC_NB_SAMPLES is not tied to CYCLIC_TIMER ticks. It is the raw number of ADC2 samples that contributed to the coulomb integration. In low‑power/sleep operation the coulomb counter can continue integrating independent of your cyclic timer, so CC_NB_SAMPLES can quickly saturate to 0xFFFF unless you read/reset it often enough or force a fresh conversion after wake. Check the CC_OVR_FLT flag to confirm an overflow. Please refer to the MC33771C datasheet and to the AN12633.  The coulomb counter accumulates the discrete integral of ADC2 samples. COULOMB_CNT1/2 hold the integral. CC_NB_SAMPLES holds the number of accumulated samples. With Best Regards, Jozef
查看全文
MCSPTR2AK396 motor control kit I'm new to motor control and NXP and have a few questions. 1. Does programming this kit involve using library functions or register programming? 2. Does this kit include demos? Where can I access them? My focus is on controlling a three-phase permanent magnet synchronous motor using SVPWM. Can I use the demo of this kit as a foundation to program it to achieve my goals? 3. Can the topology of the power board be modified? I look forward to your response. Thank you.                                                                                                                                                        Han Re: MCSPTR2AK396 motor control kit Thank you for your interest in our products and for contributing to our community. You can find the demo in MCSPTR2AK396 page -> Design Resources -> Software -> MCSPTR2AK396 Development Kit Application Software. Such demo is based on the RTD low level API. For installation I recommend you the following steps: 1. Install latest AMMCLib for S32K3: In AMMCLib page -> Downloads -> Automotive Math and Motor Control Library Set for S32K3 2. Install MCSPTR2AK396 Development Kit Application Software Rev 1.0. 3. Then follow specific SW requirements stated in MCSPTR2AK396_ReleaseNotes.txt (in C:\NXP\MC_DevKits\MCSPTR2AK396😞 The Development Kit application was built and tested using the following IDE, Drivers and Tools: ===================================================================================== - Examples based on the RTD low level API: - S32 Design Studio for S32 Platform Version 3.6.1 - S32K3xx development package version 3.6.0 - S32K39X Real-Time Drivers AUTOSAR R21-11 Version 5.0.0 (exclude SGEN) - S32K3 ETPU SW 4.7 2.0.0 CD04 Version 2.0.0 - S32K3 FreeMASTER Serial Communication Driver Version 1.4.2 - FreeMASTER 3.2.4.5 Note: EV Motor Control Development Kits [GS-MCSPTR2AK396] is for Rev 0.9. For more details, please refer to AN14481 and in general to S32K39-37-36. I hope this information is helpful.
查看全文
S32K344 DMAMUX1 LPUART14 BUS FAULT Hello, using S32K344 with Zephyr OS. I set a DTS for LPUART14 DTS: dmas = <&edma0 16 46>, <&edma0 17 47>; Channel 16,17 should be in DMAMUX1 range, where LPUART14 is on slot 46 and 47. Unfortunately, when ASYNC API calls callback for a next buffer (immidiatelly after uart_rx_enable) Any Idea? ERROR: [00:00:00.010,000] os: ***** BUS FAULT ***** [00:00:00.010,000] os: Precise data bus error [00:00:00.010,000] os: BFAR Address: 0x40254000 [00:00:00.010,000] os: r0/a1: 0x4020c000 r1/a2: 0x00048000 r2/a3: 0x0000001a [00:00:00.010,000] os: r3/a4: 0x0041126c r12/ip: 0x20402888 r14/lr: 0x00404393 [00:00:00.010,000] os: xpsr: 0x01000000 [00:00:00.010,000] os: s[ 0]: 0x0041126c s[ 1]: 0x00404393 s[ 2]: 0x00000010 s[ 3]: 0x00410250 [00:00:00.010,000] os: s[ 4]: 0x00000000 s[ 5]: 0x21000440 s[ 6]: 0x00000000 s[ 7]: 0x20000460 [00:00:00.010,000] os: s[ 8]: 0x00000004 s[ 9]: 0x00000010 s[10]: 0x00000020 s[11]: 0x204094c0 [00:00:00.010,000] os: s[12]: 0x204094c0 s[13]: 0x0040fa28 s[14]: 0x204094c0 s[15]: 0x404a4000 [00:00:00.010,000] os: fpscr: 0x00000000 [00:00:00.010,000] os: r4/v1: 0x20402888 r5/v2: 0x0040fa08 r6/v3: 0x00000011[0m [00:00:00.010,000] os: r7/v4: 0x20000440 r8/v5: 0x404a401c r9/v6: 0x204021d0 [00:00:00.010,000] os: r10/v7: 0x0000061c r11/v8: 0x00000020 psp: 0x20409418 [00:00:00.010,000] os: EXC_RETURN: 0xfffffffd [00:00:00.010,000] os: Faulting instruction address (r15/pc): 0x0040dc2c [00:00:00.010,000] os: >>> ZEPHYR FATAL ERROR 25: Unknown error on CPU 0 [00:00:00.010,000] os: Current thread: 0x20401e18 (main) [00:00:00.618,000] os: Halting system Re: S32K344 DMAMUX1 LPUART14 BUS FAULT Hello, Thank you very much for your help. I was also communicating with Zephyr and it seems they found a bug in eDMA driver. https://github.com/zephyrproject-rtos/zephyr/issues/96772 Re: S32K344 DMAMUX1 LPUART14 BUS FAULT Hello @PavelRydl , Thank you for the update and for confirming that the issue persists across multiple S32K344 modules. This helps rule out hardware-related causes. Based on the faulting instruction inside the EDMA driver (edma_reload_loop) and the crash address (0x4025803c), I have reviewed the EDMA implementation and would like to suggest the following checks and recommendations: 1. Ensure CONFIG_DMA_TCD_QUEUE_SIZE is ≥ 2 The cyclic mode requires at least two TCDs to form a valid loop. If the queue size is set to 1, the reload logic may fail. 2. Validate write_idx bounds before accessing the TCD pool The driver uses write_idx to index into the TCD pool: tcd = &DEV_CFG(dev)->tcdpool[channel][data->transfer_settings.write_idx]; Please ensure that write_idx is always less than CONFIG_DMA_TCD_QUEUE_SIZE. You may add a debug log to confirm: LOG_DBG("write_idx = %d", data->transfer_settings.write_idx); 3. Confirm buffer alignment and size Your buffer declaration: __aligned(32) uint8_t async_rx_buffer[2][RX_CHUNK_LEN]; is correct. Just ensure that RX_CHUNK_LEN is a multiple of the data unit size (e.g., 1, 2, or 4 bytes). 4. Disable cyclic mode if not required If your application does not require cyclic DMA, please ensure: config->cyclic = false This will avoid triggering the edma_reload_loop() logic entirely. 5. Enable DMA error IRQ and check error flags Make sure the DTS does not disable error IRQs (no_error_irq = false). Then monitor: EDMA_GetErrorStatusFlags(...) for any reported faults during runtime. 6. Use basic DMA mode for initial testing If cyclic or scatter-gather is not needed, consider using the basic configuration path: dma_mcux_edma_configure_basic(...) This simplifies the setup and avoids complex reload logic. Best regards, Pavel Re: S32K344 DMAMUX1 LPUART14 BUS FAULT I tested other module with s32k344 and same problem. It's not a hardware problem. Re: S32K344 DMAMUX1 LPUART14 BUS FAULT Hello, "If the issue persists, try replacing the DMA-based RX with polling temporarily to confirm that the UART peripheral itself is functional and the issue is isolated to DMA usage." Actually, I Used interrupt-driven uart before and it's working fine. I need DMA becuase of high CPU usage and interrupt based uart is not reliable enough, mostly becuase of really small RX FIFO buffer (4 words) "Verify uart_rx_buf_rsp() is not called too early" tested, same problem. Also, this request next buffer and I should provide it as fast as possible. "Try using async_rx_buffer[0] instead of [1]" Tested, but same problem. Reference manual says I should not bind to the same memory, so I still have to use different part of memory for a next buffer. "Try reducing the buffer size" Tested. same problem. I have no idea, what I should do now 🙂 Is it a bug in a NXP drivers? It's strange, MUX0 is fine, only MUX1. It's really like DMA cannot access somewhere, but that a bit above my current nxp knownledge to solve that. Thank you for helping me! Re: S32K344 DMAMUX1 LPUART14 BUS FAULT Hello @PavelRydl , Thank you sharing details. Please find my hints below: 1. Check buffer alignment and cache settings In your code, the buffer is declared as: __nocache __aligned(32) uint8_t async_rx_buffer[2][RX_CHUNK_LEN]; This is correct and should be DMA-safe. However, please verify that:  - RX_CHUNK_LEN is a multiple of 32 (it is 32, so OK).  - The buffer is not being accessed concurrently from another context (e.g., logging or polling). 2. Verify uart_rx_buf_rsp() is not called too early Even though the callback is triggered only once, it's possible that the DMA controller hasn't finished setting up the initial transfer when uart_rx_buf_rsp() is called. Try delaying the response slightly: case UART_RX_BUF_REQUEST:          k_sleep(K_MSEC(1)); // Small delay before responding          uart_rx_buf_rsp(dev, async_rx_buffer[1], RX_CHUNK_LEN);          break; 3. Try using async_rx_buffer[0] instead of [1] Since [0] is the initial buffer used in uart_rx_enable(), and [1] is never used before the crash, try responding with [0] to rule out any issues with [1]: uart_rx_buf_rsp(dev, async_rx_buffer[0], RX_CHUNK_LEN); 4. Try reducing the buffer size Although 32 bytes is small, try using 16 or 8 bytes to see if the crash behavior changes. This can help isolate whether the issue is size-related. 5. Optional Debug Step If the issue persists, try replacing the DMA-based RX with polling temporarily to confirm that the UART peripheral itself is functional and the issue is isolated to DMA usage. Best regards, Pavel Re: S32K344 DMAMUX1 LPUART14 BUS FAULT Faulting instruction address: .text.edma_reload_loop 0x00000000004030b8 0x1f4 zephyr/drivers/dma/libdrivers__dma.a(dma_mcux_edma.c.obj) Re: S32K344 DMAMUX1 LPUART14 BUS FAULT Hello, I did some changes. 1. I removed that variable, I don't need it. 2. The request is called only once and it crashes, so I will never assign same buffer again 3. It's not in any special section, just bss, I tried to use nocache just for a test with same error 4. I verified slots again 46 LPUART14 Transmit DMA Request 47 LPUART14 Receive DMA Request 5. Added 6. Added Error: *** Booting Zephyr OS build 69ce66d49133 *** [00:00:00.020,000] dma_mcux_edma: edma_log_dmamux: DMAMUX CHCFG 0x0 [00:00:00.020,000] dma_mcux_edma: dma_mcux_edma_get_status: DMA MP_CSR 0x3000d0 [00:00:00.020,000] dma_mcux_edma: dma_mcux_edma_get_status: DMA MP_ES 0x0 [00:00:00.020,000] dma_mcux_edma: dma_mcux_edma_get_status: DMA CHx_ES 0x0 [00:00:00.021,000] dma_mcux_edma: dma_mcux_edma_get_status: DMA CHx_CSR 0x0 [00:00:00.021,000] dma_mcux_edma: dma_mcux_edma_get_status: DMA CHx_ES 0x0 [00:00:00.021,000] dma_mcux_edma: dma_mcux_edma_get_status: DMA CHx_INT 0x0 [00:00:00.021,000] dma_mcux_edma: dma_mcux_edma_get_status: DMA TCD_CSR 0x0 [00:00:00.021,000] dma_mcux_edma: dma_mcux_edma_configure: channel is 18 [00:00:00.021,000] dma_mcux_edma: dma_mcux_edma_configure: INSTALL call back on channel 18 [00:00:00.021,000] dma_mcux_edma: dma_mcux_edma_start: START TRANSFER [00:00:00.021,000] dma_mcux_edma: edma_log_dmamux: DMAMUX CHCFG 0xaf [00:00:00.022,000] async_api: uart_callback: EVENT: 3 [00:00:00.022,000] os: ***** BUS FAULT ***** [00:00:00.022,000] os: Precise data bus error [00:00:00.022,000] os: BFAR Address: 0x4025803c [00:00:00.022,000] os: r0/a1: 0x4020c000 r1/a2: 0x0004c000 r2/a3: 0x0000403c [00:00:00.022,000] os: r3/a4: 0x40254000 r12/ip: 0x20401344 r14/lr: 0x0040316f [00:00:00.022,000] os: xpsr: 0x01000000 [00:00:00.022,000] os: s[ 0]: 0x00000000 s[ 1]: 0x00000004 s[ 2]: 0x20402800 s[ 3]: 0x20402810 [00:00:00.023,000] os: s[ 4]: 0x00000000 s[ 5]: 0x0000000f s[ 6]: 0x00000000 s[ 7]: 0x204027f0 [00:00:00.023,000] os: s[ 8]: 0x204027f0 s[ 9]: 0x0040d2b0 s[10]: 0x20402810 s[11]: 0x204027f0 [00:00:00.023,000] os: s[12]: 0x00000000 s[13]: 0x00401b87 s[14]: 0x0040d2f0 s[15]: 0x00401393 [00:00:00.023,000] os: fpscr: 0x0040e318 [00:00:00.023,000] os: r4/v1: 0x20401344 r5/v2: 0x00000012 r6/v3: 0x0040ca68 [00:00:00.023,000] os: r7/v4: 0x20000480 r8/v5: 0x404a401c r9/v6: 0x20400520 [00:00:00.029,000] os: r10/v7: 0x00000678 r11/v8: 0x00000020 psp: 0x20402750 [00:00:00.029,000] os: EXC_RETURN: 0xffffffed [00:00:00.029,000] os: Faulting instruction address (r15/pc): 0x0040317a [00:00:00.029,000] os: >>> ZEPHYR FATAL ERROR 25: Unknown error on CPU 0 [00:00:00.029,000] os: Current thread: 0x20400940 (main) [00:00:00.029,000] os: Halting system Tried to use different channel dmas = <&edma0 17 46>, <&edma0 18 47>; Re: S32K344 DMAMUX1 LPUART14 BUS FAULT Hello @PavelRydl , Thank you for the detailed report. Based on the provided logs and code snippet, here are a few suggestions: 1. Initialize async_rx_buffer_idx before use Ensure that async_rx_buffer_idx is explicitly initialized to 0 before calling uart_rx_enable(). Uninitialized global variables may lead to undefined behavior. async_rx_buffer_idx = 0; 2. Correct buffer selection in UART_RX_BUF_REQUEST In the callback, you're always responding with async_rx_buffer[1], regardless of the current index. This may cause the driver to use an invalid or already active buffer. Instead, use the current index and toggle it after responding: uart_rx_buf_rsp(dev, async_rx_buffer[async_rx_buffer_idx], RX_CHUNK_LEN); async_rx_buffer_idx ^= 1; // Toggle between 0 and 1 3. Verify DMA buffer location Ensure that async_rx_buffer is located in a memory region accessible by the DMA controller (typically in SRAM, not in .noinit or other special sections). Misplaced buffers can cause bus faults during DMA access. 4. Double-check DMA channel and DMAMUX slot mapping While channels 16 and 17 should be valid for DMAMUX1, please verify that: - These channels are not used by other peripherals. - The DMAMUX slot numbers 46 and 47 are correctly mapped to LPUART14 RX/TX in your SoC's reference manual and Zephyr's SoC integration. 5. Add a short delay before enabling RX In some cases, adding a small delay before calling uart_rx_enable() can help avoid race conditions between peripheral and DMA initialization: k_sleep(K_MSEC(10)); uart_rx_enable(...); 6. Enable DMA and UART debug logs To get more insight into what happens before the crash, consider enabling debug logs for DMA and UART in your prj.conf: CONFIG_DMA_LOG_LEVEL_DBG=y CONFIG_UART_LOG_LEVEL_DBG=y Best regards, Pavel
查看全文
关于带有 VX 代码包的 i.MX9352 EVK 的咨询 您好, 我正在寻找使用 VX 代码包(9 x 9 mm,0.5 mm 引脚间距,FCBGA,208 个 I/O 引脚)的 i.MX9352 EVK。如果有详细资料,能否与我们分享? 谢谢。 Re: Inquiry on i.MX9352 EVK with VX Package 你可以看到我们的 i.MX 93 快速入门评估套件|恩智浦半导体板。
查看全文
Trimension UWB 技术文件 大家好 请问获取 Trimension UWB 芯片组技术文件的正确渠道是什么? 我们已经签订了保密协议,但我没有在保密文件中找到任何有关 UWB 的技术文件。 感谢团队! Re: Trimension UWB technical documents 你好 希望你一切顺利。很抱歉给您带来不便,但由于该产品的信息受 NDA(保密协议)保护,因此不对外公开。 如果您正在寻找有关我们 UWB 产品的信息,或者您对该技术感兴趣,我建议您查看我们合作伙伴(Trimension UWB 合作伙伴)提供的开发套件和模块。 如果您对这些套件/模块感兴趣,您需要直接与他们联系,了解他们可以提供的流程和支持,因为这项技术的支持途径就是通过他们。 文档和软件由相应的 UWB 模块合作伙伴分发。选择模块后,您将被引导到我们合作伙伴的页面,在那里您可以访问数据表、应用笔记和所需的支持 此致, 里卡多
查看全文
CAN信号ブースト機能(SIC)とコモンモードインダクタンス 「 CAN信号拡張機能(SIC)」については、TJA146xシリーズはCAN信号をアクティブに強化し、大規模ネットワークにおいて高速ビットレートでの安定した通信を実現すると記載されています。これにより、信号リンギング(ポートレススタブを備えた大規模で複雑なネットワークの副作用)が大幅に軽減され、従来のネットワークトポロジにおける制限が解消されます。さらに、より低スペックのケーブルソリューションや外付けフェライトコアの除去も可能になります。これは、SIC機能を備えたCANトランシーバーを使用することで、CANコモンモードインダクタが不要になるという意味でしょうか?これを裏付ける資料はありますか? (クラウドラボ) クラウドラボ Re: CAN信号提升能力(SIC)与共模电感 それは正しい理解ではありません。SiCトランシーバーにはコモンモードインダクタも必要です。 彼は、信号伝送におけるリングによって引き起こされる問題点を改善しました。
查看全文
FreeRTOS が s32k3xx の prvPortStartFirstTask で停止する やあみんな 、 私はS32k328でFreeRTOSを実行しようとしています。単一のタスクを作成して実行しようとしましたが、最初は正常に実行されましたが、その後コードが1つで停止しました。 やあみんな 、 S32k328でFreeRTOSを実行しようとしています。単一のタスクを作成して実行しようとすると、最初は正常に実行されますが、その後、コードがprvPortStartFirstTask()で停止します。 ベクターテーブル内のSVCハンドラー名を変更したところ、このエラーが発生しました。参考までに画像を投稿しました。   何か変更する必要はありますか? ()、 ベクターテーブル内のSVCハンドラー名を変更したところ、このエラーが発生しました。参考までに画像を投稿しました。   何か変更する必要はありますか? S32K3 Re: FreeRTOS stucks at prvPortStartFirstTask in s32k3xx こんにちは@AntoZ 、 追加情報とスクリーンショットをありがとうございます。 レジスタ ビューから、VTOR (ベクター テーブル オフセット レジスタ) が 0x20000000 に設定されていることを確認できます。これは、ベクター テーブルが RAM に再配置されていることを意味します。これは有効な構成ですが、SVC_Handler のエントリを含む RAM 内のベクター テーブルが正しく初期化されている必要があります。 SVC_Handler の名前を変更したとのことですので、以下の点を確認してください。 RAM 内の 0x20000000 のベクター テーブルには、名前を変更した SVC_Handler の正しいアドレスが含まれている必要があります。 テーブルがフラッシュからコピーされた場合は、更新されたシンボル名が反映されていることを確認してください。 C++ を使用している場合は、名前のマングリングを回避するために、ハンドラーが extern "C" で宣言されていることを確認してください。   外部 "C" void My_SVC_Handler(void)   VTOR を設定する前に、ベクター テーブルが RAM に正しくコピーされていることを確認します。 これは通常、SystemInit() または main() の初期段階で実行されます。 名前を変更したハンドラーが正しくリンクされており、リンカーによって破棄されていないことを再確認します。 問題が解決しない場合は、問題を再現するプロジェクトの最小バージョンを共有していただけますか?これにより、ベクター テーブルのセットアップとハンドラーのリンクをより詳細に分析できるようになります。 よろしくお願いいたします。 パベル
查看全文
frdm mcxc444 'ロック' frdm-mcxc444 開発ボードを受け取りました。mcuxpresso SDK を使用してデモ プログラムを作成し、それを mcxc444 にフラッシュしました。正常に動作し、ターミナル接続を使用して mcxc444 のシェルにCAN接続します。 しかし問題は、ボードを再度フラッシュできないことです。常に次のエラーが発生します。 SO、この問題を解決するには何をする必要がありますか?すでに一括消去を試みましたが、同じエラーが発生します。 Re: frdm mcxc444 'locked' ご返信ありがとうございます。私はすでにその問題を解決しました。簡単な解決策は、新しい SW をフラッシュするときに ISP ボタンを押したままにすることです。現在、ボードは再び動作する状態にあります。 Re: frdm mcxc444 'locked' こんにちは@väinämöinen 、 より適切にサポートするために、ボードにフラッシュした例と現在使用しているSDKのバージョンを教えていただけますか? FRDM-MCXC444 ボード ユーザー マニュアルの第 1.6 章「ジャンパー」に記載されているように、ジャンパーがデフォルトでコネクテッドされていることを確認してください。これにより、追加の構成の問題がセットアップに影響していないことが確認されます。 さらに、MCUXpresso Secure Provisioning Tool v25.06 を使用して一括消去を実行することもCAN。これを行うには、ボードを ISP モードにする必要があります。 MCX C041/C242/C444 デバイスを ISP モードで接続する手順については、MCUXpresso Secure Provisioning Tool ユーザーガイド v25.06 の第 6.9.2 章に記載されています。 ボードをコネクテッドしたら、次の図に示すように、[ツール] ウィンドウを開き、[フラッシュ プログラマー] を選択して、[すべて消去] ボタンをクリックします。 BR ハビブ
查看全文
S32K342 EMMCメモリ 64GB こんにちは、みんな 新しいプロジェクトでは、64GB EMMC メモリ IC を S32K342 プロセッサに接続して CAN データを安全に保管するためのソリューションを検索しています。 環境が厳しいため、SD カードは使用できません。 これが可能かどうかご存知ですか? どうやって接続すればいいですか? これを試すために使用できる EVAL ボードはありますか? Re: S32K342 EMMC memory 64GB わあ、サポートありがとうございます。 それが私が必要としていたもの。 よろしくお願いいたします トーマス Re: S32K342 EMMC memory 64GB SDHC コネクタを搭載したボードが 1 つあります。 https://www.nxp.com/design/design-center/development-boards-and-designs/S32K3X8EVB-Q289 eMMC は S32G デバイスで使用されているようですが、スロットではなくメモリが直接インストールされているようです。 https://www.nxp.com/webapp/Download?colCode=UGS32G-VNP-RDB3 S32G は別のサポート グループによってサポートされています。これについて質問がある場合は、新しい Thread/CASE を作成してください。ご理解いただきありがとうございます Re: S32K342 EMMC memory 64GB フィードバックありがとうございます。 どのようにテストすればよいかアイデアがありますか? EMMC インターフェースを採用してデモ セットアップを作成できるデモボードはありますか? 一方、私たちの問題に対する他の解決策はありますか? 4つのCANFDを記録し、長期間(5~10年)保存したいと考えています。 MCUは非常に速く起動してログに記録する必要がある Re: S32K342 EMMC memory 64GB サイズに関しては、おそらくハード制限はなく、eMMC のアドレス指定によってのみ指定されます。サポートされているバージョンは以下を参照してください: 残念ながら経験がありません。 Re: S32K342 EMMC memory 64GB 助かりました。ありがとう。 EMMC と S32k の経験がある方はいらっしゃいますか? EMMC の最大サイズはどれくらいですか? どの規格が可能ですか?4.1 か 5.0? Re: S32K342 EMMC memory 64GB RTD_MEM_43_EEP ドライバは eMMC カードをサポートしていますが、S32K342 には必要な uSDHC コントローラがありません。 以下のいずれかの MCU が必要です。
查看全文
NCJ29D6***JLink Error: CPU is not halted When I used the LID2580, I was still able to use the Jlink download program normally at first, and then suddenly it didn't work, the error is as follows, please help me take a look, thank you * JLink Info: Memory map 'after startup completion point' is active ***JLink Error: Could not start CPU core. (ErrorCode: -1) ***JLink Error: Cannot read register 15 (R15) while CPU is running ***JLink Error: Cannot read register 20 (CFBP) while CPU is running ***JLink Error: CPU is not halted ***JLink Error: Cannot read register 15 (R15) while CPU is running Full Chip Erase Failed! Re: NCJ29D6***JLink Error: CPU is not halted Hello, Hope you are doing well. Sorry for the inconvenience this might cause you but as the information of this product it's under NDA (Non-Disclosure Agreement) the information it's not public, this is not a secure channel to share any information of this device and I do not have the data as well for the same reason. For this reason I recommend you contacting  one of our distributors available in the Distributor Network|NXP. Or if you have a direct contact who helped you with information about this product or getting the IC in a first place, please communicate directly with him/her. I apologize for the inconveniences this might cause you. Best Regards, Ricardo Re: NCJ29D6***JLink Error: CPU is not halted Hello, I have encountered the same problem. Keil can connect to the chip, but the program cannot be downloaded successfully. Have you solved this issue? If so, I would appreciate your help.
查看全文
MBDT for BMS v1.2 は最新の MBDT for S32K3 と統合できますか?(v1.7) 基本的に、主題 - BMS v1.2のMBDTはS32K3 v1.4のMBDTが必要であると述べています。しかし、今後のプロジェクトでは 1.7 を使用することが望ましいでしょう。 BMS v1.2 用の MBDT は、S32K3 用の新しい MBDT と統合できますか? あるいは、このアドオンのロードマップはありますか?最新のアップデートは 11 月 24 日ですが、このトピックに関するニュースはあまり投稿されていません。 ご返信やフィードバックをいただければ幸いです。 Re: Is MBDT for BMS v1.2 integrable with MBDT for S32K3 latest? (v1.7) こんにちは@mjgraves91さん、 BMS 1.2 用の MBDT は、S32K3 1.4 用の MBDT とのみ互換性があります。これは、BMS用のMBDTには、RTDバージョン3.0.0とのみ互換性のあるBMS SDKs 1.0.3が含まれているためです。これは S32K3 1.4.0 用の MBDT に含まれています。S32K3 用の新しい MBDT には新しい RTD リリースが含まれており、BMS SDK はそれに対応していません。 SO、現時点では、BMS 1.2.0用のMBDTはS32K3 1.4.x用のMBDTでのみ使用できます。コンポーネント内部で使用されるスタックのためです。 S32K3 1.7.0 に MBDT が必要な理由を詳しく教えていただけますか?プロジェクトでこの組み合わせを制限するコンポーネントまたはハードウェア サポートはありますか? よろしくお願いいたします。 マリウス
查看全文
CMU Reference Count calculation discrepancy between RTD and Reference Manual This post is a copy from here, Device: S32G3 In Reference manual, RMS32G3 Rev 4, Section 69.6 Programming Guidelines: 3*fref /fbus 8+(5*fref/fmonitored) In Code (Mcu_TS_T40D11M40I2R0/src/Clock_Ip_Monitor.c) 3*fref /fbus 9+(5*fref/fmonitored) 80 (CLOCK_IP_CMU_REFERENCE_COUNTER_MINIMUM_VALUE) I'm not sure where in the reference manual to include 80 as a choice for the reference count and also why they chose 9 instead of 8 in the second equation. Should the reference manual be updated or the code? Can anybody help clarify this? Thanks Casper RTD Re: CMU Reference Count calculation discrepancy between RTD and Reference Manual Hi @CasperQian , From my point of view, as you can see in the formula: it contains celling of, this means if the result is 8.1, it return 9. For this reason, 9 used instead of 8. From RM, 80 chosen as minimum reference count in RCCR follows this: Best regards, Nhi
查看全文
S32K328: イーサネットパケットはMAC-MAC接続で送信されません やあみんな、 私はS32K328 MCUに取り組んでおり、 MAC 間接続を使用してイーサネット通信を確立しようとしています。私のセットアップでは、S32K328 GMAC はRGMII インターフェースを介してスイッチ MACにコネクテッドされ、スイッチはさらに PHY にコネクテッドされています。 リンク ステータスがアップであることは確認できますが、 Tx または Rx トラフィックは確認されません。これはクロックの構成に関連している可能性があると思われますが、何を検証する必要があるかはわかりません。 MAC 間接続の基本要件を明確にし、以下の詳細を教えてください。 MAC-to-MAC モードの RGMII のクロック構成とソース要件。 このセットアップに必要な特定のGMAC レジスタ構成または設定。 S32K328 側でRGMII 遅延またはスキュー調整が必要かどうか。 再開まで今しばらくお待ちください。 よろしくお願いします、 サティッシュ。 Re: S32K328: Ethernet packets are not transmitted with MAC-MAC connection こんにちは@PavelL 貴重なご意見をSOありがとうございます。以下の行を追加すると問題は解決します。 IP_DCM_GPR->DCMRWF1|=DCM_GPR_DCMRWF1_MAC_CONF_SEL(0x01) |DCM_GPR_DCMRWF1_MAC_TX_RMII_CLK_LPBCK_EN_MASK;   しかし、この tx クロック ループバックがなぜ必要なのか確認していただけますか? よろしくお願いします、 サティッシュ。 Re: S32K328: Ethernet packets are not transmitted with MAC-MAC connection こんにちは@sathishkumar_sunmugavel さん S32K358 - GMAC クロック構成 - NXP コミュニティの私の投稿を確認してください。そこでほとんどの質問に答えたと思います。 残りは次のとおりです。 クロックの精度と安定性のため、PLLを使用する必要がある。 S32K328にはPLLAUXがある 繰り返しますが、利用可能な最新の RM は Rev. 11 です。 よろしくお願いいたします。 パベル Re: S32K328: Ethernet packets are not transmitted with MAC-MAC connection 5. RGMII インターフェースの場合、TXCLK ピンと RXCLK ピンの方向を確認していただけますか? S32K328 側ではどの信号が入力され、どの信号が出力されると予想されますか? Re: S32K328: Ethernet packets are not transmitted with MAC-MAC connection 皆さん、こんにちは。 S32K328 クロックのセットアップと GMAC 構成に関して、いくつか追加の質問があります。 リファレンスマニュアル (Rev. 1.0) に S32K328 のクロック図が見つかりませんでした。6.1)。両方のデバイスは同じファミリに属しているので、代わりに S32K358 クロック図を参照できますか? S32K358 クロック図には、 EMAC_MII_RX_CLKとEMAC_MII_RMII_TX_CLKの 2 つの外部クロックがあります。EMAC_MII_RMII_TX_CLKのみがEMAC_CLK_RXおよびEMAC_CLK_TXにコネクテッドされているようです。この外部クロックが利用できない場合、推奨される代替クロック ソースは何ですか? RGMII インターフェースには 125 MHz クロックが必要であり、この周波数を PLL から導出すると他のクロック ドメインに影響するため、 FXOSC → PLL → GMACは使用できません。 このセットアップでは、 DCMRWF3レジスタに特別な構成が必要ですか? S32K328デバイスには S32K358 と同様のPLLAUX (補助 PLL) が含まれていますか? また、これを GMAC のクロック ソースとして使用できますか? よろしくお願いします、 サティッシュ。 Re: S32K328: Ethernet packets are not transmitted with MAC-MAC connection 既存のクロック構成はここにあります
查看全文
I.MX8MPLUSでJTAGが有効か無効か分からない 私は I.MX8M PLUS EVK を使用していますが、JTAG が有効になっているかどうか、また確認すべき特定のレジスタがあるかどうかを知りたいです。もしあれば、どの銀行と単語か知りたいです。 いくつかのフォーラムでは SJC_DISABLE および JTAG_SMODE について言及されていますが、i.MX8MPLUS リファレンス マニュアルでこれらのレジスタを見つけることができません。 JTAG 経由でデバッグしようとすると失敗します。JTAG を介してデバッグするための特別な手順はありますか。その手順を教えてください。 リファレンスマニュアルには、起動後は JTAG のみが有効になると記載されています。ブートも完了し、U-Boot で停止しました。その後、JTAG 経由でデバッグを試みましたが、同じ問題が発生しました。 私の質問: 1.JTAG が有効になっているかどうかを知りたいですか? 2. JTAG によるデバッグの手順 (JTAG オプションのみを備えたカスタム ボードのため) 3. 起動後もボードを接続できないのはなぜでしょうか?私がやっていることは何か間違っていますか? 4. セキュア ブート フローとは何ですか?これは JTAG デバッグに必須ですか? これらすべての点を簡単に説明してください。 評価ボード Re: unable to know JTAG is Enable or Disable in I.MX8MPLUS ヒューズは、NDAの下にあるimx8mpセキュリティリファレンス・マニュアルから見つけることができます。JTAGの設定方法の詳細については、同封のANを参照してください。
查看全文
S32K358 - GMACクロック構成 やあみんな、 GMAC クロッキング構成に関していくつか質問があります。 私のセットアップでは、 PTB3はRGMII_TXCLKの出力ピンとして設定され、 PTC16はRGMII_RXCLKの入力ピンとして設定されています。この構成は添付の Excel シートから確認されます。 ピンの説明によると: PTB3はGMAC0_MII_RMII_RGMII_TX_CLKの入力または出力として機能CAN。               PTC16 はGMAC0_MII_RGMII_RX_CLKの入力として機能できます。               私はRGMII インターフェースを使用していますが、 EMAC_CLK_RXとEMAC_CLK_TXの両方に125 MHz のクロック入力が必要です。私の理解では、クロック入力として使用できるのはEMAC_MII_RMII_TX_CLKのみです。 この理解が間違っている場合は、これら 2 つのクロックをどのように提供すべきかを明確にしてください。 EMAC_MII_RMII_TX_CLK → MC_CGM_MUX7 → EMAC_CLK_RX EMAC_MII_RMII_TX_CLK → MC_CGM_MUX8 → EMAC_CLK_TX ここまでは、すべて明らかです。ただし、以下の表には、ソース、宛先クロック、およびポートの詳細がリストされているため、少しわかりにくいです。 リストされているすべてのポートに対してIBE ビットが設定されています。これが何を示しているのか説明していただけますか? PTC16 はGMAC_MII_RGMII_RX_CLKとGMAC_TS_CLKの間で使用されているようですが、私は PTC16 を RGMII Rx クロック ピンとして使用しました。この接続を明確にしていただけますか? 私の理解では、 PTB3とPTC16は、PHY にコネクテッドされたRGMII Tx/Rx クロック ピンとして使用できます。さらに、クロック ソースEMAC_MII_RMII_TX_CLKは、それぞれMUX7とMUX8を介してEMAC_CLK_RXとEMAC_CLK_TXに内部コネクテッドされます。しかし、表の情報はこの理解と矛盾しているようです。詳しく説明していただけますか? よろしくお願いします、 サティッシュ。 Re: S32K358 - GMAC Clock Configuration こんにちは@PavelL わかった。ありがとう!!! Re: S32K358 - GMAC Clock Configuration こんにちは@sathishkumar_sunmugavel さん これは、Synopsys の GMAC IP に関連しています。 このビットにより、MAC は自身の TX クロックを入力クロックとして内部的にループバックできるようになります。これは、RGMII モードで MAC を初期化するために必要です。 よろしくお願いいたします。 パベル Re: S32K358 - GMAC Clock Configuration こんにちは@PavelL 貴重なご意見をSOありがとうございます。以下の行を追加すると問題は解決します。 IP_DCM_GPR->DCMRWF1|=DCM_GPR_DCMRWF1_MAC_CONF_SEL(0x01) |DCM_GPR_DCMRWF1_MAC_TX_RMII_CLK_LPBCK_EN_MASK;   しかし、この tx クロック ループバックがなぜ必要なのか確認していただけますか? よろしくお願いします、 サティッシュ。 Re: S32K358 - GMAC Clock Configuration こんにちは@sathishkumar_sunmugavel さん ご質問への回答は以下をご覧ください。ご参考までに、S32K3 RM Rev 6 を使用していますが、最新版は Rev. 11 です。 SABRE コネクタに外部 TJA1103 を接続し、S32K358EVB-Q289 で RGMII 100Mbps を正常に実行しました。 1. ピンのスクリーンショットは次のとおりです。 2. 時計は少し扱いにくいCANます。RGMII TX_CLK は出力、RGMII RX_CLK は入力となります。内部に分周器 2 があるSO、TX_CLK を 2 倍にする必要があります。 GMAC 1Gbpsの場合、クロックを次のように変更します: 25MHz -> 125MHz; 50MHz -> 250MHz 3. そして最後のポイントとして、gmac init の前に、コード内でクロック MUX を設定する必要があります。私は通常、コードの最初の行でこれを行います。 表 116 (RM Rev 6) は使用しません。 よろしくお願いいたします。 パベル Re: S32K358 - GMAC Clock Configuration 私のセットアップには PHY がありません。MAC-MAC接続です。 1.そのCASE、GMAC モジュールへのこの PHY_INTF_SEL 信号入力を考慮する必要がありますか? 2. CLK_TX_I と CLK_RX_I の両方に 125MHz の PLL_AUX_CLK をCAN使用できますか? 3. CLK_TX_I と CLK_RX_I は内部多重化によってコネクテッドされ、PTB3 は GMAC から RGMII TX_CLK の出力として構成し、PTC16 は GMAC RGMII RX_CLK への入力として構成する必要があります。この理解は正しいでしょうか?
查看全文
LS1043A Jumbo frame support in Linux Mainline Dear NXP support,  we are evaluating Jumbo Frames on LS1043A with a custom specific board, but when changing the MTU size in Linux the system shows: Error: mtu greater than device maximum.  During my research, I came across the following NXP Community thread: https://community.nxp.com/t5/Layerscape/Why-is-LS1043-MTU-limited-to-2K-not-4K/m-p/847022  Which refers to FMAN Errata A-010022 and a patch to fix this behavior in the NXP LSDK Kernel. But I did not find anything similar for Linux Mainline Kernel, are there any fixes NXP can provide to support Jumbo Frames ?  thank you in advance  QorIQ LS1 Devices Re: LS1043A Jumbo frame support in Linux Mainline Hello LFGP,  thank you for the reply, Since Layerscape CPUs are primarily intended for network equipment, we as manufacturer are very interested in using the Linux mainline kernel, as the platforms are supported for a very long time and we are not dependent on NXP for kernel updates. This is becoming increasingly important for us and our customers, especially in light of the Cyber Resilience Act.  best regards  Tim  Re: LS1043A Jumbo frame support in Linux Mainline Dear @timsalabim, unfortunately we don't have anything for the Linux Mainline Kernel regarding jumbo frames, due they are managed by the block DPAA we recommend to use the NXP SDK. BR LFGP Re: LS1043A Jumbo frame support in Linux Mainline Hello,  thanks for the reply, the mentioned option are only available in the NXP based Linux kernel, which uses CONFIG_FSL_SDK_DPAA https://docs.nxp.com/bundle/UG10081_LLDP_L6.1.55_2.2.0/page/topics/jumbo_frames_support.html  In the Linux Mainline kernel CONFIG_FSL_DPPA_ETH is used which does not have the extended options in the kernel menuconfig https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/drivers/net/ethernet/freescale/dpaa/Kconfig?h=v6.12.52  best regards  Tim    Re: LS1043A Jumbo frame support in Linux Mainline Dear @timsalabim, Did you set the DPAA Ethernet driver into the Kernel to support jumbo frames? please review, into the LLDP user manual, the subsection "7.2.2.5.2.2 Kconfig options" and the "7.2.2.5.3.3 Jumbo frames support". BR LFGP
查看全文
[Hitachi][SE051C2]Regarding I2C timing Hi Experts, The customer is Hitachi, who has a question about I2C timing for the SE051C2. Hitachi plans to use the TI 66AK2G12. The 66AK2G12 complies with the popular I2C Bus specification. https://www.nxp.com.cn/docs/en/user-guide/UM10204.pdf  However, the I2C bus timing for the SE051C2 requires an SDA hold time of at least 8 ns when low and at least 24 ns when high. https://www.nxp.com.cn/docs/en/data-sheet/SE051.pdf  Hitachi believes that this timing specification does not allow connection to a host device that complies with the general I2C bus specification. How should we understand this? Please kindly advise! Best Regards, Kan Re: [Hitachi][SE051C2]Regarding I2C timing Hello Kan, this is only a limitation in case the host goes to the extreme border of I2C spec and updates SDA and SCL bus bits at the exact same time (with the risk of violating I2C bus specs which does not allow SDA to change before SCL). If a host goes to the extreme borders of I2C it risks that due to unsymmetries e.g. in the capacitance of the SDA and SCL the SDA line might actually change the signal level faster than SCL, although both got triggered at the same time. Due to this risk usually all I2C bus hosts explicitly first update SCL, and only then update SDA, so forming typically a delay in the range of µs between the two signals to have enough margin to comply for sure with I2C spec even if the bus signal traces are not completely symmetric. Due to this there is usually no issue although the SE05x is here not 100% on the I2C bus spec. Kind regards, Michael
查看全文
LinkServer/MCX-A346: Ee(42). Could not connect to core. After using this successfully hundreds of times, I have lost the ability to flash or erase the FRDM-MCXA346, getting the dreaded error "Ee(42). Could not connect to core.". linkserver -l 5 flash mcxa346:frdm-mcxa346 load --erase-all signalsync.elf The debug-level output is attached. LinkServer_25.9.134, Windows 11 I have searched the forums and have found many similar reports and questions, but none of the solutions has worked for this specific board. The probe as well as the VCOM port show up in the Windows device manager. The MCU-Link firmware is up-to-date. All jumpers are in their default configuration (ie. as out of the box). I am working on the bare metal (no IDE) and want to use LinkServer from the command-line (ie. integrated into my build system). How do I get back control? Thanks in advance. Re: LinkServer/MCX-A346: Ee(42). Could not connect to core. Hi Alice, thank you, I  have been able to restore core access using SEC 25.09. I have used a J-Link probe to connect to the target. Re: LinkServer/MCX-A346: Ee(42). Could not connect to core. Hello @ygrayne  Thanks for your reply. To enter ISP mode on the MCXA device, please use the latest version SEC 25.09. Download from: https://www.nxp.com/design/design-center/software/development-software/mcuxpresso-software-and-tools-/mcuxpresso-secure-provisioning-tool:MCUXPRESSO-SECURE-PROVISIONING  Thank you. BR Alice Re: LinkServer/MCX-A346: Ee(42). Could not connect to core. Hi Alice, thanks. How do I perform a full chip erase in ISP mode? This results in the same error: linkserver flash mcxa346:frdm-mcxa346 erase I suspect LinkServer does a reset, which takes the MCU out of ISP mode and starts the program in flash memory, before LinkServer can get hold of the SWD pins. I have looked at FlashMagic, but the MCX-A346 is not supported. So I cannot tell if this utility would solve the problem. Thanks. Re: LinkServer/MCX-A346: Ee(42). Could not connect to core. Hello @ygrayne  Thank you for your response. If the board was previously functioning but has stopped working, please enter ISP mode, perform a full chip erase, and then test again. Thank you! BR Alice Re: LinkServer/MCX-A346: Ee(42). Could not connect to core. Hi Alice, thank you. Since LinkFlash is merely a front-end to the command-line program, it produces the same log-output as the one already provided via attached file. Without specifying a log-level: linkserver flash mcxa346:frdm-mcxa346 load --erase-all signalsync.elf INFO: Exact match for mcxa346:frdm-mcxa346 found INFO: Selected device MCXA346:FRDM-MCXA346 INFO: Getting available probes INFO: Selected probe #1 UFHKAWQFL2TTQ (MCU-LINK FRDM-MCXA346 (r0E4) CMSIS-DAP V3.165) INFO: MCU-Link firmware update `check`: Probe ([UFHKAWQFL2TTQ] [MCU-LINK FRDM-MCXA346 (r0E4) CMSIS-DAP V3.165]) is already running the same firmware version as the included firmware version [3.165] Firmware update `check`: not required - forced update can be performed using: `LinkServer probe #1 update forced` INFO: Selected device matches probe's target identification info Ns: LinkServer RedlinkMulti Driver v25.9 (Sep 25 2025 19:34:03 - crt_emu_cm_redlink.exe build 1103) Pc: ( 0) Reading remote configuration Wc(03). No cache support. Nc: Found generic directory XML file in C:\Users\gray\AppData\Local\Temp\tmpvcbt5mqg\crt_directory.xml Pc: ( 5) Remote configuration complete Nc: Reconnected to existing LinkServer process. Nc: Connecting to probe 1 core 0 (using server started externally) reports: 'Ee(42). Could not connect to core.' Nc: Retrying... Nc: Reconnected to existing LinkServer process. Nc: Server OK but no connection to probe 1 core 0 (after 3 attempts) - Ee(42). Could not connect to core. Ed:02: Failed on connect: Ee(42). Could not connect to core. Et:31: No connection to chip's debug port Pc: (100) Target Operation Failed CRITICAL: Critical error ERRMSG: Exception: Flash operation exited with code 1  Debug-level log: linkserver -l 5 flash mcxa346:frdm-mcxa346 load --erase-all signalsync.elf [211]DEBUG:asyncio: Using proactor: IocpProactor [807]INFO:launcher.cli.utils.funcs: Exact match for mcxa346:frdm-mcxa346 found [808]INFO:launcher.cli.utils.click: Selected device MCXA346:FRDM-MCXA346 [836]DEBUG:launcher.core.redlinkserv: Starting redlinkserv: C:\NXP\LinkServer_25.9.134\binaries\redlinkserv.exe ['--port', '11111', '--telnetport', '12223', '--no-telnet-defaults'] [841]DEBUG:launcher.core.probeboot: Listing usb devices [841]DEBUG:launcher.core.utils: Subprocess exec: powershell ['-ExecutionPolicy', 'Bypass', '-NonInteractive', '-NoLogo', '-File', 'C:\\NXP\\LinkServer_25.9.134\\binaries\\Scripts\\listusb.ps1'] [856]DEBUG:launcher.core.utils: Connecting to redlinkserv (localhost:12223) [1399]DEBUG:launcher.core.probeboot: Found 30 USB devices [2902]DEBUG:launcher.core.utils: Connected to redlinkserv (localhost:12223) [2902]DEBUG:launcher.core.redlinkserv: [read] [2902]INFO:launcher.cli.utils.click: Getting available probes [2902]DEBUG:launcher.core.redlinkserv: [write] probelist [3063]DEBUG:launcher.core.redlinkserv: [read] Index = 1 Manufacturer = NXP Semiconductors Description = MCU-LINK FRDM-MCXA346 (r0E4) CMSIS-DAP V3.165 Serial Number = UFHKAWQFL2TTQ VID:PID = 1FC9:0143 Path = 0001:0022:00 [3063]DEBUG:launcher.core.redlinkserv: Probe capabs: ProbeCapabs.DEBUG|VCOM|SIO [3063]DEBUG:launcher.core.redlinkserv: [write] ProbeOpenByIndex 1 [3074]DEBUG:launcher.core.redlinkserv: [read] Probe Handle 1 Open [3074]DEBUG:launcher.core.redlinkserv: [write] ProbeDapInfo 1 [3075]DEBUG:launcher.core.redlinkserv: [read] Vendor Name = NXP Semiconductors Product Name = MCU-Link CMSIS-DAP V3.165 Serial Number = UFHKAWQFL2TTQ CMSIS-DAP Version = 2.1.1 Target Device Vendor = NXP Target Device Name = MCXA346VLQ Target Board Vendor = NXP Target Board Name = FRDM-MCXA346 Firmware Version = 3.165 Capabilities = SWD+JTAG SWO UART 2048 byte buffer Atomic Test Domain Timer Frequency 150000000 UART USB COM Port Packets 512 bytes x 4 [3076]DEBUG:launcher.core.redlinkserv: [write] ProbeCloseByIndex 1 [3076]DEBUG:launcher.core.redlinkserv: [read] Probe Handle 1 Closed [3665]INFO:launcher.cli.utils.click: Selected probe #1 UFHKAWQFL2TTQ (MCU-LINK FRDM-MCXA346 (r0E4) CMSIS-DAP V3.165) [3666]INFO:launcher.core.redlinkserv: MCU-Link firmware update `check`: Probe ([UFHKAWQFL2TTQ] [MCU-LINK FRDM-MCXA346 (r0E4) CMSIS-DAP V3.165]) is already running the same firmware version as the included firmware version [3.165] Firmware update `check`: not required - forced update can be performed using: `LinkServer probe #1 update forced` [3668]INFO:launcher.cli.utils.click: Selected device matches probe's target identification info [3668]DEBUG:launcher.core.redlinkserv: [write] probeopenbyindex 1 [3679]DEBUG:launcher.core.redlinkserv: [read] Probe Handle 1 Open [3679]DEBUG:launcher.core.redlinkserv: [write] wireswdconnect 1 [3901]DEBUG:launcher.core.redlinkserv: [read] Error: Wire Ack Fault - target connected? [3901]DEBUG:launcher.core.redlinkserv: [write] new [3901]DEBUG:launcher.core.redlinkserv: [read] [3901]DEBUG:launcher.core.redlinkserv: [write] a% = 1 [3901]DEBUG:launcher.core.redlinkserv: [read] [3901]DEBUG:launcher.core.redlinkserv: [write] load "C:\NXP\LinkServer_25.9.134\binaries\ToolScripts\LS_preconnect_MCXA3XX.scp" [3901]DEBUG:launcher.core.redlinkserv: [read] Loading "LS_preconnect_MCXA3XX.scp" [3901]DEBUG:launcher.core.redlinkserv: [write] run [4237]DEBUG:launcher.core.redlinkserv: [read] Probe Handle 1 Open Reset pin state: 01 Error: Wire Ack Fault - target connected? Error: Wire Ack Fault - target connected? Issuing Debug Session Request... 7 Error: Wire not connected Error: Wire Ack Fault - target connected? [4237]DEBUG:launcher.core.redlinkserv: [write] new [4237]DEBUG:launcher.core.redlinkserv: [read] [4237]DEBUG:launcher.core.redlinkserv: [write] coreconfig 1 [4237]DEBUG:launcher.core.redlinkserv: [read-partial] b'Error: Wire not connected\n' [4237]DEBUG:launcher.core.redlinkserv: [read] Error: Wire not connected [4237]DEBUG:launcher.core.redlinkserv: [write] corelist 1 [4238]DEBUG:launcher.core.redlinkserv: [read] Error: Wire Ack Fault - target connected? [4239]DEBUG:launcher.core.stub: Wrote stub XML: C:\Users\gray\AppData\Local\Temp\tmpi0ryp53q\crt_directory.xml [4240]DEBUG:launcher.core.stub: Wrote stub XML: C:\Users\gray\AppData\Local\Temp\tmpi0ryp53q\part.xml [4255]DEBUG:launcher.core.stub: GDB server args: ['--redlink-port', '11111', '--flash-dir', 'C:\\NXP\\LinkServer_25.9.134\\binaries\\Flash', '-x', 'C:\\Users\\gray\\AppData\\Local\\Temp\\tmpi0ryp53q', '-pMCXA346', '--vendor', 'NXP', '-g', '--cache', 'dis', '--probeserial', 'UFHKAWQFL2TTQ', '--coreindex', '0', '--msg-port', '15555', '--romstall', '0x4009123C', '--flash-mass-load-exec', 'C:\\Users\\gray\\Projects\\oberon\\dev\\oberon-rtk\\examples\\v2.x\\nxp\\frdm-mcxa346\\SignalSync\\signalsync.elf'] Ns: LinkServer RedlinkMulti Driver v25.9 (Sep 25 2025 19:34:03 - crt_emu_cm_redlink.exe build 1103) Pc: ( 0) Reading remote configuration Wc(03). No cache support. Nc: Found generic directory XML file in C:\Users\gray\AppData\Local\Temp\tmpi0ryp53q\crt_directory.xml Pc: ( 5) Remote configuration complete Nc: Reconnected to existing LinkServer process. Nc: Connecting to probe 1 core 0 (using server started externally) reports: 'Ee(42). Could not connect to core.' Nc: Retrying... Nc: Reconnected to existing LinkServer process. Nc: Server OK but no connection to probe 1 core 0 (after 3 attempts) - Ee(42). Could not connect to core. Ed:02: Failed on connect: Ee(42). Could not connect to core. Et:31: No connection to chip's debug port Pc: (100) Target Operation Failed [7239]DEBUG:launcher.core.stub: Stub-flash stdout socket closed (15555) [7242]DEBUG:launcher.core.redlinkserv: [write] exit [7242]DEBUG:launcher.core.redlinkserv: Waiting for redlinkserv to close [7563]DEBUG:launcher.core.redlinkserv: Redlinkserv has closed [7564]CRITICAL:__main__: Critical error Traceback (most recent call last): File "__main__.py", line 40, in File "click\core.py", line 1130, in __call__ File "click\core.py", line 1055, in main File "click\core.py", line 1657, in invoke File "click\core.py", line 1657, in invoke File "click\core.py", line 1404, in invoke File "click\core.py", line 760, in invoke File "launcher\cli\utils\funcs.py", line 153, in wrapper File "asyncio\runners.py", line 195, in run File "asyncio\runners.py", line 118, in run File "asyncio\base_events.py", line 719, in run_until_complete File "launcher\cli\utils\click.py", line 135, in wrapper File "launcher\cli\cmd\flash.py", line 52, in wrapper File "launcher\cli\cmd\flash.py", line 88, in cmd_flash_load File "launcher\core\stub.py", line 823, in run_flash Exception: Flash operation exited with code 1 As you see, the process fails at:   wireswdconnect 1 Actually twice, since also the pre-connect script issues the same command. It appears as if the SWD pins are disabled at the point when LinkServer attempts to access them. As I understand, LinkServer should prevent the current program in flash to run before it accesses the SWD interface ("connnect while in reset"). I have tried to modify the pre-connect script accordingly, but have not been successful, due to my limited knowledge here. Thank you. Re: LinkServer/MCX-A346: Ee(42). Could not connect to core. Hello @ygrayne  Thank you for contacting us. Please try using the LinkFlash GUI program first. This will allow you to view the log and commands used during the process. Thank you! BR Alice Re: LinkServer/MCX-A346: Ee(42). Could not connect to core. Oops, here's the file with the command output.
查看全文
Ethernet Code For LPC2478 controller using LPC24xx.h file on LPCXpresso IDE Ethernet Code For LPC2478 controller using LPC24xx.h file on LPCXpresso IDE  work code Used PHY chip for Ethernet communication and use SRAM it gets problem for Ethernet communication in IDE give me solution.  my all files  are attached here please check and give me  corrections and why this sys_calls.c file is used lpc2000 Re: Ethernet Code For LPC2478 controller using LPC24xx.h file on LPCXpresso IDE Hi @VijayaJangam1  I have checked your some code. I have some advices. 1. I think your PHY may not complete auto-negotiation before EMAC is enabled. So i think you can  while (!phy_link_up()) { dly(1000000); } // Wait for stable link 2. Did you config the ENET_TX_EN, ENET_TXD0, ENET_TXD1, ENET_REF_CLK pin? BR Harry Re: Ethernet Code For LPC2478 controller using LPC24xx.h file on LPCXpresso IDE Ethernet Code  using intrnal SRAm base_RAM_ETH_16 = 0x7fe00000 ; /* RAM_ETH_16 */ __base_RAM2 = 0x7fe00000 ; /* RAM2 */ __top_RAM_ETH_16 = 0x7fe00000 + 0x4000 ; /* 16K bytes */ __top_RAM2 = 0x7fe00000 + 0x4000 ; /* 16K bytes */    use this adress transmit string data from transmitter to receiver  I'm working on Ethernet communication between two LPC2478 boards using LPCXpresso IDE. I want to send a string from one board to another using broadcast MAC (FF:FF:FF:FF:FF:FF) and store all buffers in internal SRAM (no external RAM or lwIP). send data in the form string from transmitter to receiver Give me corrections and why this problem face. give me solution                  Thank you ..... Re: Ethernet Code For LPC2478 controller using LPC24xx.h file on LPCXpresso IDE Hi @VijayaJangam1  I have checked your main.c. If you're using external SRAM for buffers (tx_buf), make sure: External memory is enabled and initialized before using it. Your code does not include PHY register initialization via MDIO/MDC. BR Harry Re: Ethernet Code For LPC2478 controller using LPC24xx.h file on LPCXpresso IDE I have checked but my Ethernet code  is not working  if You hve any sample code for ethernet provide me please for LPCXpresso IDE.
查看全文