Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
Why model size is limited at 1 MB? I run model from sample tflm_cifar10 on MIMRT700 (NPU model). When building the program, I could see the model's size and correspond region size.  In many cases, the region size is 1 MB. As my understanding, the model's size is limited at 1 MB. Is that right? nnxxpp_0-1781495142659.png I did not understand this point. Here is information of MIMRT700 EVK. nnxxpp_2-1781495429888.png I don't know where model is saved on MIMRT700 EVK. And where is the 1 MB for region size? Is it actual limit of model size? Or we can increase model size by some methods. Do you have any comment for this problem? Because I try to deploy a larger model > 1 MB. I do wait for your response. Thank you. Re: Why model size is limited at 1 MB? @mayliu1  Thank you so much. Now I understood that we can increase the size of the model by setting region size. nnxxpp_0-1781514247437.png Or If I want to run larger model on external memory, I can follow this document https://docs.nxp.com/bundle/AN14700/page/topics/external_memory.html  Re: Why model size is limited at 1 MB? Hi @nnxxpp , Thank you so much for your interest in our products and for using our community. Q: I don't know where model is saved on MIMRT700 EVK. And where is the 1 MB for region size? Is it actual limit of model size? Or we can increase model size by some methods. Do you have any comment for this problem? Because I try to deploy a larger model > 1 MB. A: The 1 MB shown for modeldata is not a hardware limit of the RT700. It is only the default linker allocation used in the sample project. For larger models, this allocation can be adjusted in the project settings, and external XSPI flash can also be used if more storage is needed. For more detail information, you can refer to this AN14700. https://docs.nxp.com/bundle/AN14700/page/topics/introduction.html mayliu1_0-1781507645284.png So, the RT700 is not inherently limited to a 1 MB model. Larger NPU models are supported either by increasing the modeldata memory allocation or by placing the model in external XSPI flash with the appropriate conversion option.  Wish it helps you Best Regards May Liu Re: Why model size is limited at 1 MB? @mayliu1  I want to reopen this topic. Now i am trying to deploy larger model on RT700. The below image is captured when building the program with the small model. I see that there are 4 memory regions: - QSPI_flash: external memory - SRAM: I ask chatgpt and it is for data when running the program (like .data, .bss, stack, heap). Is that correct? - NCACHE_REGION: it is same ktensorArena (for inputs, intermediate outputs and output) -  modeldata: to save model weights I see in the memory configuration when I import SDK example. It means that SRAM, NCACHE_REGION and modeldata from SRAM (7.5 MB). NCACHE_REGION and modeldata should be located in  0x2000_0000 to 0x2058_0000 (5.5 MB) to get best perforemce (SRAM area that can be accessed by the NPU) But location of SRAM (named SRAM) is 0x20080000 (in the second image) ==> It is also in the range 0x2000_0000 to 0x2058_0000. And by default, it is set about 2.5 MB. It means that NCACHE_REGION + modeldata should be less than (5.5 - 2.5) = 3 MB. My model size is about 3.5 MB. Beside that I can locate my model on external memory (it results in larger inference time), how I can config memory to still locate my model (3.5 MB) on memory area that NPU can access? I am curious about whether we can shrink "SRAM" region (in the images 1, 2) or can I move it to another area of RAM (7.5 - 5.5 = 2 MB - the last region in the image 3)? And how I can estimate the size of "SRAM" region? In the below image, it is 15560 B. Sorry for my long questions. nnxxpp_0-1782205318606.png nnxxpp_1-1782205742121.png nnxxpp_2-1782206037185.png Re: Why model size is limited at 1 MB? @mayliu1  Good morning. Maybe you missed my new above questions.  Re: Why model size is limited at 1 MB? Hi @nnxxpp , Apologies for the delayed response. If you don’t mind, could you please create a new case for your new issue?  Thank you for your understanding and cooperation. Best Regards, May Re: Why model size is limited at 1 MB? @mayliu1  Yes, ok. Let me create new issue. Thank you. Re: Why model size is limited at 1 MB? @mayliu1  I have resolved my problem. We can locate SRAM outof 5.5 MB area for NPU. I locate modeldata and kTensorArena in area 5.5 MB and it worked. The inference time is good. But If you did not miss my questions, so I can finish soon my tasks. Thank you. Re: Why model size is limited at 1 MB? Yes. Have a nice day. Re: Why model size is limited at 1 MB? Glad to hear that your issue has been resolved. Apologies for the delayed response,   thank you for your understanding.
View full article
FRDM-IMX93 预制图像 大家好, 以下图片有何不同?我找不到更新日志文件。我需要将我的 FRDM-imx93 主板恢复为出厂设置。 谢谢! Screenshot from 2026-06-10 15-52-23.png Re: FRDM-IMX93 prebuilt images 您好 ,它们之间的变化微乎其微,我建议您使用 Linux 电路板支持包 版本,因为 FRDM 版本是我们在集成之前获得的初始软件支持。 https://www.nxp.com/design/design-center/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applications-processors:IMXLINUX 此致, 阿尔多。
View full article
请问guider的table控件怎样在guider软件里调整每个单元格的宽度? 我在使用table控件时,在guider界面没找到调整每个单元格的宽度的按钮或输入框。请问应该怎样在设计时调整单元格宽度? Re: 请问guider的table控件怎样在guider软件里调整每个单元格的宽度? Hi @alen-liao  您好,您可以尝试修改这个参数。 Harry_Zhang_0-1781158999778.png BR Harry
View full article
IW611:无法设置 Linux 驱动程序 您好, 我正在尝试用 Linux 内核 4.19 启动 IW611。我使用的是 mwifiex 分支 if-6.12.49_2.20。 配置文件包含以下内容: SDIW612 = { cal_data_cfg=none hw_name=IW611 fw_name=nxp/sduart_nw61x_v1.bin drv_mode=0x1 auto_ds=2 pm_keep_power=1 cntry_txpwr=0 slew_rate=0 } 芯片被 MMC 总线驱动程序识别,nwifiex 驱动程序已加载。但当我尝试启动 mlan0 接口时,却出现了写入错误。谁能告诉我是什么地方配置错误或出错了? 下面是我的 dmesg 输出: [8.423408] wlan:正在加载 MWLAN 驱动程序 [8.427639] 未指定模块参数 cfg 文件 [8.632441] wlan:注册到总线驱动程序... [8.666463] vendor=0x0471 device=0x0205 class=0 function=1 [8.711324] Attach moal handle ops,卡接口类型:0x109 [8.764392] SDIW612:来自用户的初始化模块参数 [8.769688] cal_data_cfggs:SDIW612,配置块:0 [8.774488] cal_data_cfggg =无 [8.777622] hw_name=iw611 [8.780414] fw_name=nexp/sduart_nw61x_v1.bin [ 8.784838] drv_mode = 1 [ 8.787512] auto_ds = 2 [ 8.790109] pm_keep_power on [ 8.793152] cntry_txpwr = 0 [ 8.796102] slew_rate = 0 [ 8.798916] SDIO: sdio_blk_size=256 max_blk_count=65535 max_segs=64 max_seg_size=65536 [ 8.807287] rx_work=0 cpu_num=1 [ 8.810624] Enable moal_recv_amsdu_packet [ 9.101160] Attach mlan adapter operations.card_type is 0x109. [ 9.118472] wlan:启用 TX SG 模式 [ 9.122181] wlan: mpa_tx.buf_size=65280 [ 9.126231] wlan:启用 RX SG 模式 [ 9.129954] wlan: mpa_rx.buf_size=65280 [ 9.261877] 请求固件:nxp/sduart_nw61x_v1.bin [ 10.067400] Wlan:FW 下载结束,firmwarelen=913892 已下载 837692 [ 10.467947] WLAN FW 处于活动状态 [ 10.471106] on_time is 10463342042 [ 10.494983] VDLL 映像:len=76200 [ 10.498741] fw_cap_info=0x487cff03, dev_cap_mask=0xffffffff [ 10.504665] uuid: e139b70377da5b6fbc71c709b955b9a7 [ 10.509761] max_p2p_conn = 8, max_sta_conn = 16 [ 10.529596] IOCTL failed: 1b0efb8f id=0x200000, sub_id=0x200046 action=1, status_code=0x3 [FW_CMDRESP] [ 10.544554] Register NXP 802.11 Adapter mlan0 [ 10.549385] wlan: version = SDIW612---18.99.2.p19.10-MM6X18540.p33-GPL-(FP92) [10.567328] 设置 REG 0x90002328:0x10d57 slew_rate=0 [10.576793] usbcore:注册了新的接口驱动程序 usbxxx [10.584854] wlan:注册到总线驱动程序完成 [10.589480] wlan:驱动程序已成功加载 这里我尝试启动 mlan0 [ 76.346952] cmd53 write error=-110 [ 76.353352] host_too_card, write iomem (1) failed: -1 [ 76.359014] write CFG reg failed [ 76.362560] cmd53 write error=-110 [ 76.366184] host_too_card, write iomem (2) 失败:-1 [ 76.371495] write CFG reg 失败 [ 76.374999] cmd53 write error=-110 [ 76.402254] host_too_card, write iomem (3) 失败:-1 [ 76.407537] write CFG reg 失败 [ 76.410971] Error: host_to_card failed: 0xFFFFFFFF [ 76.416043] DNLD_CMD: Host to Card Failed [ 76.420306] IOCTL failed: ef7a4e76 id=0x90000, sub_id=0x90001 action=1, status_code=0x80000006 [CMD_DNLD_FAIL] [ 76.430903] ------------Dump info----------- [ 76.435415] Command to card failure [ 76.439111] pending command id: 0x10 ioctl_buf= (null) [ 76.444634] pending command id: 0x28 ioctl_buf=a69aa9f8 [ 76.450155]没有待执行的扫描命令 [ 76.453847] CurCmd 空 [ 76.456521] mlan_processing =1 [ 76.459753] main_lock_flag =0 [ 76.462885] main_process_cnt =75 [ 76.466292] delay_task_flag =0 [ 76.469523] mlan_rx_processing =0 [ 76.473022] rx_pkts_queued=0 [ 76.476061] more_task_flag = 0 [ 76.479292] num_cmd_timeout = 0 [ 76.482607] last_cmd_index = 2 [ 76.485830] last_cmd_id = [ 76.485834] 0x27c [ 76.488698] 0x27c [ 76.490818] 0x243 [ 76.492938] 0xe4 [ 76.495058] 0x5b [ 76.497086] 0x242 [ 76.499123] 0x4d [ 76.501243] 0xd1 [ 76.503271] 0x10 [ 76.505299] 0x28 [ 76.510935] last_cmd_act = [ 76.510937] 0x0 [ 76.513885] 0x1 [ 76.515821] 0x0 [ 76.517757] 0xff [ 76.519704] 0x1 [ 76.521732] 0x1 [ 76.523668] 0x1 [ 76.525604] 0x0 [ 76.527540] 0x1 [ 76.529486] 0x213 [ 76.535109] last_cmd_resp_index = 2 [ 76.538799] last_cmd_resp_id = [ 76.538802] 0x827c [ 76.542117] 0x827c [ 76.544329] 0x8243 [ 76.546540] 0x805b [ 76.548761] 0x805b [ 76.550973] 0x8242 [ 76.553185] 0x804d [ 76.555396] 0x80d1 [ 76.557608] 0x8010 [ 76.559828] 0x8028 [ 76.565819] last_event_index = 1 [ 76.569233] last_event = [ 76.569236] 0x0 [ 76.571999] 0x81 [ 76.573936] 0x0 [ 76.575963] 0x0 [ 76.577907] 0x0 [ 76.579844] 0x0 [ 76.581780] 0x0 [ 76.583716] 0x0 [ 76.585652] 0x0 [ 76.587587] 0x0 [ 76.593035] num_data_h2c_failure = 0 [ 76.596809] num_cmd_h2c_failure = 1 [ 76.600500] num_data_c2h_failure = 0 [ 76.604275] num_cmdevt_c2h_failure = 0 [ 76.608241] num_int_read_failure = 0 [ 76.612015] last_int_status = 64 [ 76.615422] num_alloc_buffer_failure = 0 [ 76.619572] num_pkt_dropped = 0 [ 76.622888] num_noo_cmd_node = 0 [ 76.626202] num_event_deauth = 0 [ 76.629617] num_event_disassoc = 0 [ 76.633208] num_event_link_lost = 0 [ 76.636890] num_cmd_deauth = 0 [ 76.640121] num_cmd_assoc_success = 0 [ 76.643987] num_cmd_assoc_failure = 0 [ 76.647860] num_cons_assoc_failure = 0 [ 76.651818] cmd_resp_received=0 [ 76.655133] event_received=0 [ 76.658180] max_tx_buf_size=4096 [ 76.661587] tx_buf_size=3072 [ 76.664626] curr_tx_buf_size=3072 [ 76.668134] data_sent=0 cmd_sent=0 [ 76.671725] ps_mode=1 ps_state=0 [ 76.675133] wakeup_dev_req=0 wakeup_tries=0 wakeup_timeout=0 [ 76.681121] hs_configured=0 hs_activated=0 [ 76.685448] pps_uapsd_mode=0 sleep_pd=0 [ 76.689506] tx_lock_flag = 0 [ 76.692545] scan_processing = 0 [ 76.695859] scan_state = 0x0 [ 76.698907] bypass_pkt_count=0 [ 76.702132] mp_rd_bitmap=0x0 curr_rd_port=0x0 [ 76.706734] mp_wr_bitmap=0xffffff curr_wr_port=0x0 [ 76.711987] mp_data_port_mask = 0xffffff [ 76.716314] last_recv_rd_bitmap=0x0 mp_invalid_update=0 [ 76.721843] last_recv_wr_bitmap=0xffffffff last_mp_index=0 [ 76.727641] mp_wr_bitmap:0x0 mp_wr_ports=0x0 len=0 curr_wr_port=0x0 [ 76.734364] 0x00 [ 76.734367] 0x00 [ 76.736395] 0x00 [ 76.738432] 0x00 [ 76.740460] 0x00 [ 76.742488] 0x00 [ 76.744516] 0x00 [ 76.746543] 0x00 [ 76.748580] 0x00 [ 76.750609] 0x00 [ 76.752637] 0x00 [ 76.754665] 0x00 [ 76.756692] 0x00 [ 76.758729] 0x00 [ 76.760757] 0x00 [ 76.762785] 0x00 [ 76.768417] mp_wr_bitmap:0x0 mp_wr_ports=0x0 len=0 curr_wr_port=0x0 [ 76.775131] 0x00 [ 76.775133] 0x00 [ 76.777162] 0x00 [ 76.779199] 0x00 [ 76.781227] 0x00 [ 76.783255] 0x00 [ 76.785283] 0x00 [ 76.787311] 0x00 [ 76.789348] 0x00 [ 76.791376] 0x00 [ 76.793404] 0x00 [ 76.795437] 0x00 [ 76.797465] 0x00 [ 76.799502] 0x00 [ 76.801531] 0x00 [ 76.803559] 0x00 [ 76.809192] mp_wr_bitmap:0x0 mp_wr_ports=0x0 len=0 curr_wr_port=0x0 [ 76.815906] 0x00 [ 76.815908] 0x00 [ 76.817944] 0x00 [ 76.819973] 0x00 [ 76.822001] 0x00 [ 76.824029] 0x00 [ 76.826057] 0x00 [ 76.828093] 0x00 [ 76.830121] 0x00 [ 76.832149] 0x00 [ 76.834177] 0x00 [ 76.836205] 0x00 [ 76.838241] 0x00 [ 76.840269] 0x00 [ 76.842297] 0x00 [ 76.844325] 0x00 [ 76.849957] mp_wr_bitmap:0x0 mp_wr_ports=0x0 len=0 curr_wr_port=0x0 [ 76.856671] 0x00 [ 76.856673] 0x00 [ 76.858711] 0x00 [ 76.860739] 0x00 [ 76.862774] 0x00 [ 76.864803] 0x00 [ 76.866831] 0x00 [ 76.868868] 0x00 [ 76.870897] 0x00 [ 76.872925] 0x00 [ 76.874953] 0x00 [ 76.876981] 0x00 [ 76.879018] 0x00 [ 76.881046] 0x00 [ 76.883074] 0x00 [ 76.885102] 0x00 [ 76.890734] mp_wr_bitmap:0x0 mp_wr_ports=0x0 len=0 curr_wr_port=0x0 [ 76.897448] 0x00 [ 76.897451] 0x00 [ 76.899488] 0x00 [ 76.901516] 0x00 [ 76.903544] 0x00 [ 76.905572] 0x00 [ 76.907599] 0x00 [ 76.909636] 0x00 [ 76.911665] 0x00 [ 76.913693] 0x00 [ 76.915721] 0x00 [ 76.917749] 0x00 [ 76.919785] 0x00 [ 76.921813] 0x00 [ 76.923841] 0x00 [ 76.925869] 0x00 [ 76.931501] mp_wr_bitmap:0x0 mp_wr_ports=0x0 len=0 curr_wr_port=0x0 [ 76.938223] 0x00 [ 76.938226] 0x00 [ 76.940254] 0x00 [ 76.942282] 0x00 [ 76.944310] 0x00 [ 76.946337] 0x00 [ 76.948374] 0x00 [ 76.950402] 0x00 [ 76.952430] 0x00 [ 76.954457] 0x00 [ 76.956485] 0x00 [ 76.958521] 0x00 [ 76.960550] 0x00 [ 76.962578] 0x00 [ 76.964605] 0x00 [ 76.966633] 0x00 [ 76.972265] mp_wr_bitmap:0x0 mp_wr_ports=0x0 len=0 curr_wr_port=0x0 [ 76.978987] 0x00 [ 76.978990] 0x00 [ 76.981018] 0x00 [ 76.983046] 0x00 [ 76.985074] 0x00 [ 76.987102] 0x00 [ 76.989138] 0x00 [ 76.991167] 0x00 [ 76.993195] 0x00 [ 76.995222] 0x00 [ 76.997250] 0x00 [ 76.999286] 0x00 [ 77.001315] 0x00 [ 77.003343] 0x00 [ 77.005371] 0x00 [ 77.007399] 0x00 [ 77.013031] mp_wr_bitmap:0x0 mp_wr_ports=0x0 len=0 curr_wr_port=0x0 [ 77.019753] 0x00 [ 77.019756] 0x00 [ 77.021784] 0x00 [ 77.023812] 0x00 [ 77.025840] 0x00 [ 77.027876] 0x00 [ 77.029905] 0x00 [ 77.031940] 0x00 [ 77.033969] 0x00 [ 77.035997] 0x00 [ 77.038033] 0x00 [ 77.040062] 0x00 [ 77.042090] 0x00 [ 77.044118] 0x00 [ 77.046145] 0x00 [ 77.048182] 0x00 [ 77.053806] mp_wr_bitmap:0x0 mp_wr_ports=0x0 len=0 curr_wr_port=0x0 [ 77.060529] 0x00 [ 77.060531] 0x00 [ 77.062560] 0x00 [ 77.064587] 0x00 [ 77.066615] 0x00 [ 77.068652] 0x00 [ 77.0x00 [ 77.072708] 0x00 [ 77.074736] 0x00 [ 77.076764] 0x00 [ 77.078801] 0x00 [ 77.080829] 0x00 [ 77.082857] 0x00 [ 77.084884] 0x00 [ 77.086912] 0x00 [ 77.088949] 0x00 [ 77.094572] mp_wr_bitmap:0x0 mp_wr_ports=0x0 len=0 curr_wr_port=0x0 [ 77.101295] 0x00 [ 77.101297] 0x00 [ 77.103326] 0x00 [ 77.105354] 0x00 [ 77.107381] 0x00 [ 77.109418] 0x00 [ 77.111446] 0x00 [ 77.113474] 0x00 [ 77.115502] 0x00 [ 77.117529] 0x00 [ 77.119566] 0x00 [ 77.121595] 0x00 [ 77.123623] 0x00 [ 77.125650] 0x00 [ 77.127678] 0x00 [ 77.129715] 0x00 [ 77.135341] bss_index = 0, tx_pkts_queued = 0 tx_pause [ 77.140796] Host:chillair-r1234yf-00050 Timestamp:9c6953b9 [ 77.146691] Driver version = SDIW612---18.99.2.p19.10-MM6X18540.p33-GPL-(FP92) [ 77.154431] main_state = 3 [ 77.157287] ioctl_pending = 1 [ 77.160428] tx_pending = 0 [ 77.163285] wmm_tx_pending[0] = 0 [ 77.166783] wmm_tx_pending[1] = 0 [ 77.170291] wmm_tx_pending[2] = 0 [ 77.173790] wmm_tx_pending[3] = 0 [ 77.177288] rx_pending = 0 [ 77.180152] lock_count = 44 [ 77.183100] malloc_count = 49 [ 77.186231] mbufalloc_count = 0 [ 77.189554] hs_skip_count = 0 [ 77.192685] hs_force_count = 0 [ 77.195909] Media state ="Disconnected" [ 77.200059] carrier off [ 77.202641] tx queue 0: stopped [ 77.205956] tx queue 1: stopped [ 77.209279] tx queue 2: stopped [ 77.212595] tx 队列 3: stopped [ 77.215911] mlan0: num_tx_timeout = 0 [ 77.219799] -------- Dump info End--------- [ 77.237865] IPv6: ADDRCONF(NETDEV_UP): mlan0: link is not ready [ 77.270404] SDIO Func0 (0x0-0x9):ERR [ 77.274349] SDIO Func1 (0x10-0x17):ERR [ 77.278454] SDIO Func1: (0x8) ERR [ 77.282147] SDIO Func1 (0xe8-0xff):ERR [ 77.387444] SDIO Func1 (0xe8-0xff):ERR [ 77.391567] set pending clean [ 77.471612] SDIO Write ERR [ 77.474573] SDIO Write ERR [ 77.477436] ==== DEBUG MODE OUTPUT START: 77.469673 ==== [ 77.483111] SDIO Write ERR [ 77.485995] SDIO Write ERR [ 77.488871] ==== DEBUG MODE END ==== [ 77.492866] IOCTL 失败: a69aa9f8 id=0x20000, sub_id=0x20007 action=1, status_code=0x80000007 [CMD_CANCEL] (CMD_CANCEL) Re: IW611: Unable to setup Linux driver 你好@mlytvyn 您能试试 50MHz 的频率吗? 顺祝商祺! 肖恩 Re: IW611: Unable to setup Linux driver 我有 TI Sitara AM4376。 image.png image.png MMC 总线配置如下:   &mmc3 { status = "okay"; dmas = <&edma_xbar 30 0 1>, <&edma_xbar 31 0 2>; dma-names = "tx", "rx"; pinctrl-names = "default", "sleep"; pinctrl-0 = <&mmc3_pins_default>; pinctrl-1 = <&mmc3_pins_sleep>; vmmc-supply = <&dcdc4>; bus-width = <4>; cap-sdio-irq; ti,non-removable; max-frequency = <25000000>; /* slow down to 25MHz for bring-up */ }; MMC 总线控制器设法检测到 Wi-Fi 芯片,内核加载了正确的驱动程序,驱动程序使用提供的固件 blob 闪存了芯片,并从芯片中获得了固件版本。对我来说,这不像是 SDIO 配置问题,而像是与驱动程序(或 FW)有关的问题。 第一个错误发生在这里 [ 10.529596] IOCTL 失败: 1b0efb8f id=0x200000, sub_id=0x200046 action=1, status_code=0x3 [FW_CMDRESP] 司机在这个阶段要做什么? 顺祝商祺! 米哈伊洛 Re: IW611: Unable to setup Linux driver 你好@mlytvyn 您使用的是哪台主机? 驱动程序加载和固件下载没有问题。 sdio 通信报告错误。 顺祝商祺! 肖恩 Re: IW611: Unable to setup Linux driver 您好, 变化不大 mlytvyn_0-1780995812806.png 在这里,我启动了 mlan0,然后得到 mlytvyn_2-1780995954838.png mlytvyn_1-1780995851394.png 我遇到了同样的错误 IOCTL failed: 61e24fe7 id=0x200000, sub_id=0x200046 action=1, status_code=0x3 [FW_CMDRESP] 失败 Re: IW611: Unable to setup Linux driver 你好@mlytvyn 能否告诉我们您使用的是哪种 iw612 模块?还是您正在使用 iw612evk?我注意到你的 sd 接口是 3.3V,你匹配了 sdio 功率级吗? 顺祝商祺! 肖恩 Re: IW611: Unable to setup Linux driver 我使用的是 Silex SX-SDMAX 表面贴装版(https://www.silextechnology.com/connectivity-solutions/embedded-wireless/sx-sdmax)。据我所知,VIO 和 VIO_SD 上的电压决定了信号电平。 
View full article
Cell Balancing not working again on MC33774A Hi everyone, I am working with the MC33774A to balance cell pins. First, I set balancing for cell 1 (3.7 V) with an under-voltage threshold UV0 = 3.6 V. When I read the BAL_CH_UV0_STAT0 register, the value is 0x0C00. This makes sense because cell 11 (3.4 V) and cell 12 (3.3 V) are below the threshold. Then, I changed the under-voltage setting to UV0 = 3.2 V (lower than 3.6 V) and activated cell balancing for cell 11 and cell 12, but it did not work. After referring to the MC33774A datasheet, I realized that in voltage-controlled mode there is a third input, which is the status of BAL_CH_UV0_STAT. So, I want to clear the bits of BAL_CH_UV0_STAT (from 0x0C00 to 0x0000) to allow the balancing process to run again. However, these bits are read-only, with a “read clears bit” behavior. I tried to read the entire BAL_CH_UV0_STAT0 register using the command: Bcc_774a_COM_ReadRegisters(BCC_CHAIN_ADDR, 1, MC33774_BAL_CH_UV0_STAT0_OFFSET, 1, Bms_TD);   But the returned value of BAL_CH_UV0_STAT0 is always 0x0C00. It seems that the bits are not being cleared.  Currently, I am facing an issue where I cannot clear the bits in the BAL_CH_UV0_STAT0 register, and I would appreciate any help. Re: Cell Balancing not working again on MC33774A HI  Please follow below step to set CB function under UV condition,seems you don't have correct steps setting for this CB function test.: 1: wake up and assign CID guoweisun_0-1780887697263.png Re: Cell Balancing not working again on MC33774A Hi guoweisun, thanks for your help. After reviewing the steps you provided, I think that I have set the CB function under UV condition correctly. But my issue is not with the configuration steps, but rather with clearing the values in the 'BAL_CH_UV0_STAT0' register. Anyway, thank you so much for your support. While going through the steps you mentioned, I rechecked the datasheet and was able to find a solution to my issue.
View full article
FRDM Device Trees for Education and Rapid Prototyping To simplify development on the NXP FRDM board family, new device trees have been created for the i.MX91, i.MX93, i.MX95, and i.MX8MP platforms. These device trees are intended to provide a more ready to use out of the box experience by preconfiguring the Raspberry Pi connector with the same peripheral mapping commonly expected on Raspberry Pi compatible hardware. With this approach, developers, students, and makers can use compatible expansion boards and HAT style accessories more easily, without needing to create or significantly modify additional device tree files. Instead of spending time on low level hardware description updates, users can start evaluating peripherals and building applications directly on top of the provided configurations. For convenience, this post includes a .zip package containing: The compiled device tree binaries (.dtb) The device tree source files (.dts) The kernel patch for the NXP Linux Kernel 6.18 required to integrate these changes All files are attached to this post, allowing users to easily reuse, modify, or integrate the device trees into their own projects. To configure a new device tree, compile it, and flash it onto the target, you can refer to the following guides: How to compile Linux Kernel Image and device tree using Yocto SDK Flash customized Linux Kernel Image and device tree using UUU Tool
View full article
VLM Edge 工作室 VLM Edge 工作室 VLM Edge Studio 是恩智浦的一个启动器应用程序,用于与在 FRDM i.MX 平台上本地运行的、支持Ara240 DNPU 加速的 视觉语言模型进行交互。 VLM Edge Studio 提供了一个基于 Qt/QML 的图形用户界面,用于模型选择、提示输入以及与边缘本地运行的 VLM 进行可视化交互。它使用基于 REST 的接口和流令牌响应,通过eIQ AAF 连接器与Ara240 Runtime SDK通信。   主要功能 在支持的 i.MX 平台上进行本地视觉语言模型推理 Ara240 DNPU 加速 基于图形用户界面的模型选择和提示输入 流式令牌输出 与 eIQ AAF 连接器和 Ara240 Runtime SDK 集成 支持使用 USB-C 高清摄像头进行基于摄像头的视觉输入   支持的机型 Qwen2.5-VL-7B-Instruct-Ara240 该模型以兼容 Ara240 的 model.dvm 文件形式提供,用于在目标平台上本地执行。   基本安装 确保 Ara240 运行时 SDK 已安装在目标板上后,复制 Debian 软件包: scp vlm-edge-studio.deb root@ : 用以下工具安装 dpkg -i vlm-edge-studio.deb 安装可能需要几分钟时间,因为在设置过程中需要提取模型。   运行 VLM Edge Studio 启动应用程序: run_vlm_edge_studio 启动前,请确保 Ara240 运行服务正在运行: systemctl status rt-sdk-ara2.service --no-pager -l 一旦图形用户界面出现,点击 "加载"(LOAD)即可加载模型。模型准备就绪后,输入提示并提交,即可与 i.MX 平台上的本地 VLM 进行交互。   演示视频 在随附的视频中,我展示了如何启动VLM Edge Studio、加载支持的视觉语言模型、提交提示以及如何使用Ara240 DNPU加速与本地运行的模型进行交互。 (function() { var wrapper = document.getElementById('lia-vid-6396694743112w960h540r549'); var videoEl = wrapper ? wrapper.querySelector('video-js') : null; if (videoEl) { if (window.videojs) { window.videojs(videoEl).ready(function() { this.on('loadedmetadata', function() { this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) { bar.setAttribute('role', 'presentation'); bar.setAttribute('aria-hidden', 'true'); }); }); }); } }})(); (在我的视频中查看) 摘要 VLM Edge Studio 是在使用 Ara240 DNPU 加速的恩智浦 i.MX 平台上评估本地视觉语言模型推理的有用工具。它提供了一个简单的工作流程,可直接在边缘加载模型、输入提示和与视觉语言人工智能交互。   链接 VLM Edge Studio 存储库 ARA2-M2-16G-GT ARA240 实践培训
View full article
Polaris12 SMUファームウェアの起動中にAMDGPUが失敗する チームの皆さん、こんにちは。 弊社ではNXP T1040RBDボードを使用していますが、amdgpuドライバのロード中にPolaris12 SMUファームウェアの起動時にエラーが発生します。 以下にログファイルとカーネル設定ファイル、dtbファイルを示します。 amdgpu: メッセージ100の送信に失敗しました。戻り値は0です。 amdgpu: SMUファームウェアの起動に失敗しました! amdgpu: SMUマイクロコードの読み込みに失敗しました。 amdgpu: ファームウェアのロードに失敗しました amdgpu: smuファームウェアの読み込みに失敗しました amdgpu 0001:01:00.0:amdgpu: amdgpu_device_ip_init が失敗しました amdgpu 0001:01:00.0:amdgpu: GPU初期化中に致命的なエラーが発生しました amdgpu 0001:01:00.0:amdgpu: amdgpu: デバイスの処理を完了します。 [drm:.gfx_v8_0_set_eop_interrupt_state[amdgpu]] 無効 me 2 [drm:.gfx_v8_0_set_eop_interrupt_state[amdgpu]] 無効 me 2 [drm:.gfx_v8_0_set_eop_interrupt_state[amdgpu]] 無効 me 2 [drm:.gfx_v8_0_set_eop_interrupt_state[amdgpu]] 無効 me 2 amdgpu: 0001:01:00.0 のプローブがエラー -22 で失敗しました Re: AMDGPU fails during Polaris12 SMU firmware startup こんにちは、 申し訳ありませんが、T1040 上の Polaris12 amdgpu 用の NXP ドライバ側の修正プログラムや既製のリポジトリは存在しません。そのため、動作させようとすると、お客様自身で SDKs カーネルを開発する必要があり、PCIe ウィンドウイングやエンディアンに関する重大なリスクを伴います。 よろしくお願いします。 Re: AMDGPU fails during Polaris12 SMU firmware startup こんにちは、 入手可能なドキュメントによると、T1040RDBはPCIeカードをホストできますが、AMD Polaris12 amdgpu 動作はサポートまたは検証されていません。この不具合は、既知のNXP PCIe起動修正ではなく、サポートされていないビッグエンディアンのPowerPCホストとの互換性の問題に起因する可能性が最も高いです。 よろしくお願いします。 Re: AMDGPU fails during Polaris12 SMU firmware startup こんにちは ドライバ側でこの問題を解決する方法はありますか? よろしくお願いいたします。 ガネーシャ
View full article
S32K3 LPSPI 部件问题 你好,Nxp 专家: 如果使用 GPIO 引脚手动控制 LPSPI 芯片选择 (CS),S32DS 配置工具中的 SpiCsPolarity 设置是否仍会对其产生影响?是否需要禁用工具中的 PCS(外设芯片选择)选择?另外,SpiHostRequest 参数的作用是什么? focusdoit_0-1779058033130.png Re: S32K3 LPSPI pcs question 你好@focusdoit 如果使用 GPIO 引脚手动控制 LPSPI 芯片选择 (CS),S32DS 配置工具中的 SpiCsPolarity 设置是否仍会对其产生影响? 不,它不应该影响行为。 如果使用 GPIO 作为芯片选择,则需要对其进行控制。SpiCsPolarity 参数适用于由 LPSPI 外设管理的硬件控制 CS,不适用于 GPIO 控制信号。 是否需要禁用工具中的 PCS(外设芯片选择)选择? 如果在 ConfigTools 中使用低级驱动器 (IP),则只需将所需引脚配置为 GPIO,而无需配置任何 PCS 引脚。 对于高级驱动器(MCAL),除了将引脚配置为 GPIO 外,还有一个名为 SpiCsSelection 的参数。该参数应设置为 CS_VIA_GPIO。在这种情况下,驱动程序将使用通知(由节点 SpiJobStartNotification 和 SpiJobEndNotification 定义),通过 GPIO 控制每个 SPI 作业的 CS 引脚。 另外,SpiHostRequest 参数的作用是什么? 在主模式下,此参数允许 LPSPI 模块仅在钳位主机请求输入时才开始新的 SPI 传输。如果 LPSPI 忙碌,主机请求输入将被忽略。 在从属模式下,当有数据可传输时,它会使 HREQ 输出引脚断言。 BR、VaneB
View full article
无法订购 OM13089 我想订购 LpcXpresso54114 板零件 OM14089。该板的网页显示它仍处于活跃状态,但所有供应商都没有库存,而且似乎无法直接从恩智浦订购。 这个板怎么了?LPC54114 有不同的首选开发板吗? LPC营销 Re: Unable to Order OM13089 你好@kk7xo、 谢谢您的帖子。 让我内部检查一下 OM13089 的状态。一旦有任何最新消息,我会尽快给您回复。 BR 西莱斯特 Re: Unable to Order OM13089 你好@kk7xo、 我确认 OM13089 没有过时,在我们的内部系统中,它仍处于激活状态。 但是由于运行率极低和成本限制,并且由于我们建议将所有新设计迁移到MCX平台,因此我们一直没有为该板补充库存。 这可能就是一些代理商在其网站上将其标记为 “过时” 的原因,尽管官方生命周期仍处于活动状态。 根据您当前的需求,我们建议迁移到 LPC54100 系列的 OM13077 板,或者使用可用的原理图文件自己构建电路板。很抱歉给您带来不便。 Celeste_Liu_0-1778665311592.png 祝您有美好的一天。 BR 西莱斯特
View full article
RW612 Nonsecure Flash Setting Breaks Reset Functionality Hello, I'm experiencing a weird bug with ARM TF-M and Zephyr (NXP downstream v4.3.0) on the FRDM-RW612.  I want to use a region of my flash chip for a nonsecure LittleFS filesystem.  I followed the NXP guide for adding a NS region (link) and I can successfully use the region for my filesystem, no problems with the Zephyr/FS API or access issues. My problem is that when I have the CONFIG_FLASH KConfig option enabled, I can no longer reset my board.  Calling tfm_platform_system_reset(), NVIC_SystemReset(), or even pressing the physical reset button all lock up the processor and do not actually reset the board anymore. I stepped through with a debugger and the last line executed before the debugger is detached/broken away from is core_cm33.h:2683 (within __NVIC_SystemReset): SCB->AIRCR = (uint32_t)((0x5FAUL << SCB_AIRCR_VECTKEY_Pos) | (SCB->AIRCR & SCB_AIRCR_PRIGROUP_Msk) | SCB_AIRCR_SYSRESETREQ_Msk ); If I attach a debugger after the reset occurs, GDB says the program at address 0x20005840 forever. I've tried the same thing on a very basic program, even adding CONFIG_FLASH to the zephyr hello world program causes resets to fail in the same way. Any help is appreciated, thank you! Re: RW612 Nonsecure Flash Setting Breaks Reset Functionality Hi @jm-streametric, hope you are doing well. In order to help me better analyze this behavior, would you please confirm if in the tests that you have done with the hello world example, the only setting that you add is the CONFIG_FLASH? Or are you also enabling your added NS region with the setting created from the guide (CONFIG_TFM_CUSTOM_DATA_IMPORT_REGION=y)? I have tried to run the hello world example from Zephyr (v4.3.0 downstream) only adding the CONFIG_FLASH setting and I am able to reset the board. Re: RW612 Nonsecure Flash Setting Breaks Reset Functionality Hello Jake, thank you for the clarification. The difference between RW610 and RW612 is that RW610 does not support 802.15.4 protocol, therefore there is no difference with the flexspi peripheral. Would you please confirm if you are using the FRDM-RW612 files to test these features? Or have you done your own directory for your board in Zephyr? Also, are you able to run the examples properly without the reset functionality? Or is the MCU going to hardfault at a certain point? Re: RW612 Nonsecure Flash Setting Breaks Reset Functionality Hi Roman, I made an error on the post when specifying the board, I am using a custom board with the RW610 but the flash configuration is exactly the same as the FRDM-RW612. I can get the development board to reset even with CONFIG_FLASH=y, but my custom board has the issue described in my post. Even with the TF-M and Zephyr repos set to FRDM-RW612 defaults, I get the problem of being unable to reset the board when CONFIG_FLASH=y (with and without the custom data regions). Is there a difference between the RW610 and RW612 that could cause flash/flexspi problems? Or do you think it may be another problem with my board? Re: RW612 Nonsecure Flash Setting Breaks Reset Functionality Hi Jake, thank you for the information. So, when you add the "CONFIG_FLASH=y" setting to any project, you are able to run the application normally, except when you try to do any type of reset, which leads your program to be in an infinite loop at address 0x20005840, is my understanding correct? Would you please check the Reset status Register (SYS_RST_STATUS) to check if the reset cause is being registered? Additionally, have you done all your tests with the non-secure version of the board? If you have a FRDM-RW612 board, could you please perform some tests on it and let me know whether this behavior is present or not, with the same configs you are adding to test with your custom board? Re: RW612 Nonsecure Flash Setting Breaks Reset Functionality Hi Roman, I am using the unmodified FRDM-RW612 files to test my board for the flash features since my board uses the same flash IC. I have different peripherals on my board which I have overlays for, but I'm not applying those overlays for this flash test case. The flash does work, I can access the flash data within my custom region just fine. When I access flash outside of the custom region I get a fault, which is expected. The only thing that doesn't work is that trying to reset the board either physically or with tfm_platform_system_reset() locks the board up as described above. Thank you Re: RW612 Nonsecure Flash Setting Breaks Reset Functionality Hi Roman, So, when you add the "CONFIG_FLASH=y" setting to any project, you are able to run the application normally, except when you try to do any type of reset, which leads your program to be in an infinite loop at address 0x20005840, is my understanding correct? Yes, this is correct.  I'm only able to restart the program by powering the board off and back on. Would you please check the Reset status Register (SYS_RST_STATUS) to check if the reset cause is being registered? I'm currently trying these tests with the zephyr sample hello_world.  With or without CONFIG_FLASH=y, and with my custom board or the actual FRDM-RW612, I wasn't able to get a value on SYS_RST_STATUS.  I tried pressing the physical reset button (connected to PDn on the SOC), calling tfm_platform_system_reset() after the printf statement, and triggering a hardfault by accessing a NULL pointer, but none of these produced values on the reset status register. I tried sampling it before reset, after reset in the loop at address 0x20005840, and after reset in the BL2 stage and no matter what SYS_RST_STATUS was 0.  I'm not sure if I'm checking it wrong, I use GDB (through west attach) to debug and got the value within the PMU block by printing p *((PMU_Type*)0x40031000u).  If it helps to know, the SYS_RST_EN register was always 0x39 when I sampled. Additionally, have you done all your tests with the non-secure version of the board? Yes, I build all of these tests clean by removing the build folder then running west build -b frdm_rw612/rw612/ns. let me know whether this behavior is present or not, with the same configs you are adding to test with your custom board? Most of my configs are related to peripherals on the flexcomm ports.  For my testing on this issue, I've only left changes I made to the TF-M profile.  I am using the TF-M medium arotless profile instead of large so I can perform over-the-air firmware updates with the TF-M FWU partition.  For this I have 3 extra zephyr KConfig options: CONFIG_TFM_PROFILE_TYPE_AROTLESS=y CONFIG_TFM_SFN=y CONFIG_TFM_ISOLATION_LEVEL=1 And the only thing I've edited in the TF-M module folder is the following profile setting in modules/tee/tf-m/trusted-firmware-m/platform/ext/target/nxp/frdmrw612/config.cmake: set(TFM_PROFILE "profile_medium_arotless" CACHE STRING "The TF-M profile") Which was modified from "profile_large" Thank you for your help, please let me know if I can provide any more information. Re: RW612 Nonsecure Flash Setting Breaks Reset Functionality Hi Jake, thank you for answering my questions. Since you mentioned that you tested with the FRDM-RW612, are you able to replicate the reset behavior in this board? I have tried by adding your configs and TF-M build changes (TF-M profile), but I am still unable to reproduce your behavior. If you are able to replicate this, would you please share the detailed steps that you are following to reproduce the behavior on the FRDM-RW612? Re: RW612 Nonsecure Flash Setting Breaks Reset Functionality Hi Roman, I found out the schematic for my board was wrong, and the flash chip I was using was really the W25Q01 instead of the W25Q512 like the FRDM-RW612. I soldered a W25Q512 to my board and now it resets with no problem. I apologize for wasting your time before. Are there any resources for how to reconfigure the flash settings to work with my chip? I see the fc_flexspi_nor_config_t struct in flash_config.c which is set up for the W25Q512, but is there a document or guide that specifies what I would need to change to adapt to my new chip? Re: RW612 Nonsecure Flash Setting Breaks Reset Functionality Hello Jake, don't worry about it, thank you for letting me know the root cause. Unfortunately, there is no specific guide to reconfigure the flash. However, you could take as reference the structure of the RD-RW612-BGA board directory, or the IRIS-W1-EVK board directory (from u-Blox) which both have different flash ICs from the FRDM board, on what changes are required in case of using a different flash. In the case of TF-M there is also the directory of the RD-RW612-BGA non-secure version of the board, which also may serve as reference for the required changes. Hope this helps!
View full article
FIFAワールドカップ2026を視聴するための最適なIPTVサブスクリプション 2026年FIFAワールドカップに最適なIPTVサブスクリプションをお探しなら、 BekuTVは有力な選択肢の一つです。主要な試合中もバッファリングを最小限に抑え、安定したライブスポーツストリーミングを提供しているからです。 BekuTVがワールドカップのストリーミングに最適な理由: HD、FHD、4K対応のサッカーチャネル アンチバッファスポーツサーバー 低遅延で高速なチャネル切り替えが可能 国際スポーツ報道 Firestick、スマートテレビ、Android、iPhoneで動作します IPTV SmartersおよびTiviMateに対応 総合的に見て、BekuTVはFIFAワールドカップ2026を中断なくライブ視聴するための信頼できるIPTVオプションです。 Re: Best IPTV Subscription to Watch FIFA World Cup 2026 もちろん、完璧なストリーミングサービスは存在せず、パフォーマンスはインターネット速度、デバイスの構成、場所などの要因によって左右される可能性があります。しかし、私の個人的な経験に基づくと、 Nexus IPTVは、私が以前に試したいくつかの代替サービスよりも、より安定したサービスを提供してくれました。
View full article
无传感器 PMSM 现场导向控制 V2 我目前正在使用磁场定向控制与适用于 ARM Cortex M7F 的 amclib_pmsmbemfobsrvdQ 和 amclib_TrackobSRV 相结合,为 PMSM 实现无传感器控制。我有一台几千瓦的电机,轴上安装了一个机械速度传感器。我使用 2016 年 2 月 2 日的 DRM148 Rev.1 作为参考。 我希望实现这样一种情况,即在传感器闭环 FOC 的同时,观测器在后台并行运行,并提供正确的反馈信息,从而在稳态条件下,测量(传感器)速度和观测器估计速度趋于一致。回看图 23,从 DRM148 可以看出,在启动过程中,估计的观测器速度逐渐接近开环速度。 在 AMCLIB_PMSMBemfObsrvDQ 中,我使用传感器速度输出(转换为转子角速度)作为静止状态下 BEMF 观察器的输入(因此没有开环启动)。在 0 - 100 转/分钟的范围内,观测器是初始化的,而在速度为>100 转/分钟时,则使用反馈,不再使用初始函数。此外,所要求的电压 (Udq*) 和电流 (Idq*) 将用于 BEMF 观察器输入。我将 AMCLIB_TrackObsrv 输出的电子转子速度转换为每分钟的机械速度,并将其与实际的转子/传感器机械轴速度进行直观比较。这一切都以闭环方式进行(感应)。然而,AMCLIB_TrackObsrv 的输出速度在较长时间框架内仍无法收敛(例如>10 秒),同时保持转子速度恒定(例如500 RPM)。这是在空载状态下。当对电机轴施加负载时,观测器估计的机械速度会迅速降低。 在使用传感闭环控制时,造成真实传感器机械转速和估计观测器机械转速之间转速差异的可能原因是什么? Re: Sensorless PMSM Field-Oriented Control V2 你好@ General_motor_control、 谢谢您的帖子。 请告诉我您使用的是恩智浦的哪种产品?是 i.MX RT 还是其他? BR 西莱斯特 Re: Sensorless PMSM Field-Oriented Control V2 你好@ General_motor_control、 观测器速度与传感器速度不一致的原因可能有几个。 最常见的是观察者输入错误。DRM148 中的 BEMF 观察者预计的是实际施加的电压和测得的电流,而不是参考值(Udq*,Idq*)。该模型明确地依赖于电机电压方程(包括:±1.0V、±1.0V、±1.0V、±1.0V)。Rs·I + d²/dt),因此命令电压和实际电压(死区时间、直流总线纹波、饱和)之间的任何不匹配都会导致稳定的误差。 有时还会出现参数不匹配(Rs、Ld/Lq、Ke)的情况。 该观测器基于模型,使用 RL 电流观测器 + BEMF 估算。 即使很小的 Rs 或电感误差也会导致估计的 BEMF 出现偏差,从而导致错误的速度。 还要注意比例/单位的不一致性。 DRM148 对所有量都使用定点分数缩放。 任何不匹配(电压、电流、速度正常化)都会导致缓慢漂移或偏移。 必须仔细检查缩放和极对转换。 希望能帮到你。 BR 西莱斯特
View full article
IFC-NORブートモードを使用してLS2088ARDB上のQSPIフラッシュデバイスを有効化/アクセスする方法。 ハイ 1) LS2088ARDBはIFC-NORブートまたはQSPIブートで起動できます。 2) IFC-NORとQSPIは多重化されているため、一度に有効にできるのはどちらか一方のみです。 3) IFC/QSPIを選択するためのmux構成は、RCWデータに基づいてブートROMによって行われると私は考えています。 4)私の要件:IFC-NORブートモードで起動した後、LinuxでQSPIフラッシュにアクセスする必要があります。出来ますか ?もしそうであれば、QSPI Linuxのソースコードを提供していただけますか? 5)LinuxレベルでQSPIを有効にするために、マルチプレクサの選択を再構成できますか(IFC-NORブートモードを考慮してください)?もしそうであれば、そのソースコードを提供していただけますか? ありがとうございます。 Re: How to enable/access QSPI flash device on LS2088ARDB with IFC-NOR bootmode. こんにちは、 いいえ。LS2088ARDBでは、IFC-NORモードで起動した場合、後でLinuxからQSPIを有効にして使用することはできません。入手可能なLS2088A/Layerscapeのドキュメントによると、ピン多重化のためIFCとQSPIは相互に排他的であり、この多重化は実行時に動的に再構成されるのではなく、リセット時にRCWで構成されるとされています。LS2088Aに関して、NXPはピン多重化はRCWでのみ可能であり、「設計上、実行時にピン多重化を変更することは不可能である」と述べている。、 ブーツに関するあなたの理解は正しいです。 RCWソースは、リセット時にサンプリングされるリセット構成ピンによって選択されます。 プリブートローダーは、 cfg_rcw_src で指定されたソースから RCW をロードします。 LS2088クラスのボードでは、ブートソースの切り替えにはRCWの変更とボード上のスイッチ/ジャンパー設定の変更が必要になる場合があります。 LS2088/LS2044ファミリの動作に関して、NXPは明確に以下のことを確認しました。 「QSPIを使用する場合、IFC上で使用できるのはNANDコントローラのみとなります。」他のすべてのIFCマシンは、信号がQSPIインターフェースで使用するために多重化されているため、使用できません。」 LS2088Aの場合、ピン多重化はRCWで実装する必要があり、「実行時にピン多重化を変更することは不可能」です。 それでは、ご質問への直接的な回答は以下のとおりです。 LinuxはIFC-NORブートモードで起動した後でもQSPIフラッシュにアクセスできますか? いいえ、通常のLS2088ARDB IFCブート構成ではそうではありません。IFCとQSPIは多重化されており、リセット時にRCW/ピン多重化装置によって選択が固定されます。、 Linuxは、IFC-NORブートモードを維持したまま、実行時にマルチプレクサの選択を再構成してQSPIを有効にすることができますか? いいえ。取得した文書によると、このピン多重化はRCW専用であり、実行時に変更することはできないとのことです。 この多重化スイッチを行うためのLinuxソースコードを入手できますか? LS2088A/Linux のソースコードや、実行時に IFC↔QSPI 多重化スイッチを行うためのドキュメント化されたメカニズムは見つかりませんでした。また、ハードウェアの動作から、そのような Linux 実装はサポートされていないことが示唆されます。、 一つ注意点があります。Layerscape Linuxのガイドによると、LS2088ARDBは異なるスイッチ/ジャンパー設定を使用してNORまたはQSPIから起動するように構成でき、起動デバイス構成を変更するとRCWまたはその他のイメージの変更が必要になる場合があると記載されています。これは、Linux の起動時スイッチではなく、起動/リセット時のハードウェア構成の選択であるという結論を裏付けています。   よろしくお願いします。 Re: How to enable/access QSPI flash device on LS2088ARDB with IFC-NOR bootmode. ありがとう。これで私の疑問は解消されました。
View full article
kFROM12M_to_LPUART0 は _clock_attach_id 列挙型に存在しません - MCXA176VLH NXPチームの皆様、こんにちは。 現在、MCXA176VLHマイクロコントローラ用のSDK(バージョン26.03.00)を評価しているのですが、プロジェクトを作成してビルドした際に、 kFROM12_to_LPUART0が_clock_attach_id列挙型に含まれていないため、BOARD_DEBUG_UART_CLK_ATTACHを#defineできないというエラーが発生しました。そのため、#defineを使用するBOARD_InitDebugConsole()関数がコンパイルに失敗しました。 列挙型の構造を確認したところ、類似した列挙型メンバーはkFRO12M_to_MAIN_CLK と kFRO12M_to_CLKOUT の 2 つしか存在しませんでした。代わりに使える列挙型変数はありますか?また、その関数をコメントアウトしても、後々問題が発生しないでしょうか?変数の値を調べるのにprintfを使うつもりはありません。デバッグ中に値を確認するだけです。 よろしくお願いいたします。 ラム MCXA Re: kFROM12M_to_LPUART0 does not exist in _clock_attach_id enum - MCXA176VLH こんにちは、 @LamK さん。 こちらでテストしてみました。 これはバグです。 UARTを使用したい場合。 kFROM12_to_LPUART0 を kFRO_LF_DIV_to_LPUART0 に置き換えることができます。 情報ありがとうございます。 これがあなたのお役に立てば幸いです。 BR ハリー Re: kFROM12M_to_LPUART0 does not exist in _clock_attach_id enum - MCXA176VLH こんにちは、 @Harry_Zhang さん。 まだ基板は作っていません。SDKを調べていただけです。kFRO_LF_DIV_to_LPUART0 を使用するとビルドできるので、ハードウェアが手元に来たら必ず試してみます。 また、 BOARD_InitDebugConsole関数を宣言するのではなく、board.hヘッダーファイル内で直接定義した場合にのみビルドが成功する点にも触れておくべきでしょう。というのも、何らかの理由でリンカーがboard.cppファイル内の関数をリンクできなかったためです。確認したところ、board.oファイルはコンパイルされていましたが、リンカーがそれを見つけられなかったようです。これもまたバグの一つでしょう。 LamK_0-1778189571897.png そして私が言ったように、修正方法は、定義をboard.cppにある他の#includeと一緒にヘッダーに直接コピー&ペーストするだけです。これが今後のSDKバージョンの開発に役立つことを願っています。 よろしくお願いします、 ラム Re: kFROM12M_to_LPUART0 does not exist in _clock_attach_id enum - MCXA176VLH こんにちは、 @LamK さん。 情報ありがとうございます。 「BOARD_InitDebugConsole関数を宣言する代わりにboard.hヘッダーで直接定義した場合、リンカーが何らかの理由でboard.cppファイル内の関数をリンクできなかったため、問題が発生しました。board.oファイルはコンパイルされていることは確認しましたが、リンカーが何らかの理由でそれを見つけられなかったため、おそらくそこに別のバグがあると思われます。 」 この問題を再現できるように、プロジェクトを共有していただけますか? BR ハリー Re: kFROM12M_to_LPUART0 does not exist in _clock_attach_id enum - MCXA176VLH こんにちは、 @Harry_Zhang さん。 新しいプロジェクトを作成してすぐにビルドしてテストするたびに、先に述べた#defineの問題が発生します。kFROM12_to_LPUART0 を kFRO_LF_DIV_to_LPUART0 に置き換えると問題は解決しますが、再度ビルドすると「 `BOARD_InitDebugConsole()` への未定義の参照」という別のエラーが発生します。 LamK_0-1778653027070.png 私が使用しているSDKは、SDK Builderから入手したMCXA176バージョン26.03です。ダウンロードしてIDEにインストールし、それを使ってプロジェクトを作成しました。 もう一つは、新しいプロジェクトを作成する際に、.mex ファイルがないため、設定ツールを使用してピンとクロックを設定できないことです。ファイルが見つかりません。こちらの投稿( https://community.nxp.com/t5/MCUXpresso-Config-Tools/Pins-tool-quot-Processor-is-not-supported-or-data-for-the/mp/2359924#M2036 )を参考に、.mex ファイルを作成することができました。ピンとクロックを設定するためのファイル。問題の原因ではないと思いますが、念のため言っておきます。 私のプロジェクトについて、他に共有できることは何もありません。マイクロコントローラーを導入する前に、SDKのテストを行っているところです。 よろしくお願いいたします。 ラム・クー
View full article
请求为现代 SDK 和中间件更新 AN12149 大家好, 我一直在研究恩智浦于 201 8 年发布的应用笔记 AN12149(" 使用 ptPd、FreeRTOS 和 LwIP TCP/IP 堆栈在 i.MX RT 上实现 IEEE 1588 V2 ")。虽然这是一个很好的起点,但它已经严重过时: 它依赖于 SDK 2.4.x(目前的版本是 2.16.100,两者大相径庭)。 它使用 FreeRTOS 10.0.1(当前版本为 11.1.0)。 它使用的是 lwIP 2.0.3 补丁版本(当前版本为 2.2.0)。 PTPd 版本为 2.2.2,经过大量修补,可在微控制器上运行。该项目最初基于 POSIX,专为 Linux 设计,并不适合微控制器环境。它需要大量内存(包括代码和数据),而且不是特别优化或高效。 该示例也仅限于 RT1020、RT1050 和 RT1060。我们花了很大力气才将其移植到 RT1170 上,但我们仍在努力使 100M 以太网稳定工作。 鉴于这些挑战,我请求恩智浦将 AN12149 更新为: 使用最新的 SDK、FreeRTOS 和 lwIP 版本。 用更适合微控制器的解决方案取代 PTPd。 作为参考,Zephyr 现在包括对 PTPv2 的支持,我们将来可能会考虑这一点。不过,目前我们只能使用 lwIP 和 FreeRTOS。 我相信更新的**应用笔记**将使社区受益匪浅。恩智浦是否可以考虑这样做? 感谢您的支持! Re: Request to Update AN12149 for Modern SDKs and Middleware 你好@diego_charles 我回来是想问问你都做了些什么。 AN12149 的 2.0 版(2025 年 3 月)指的是 "新 "SDK 2.15.x(2024 年 3 月)。 如果我使用最新的 SDK,如 26.03.00,其中的文件是否需要打补丁?怎么做? 顺祝商祺! 最大值 Re: Request to Update AN12149 for Modern SDKs and Middleware 你好@diego_charles 啊,太好了!经过几个月的等待,并特别要求更新 AN12149 以支持 RT11xx 系列,恩智浦却出人意料地推出了......完全忽略 RT11xx 的新版本。尽管我们在这个主题中进行了详细讨论并提出了明确要求,但 RT11xx 似乎还是被遗忘了。 也许这是在邀请我们重新使用过时的技术,或者--更好的办法是--从头开始重新发明轮子。 我想知道,我们现在是否应该期待专用的全新应用笔记? Max Re: Request to Update AN12149 for Modern SDKs and Middleware 你好,@diego_charles、 我对这个 SW 也很感兴趣。发布日期有最新消息吗? 谢谢 Re: Request to Update AN12149 for Modern SDKs and Middleware 你好@mastupristi 感谢您的耐心等待! 我有更多的消息。我们的同事计划在本周开始研究固件的 版本。但之后我们可能需要更多时间。 我们还注意到,基因 AVB 栈也可以帮助您。 我们有一个开源的 genAVB/TSN 协议栈,可以满足您的要求,但要访问演示代码,您需要签署保密协议。如果这符合您的要求,请告诉我,我会为您创建另一个单独的内部票据! 迪亚戈 Re: Request to Update AN12149 for Modern SDKs and Middleware 你好@Littell 遗憾的是,我对此并不确定。 正如我已经写过的,我们在 RT1051 上开发了整个软件栈,"大致 "采用了 AN12149 软件的补丁。 我们对补丁进行了 "重新解释",不得不对 ENET 驱动程序也稍加修补。 不过,一切似乎都很顺利。我们的产品是一种放大器,可播放来自 RTP 数据包流(AES67 标准)的音频。到目前为止,我们还没有遇到过任何大问题。 然后,我们走近 RT1170s。ENET 设备的 IP(我说的是 10/100)与 RT1051 相同。事实上,SDK 上的驱动程序也是一样的。 然后,我们走近 RT1170s。ENET 设备的 IP(我说的是 10/100)与 RT1051 相同。事实上,SDK 上的驱动程序也是一样的。 不过,我们不得不进一步重新解释这些补丁。 我们观察到,在 RTP 数据流(每毫秒一个数据包)中偶尔会丢失一些数据包,非恒定速率下每秒最多丢失几十个数据包。 当然,我们会与装有 RT1051 的设备并行进行测试,这些设备没有问题。 现在的主要嫌疑是我们制作的补丁(准确地说,是对这些补丁的解释正在接受调查)。 恩智浦公司在 AN12149 中打了第一个补丁,这促使我要求对 AN 进行更新,以支持更新的微控制器,并找到(或从头开始编写)PTPd 的替代方案。 此致问候 最大值 Re: Request to Update AN12149 for Modern SDKs and Middleware 你好@mastupristi 感谢您的回复和对问题的详细解释。非常抱歉地告诉你们,我仍然没有好消息。我将在内部就您的请求发出提醒。 迪亚戈 Re: Request to Update AN12149 for Modern SDKs and Middleware 你好@diego_charles 有什么消息吗? 可以向您报告我们遇到的一个问题。在某些情况下,我们会检测到数据包泄漏。我们非常确定是 SW "丢失 "了这些数据包。我之所以这么说,是因为我们谈论的是包含音频样本的 RTP 数据包,因此我们可以通过耳朵听到丢失的数据包,另外,数据包上有渐进编号标记,因此很容易发现丢失的数据包(从未到达,甚至顺序不符)。 此外,同一网络中还有其他设备可以接收相同的音频流并且没有问题。因此,我们知道网络上的数据包都在那里。 最后,通过查询 ENET 设备和 PHY,没有发现接收问题。因此,数据包应该都能收到,所以一定是 SW 丢失了数据包。   我想提醒你,当前的驱动程序代码是移植的结果,而移植本身就已经是移植了。因此,如果我必须押注问题可能出在哪里,我敢打赌以绿色突出显示的元器件: schema.png 几个星期以来,我们一直在试图弄清这个问题的真相,但没有取得任何成功,我毫不讳言,AN12149 的更新代码就像一缕曙光。 此致问候 最大值 Re: Request to Update AN12149 for Modern SDKs and Middleware 你好@mastupristi 我希望你好好休息,我也在度假,不用担心。 是的,我指的是一月中旬,反正我已经在内部问过了。 迪亚戈 Re: Request to Update AN12149 for Modern SDKs and Middleware 嗨@diegoo_charles 很抱歉迟迟没有回复,我正值假期,今天才回来上班。 下个月中旬,你可以回到这个主题上来跟进吗? 当然,这意味着一月中旬,对吗? 顺祝商祺! 最大值 Re: Request to Update AN12149 for Modern SDKs and Middleware 你好@mastupristi 很高兴能提供帮助!非常感谢您的关注! 让我对此保持透明,目前我无法进一步推动代码的发布,因为创建它的同事目前正忙于更多的任务,所以我不能在最后期限或截止日期上妥协我们。我很想把我们已经有的东西给你,但我不能,它需要许可证扫描才能符合我们的法律标准,而我没有这样的能力和工具。 我的信息是,更新即将到来,我们将尽快发布。我不想让你一直处于不确定的状态,你可以在下个月中旬回到这个主题上进行跟进吗?如果在此之前有任何消息,我也会通知你们。 迪亚戈 Re: Request to Update AN12149 for Modern SDKs and Middleware 你好@diego_charles、 感谢您的支持,并随时向我通报最新情况!我衷心感谢你们的努力,并将热切地等待你们的更新,希望能得到积极的消息。 再次感谢您的帮助! 顺祝商祺! 最大值 Re: Request to Update AN12149 for Modern SDKs and Middleware 你好@mastupristi 感谢您的回复,我们很高兴为您提供帮助! 我正在内部检查这个问题,我们已经有了一些更新的代码,但必须进行许可证扫描。我会随时向你们通报最新情况。 迪亚戈 Re: Request to Update AN12149 for Modern SDKs and Middleware 你好@diego_charles 感谢您转发我的评论,并在内部进行调整,非常感谢! 我坚信,贵公司软件的更新版本将解决我目前面临的问题。基于最新的 SDK 和中间件的现代化实施将为我们的工作提供更可靠的基础,并有可能解决我们遇到的问题。 再次感谢您的支持,我期待着您分享任何最新进展! 顺祝商祺! 最大值 Re: Request to Update AN12149 for Modern SDKs and Middleware 你好@mastupristi 再次感谢您的关注和补充说明! 我已在内部转发了您的意见,并正在进行内部协调,看看可以计划做些什么。我知道,由于您制作了自己的端口,因此很难分享 SW。 我们更新的 SW 是否消除了您当前问题的故障排除? 谢谢! 迪亚戈 Re: Request to Update AN12149 for Modern SDKs and Middleware 你好@diego_charles 感谢您的答复并考虑更新 AN12149,这非常令人鼓舞! 关于您提出的另建一个主题的要求,我想澄清一下情况。RT1170 上的以太网功能一般都能正常工作,因为我设法将 2018 版源码移植到了最新的 SDK 和 lwIP 上。不过,我们使用以太网进行 IP 音频传输(AES67),这需要与主时钟精确同步。正是在这种情况下,我们偶尔会遇到一些问题。 遗憾的是,我无权透露我们的消息来源,这限制了我提供有关当前实施情况的详细信息。这就是为什么我急切地等待着 AN12149 和相关软件的新版本,它将使我们的工作建立在一个更可靠、更现代化的软件平台上。 您能说明一下您希望我在新主题中包含哪些内容吗?如果有帮助,我很乐意提供更多关于我们遇到的问题的详细信息。 期待您的指导! 顺祝商祺! 最大值 Re: Request to Update AN12149 for Modern SDKs and Middleware 你好@mastupristi 我很高兴你能问起这个问题。通过您的报告,我们已经知道了您的需求,我们将尽力满足您的需求。 关于您的问题,请帮助我们创建另一个主题。 迪亚戈 Re: Request to Update AN12149 for Modern SDKs and Middleware 你好@Littell 感谢您的回复和对 RT1170 以太网问题的好奇。让我简单解释一下我面临的挑战: 我很好奇您在使用 RT1170 时遇到的以太网问题 要让 PTP 在 RT1170 上运行,我首先需要弄清楚在 2018 年的示例中应用了哪些补丁。这已经是一项艰巨的任务,因为 目前还不清楚 2018 年示例中的哪些文件被修改。 关于恩智浦使用的确切 SDK 版本,目前还没有准确的信息。我已经找到了SDK 2.4.0、2.4.1和2.4.2的三个不同版本,但我不知道哪个是基础。 即使我能够理解所需的补丁,将它们应用到更新的 SDK 中也是一个完全不同的挑战。文件结构发生了重大变化。例如,对当今以太网管理至关重要的 enet_ethernetif_kinetis.c 文件在旧版 SDK 中并不存在。这意味着我不能简单地修补代码,我必须手动调整它,这增加了出错的可能性。 那只是考虑 SDK,然后才需要考虑所有的中间件(lwip、freertos 等),尤其是 ptPd 你试图在另一个主题中寻求帮助? 不,我还没有为此创建一个单独的主题。 再次感谢您的关注! 致敬 最大值 Re: Request to Update AN12149 for Modern SDKs and Middleware 我很好奇您在使用 RT1170 时遇到的以太网问题,您是否试图在另一个主题中寻求帮助? 无论如何,祝你好运!
View full article
适用于 arm V2.2 的 s32ds 在安装期间激活失败。 我的订单/许可证信息: 订单编号/行号:S32DS-IDE-ARM-V2-X_78357511/1 配送编号:129144101 激活码:60CA-0D4F-9A08-3EEB 产品:适用于 ARM v2.2 的 S32 Design Studio 更新 2 到期日期:20 30 年 4 月 21 日 问题描述: 在安装过程中,激活失败并伴有错误信息:"软件激活码已在此管理平台上用于 3 激活 2.2" 。 我只在一台电脑上使用该许可证,问题是在我重装系统后出现的。现在许可证已被锁定,无法激活,网站上也没有手动退回许可证的选项。 请帮我重置激活次数并解除此许可证的硬件绑定,这样我就可以在我当前的电脑上正常激活它。 谢谢! 回复: s32ds for arm V2.2 Activation failed during installation. 我已经修好了。只需删除C:\ProgramData\FLEXnet 文件夹,重新安装软件,并在输入激活码时选择脱机安装即可。
View full article
即使使用恩智浦的演示图像,frdm-imx93 也无法启动 我正试图从 SD 卡中调出 frdm-imx93。从 emmc 可以正常工作。 我从恩智浦网站链接下载了ZIPRev4.0Jun25, 20252.45 MBLF_v6.6.36-2.1.0_images_FRDM_4.0_IMX93。然后我执行了以下操作: zstd -d imx-image-full-imx93frdm.rootfs.wic.zst sudo dd if=imx-image-full-imx93frdm.rootfs.wic of=/dev/sdc bs=1M status=progress&& sync sudo dd if=imx-boot-imx93frdm-sd.bin-flash_singleboot of=/dev/sdc bs=1k seek=32 status=progress 然后在设置 SW1 [3:0] =0011 之后,我把 SD 卡放进插槽里尝试启动。 但是,启动过程不会超过此点: U-Boot SPL 2024.04+gde16f4f1722+p0(Sep 02 2024 - 10:44:35 +0000) SOC: 0xa1009300 LC: 0x2040010 PMIC: PCA9451A PMIC: 过驱动电压模式 DDR: 3733MTS DDR: 3733MTS M33 准备 ok 请尽快提供帮助... 提前感谢! Re: frdm-imx93 not booting even with demo images from NXP 我在串行端口上看到了同样的情况,我已经尝试了多种电缆 Re: frdm-imx93 not booting even with demo images from NXP 你好 当您执行此过程时,您在板串行端口中看到什么错误? 如果无法进入快速启动模式,请尝试使用另一根 USB 电缆。 顺祝商祺! Re: frdm-imx93 not booting even with demo images from NXP 我稍稍领先,但还没有进入操作系统。我认为问题在于我的启动驱动器的内容,以及单启动二进制文件本身。 再一次,我需要一个了解董事会的人来帮助我解决这个问题。 Re: frdm-imx93 not booting even with demo images from NXP 你好,我也遇到了同样的问题。在 Windows 和 Linux 以及不同的 Linux 发行版上尝试了不同的映像。EMMC 和 SD 卡均无法使用 你想明白了吗? Re: frdm-imx93 not booting even with demo images from NXP Hello 我就是这么做的: root @debian:/mnt/host/lf_v6.6.36-2.1.0_images_frdm_3.0_i.mx93# uuu-V-b sd_all imx-boot-imx93frdm-sd.bin-flash_singlebootimx-image-full-imx93frdm.rootfs.wic.zst 用于 nxp imx 芯片的 uuu(通用更新实用程序) -- libuuu_1.5.243-5-g124d086   内置配置: Pctl 芯片 Vid Pid BcdVersion Serial_No ================================================== SDPS:MX8QXP 0x1fc9 0x012f [0x0002...0xffff] SDPS:MX8QM 0x1fc9 0x0129 [0x0002...0xffff] SDPS: MX8DXL 0x1fc9 0x0147 SDPS: MX28 0x15a2 0x004f SDPS: MX815 0x1fc9 0x013e SDPS: MX865 0x1fc9 0x0146 SDPS: MX8ULP 0x1fc9 0x014a SDPS: MX8ULP 0x1fc9 0x014b SDPS: MX93 0x1fc9 0x014e SDPS: MX91 0x1fc9 0x0159 SDPS: MX95 0x1fc9 0x015d SDPS: MX95 0x1fc9 0x015c SDPS: MX943 0x1fc9 0x0027 SDPS: MX952 0x1fc9 0x0028 SDP:MX7D 0x15a2 0x0076 SDP:MX6Q 0x15a2 0x0054 SDP:MX6D 0x15a2 0x0061 SDP:MX6SL 0x15a2 0x0063 SDP:MX6SX 0x15a2 0x0071 SDP:MX6UL 0x15a2 0x007d SDP:MX6ULL 0x15a2 0x0080 SDP:MX6SLL 0x1fc9 0x0128 SDP:MX7ULP 0x1fc9 0x0126 SDP:MXRT106X 0x1fc9 0x0135 SDP:MX8MM 0x1fc9 0x0134 SDP:MX8MQ 0x1fc9 0x012b SDPU:SPL 0x0525 0xb4a4 [0x0000..0x04ff] SDPV: SPL1 0x0525 0xb4a4 [0x0500...0x9998] SDPV: SPL1 0x1fc9 0x0151 [0x0500...0x9998] SDPU:SPL 0x0525 0xb4a4 [0x9999...0x9999] SDPU:SPL 0x3016 0x1001 [0x0000..0x04ff] SPL 0x3016 0x1001 [0x0000..0x04ff SDPV: SPL1 0x3016 0x1001 [0x0500..0x9998] FBK: 0x066f 0x9afe FBK: 0x066f 0x9bff FBK: 0x1fc9 0x0153 FB: 0x0525 0xa4a5 FB: 0x18d1 0x0d02 FB: 0x3016 0x0001 FB: 0x1fc9 0x0152 FB: 0x0483 0x0afb FB: 0x1d6b 0x0104   运行内置脚本:   uuu_version 1.4.149   # @_flash.bin | 可从 wic 映像中提取的引导加载程序 # @_image [_flash.bin]| 将 WIC 映像刻录到 Emmc。     # 当 i.MX6/7、i.MX8MM、i.MX8MQ 时,将运行此命令 SDP:启动-f imx-启动-imx93frdm-sd.bin-flash_singleboot-扫描限制 0x800000   # 当 ROM 支持流模式时,执行此命令 # i.MX8QXP、i.MX8QM SDPS:启动-scanterm-f imx-boot-imx93frdm-sd.bin-flash_singleboot-扫描限制 0x800000   # 以下命令在启用 SPL 时执行,若未使用 SPL 则跳过 # SDPU 将被弃用。请使用 SDPV 而不是 SDPU # { SDPU:延迟 1000 SDPU:写入-f imx-boot-imx93frdm-sd.bin-flash_single启动-offset 0x57c00 -scanlimited 0x800000 SDPU: 跳转 -scanlimited 0x800000 # }   # 以下命令在启用 SPL 时执行,若未使用 SPL 则跳过 # 如果 (SPL 支持 SDPV) # { SDPV:延迟 1000 SDPV:写入-f imx-启动-imx93frdm-sd.bin-flash_singleboot-skipspl -scanterm -scanlimited 0x800000 SDPV: 跳转 -scanlimited 0x800000 # }   FB: ucmd setenv fastboot_dev mmc FB: ucmd setenv mmcdev${sd_dev} FB:ucmd mmc dev ${sd_dev} FB: flash -raw2sparse all imx-image-full-imx93frdm.rootfs.wic.zst/* FB:flash-scanterm-scanlimited 0x800000 引导加载程序 imx-boot-imx93frdm-sd.bin-flash_singleboot FB:已完成     等待已知的 USB 设备出现... 1:2 连接新的 USB 设备- 1:2-> 启动 Cmd:SDPS: 启动 -scanterm -f imx-boot-imx93frdm-sd.bin-flash_singleboot-扫描限制 0x800000 1:2->Fail HID(W):LIBUSB_ERROR_TIMEOUT (-7)(20.02s)     顺祝商祺! Re: frdm-imx93 not booting even with demo images from NXP 你好 您使用的是哪个命令? 我无法重现。 顺祝商祺! Re: frdm-imx93 not booting even with demo images from NXP 嗨,是的。在 Windows 和 Linux 上都会超时,在 Linux 上会出现分段故障。 Re: frdm-imx93 not booting even with demo images from NXP 你好 您尝试用 UUU 闪存了吗? 顺祝商祺! Re: frdm-imx93 not booting even with demo images from NXP 你好 您在串行端口看到了什么?能进入快速启动模式吗? 您是否尝试过使用另一个电路板支持包版本。我这边仍然无法重现这个问题。 顺祝商祺! Re: frdm-imx93 not booting even with demo images from NXP 你好 在串行端口上,我只看到 SPL 输出。它永远无法达到完整的 U-Boot,所以我无法进入 U-Boot 提示符或快速启动模式。 使用官方 Rev 4.0 映像的串行输出: U-Boot SPL 2024.04+gde16f4f1722+p0(Sep 02 2024 - 10:44:35 +0000) SOC: 0xa1009300 LC: 0x2040010 PMIC: PCA9451A PMIC: Over Drive Voltage Mode DDR: 3733MTS DDR: 3733MTS M33 ready ok 然后就没有其他输出了。 我还测试了以 32 KiB 偏移量写入 SD 卡的重建版 Flexbuild/U-Boot 2025.04 启动映像。该板执行新的 SPL,但会在同一点停止: U-Boot SPL 2025.04(2026 年 4 月 26 日-16:21:54 +0000) PMIC:PCA9451A PMIC:过载电压模式 DDR:3733MTS DDR:3733 MTS DDR:3733MTS M33 准备好了 所以我无法进入快速启动模式,因为它无法达到完整的 U-Boot。 我测试了这些 电路板支持包/图片: 1.官方 FRDM-i.MX93 Rev 4.0 映像: LF_v6.6.36-2.1.0_images_FRDM_4.0_IMX93 2。我自己为机器编译的 Yocto =imx93FRDM 3.重建的 Flexbuild/U-Boot 2025.04 SPL/Container 官方 Rev 4.0 和我的 Yocto 版本使用了这个启动映像哈希: 7aba6102e5ec64add64add632cd6667e77fa3f6f6f6f6f6f6fd72c314e4c01f2964c0fc056a5f imx-boot-imx93frdm-sd.bin-flash_singleboot UUU 在闪烁前也会出现故障。检测到主板: MX93 SDPS 0x1FC9:0x014E 但是 SDPS:启动超时: 启动 cmd: sdps: boot-scanterm-f imx-boot-imx93frdm-sd.bin-flash_singleboot-scanlimited 0x800000 Fail HID(W):LIBUSB_ERROR_TIMEOUT 这种情况在 Linux 和 Windows 系统上都会发生,在尝试了另一台笔记本电脑后也是如此。 我还验证了 SD 启动模式的选择:选择 SD 启动模式且未插入 SD 卡时,没有串行输出。插入 SD 卡后,SPL 在 M33 准备就绪后启动和停止。 因此,目前该主板从未达到过U-boot/Fastboot。 Re: frdm-imx93 not booting even with demo images from NXP 我终于成功了。 按照规格使用 32GB SD 卡 从恩智浦的 Yocto 链接中克隆了代码,编译了代码,然后如文档中所述 将其闪存到卡中,然后按上述方式启动。这对我很有用。我认为问题在于之前尝试使用的 uboot 二进制文件是针对 evm 的,而不是 frdm 的。 Re: frdm-imx93 not booting even with demo images from NXP 我也遇到了同样的问题,我尝试了 i.mx93 frdm 门户网站上的所有 4 个版本, UUU 总是抛出 Fail HID(W):LIBUSB_ERROR_TIMEOUT (-7)(20.02s) 用于闪入 emmc 和 sd。 Re: frdm-imx93 not booting even with demo images from NXP 你解决了吗?我遇到了同样的问题 Re: frdm-imx93 not booting even with demo images from NXP 大家好 我让板正常工作了,显然对FRDM-i.MX93板进行了硬件改动,如果你的U-启动加载程序已经过时(2025年之前),那么你就会看到这个问题。 在串行下载器模式下尝试启动或刷机时,可以在串行监视器中查看 U-Boot 版本。 旧 U-Boot 版本示例:U-Boot SPL 2024.04+gde16f4f1722+p0(Sep 02 2024 - 10:44:35 +0000) 用下面的命令试试这个引导加载程序,应该会有效果 🙂 imx-boot-imx93-11x11-lpddr4x-frdm-sd.bin-frdm-sd.bin-flash_singleboot UUU 命令:uuu -b sd_all imx-boot-imx93-11x11-lpddr4x-frdm-sd.bin-flash_singleboot < 你的 frdm-i. mx 93 启动 > .wic.zst 如果上面的引导加载程序确实对你有用,那么这就是当前的 yocto i.MX BSP 存储库,有改动:GitHub-nxp-imx/meta-imx:i.MX Yocto Project i.MX BSP Layer · GitHub Re: frdm-imx93 not booting even with demo images from NXP 你的 U-Boot 看起来很旧,显然硬件发生了变化,只有 2025 年之后的版本才支持 FRDM-IMX93。 请参考我上面的帖子,将引导加载程序连同你的镜像一起刷新。 希望对你有用 🙂 Re: frdm-imx93 not booting even with demo images from NXP 我也遇到了同样的问题。 也许这是新主板的板缺陷? 😞 Re: frdm-imx93 not booting even with demo images from NXP 嗨,@jventura、@qingyu、@ssb1、@skrimby123 请试试这个。 Re: frdm-imx93 not booting even with demo images from NXP 我已经通过 support.nxp 解决了这个问题。 在 "演示图像下载 "页面,选择 1.0 版而不是 4.0 版,然后使用最新的 uuu 下载图像到 borad Re: frdm-imx93 not booting even with demo images from NXP 对不起,我来晚了。 是的,可能就是这样。我的 Uboot 版本: U-Boot SPL 2024.04+gde16f4f1722+p0(Sep 02 2024 - 10:44:35 +0000) 但帖子中正确引导程序的链接坏了,我无法下载它 😞 Re: frdm-imx93 not booting even with demo images from NXP 我遇到了同样的错误,UART 调试输出结果是: U-Boot SPL 2024.04+gde16f4f4f1722+p0(Sep 02 2024 - 10:44:35 +0000) SOC: 0xa1009300 LC: 0x2040010 PMIC: PCA9451A PMIC: Over Drive Voltage Mode DDR: 3733MTS DDR: 3733MTS M33 ready ok Re: frdm-imx93 not booting even with demo images from NXP 引导加载程序的链接无法正常工作 Re: frdm-imx93 not booting even with demo images from NXP 请更新引导程序的下载链接。对我们许多人来说,这仍然是一个持续存在的问题,目前还没有找到解决方案。
View full article
寻求专家建议:掌握 C/AUTOSAR/Yocto 与扩展到人工智能/ROS? 你好,恩智浦社区、 据我所知,该论坛主要讨论有关恩智浦产品的特定技术问题。如果这个与职业相关的询问稍稍偏离了主题,我深表歉意。不过,作为一名深入研究恩智浦 S32K144 生态系统和 RTD 的学生,我相信只有这里的专家才能提供我所需要的现实的行业级指导。 我是一名有抱负的嵌入式软件工程师,目前就读于 42 项目(软件工程强化学校),主要学习 C 和 C++。 目前,我正在开发一个通过 EB tresos 使用 S32K144EVB 和 AUTOSAR MCAL (RTD) 的项目。同时,我正在研究 Yocto 项目,以构建自定义的嵌入式 Linux 镜像。 我的困境是,我有机会学习一门物理人工智能课程,涉及 Python、ROS 和在 Raspberry Pi 上部署人工智能模型。虽然这听起来令人兴奋,但我觉得自己的 C/C++ 基础还不扎实,同时管理所有这些(42 项任务、S32K/AUTOSAR、Yocto 和人工智能)感觉力不从心。 如果您能就以下方面提出真知灼见,我将不胜感激: 在当前的汽车行业(SDV、Zonal Architecture)中,是加倍努力于深度堆栈(C/C++、AUTOSAR 内部结构、Yocto/内核),还是尽早使用人工智能和 Python 扩展 Wide? 初学者即使了解人工智能/ROS,但缺乏深厚的 C/C++ 知识(如内存映射和硬件时序分析)会对其职业生涯造成多大影响? 与一般的人工智能-机器人项目相比,只专注于 S32K144 和 Yocto 集成(HPC-to-Zone 架构)是否具有足够的竞争力? 我很想听听那些见证了行业发展的资深工程师的意见。 感谢您的时间和理解。 致以最诚挚的问候,jipoman550 Re: Seeking Expert Advice: Mastering C/AUTOSAR/Yocto vs. Expanding to AI/ROS? 你好@jipoman 从汽车嵌入式的角度来看,我建议先做深,而不是做宽。 对于我们围绕 S32K、AUTOSAR MCAL/RTD 和 Linux BSP 开展的工作而言,扎实的 C/C++ 基础知识是必不可少的。了解内存布局、启动代码、中断、定时以及 AUTOSAR 实际抽象的内容(以及没有抽象的内容)比了解更高级别的框架更重要。 AI/ROS/Python 在现代 SDV 系统中无疑很重要,但它们通常位于实时和安全关键层之上。对于初级工程师来说,薄弱的底层基础知识要比缺少 Python 或人工智能方面的知识更难弥补。 一个围绕S32K + AUTOSAR + Yocto的可靠项目,让你真正了解限制、启动流程和集成边界,这已经是一个强大而现实的汽车角色组合了。这些知识可以直接用于以后更复杂的平台。 如果您的时间有限,感觉负担过重,我的建议是 -专注于 C/C++ + AUTOSAR + 嵌入式基础知识 -使用 Yocto 理解 Linux 概念,而不仅仅是为了 “构建映像” -将 AI/ROS 视为基础扎实后可以叠加的东西 显然,你在正确的时间提出了正确的问题。祝您一路顺风,不要对自己为长期汽车事业打下的坚实基础失去信心。 问候, Lukas
View full article
S32K358 BMU:从 “调试” 模式切换到 “正常” 模式后的 FS2633 看门狗复位回路(D26 闪烁) 你好,恩智浦支持团队, 我正在使用 S32K358 和 FS2633 处理 RDBESSK358BMU 板 。 根据你在恩智浦社区的指导,我使用了官方示例: k358bmu_read_s32ct(适用于 电池管理系统 1.1.0 的 MBDT) 我遵循的程序: 1. 使用 SW2 2 进入 SBC 调试模式。通过 JTAG 3 下载了示例固件。关闭主板 电源 4.将 SW2 设置为 OFF 5。再次开启主板电源(尝试正常模式) 观察到的行为: * LED D26 持续闪烁 * 系统似乎处于 看门狗复位回路中 * 无法过渡到正常模式 我的理解: 根据 UM12196,闪烁 D26 表示 SBC 看门狗未正确刷新,M CU 正在 反复复位。 问题 1.k358bmu_read_s32ct 示例在退出调试模式后是否包括适当的 FS26 看门狗刷新? 2.FS2633 在正常运行前是否需要额外的初始化序列? 3.我们是否需要在应用程序代码中明确处理 FS_STATES 或看门狗服务? 4.使用此示例从调试模式切换到正常模式时,是否存在任何已知问题? 5.是否与热电阻有关? ,如能就如何正确过渡到正常模式提供指导,将不胜感激。 谢谢。 萨曼 Re: S32K358 BMU: FS2633 watchdog reset loop (D26 blinking) after switching from Debug to Normal mode 你好,@samansaki、 感谢您在 MBDT 社区发布您的问题! 在回答你的问题之前,我必须注意到你的设置存在一些偏差。首先,我们发布的电池管理系统版 MBDT 的最新版本是适用于 BMS 的 MBDT,版本 1.2.0,所以我假设你落后了一个版本。其次,你使用的是 RDBESSK358BMU 评估板,而你正在尝试刷新的示例是 k358bmu_read_s32ct,它针对的是不同的设置 RD-K358BMU,不幸的是,由于设置不同,你的 BESS 板上的 BMS 读数不起作用。 这个例子你有 k358bmu_read_s32ct 的 ID 根本没有与 SBC 交互,它使用板上的开关将 SBC 设置为调试模式,该示例侧重于 BMS 读数。我们在工具箱中与 SBC 交互的示例是 rd33772c14vevm_s32ct,但它当然有不同的配置。本示例使用S32配置工具配置微控制器与单片机通信的SPI引脚,还为SBC添加了RTD元器件,最后,它引入了用于初始化SBC的自定义代码。因此,如果您想在板上配置 SBC,则必须迁移引脚配置、SPI 配置,并将 SBC 元器件添加到模型中。 以下是您的问题答案: 1.k358bmu_read_s32ct 示例在退出调试模式后是否包括适当的 FS26 看门狗刷新? 不幸的是,该示例配置为在 RD-K358BMU 上运行,不适用于您拥有的 BESS 主板 2.FS2633 在正常运行前是否需要额外的初始化程序? 是的,用于初始化的自定义代码是在 rd33772c14vevm_s32ct 示例下的 Initialize 中添加到 initsBC 子系统中的。此外,你必须在外部配置工具中配置SPI引脚和实例以及SBC元器件。 3.我们是否需要在应用程序代码中明确处理 FS_STATES 或看门狗服务? 是的,一旦初始化了 SBC,就需要使用自定义代码定期为 SBC 提供服务。 4.使用此示例从调试模式切换到正常模式时,是否存在任何已知问题? 不,不幸的是,该示例仅针对电池管理系统元器件,而不是 SBC 元器件。 5.是否与 RTD 有关? 是的,SBC 有自己的 RTD 驱动程序,这些驱动程序至少在电池管理系统 1.2.0 的 MBDT 中添加。但是至于我们在生成代码时依赖的所有元器件,需要在模型中配置和初始化 SBC 元器件。 希望这能帮到您, Marius
View full article