Multi Source Translation Content

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

Multi Source Translation Content

讨论

排序依据:
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
查看全文
寻找数据 你好 在哪里可以找到下一个元器件的可靠数据?TIA TJA1101AHN TJA1145TK/FDJ 汽车电子
查看全文
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トランシーバーにはコモンモードインダクタも必要です。 彼は、信号伝送におけるリングによって引き起こされる問題点を改善しました。
查看全文
S32G399A EIRQ usage Hello, I am using the S32G399A chip. When I use the PL_03 pin as an EIRQ interrupt, how should the device tree be configured? How to handle the interruption. S32G3  Re: S32G399A EIRQ usage Thank you. Let's first take a look at this manual. Re: S32G399A EIRQ usage Hello, @LONGGANGSU  Thanks for your post. For this topic, there is an example in BSP UM, you may reference it for details. I hope it will help BR Chenyin
查看全文
need a cross ref for motorola 1301 need a cross ref for motorola 1301
查看全文
Using S32K399A A53 primary core in bare-metal Hello, I have just started using a S32G-VNP-RDB3 and I would like to run some benchmark code on its A53 primary core (I may try the M7_0 one later). I intend to run my code without any RTOS or Linux - e.g. by calling my main() directly from U-Boot. I managed to build a project for the A53 core in S32DS but I found no debugging option that permitted me to run the debugger using the USB cable connected in J2 (UART0). Is it mandatory to have an external debugging probe to run my code in S32DS? Thanks, Ricardo Re: Using S32K399A A53 primary core in bare-metal Hello @ricardofranca, I am glad you were able to solve your issue and thanks for selecting my reply as a solution. If you encounter any problems in the future please do not hesitate to create another post.  Re: Using S32K399A A53 primary core in bare-metal It turns out I did not notice I had to compile code for AArch64 rather than AArch32... having fixed that, I could finally run my first function. Thanks! Re: Using S32K399A A53 primary core in bare-metal Hello @alejandro_e , Thanks for your advice! As I am unable to acquire a probe at this moment, I am trying to run my code directly over U-Boot. I am able to upload a binary file using Tera Term and the U-Boot "loadb" command, but when I try to run the code using the "go" command, the board crashes ("Synchronous Abort" handler, esr 0x02000000) and resets. The code I try to run is just a function that writes somewhere in the memory (e.g. 0x34100000) so that I can be sure it worked. I even tried to hard-code "BX LR" in the memory but I still made the board crash. I tried to run code either in the internal SRAM (0x34000000) or the LPDDR4 (0x80000000) and failed in both cases. What am I doing wrong? Is there anything specific I must do so that I can call my own functions from U-Boot? Thanks, Ricardo Re: Using S32K399A A53 primary core in bare-metal Hello @ricardofranca, Thanks for reaching out to us. Regarding your question, no, there is no way to debug the S32G3 cores using the serial port, you need to use an external debugger, for example the S32 Debug Probe or a PowerDebug System. You can check all supported debuggers in the Software section of the S32G3 page and searching for debug in both Public and By Partners sections: The option to debug using the serial port is only by using serial prints into a console. As as side note, although we support many debugging options, I would recommend using either the S32 Debug Probe or the Lauterbach option, since those are the ones we, the support team, have access to. Please let me know if you have more questions
查看全文
FS4500 - Can FSxB_RELEASE occur when WD_WINDOW = 0x0? Hi all. We have a bootloader in an application that requires FSxB to release to activate certain circuitry. Just wondering if FSxB can be released when WD_WINDOW is set to 0, i.e. WD is inhibited? Considering the datasheet which states that any WD access is considered a fault when the WD Window is closed. Kind regards, Joey Re: FS4500 - Can FSxB_RELEASE occur when WD_WINDOW = 0x0? Hi Jozef, Thank you again for your time and reply. Kind regards, Joey Re: FS4500 - Can FSxB_RELEASE occur when WD_WINDOW = 0x0? Hi Joey, yes, the mechanism to clear FLT_ERR and release FS0B after multiple refreshes is expected to work when WD_WINDOW = 0. The watchdog window only affects timing constraints, not the fundamental refresh requirement. Setting WD_WINDOW = 0 effectively disables the windowed watchdog mode, meaning the refresh is accepted at any time (classic watchdog behavior). With Best Regards, Jozef Re: FS4500 - Can FSxB_RELEASE occur when WD_WINDOW = 0x0? Hi Jozef, Sorry to bother you again. Please see the following description: This means that after power on, multiple proper refreshes are necessary to get FLT_ERR to 0 and release FS0B. I have verified this behaviour in the past. I would like to know (because it is not explicitly stated) that this mechanism is expected to work when WD_WINDOW = 0. Kind regards, Joey Re: FS4500 - Can FSxB_RELEASE occur when WD_WINDOW = 0x0? Hi Jozef, Thank you for your quick reply. I was actually thinking about the FLT_ERR CNT. Somehow I was under the impression that FLT_ERR starts up at 6. But I now see that this is wrong, FLT_ERR starts at 1 after POR or LPOFF. Thank you again. Kind regards, Joey Re: FS4500 - Can FSxB_RELEASE occur when WD_WINDOW = 0x0? Hi Joey, Setting WD_WINDOW = 0 (0b0000) does not immediately disable the watchdog. It only becomes effective after the INIT_FS phase is closed, which requires at least one valid watchdog refresh within the 256 ms INIT_FS timeout. This applies to both FS6500 and FS4500. After that, the watchdog is inhibited (no open/closed window enforcement), so no further WD refreshes are required. FSxB (fail-safe outputs) are controlled by the SBC’s safety state machine. They are released when the device enters Normal mode and no fault conditions are present. Disabling the watchdog (after INIT_FS) does not prevent FSxB from being released, as long as all other safety conditions are met (e.g., no voltage faults, no overtemperature, etc.). With Best Regards, Jozef
查看全文
Udooneo (iMX6SX) のデバイスツリーを 4.1 から 6.6 に移行する: ディスプレイ (LVDS) こんにちは、 thud から scarthgap (Yocto) に移行しています。SO 私はカスタマイズされたカーネル (Seco 製) 4.1 から Linux-fslc-imx 6.6 に移行します。私が使用しているボードは、Udooneo Extended (iMX6SX SoC) です。 最後に、正常に動作していないのは LVDS ディスプレイです。imx-viv-GPU の最新バージョンは X11 をサポートしていないため、Electron アプリには X11 のサポートが必要なため、etnaviv ドライバで動作するようにしようとしています。 今のところ、このファイル imx6sx-udoo-neo-lvds7.dtsi があります: / { reg_lcd_pwr: regulator-lcdpwr { compatible = "regulator-fixed"; regulator-name = "LCD POWER"; gpio = <&gpio4 27 GPIO_ACTIVE_LOW>; enable-active-high; regulator-boot-on; regulator-always-on; status = "okay"; }; backlight_regulator: regulator-backlight { compatible = "regulator-fixed"; regulator-name = "LCD BACKLIGHT BL_ON"; gpio = <&gpio6 3 GPIO_ACTIVE_LOW>; enable-active-high; regulator-boot-on; regulator-always-on; }; }; &lcdif2 { display = <&display1>; disp-dev = "ldb"; status = "okay"; display1: display@1 { bits-per-pixel = <16>; bus-width = <18>; }; }; &ldb { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_ldb_0>; lcd-supply = <&reg_lcd_pwr &backlight_regulator>; status = "okay"; lvds-channel@0 { fsl,data-mapping = "spwg"; fsl,data-width = <18>; crtc = "lcdif2"; status = "okay"; display-timings { native-mode = <&timing1>; timing1: LDB-WVGA { clock-frequency = <33660000>; hactive = <800>; vactive = <480>; hback-porch = <56>; hfront-porch = <50>; vback-porch = <23>; vfront-porch = <20>; hsync-len = <150>; vsync-len = <2>; }; }; }; }; &i2c1 { touchscreen: st1232@55 { compatible = "sitronix,st1232"; reg = <0x55>; interrupt-parent = <&gpio6>; interrupts = <4 IRQ_TYPE_LEVEL_LOW>; pinctrl-0 = <&pinctrl_st1232>; pinctrl-names = "default"; gpios = <&gpio6 5 GPIO_ACTIVE_LOW>; }; }; &dcic2 { dcic_id = <1>; dcic_mux = "dcic-lvds"; status = "okay"; }; &lcdif1 { /* Disable HDMI */ status = "disabled"; }; &i2c3 { /* Disable HDMI */ status = "disabled"; }; 画面が点灯し、起動中にスプラッシュ画面をCAN表示されます。起動中のある時点で、画面が乱れ、灰色の線が多数表示されます。X11 は起動CANますが、症状は同じです。画面が乱れます。タッチは機能しています。 何か見逃しているかも知れません。出力は次のとおりです: user@host:~# dmesg | grep -E "etnaviv|drm|mxsfb" [ 1.236707] etnaviv etnaviv: bound 1800000.gpu (ops 0xc0d7c0b8) [ 1.244047] etnaviv-gpu 1800000.gpu: model: GC400, revision: 4645 [ 1.250843] etnaviv-gpu 1800000.gpu: Need to move linear window on MC1.0, disabling TS [ 1.259865] [drm] Initialized etnaviv 1.4.0 20151214 for etnaviv on minor 0 [ 1.267241] Error: Driver 'mxsfb' is already registered, aborting... [ 2.141557] mxsfb 2224000.lcdif: supply lcd not found, using dummy regulator [ 2.237241] mxsfb 2224000.lcdif: registered mxc display driver ldb [ 2.342101] mxsfb 2224000.lcdif: initialized user@host:~# ls /dev/dri/ by-path card0 renderD128 user@host:~# ls /usr/lib/xorg/modules/drivers/modesetting_drv.so /usr/lib/xorg/modules/drivers/modesetting_drv.so user@host:~# grep -E "(EE|WW|etnaviv|modesetting|DRM)" /var/log/Xorg.0.log [ 110.902] Current Operating System: Linux pad2 6.6.101-lf-6.6.y-lf-6.6.y-g36cee4c51e9a #1 PREEMPT Fri Aug 8 14:52:48 UTC 2025 armv7l (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 110.944] (WW) The directory "/usr/share/fonts/X11/misc" does not exist. [ 110.944] (WW) The directory "/usr/share/fonts/X11/TTF" does not exist. [ 110.944] (WW) The directory "/usr/share/fonts/X11/OTF" does not exist. [ 110.944] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist. [ 110.944] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist. [ 110.945] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist. [ 110.966] (II) Platform probe for /sys/devices/platform/etnaviv/drm/card0 [ 111.079] falling back to /sys/devices/platform/etnaviv/drm/card0 [ 111.416] (WW) Falling back to old probe method for fbdev [ 111.707] (II) Initializing extension MIT-SCREEN-SAVER [ 114.495] (II) XINPUT: Adding extended input device "st1232-touchscreen" (type: TOUCHSCREEN, id 6) user@host:~# glxinfo | grep -E "OpenGL renderer|OpenGL vendor" Error: unable to open display user@host:~# export DISPLAY=:0 user@host:~# glxinfo | grep -E "OpenGL renderer|OpenGL vendor" Error: unable to open display :0   デバイスツリーを適切に動作させるためにはどうすれば改善CANますか?私はこのトピックに関しては初心者です。         i.MX6SoloX Linux Yocto Project Re: Migrating a device tree for Udooneo (iMX6SX) from 4.1 to 6.6 : Display (LVDS) わかりました。ご回答ありがとうございます。 Re: Migrating a device tree for Udooneo (iMX6SX) from 4.1 to 6.6 : Display (LVDS) こんにちは、 申し訳ありませんが、NXP でサポートされていないカーネルとサポートされていない GPU ドライバを使用しており、Linux BSP は X11 をサポートしていないため、udoo フォーラムで試してみることをお勧めします。 よろしくお願いします。 Re: Migrating a device tree for Udooneo (iMX6SX) from 4.1 to 6.6 : Display (LVDS) 使用されるディスプレイは、DS90CF364 (LVDS) を搭載した UMSH-8596MD-20T です。 Re: Migrating a device tree for Udooneo (iMX6SX) from 4.1 to 6.6 : Display (LVDS) ご興味があるCASEの方のために、私の問題に対する解決策を次に示します: https://www.udoo.org/forum/threads/migrating-device-tree-for-udooneo-from-4-1-to-6-6-display-lvds.38823/
查看全文
MIMXRT1052CVL5B on-chip LDO short-circuits during use During an occasional power-up, I found that the RT1052 could not be activated and the REQ signal was not emitted. After measurement, I found that the on-chip LDO_SNVS and LDO_1P1 are short-circuited, resulting in the inability to activate the PMU module of the RT1052, but the reason is unknown, and the attached is part of the peripheral circuitry of the RT1052, is there any irrationality? 回复: MIMXRT1052CVL5B在使用过程中出现的片内LDO短路现象 Addendum: The short circuit part of the measurement is measured at both ends of C337 and both ends of C339 in the attachment, and the resistance to ground is 0~2Ω. And after referring to other RT1052 schematic designs, I found that the Pswitch circuit is slightly different from other designs. In this design, a U141 chip is added to increase the delay time by 240ms, and I am not sure if it will affect the on-chip DCDC enable.
查看全文
我仍然遇到这个问题:致命错误:Adc.h:无此文件或目录 您好, 我仍然遇到这个问题,如果有人能提供帮助,我将不胜感激。 我在 Matlab 2022b 上使用 MBDT 1.5 谢谢您, 西蒙 https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/fatal-error-Adc-h-No-such-file-or-directory/m-p/2083246 Re: I'm still having this problem: fatal error: Adc.h: No such file or directory 你好,@simon98、 我们最近发布了该工具箱的新版本( 适用于 S32K3 版本的基于模型的设计工具箱 1.7.0 )。你能否下载并升级到这个版本的工具箱,然后重试确定问题是否仍然存在? 请与我们联系进展情况。 顺祝商祺! 德拉古 Re: I'm still having this problem: fatal error: Adc.h: No such file or directory 你好@Naresh2000、 您看到的信息是预料之中的。最新的 M BDT 电池管理系统 工具箱目前仅通过 MBDT S32K3xx 1.4.0 进行验证。它尚未与 MBDT S32K3xx 1.7.0 兼容,因此 Simulink 会提示您切换回 1.4.0 版本。 因此,这取决于您的使用情况: 如果你打算使用 电池管理系统 工具箱,请将 MB DT S32K3xx 降级到 1.4.0 版,这是最新的支持组合。 如果你不需要 电池管理系统功能,你可以毫无问题地继续使用 MBDT S32K3xx 1.8.0,这实际上是最新发布的 S32K3 工具箱。 简而言之,最新的可用电池管理系统版本目前仅适用于 S32K3 xx 1.4.0平台。未来的电池管理系统版本中将支持较新的 S32K3xx 版本。 希望现在很明确了。 顺祝商祺! 德拉古 Re: I'm still having this problem: fatal error: Adc.h: No such file or directory 你好、 SBC 驱动程序与 RTD 兼容。查看 SBC 发行说明,了解 RTD 版本支持什么。如果要使用特定的 RTD 版本,则可能需要安装相应的 SBC 版本,反之亦然。 例如,如果我没记错的话,使用 RTD 7.0.1 需要使用 SBD 驱动程序 6.0.0。 您好 西蒙 Re: I'm still having this problem: fatal error: Adc.h: No such file or directory 首先,非常感谢@dragostoma迅速而有用的回复,这非常有用。 我无法在 S32 配置工具中找到 CDD_Sbc_fs26 驱动程序 。经过研究,我了解到 MBDT 限制在 S32CT 中安装新软件,以防止用户破坏工具链。 在找到这个之前,我尝试使用 “帮助” → “安装新软件” 通过 S32 Design Studio 安装 FS26 软件包。然而,重新打开 Simulink 并检查 S32CT 后,CDD 驱动程序仍然不可用。看来S32设计工作室和Simulink S32配置工具是独立运行的,不共享已安装的组件。 作为一种解决方法,我从电池管理系统示例项目中复制了 FS26 初始化块。但是当我尝试构建、部署和启动模型时,我遇到了以下错误:致命错误:cdd_sbc_fs26.h:无此文件或目录 我目前处于困境,需要有关如何正确解决此问题以及集成所需的 FS26 驱动程序或其他任何方法的指导。 MBDT FS26 Re: I'm still having this problem: fatal error: Adc.h: No such file or directory 我正在使用较新的版本,即 MBDT S32K3xx 1.7.0,但是 Simulink 显示提示说 MBDT 电池管理系统 1.2.0 不支持 1.7.0 版本,并建议切换到 MBDT S32K3xx 1.4.0。在这种情况下,我该怎么办?
查看全文
デュアルネットワークポートを使用するようにFreeRTOSで構成されたRT1061 RT1061のサンプルを確認しました。lwip_examplesのサンプルでは、ベアメタルプログラムはデュアルネットワークポートを使用するように設定されていますが、FreeRTOSのサンプルでは設定されていません。弊社では、デュアルネットワークポートを設定した状態でFreeRTOSを実行する必要があります。Feiling Embedded OK1061-S開発ボードでサンプルを実行しています。ベアメタルのサンプルは問題なく動作しますが、ベアメタルのサンプルに従ってデュアルネットワークポートでFreeRTOSを設定できません。デュアルネットワークポートでFreeRTOSを設定する例をテクニカルサポートにご提供ください。ありがとうございます。 開発委員会 MCXC Re: RT1061使用FreeRTOS配置使用双网口 こんにちは@陈华 NXP サポート チームにお問い合わせいただきありがとうございます。 SFDC 経由でメールを送信しましたので、受信トレイを確認してください。 よろしくお願いします、 ギャビン
查看全文
I'm still having this problem: fatal error: Adc.h: No such file or directory Hi, I'am still encountering this problem, if someone could help would be greatful. I'm using MBDT 1.5 on Matlab 2022b thanks, Simon https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/fatal-error-Adc-h-No-such-file-or-directory/m-p/2083246 Re: I'm still having this problem: fatal error: Adc.h: No such file or directory Hi, @simon98, We have recently released a new version of the toolbox (Model-Based Design Toolbox for S32K3 version 1.7.0). Would you be able to download and upgrade to this version of the toolbox, and then retry to determine whether the issue persists? Please let us know about the progress. Best regards, Dragos Re: I'm still having this problem: fatal error: Adc.h: No such file or directory First of all, thank you very much @dragostoma  for your prompt and helpful response—it was extremely useful. I’m unable to find the CDD_Sbc_fs26 drivers in the S32 Configuration Tool. After some research, I learned that MBDT restricts installing new software into S32CT to prevent users from breaking the toolchain. Before finding this, I attempted to install the FS26 package through S32 Design Studio using Help → Install New Software. However, after reopening Simulink and checking S32CT, the CDD drivers were still not available. It seems that S32 Design Studio and the Simulink S32 Configuration Tool operate independently and do not share installed components. As a workaround, I copied the FS26 initialization blocks from the BMS example project. But when I try to build, deploy, and start the model, I encounter the following error: fatal error: CDD_Sbc_fs26.h: No such file or directory I’m currently stuck at this point and need guidance on how to properly resolve this issue and integrate the required FS26 drivers or anyother way to move forward. MBDT FS26  Re: I'm still having this problem: fatal error: Adc.h: No such file or directory Hi,   SBC drivers have compatibility with RTD. Look into SBC release notes to find what  RTD version support. You may need to install an appropriate SBC version if you want to use a certain RTD version, or viceversa. For example with RTD 7.0.1 you need SBD drivers 6.0.0, if i remember right. Greetings, Simon Re: I'm still having this problem: fatal error: Adc.h: No such file or directory Hi @Naresh2000 , The message you are seeing is expected. The latest MBDT BMS Toolbox is currently validated only with MBDT S32K3xx 1.4.0. It is not yet compatible with MBDT S32K3xx 1.7.0, which is why Simulink prompts you to switch back to version 1.4.0. So, depending on your use case: If you intend to use the BMS toolbox, please downgrade MBDT S32K3xx to version 1.4.0, which is the latest supported combination. If you do not need BMS functionality, you can continue using MBDT S32K3xx 1.8.0 without issues, which is actually the latest S32K3 toolbox released. In short, the latest available BMS release currently works only with the S32K3xx 1.4.0 platform. Support for newer S32K3xx versions will come in a future BMS release. Hope is clear now. Best regards, Dragos Re: I'm still having this problem: fatal error: Adc.h: No such file or directory I am using the newer version, MBDT S32K3xx 1.7.0, but Simulink shows a prompt saying that MBDT BMS 1.2.0 does not support version 1.7.0 and suggests switching to MBDT S32K3xx 1.4.0. What should I do in this situation?
查看全文
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
查看全文
Can imx93evk GPIO_IO04 for RGB LED be configured as PWM for dimming? I was able to configure pin  MX93_PAD_GPIO_IO05__TPM4_CH0 following this thread: https://community.nxp.com/t5/i-MX-Processors/imx93-GPIO-to-use-as-output-PWM-signal/m-p/1975360  It worked as pwm with the /sys/class/pwm/pwmchipX/pwm0 handle. However, I cannot configure pin  MX93_PAD_GPIO_IO04__TPM3_CH0 to behave the same way. I can create the same handle for channel 0 on a different pwmchip but the LED is lighted up full brightness after boot. With the same set of shell commands to control the /sys/class/pwm/pwmchipX/pwm0, the scope doesn't show any pwm waveforms from  pin 7 of the J1001 connector which is wired to the green LED Do I need to do anything special for pin GPIO_IO05 or something different than GPIO_IO05? Yocto Project Re: Can imx93evk GPIO_IO04 for RGB LED be configured as PWM for dimming? Hi @jc2025, For that you should have pull down resistors to avoid turning on the LEDs. Please try populating R1036, R1037 and R1038 or use the internal pull down resistor of the chip using the next values: pinctrl_tpm3: tpm3grp { fsl,pins = < MX93_PAD_GPIO_IO04__TPM3_CH0 0x59e //0x02 MX93_PAD_GPIO_IO12__TPM3_CH2 0x59e //0x02 >; }; pinctrl_tpm4: tpm4grp { fsl,pins = < MX93_PAD_GPIO_IO05__TPM4_CH0 0x59e //EXP_GPIO_IO05 J1001 29 MX93_PAD_GPIO_IO13__TPM4_CH2 0x59e //EXP_GPIO_IO13 J1001 29 >; }; Re: Can imx93evk GPIO_IO04 for RGB LED be configured as PWM for dimming? You are right. The update dts file worked. And I also try using the recommended way of including the original board dts from bsp in the new dts. It worked too. However the leds still came up bright white at the start. How do I make it zero or leds off? Do I tweak the pad configuration? Re: Can imx93evk GPIO_IO04 for RGB LED be configured as PWM for dimming? @jc2025  https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/iMX93-EVK-PWM-LED/ta-p/1978047 As shown in the iMX93-EVK-PWM_LED document, LEDs are controlled using PWM. The document also includes pictures.  Even better, after introducing PWM control of LED lights, the document also provides the final LED control method. The LED driver calls the PWM driver, so you only need to control the brightness, and the driver will automatically map to the corresponding PWM value. BTW, the imx93-11x11-evk_tpm1234_103025a.dts file is not a good method for modification; the method in the document attachment is clearer. Moreover, if the BSP changes, this device file does not need to be modified. In fact, you don't need to do anything; just put imx93-11x11-evk-pwm.dts and imx93-11x11-evk-pwm-led.dts into the file and compile it. That's what I did. imx93-11x11-evk-pwm.dts // SPDX-License-Identifier: (GPL-2.0+ OR MIT) /* * Copyright 2022 NXP */ #include "imx93-11x11-evk.dts" &tpm3 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_tpm3>; status = "okay"; }; &tpm4 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_tpm4>; status = "okay"; }; &iomuxc { pinctrl_tpm3: tpm3grp { fsl,pins = < MX93_PAD_GPIO_IO04__TPM3_CH0 0x19e MX93_PAD_GPIO_IO12__TPM3_CH2 0x19e >; }; pinctrl_tpm4: tpm4grp { fsl,pins = < MX93_PAD_GPIO_IO13__TPM4_CH2 0x19e >; }; }; imx93-11x11-evk-pwm-led.dts // SPDX-License-Identifier: (GPL-2.0+ OR MIT) /* * Copyright 2022 NXP */ #include #include "imx93-11x11-evk-pwm.dts" / { leds { compatible = "pwm-leds"; led-g { label = "Green::TPM3_CH0"; color = ; pwms = <&tpm3 0 5000000 0>; max-brightness = <255>; }; led-b { label = "Blue::TPM3_CH2"; color = ; pwms = <&tpm3 2 5000000 0>; max-brightness = <255>; }; led-r { label = "Red::TPM4_CH2"; pwms = <&tpm4 2 5000000 0>; color = ; max-brightness = <255>; }; }; }; Re: Can imx93evk GPIO_IO04 for RGB LED be configured as PWM for dimming? Hi @jc2025, Thanks to your device tree, I was able to successfully enable the PWM channels. Using the latest BSP along with your configuration, I executed the following commands: cd /sys/class/pwm/pwmchip0/ # Configuring the Green LED echo 0 > export echo 2000000 > pwm0/period echo 0 > pwm0/duty_cycle echo 1 > pwm0/enable # Configuring the Blue LED echo 2 > export echo 2000000 > pwm2/period echo 0 > pwm2/duty_cycle echo 1 > pwm2/enable cd /sys/class/pwm/pwmchip1/ # Configuring the Red LED echo 2 > export echo 2000000 > pwm2/period echo 0 > pwm2/duty_cycle echo 1 > pwm2/enable I’ve set the duty cycle to 0 to keep the LEDs turned off. You can adjust the duty cycle value as needed to control brightness or turn them on. Best regards, Chavira Re: Can imx93evk GPIO_IO04 for RGB LED be configured as PWM for dimming? I updated the dts and the led stay bright white. PWM has no effects. Attached here is the dts. Re: Can imx93evk GPIO_IO04 for RGB LED be configured as PWM for dimming? After reviewing it, I may need to tweak my dts to match tpm# with the pin's tpm#. Re: Can imx93evk GPIO_IO04 for RGB LED be configured as PWM for dimming? @jc2025  I found the following link which may be useful to you. https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/iMX93-EVK-PWM-LED/ta-p/1978047 Re: Can imx93evk GPIO_IO04 for RGB LED be configured as PWM for dimming? Hi @jc2025, Could you please share your device tree? Also, what BSP (Board Support Package) version are you currently using? To enable support for TPM3, you’ll need to add the following configuration to your device tree: &tpm3 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_tpm3>; status = "okay"; }; pinctrl_tpm3: tpm3grp { fsl,pins = < MX93_PAD_GPIO_IO04__TPM3_CH0 0x19e >; };​ Once this is added, you should see a new PWM device appear. In a previous case, it showed up as pwmchip1. If both PWM channels are active, please check which pwmchip corresponds to the LED RGB. If you encounter any issues or need further assistance, feel free to reach out. Best Regards, Chavira
查看全文
S32K142Wチップの入力信号をキャプチャする際にマイクロ秒レベルの遅延が発生する NXPの専門家の皆様 問題の背景: MCU: S32K142W; アプリケーションの背景: BLDC モーター制御用の 3 相ホール信号をキャプチャするには、FTM2 をキャプチャ モードとして構成します。 問題の説明: FTM2_Ch0uCh1_IRQHandler()割り込み関数の入力に GPIO を反転する命令を追加すると、キャプチャされた信号と比較してキャプチャ トリガー時間が最大 3.2us 遅延されるCAN性があることが判明しました。「 FTM2_Ch0_Ch1_IRQHandler 」の割り込み優先度を最高優先度0に設定するだけです。以下に示すように 形: CH1 チャネル (黄色の波形) : FTM2 は割り込み反転 IO ポートをキャプチャします。 CH2 チャネル (青い波形) : 信号発生器によって生成された周期的な方形波。 私の FTM2 構成は次のとおりです。 参照情報を設定するには、次の画像を参照してください。 FTM2の具体的な構成情報: ご返信をお待ちしております。ありがとうございます。 LF Re: There is a microsecond level delay when capturing the input signal of S32K142W chip こんにちは@_Leo_ ご返信をいただき嬉しく思います。 ご質問に関して、回答は次のとおりです。 1、S32プラットフォーム用S32デザインスタジオバージョン: S32DS v3.4 2、SDK: S32SDK_S32K1XX_STM_4.0.3; 3、MCU:FS32K142WAT0WLFT; 4、ホール信号の入力キャプチャルーチンについては、NXP ユーザーマニュアルの指示に従って自分で構築しました。具体的な設定については、前回のメッセージを参照してください。 5、テストされたPWM信号特性: 周波数: 20KHz ; デューティサイクル: 50% ; 高レベル電圧: 5V ; よろしくお願いいたします。 LF Re: There is a microsecond level delay when capturing the input signal of S32K142W chip 当社製品にご興味をお持ちいただき、また当社コミュニティに貢献していただき、ありがとうございます。 当社側で問題を再現するために、リアルタイム・ドライバ (RTD) を使用し、S32K14WEVB-Q064 (または当社の他の EVB) と互換性のあるプロジェクトを共有していただけますか? ICU 構成に加えて、すべての問題を 1 つのボードでテストするために必要な PWM 設定も追加してください。必要となる追加の詳細もお知らせください。 詳細をよろしくお願いいたします。
查看全文
LinkServer/MCX-A346: Ee(42)。コアに接続できませんでした。 これを何百回も正常に使用した後、FRDM-MCXA346 をフラッシュまたは消去できなくなり、恐ろしいエラー「Ee(42)」が発生しました。コアに接続できませんでした。 linkserver -l 5 flash mcxa346:frdm-mcxa346 load --erase-all signalsync.elf デバッグレベルの出力が添付されています。 LinkServer_25.9.134、Windows 11 フォーラムを検索したところ、多くの類似したレポートや質問が見つかりました。しかし、この特定のボードではどの解決策も機能しませんでした。プローブと VCOM ポートは Windows デバイス マネージャーに表示されます。MCU-Link ファームウェアは最新です。すべてのジャンパーはデフォルト構成になっています (つまり、そのままの状態でも動作します。 私はベアメタル (IDEs なし) で作業しており、コマンドラインから LinkServer を使用したいと考えています (つまり、私のビルド システムに統合されています。 どうすればコントロールを取り戻せますか?前もって感謝します。 Re: LinkServer/MCX-A346: Ee(42). Could not connect to core. こんにちは、アリスさん。ありがとうございます。SEC 25.09 を使用してコア アクセスを復元できました。ターゲットに接続するために J-Link プローブを使用しました。 Re: LinkServer/MCX-A346: Ee(42). Could not connect to core. こんにちは@ygrayne ご返信ありがとうございます。 MCXA デバイスで ISP モードに入るには、最新バージョンの SEC 25.09 を使用してください。 ダウンロード先: https://www.nxp.com/design/design-center/software/development-software/mcuxpresso-software-and-tools-/mcuxpresso-secure-provisioning-tool:MCUXPRESSO-SECURE-PROVISIONING よろしくお願いします。 BR アリス Re: LinkServer/MCX-A346: Ee(42). Could not connect to core. こんにちは、アリス。ありがとう。ISP モードでチップ全体の消去を実行するにはどうすればよいですか? これにより、同じエラーが発生します。 linkserver flash mcxa346:frdm-mcxa346 erase LinkServer がリセットを実行して、MCU を ISP モードから解除し、LinkServer が SWD ピンを取得する前にフラッシュ メモリ内のプログラムを起動しているのではないかと思います。 FlashMagic を確認しましたが、MCX-A346 はサポートされていません。SO、このユーティリティが問題を解決できるかどうかはわかりません。 ありがとうございます。 Re: LinkServer/MCX-A346: Ee(42). Could not connect to core. こんにちは@ygrayne ご返信ありがとうございます。 ボードが以前は機能していたが動作しなくなった場合は、ISP モードに入り、チップの完全消去を実行してから再度テストしてください。 ご回答をお待ちしています。 BR アリス Re: LinkServer/MCX-A346: Ee(42). Could not connect to core. こんにちは、アリス。ありがとう。LinkFlash はコマンドライン プログラムの単なるフロントエンドであるため、添付ファイル経由で既に提供されているものと同じログ出力を生成します。 ログレベルを指定しない場合: 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 デバッグレベルのログ: 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 ご覧のとおり、プロセスは次の時点で失敗します。 wireswdconnect 1 実際には、事前接続スクリプトも同じコマンドを発行するため、2 回になります。LinkServer が SWD ピンにアクセスしようとした時点で、SWD ピンが無効になっているように見えます。私の理解では、LinkServer は、SWD インターフェースにアクセスする前にフラッシュ内の現在のプログラムが実行されないようにする必要があります (「リセット中に接続」)。それに応じて事前接続スクリプトを変更しようとしましたが、私の知識が限られているため、成功しませんでした。 よろしくお願いします。 Re: LinkServer/MCX-A346: Ee(42). Could not connect to core. こんにちは@ygrayne お問い合わせいただきありがとうございます。 まずは LinkFlash GUI プログラムを使用してみてください。 これにより、プロセス中に使用されたログとコマンドを表示できます。 ご回答をお待ちしています。 BR アリス Re: LinkServer/MCX-A346: Ee(42). Could not connect to core. おっと、コマンド出力を含むファイルがここにあります。
查看全文
S32DS 2018.R1 and S32DS 3.4 license activate issue. Hi team, My customer reported that if he activate S32DS R2018, the activated S32DS3.4 will loss license.  Could you please help to take a look? Below is the account and license information. Account: [email protected] Activation code: S32DS3.4:  7050-91E6-47CE-2FBB S32DS 2018: C27C-A46B-7DC1-E14B br, Charles Priority: MEDIUM S32DS Re: S32DS 2018.R1 and S32DS 3.4 license activate issue. Hi Charles,  please suggest to  customer backup and delete content of c:\ProgramData\FLEXnet\ folder. The folder is hidden by default. The trusted storage may be corrupted. From account side there is nothing suspicious.  When the content of FLEXnet is deleted, first activate S32DS for ARM v2018.R1 and then S32DS v3.4.  Re: S32DS 2018.R1 and S32DS 3.4 license activate issue. Hi Jiri, I asked customer to capture the license under his account, please see below picture. S32DS 2018.r1 S32DS3.4 Please help to take a look. br, Charles Re: S32DS 2018.R1 and S32DS 3.4 license activate issue. Hi Charles, the keys are for different account. On the account with S32DS v3.4 is not preset S32DS v2018 and on second account is not present S32DS v3.4. Are you sure that you post correct keys?  Re: S32DS 2018.R1 and S32DS 3.4 license activate issue. @charleszhao  Please send this request via mail to [email protected] group. This group handle for licensing related issues
查看全文
gui guider 1.10.0 chart bug In the chart component of Guiguider, I want to eliminate vertical lines by setting them to 0, but the minimum can only be set to 2. And your guiguider documentation states support for setting to 0, is this a software bug in guiguider? Re: gui guider 1.10.0 chart bug Hi @MC_xiong_ge  Thanks for your information. I can reproduce the issue you mentioned. BR Harry Re: gui guider 1.10.0 chart bug I tried again, and this bug does indeed appear in the lvgl8 project of GUI Guide 1.10.0. You can try it under the same conditions as me, or use my project directly Re: gui guider 1.10.0 chart bug Hi @MC_xiong_ge  BR Harry Re: gui guider 1.10.0 chart bug Hi @MC_xiong_ge  May i ask which GUI GUIDER IDE version you are using? In GUI GUIDER-1.9.0, It can be set to 0. BR Harry
查看全文
LPC1113 你好,我正在使用 32 针的 LPC1113 /202 在哪里可以为这个处理器采购分线板?我们希望能用 Flash Magic 闪存 LPC1113 smd,并用插座或模块轻松连接引脚。有人知道我们在哪里可以找到这个模块或插座 " 分组板 " 的线索吗? 恩智浦聊天支持人员说,在这个论坛上提问,恩智浦工程师会做出回复。 预先致谢 Re: LPC1113 你好@SkyPilot 不幸的是,恩智浦没有为这种特定芯片代码包提供演示板。 但是,你可以在JLCPCB网站上搜索这个代码包的板。 https://jlcpcb.com/parts/componentSearch?searchTxt=LPC1113 BR 爱丽丝
查看全文