Multi Source Translation Content

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

Multi Source Translation Content

讨论

排序依据:
Linux i3c-dev userspace driver? There is an article about an i3c-dev driver pacth for i.MX9 SoC in NXP website: https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/Expose-the-i3c-device-to-the-linux-dev-directory/ta-p/1875290 Where can i download the mentioned "add_i3c_device_to_dev.patch" files? By the way is there any official i3c-dev userpsace driver (which exposed in /dev/i3c-X which is available in Linux mainline? Linux Re: Linux i3c-dev userspace driver? It works only with lf-6.1.55-2.2.0 linux-imx branch/release. When it will be ported and able to use for the newest lf-6.12.3-1.0.0? https://github.com/nxp-imx/linux-imx/tree/lf-6.12.y Re: Linux i3c-dev userspace driver? @pengyong_zhang  Happy New Year! After the long holiday, I haven't received the patch yet. Was it not sent to me? Could you please send it to me? Thank you. Re: Linux i3c-dev userspace driver? @pengyong_zhang  Could you please send me a copy? Thanks a lot.  Re: Linux i3c-dev userspace driver? HI @Livius  I've already sent it to your email, Please check it. B.R Re: Linux i3c-dev userspace driver? @pengyong_zhang  Could you please also send me a copy of the corresponding file via email? Thank you
查看全文
RW612 SDK - MFlash 文件库 const 不正确 MFlash 文件系统库 (mflash_file.h) 的 API 不是 const-correct,因为mflash_file_t 结构和 mflash_file_save() 和 mflash_file_mmap() 函数中的文件名参数不是声明为“const char *”,而是声明为“char *”。 typedef struct { char *path; uint32_t max_size; } mflash_file_t; status_t mflash_file_save(char *path, uint8_t *data, uint32_t size); status_t mflash_file_mmap(char *path, uint8_t **pdata, uint32_t *psize); 在 C++ 翻译单元中声明 mflash_file_t 结构表时会引发警告: C:\NXP\workspace\[redacted]\config/kvstore_config.h:50:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 50 | #define KVSTORE_FILE_PATH ("/kvstore") | ~^~~~~~~~~~~ ../source/program.cpp:47:15: note: in expansion of macro 'KVSTORE_FILE_PATH' 47 | { .path = KVSTORE_FILE_PATH, .max_size = 3000 }, | ^~~~~~~~~~~~~~~~~ 字符串文字永远不应被视为可写的;在某些情况下,如果由于字符串被声明为可写而将其分配给 RAM 而不是闪存,则可能会导致过多的内存使用。 请修复这些功能的 API。此外,请为这个和其他头文件添加缺少的 extern "C" { } 声明;我必须放置 #include 声明在 extern "C" { } 声明内,以便我的应用程序正确链接。 达娜·M. 回复:RW612 SDK - MFlash 文件库 const 不正确 由于某种原因,我的附件没有显示出来。再试一次。 达娜·M. 回复:RW612 SDK - MFlash 文件库 const 不正确 我正在使用最新的 SDK(v2.16.1),并使用任何包含 MFlash 驱动程序的示例(例如“wifi_mqtt”)。我附上了我的“修复”版本,其中仅涉及用“const char *”替换“char *”的所有实例。 达娜·M.
查看全文
Flash Read Alignment Issue - Data Reads from 2n Instead of 2n+1 Recently, when using the S32G274 M7 core to read data from flash, I encountered a forced alignment issue. When attempting to read data starting from an address 2n+1, the returned data starts from address 2n. However, reading from address 2n does not have this problem. We are bypassing FEE and directly using the FLS driver to operate the flash. The MCAL version is: SWS32G_RTD_4.4_4.0.2.   Who can help me, thank you. Re: Flash Read Alignment Issue - Data Reads from 2n Instead of 2n+1 Hi @zyz,  great to hear that. Let us know if there is anything we can do to help. Re: Flash Read Alignment Issue - Data Reads from 2n Instead of 2n+1 Hi carlos_o, Thank you for your support. I have already solved the problem on my side. This 2-byte alignment issue is caused by the inherent characteristics of FLASH and is not related to the software. Re: Flash Read Alignment Issue - Data Reads from 2n Instead of 2n+1 Hi @zyz  I recommend try first with the IP functions instead of MCAL, you can see how it works at the Spi_Ip_Transfer example. Let me know if the issue persists.  Re: Flash Read Alignment Issue - Data Reads from 2n Instead of 2n+1 Hello carlos_o, Yes, I am using our custom board with QSPI DDR mode. The flash model is MX25UW51245G.   I discovered this issue when directly using FLS. Re: Flash Read Alignment Issue - Data Reads from 2n Instead of 2n+1 Hi @zyz, Are you using a custom board? if not is it an RDB or EVB?  If you are using a custom board, which model of QSPI are you using?  The problem is when you are doing the bypass of the FEE driver and using directly the FLS? or this is a workaround? 
查看全文
Routing CAN and Ethernet pins using S32DS pin configurator I'm trying to port the MR-CANHUB code to S32DS 3.6 + RTD 5.0.0 and ran into an issue with the CAN and Ethernet peripherals in the pin configurator.   The tool is telling me: Issue: Incorrect assignment on 'Peripheral', 'Signal' items. Level: Error Type: Tool problem Tool: Pins Origin: Pins:PortContainer_0_BOARD_InitPeripherals Resource: #102-FlexCAN_0.rxd Information: ERRORS:   – The selected peripheral is not supported for routing.   – The FlexCAN_0 peripheral does not support routing. ---   I noticed the FlexCAN example from the RTD disables the pin configurator.   Do these need to be manually configured or are they supported by the pin configurator?     Re: Routing CAN and Ethernet pins using S32DS pin configurator The pin names changed since the MR-CANHUB source was developed in RTD 2.0.0 and S32DS 3.4. I was able to create new pin assignments for these and delete the originals. There are no longer any errors in the configurator.
查看全文
S32K3 FlexCan in Polling mode Hello,  Im trying to set up the CAN on S32K3, I did not found an example based on polling (not interrupts), using RTD and no Autosar, I did the following config : Pins used are PTA28 – PTA27 (CAN-0) Standard CAN with 500Kb – 8 bytes payload Clock for CAN enabled FlexCan_Send function will execute successfully only once, after that the bus goes into busy state and will not transmit any CAN frame, after adding   FlexCAN_Ip_AbortTransfer seems to work, but im not sure if this was the correct approach ? Flexcan_Ip_StatusType FlexCan_Send(uint16_t Idx, uint8_t *data) { Flexcan_Ip_StatusType retVal = E_NOT_OK; Flexcan_Ip_DataInfoType tx_info = { .msg_id_type = FLEXCAN_MSG_ID_STD, .data_length = 8u, .is_polling = FALSE, /* Specifies if the MB is in polling mode */ .is_remote = FALSE, /* Specifies if the frame is standard or remote */ }; if(FlexCAN_Ip_GetTransferStatus(INST_BOARD_INITPERIPHERALS_FLEXCAN_0, TX_MB_IDX) == FLEXCAN_STATUS_BUSY) { FlexCAN_Ip_AbortTransfer(INST_BOARD_INITPERIPHERALS_FLEXCAN_0, TX_MB_IDX); } retVal = FlexCAN_Ip_Send(INST_BOARD_INITPERIPHERALS_FLEXCAN_0,TX_MB_IDX,&tx_info, Idx, &data[0]); return retVal; } A Task runs each 5ms for reading the CAN frames in polling mode, the FlexCAN_Ip_Receive keep returning Status_Busy __attribute__((__noreturn__)) void Can_Polling_Tsk_5ms( void *pvParameters ) { (void)pvParameters; for( ;; ) { FlexCan_Read(); vTaskDelay(pdMS_TO_TICKS(5)); } } Flexcan_Ip_StatusType FlexCan_Read() { Flexcan_Ip_StatusType retVal = E_NOT_OK; Flexcan_Ip_MsgBuffType recvBuff; retVal = FlexCAN_Ip_Receive(INST_BOARD_INITPERIPHERALS_FLEXCAN_0, RX_MB_IDX, &recvBuff, TRUE); if(retVal == FLEXCAN_STATUS_SUCCESS) { // Process the received frame... } return retVal; } Thank you. Re: S32K3 FlexCan in Polling mode Hi @Kazarian, Sorry for the late reply. You can refer to this community post: S32K1xx-FlexCAN Mask Setting Demo - NXP Community. It does refer to the S32K1xx, but the theory is the same. You must call the functions below in stop or freeze mode. FlexCAN_Ip_SetRxMaskType(); FlexCAN_Ip_SetRxMbGlobalMask(); This community post may also prove helpful: Solved: S32K344 FlexCAN: How to setup Rx MB mask to receive the CAN FD messages with different IDs? - NXP Community. Best regards, Julián  Re: S32K3 FlexCan in Polling mode Hello @Julián_AragónM  Any idea how you can set the RX filter for a range of IDs ? Regards. Re: S32K3 FlexCan in Polling mode Thanks a lot @Julián_AragónM this works,  There is another question on how to enable the reception of all Ids not only the ID configured with the function FlexCAN_Ip_ConfigRxMb : retVal |= FlexCAN_Ip_ConfigRxMb(INST_BOARD_INITPERIPHERALS_FLEXCAN_0, RX_MB_IDX, &rx_info, MSG_ID); is there a function where i can set a kind of mask across a range of Ids i want to receive, say for example from 0x10 to 0x74D. Regards. Re: S32K3 FlexCan in Polling mode Hi @Kazarian, I understand you are creating your own functions implementing the RTD. Even though it is working, the abort mechanism provides a safe way to request the abortion of a pending transmission. A feedback mechanism is provided to inform the CPU whether the transmission was aborted, or the frame could not be aborted and was transmitted instead. There is an existing polling example (although it is based in S32K312) in the following community post: Example S32K312 CAN Transmit & Receive Using Polling mode DS3.5 RTD300 - NXP Community. It implements both write and read in polling mode like this: rx_info.is_polling = TRUE; //Dinesh FlexCAN_Ip_Send(INST_FLEXCAN_0, TX_MB_IDX, &rx_info, MSG_ID, (uint8 *)&dummyData); // Polling while(FlexCAN_Ip_GetTransferStatus(INST_FLEXCAN_0, TX_MB_IDX) != FLEXCAN_STATUS_SUCCESS) { FlexCAN_Ip_MainFunctionWrite(INST_FLEXCAN_0, TX_MB_IDX); } // Polling while(FlexCAN_Ip_GetTransferStatus(INST_FLEXCAN_0, RX_MB_IDX) != FLEXCAN_STATUS_SUCCESS) { FlexCAN_Ip_MainFunctionRead(INST_FLEXCAN_0, RX_MB_IDX); } Nevertheless, if your configuration is working, there should be no problem. Best regards, Julián
查看全文
Can not find the driver Hello,   I meet a problem as the attached picture, I need some help to solve it, Thanks.  Re: Can not find the driver @Senlent  Thank you, I don't know what happend to my project just after a PC restart or some other system issue yesterday and I have done a reactivate to S32DS v3.4 too, However I tried to create a new empty project and migrate my project and it take effect, the problem resolved. Thank you Re: Can not find the driver Hi@jinT This kind of problem may can be solved by click "update code". If click "update code" can't solve your problem , i will help you to check it if you can provided the project.
查看全文
Regarding the limitations of Key Scramble settings Hi NXP According to NXP application note, OTFAD_KEY_SCRAMBLE and ALIGN were arbitrary word and byte. But when I set non-SPT default values (0x33AA55CC & 0x1B), the RT10101 fails to decrypt and boot .[On my EVT board] .It stops in ISP mdoe. =================================================================== On the NXP RT1010 EVB, writing the default settings(0x33AA55CC & 0x1B) allows it to boot successfully. The following are the steps on NXP EVB Step 1. Burning fuses[OTFAD KEK & SCRAMBLE] => boot successfully. Step 2. Burning fuses[HAB] => boot successfully. =================================================================== On non-NXP EVB device, writing the non-default settings ,the RT10101 fails to decrypt and boot and stops in ISP mdoe. The following are the steps on my EVT board Step 1. Burning fuses[OTFAD KEK] => boot successfully. Step 2. Burning fuses[HAB] => boot successfully. Step 3. Burning fuses[SCRAMBLE] => boot Fail. I use SPT for programming, and during the programming process, it will verify that the SPT fuses settings match the device. Therefore, my settings should be correctly written to my EVT board. Using the SPT OTP setting function, I also confirmed that my settings were successfully written to the eFuses. I tried changing the OTFAD encryption block to an unwritten block (e.g., 0x60020000), and my EVT board can boot normally. =>This indicates that there might be an issue with the decryption process. =================================================================== Based on the above successful and failed boot cases: 1. Does the order of writing eFuses affect the functionality of OTFAD and Scramble? 2. Are there any configuration limitations for OTFAD_KEY_SCRAMBLE and ALIGN? Does this mean there is an issue with OTFAD and Scramble? Re: Regarding the limitations of Key Scramble settings Hi Stefano, Here is an update for your problem: for i.MX RT116x/7x, the image_enc utility was replaced by nxpimage already in SEC v7. That's why SEC v7 produces same problem in keyblob as SEC v10. For RT117x kindly use SEC v6. You can still use the processor with your custom fuses, only the keyblob needs to be fixed (bootable_images\otfad_keyblobs.bin).  Alternatively, it shall be also possible to generate keyblob in SEC v6 and replace the keyblob generated by SEC v10 (it is possible to add hook into SEC v10 build script). To do this, you must have all keys and all OTFAD parameters same in both workspaces. We are sorry for inconvenience Re: Regarding the limitations of Key Scramble settings Hello Marek, I can confirm that image produced with V7 using a scramble value of 0x19a8c836 and a scramble align of 0xd6 doesn't work - while using the default values the image works. Note however that I used different keys and random counter. I carefully checked fuse settings on the non-working board (the one with the mentioned scramble values) and they look correct. Apparently, image_enc tool is producing a bad key blob. As a side note, I am surprised that issues on such a sensitive topic (image protection) are not being appropriately addressed: how is it possible that, although ages have passed, it is still not possible to reliably get a correctly formed bootable image from SPT? Best regards, Stefano Re: Regarding the limitations of Key Scramble settings Hi Stefano, scramble for RT116x/7x and RT10xx is confirmed bug in MCUXpresso Secure Provisioning tool v10 and currently there is not planned any hotfix. RT117x is supported since MCUXpresso Secure Provisioning tool v5, so we recommend to use older version (v7). There is not known such problem for image_enc tool. For the input image, kindly follow the description in chapter 6.2.1.1 and disable XIP_BOOT_HEADER_ENABLE (images with the header are not supported in tool version 7). We are sorry for inconvenience Re: Regarding the limitations of Key Scramble settings Hello, having same trouble on rt1176 using SEC V10 - can you confirm the problem still exists on V10? Besides, since V7 does not accept binary images with boot header nor ELF files (at least, not those built within MCUXpresso IDE v11.9.0 Build 2144), I'm having hard times with V7 too - and the encrypted image (from blinky sample) does not work anyway. Looks like older image_enc tool suffers the same bug with some scrambling value and/or align. I am quite surprised this issue has not been addressed yet, since it is actually a security flaw - scrambling is definitely useless if you can (safely) use only default values. Kudos Stefano Re: Regarding the limitations of Key Scramble settings Hi Omar, yes, use SEC v7. The problem is in nxpimage utility, which is used to generate keyblob since SEC v8. In the older versions, keyblob was generated using image_enc utility. Re: Regarding the limitations of Key Scramble settings Hi @marek-trmac     I am using SPT V9.0.1.  Do you mean that I need to use version V7.0 to generate the correct keyblob data based on my scramble values ?  Re: Regarding the limitations of Key Scramble settings Hi Omar, we confirm the problem, we found the keyblob is generated wrongly for same scramble values. The problem is reproducible since SEC tool v8. Could you use SEC tool v7? In version 7 the tool uses image_enc utility to generate the keyblob and there is no such issue. We are sorry for the inconvenience. We'll fix the problem for next release. Re: Regarding the limitations of Key Scramble settings Hi @marek-trmac  Thank you for your reply.  what ALIGN fuse value did you burn? =>Since the setting values are intended for future production, it is inconvenient to disclose them. I can only say that I have set them within the range of 0x00 to 0xFF. Does default OTFAD settings works on your custom board? =>Due to concerns about causing the aforementioned situation again, I am currently not burn any scramble config( OTFAD_KEY_SCRAMBLE and ALIGN) to the custom board. Re: Regarding the limitations of Key Scramble settings Hi Omar, what ALIGN fuse value did you burn? Does default OTFAD settings works on your custom board? Re: Regarding the limitations of Key Scramble settings Hi @marek-trmac      Thank you for your reply.     I have used SPT to erase the flash in the above steps, and then used SPT to rewrite the updated KEY blobs and firmware. Re: Regarding the limitations of Key Scramble settings Hi Omar, after you burn SCRAMBLE, you need to update key blobs (because key blobs are affected by the SCRAMBLE). There is application note with details about OTFAD encryption on RT101x, which might help: AN12670 How to use encrypted XIP boot.in i.MX RT1010 About ALIGN, please refer to chapter "Key blob KEK details" in Security Reference Manual.
查看全文
spi5に関連するハードウェアリセット コミュニティの皆さん、こんにちは。 ボード:S32G399AAAVUC ソフトウェア:bsp40 Mcoreでspi5を使用し、Acoreのデバイスツリーでspi5ノードを無効にすると、奇妙な問題が発生しました。shutdownコマンドを使用し、シャットダウンが完了した後にハードウェアのリセットが発生しました。問題を解決するためにAcoreのデバイスツリーでspi5ノードを削除しましたが、再びは発生しませんでした。特にこのノードはすでに無効になっているため、この問題の原因を知りたいです。なぜ削除する必要があるのですか? S32G3の  Re: spi5に関連するハードウェアのリセット こんにちは、 @chenyin_h あなたの通知をどうもありがとう、私はより高いレベルのデバイスツリーがそのステータスを大丈夫に設定しているのを見つけました。心から感謝します。 BRの ヤン
查看全文
ADC SC1 への DMA 書き込み 皆さん、こんにちは サンプリングしたいADC入力は>8個あり、FTM PWM INITトリガと同期しています。 これにはPDBを使用しています。しかし、W 以外の S32K を使用しているため、PDB で CH0 と CH1 をバックツーバック リンクすることはできません。 私は、DMA(ADC COCOによってトリガーされる)がADC_SC1nを書き換えて、より多くの入力をパルスごとに「リンク」する解決策が機能することを考えました。しかし、DMAを介してSC1nに書き込むと、PDBがADCを再度トリガーできなくなるようです(最初のチャネルのESがハイになります)。 これを達成する方法について誰かがアドバイスできますか? ありがとうございます ジョーイ
查看全文
imx93evk 重建内核映像并替换 !这是我为imx93evk构建的命令 $ mkdir imx-yocto-bsp $cd imx-yocto-bsp $ repo init -u https://github.com/nxp-imx/imx-manifest-b imx-linux-scarthgap -m imx-6.6.36-2.1.0.xml $ repo 同步 $ mkdir -p 下载 $ CD下载 $ mkdir linux-imx;cd linux-imx $ git clone https://github.com/nxp-imx/linux-imx.git $ cd../.. $导出BSPDIR = $(pwd) $ DISTRO=fsl-imx-wayland MACHINE=imx93-11x11-lpddr4x-evk 源 imx-setup-release.sh -b buildwayland $ bitbake imx-图像多媒体 构建完成后,目录 imx-yocto-bsp/buildwayland/tmp/sysroots组件/imx93_11x11_lpddr4x_evk/imx-boot/boot 将包含 imx-boot-imx93-11x11-lpddr4x-evk-sd.bin-flash_单启动 ! 正在使用 $ sudo ./uuu-b emmc_all imx-boot-imx93-11x11-lpddr4x-evk-sd.bin-flash_singleboot !更新图像以反映我在 linux-imx 中所做的内核更改的正确方法? ! 推荐的仅构建 Linux 内核并仅替换内核的方法是什么? 是吗 $ cd linux-imx $制作imx93_11x11_evk_defconfig $ make !我应该专门刻录哪个映像来替换内核? BR,科林         回复:imx93evk 重建内核映像并替换 完成重建后,您可以使用scp命令将内核映像复制到您的主板 回复:imx93evk 重建内核映像并替换 是的,您能提供我们可以遵循的步骤吗? 回复:imx93evk 重建内核映像并替换 这里您是否只需要重建并更新板上的内核?
查看全文
Calibration features Hello,  I wonder if FreeMaster is capable of being used as a calibration tool. For example, calibrate a thermistor with a NXP board.  Another question on top of this: is it possible to apply a function to a raw signal before it is displayed on a graph in FreeMaster? Thanks  Re: Calibration features Hi @Vast-Horizon, Yes, you can use FreeMASTER as calibration tool. Here's an example of how it could be used in such scenario: Implement the algorithm in the embedded application Store algorithm parameters in global volatile variables Use FreeMASTER to read algorithm parameters at runtime Use FreeMASTER to update parameter values to fine tune the algorithm You can also apply transformation functions on the variables before those are displayed. This option is available in the Variable menu (Project -> Variables -> Edit): Note: transformations are applicable only to REAL values (top right option) Hope it helps, Iulian
查看全文
About MC33PT2000 software:BASIC-FRDMPKPT2000EVM We used the same PSC assembly code in the file(BASIC-FRDMPKPT2000EVM) with the PT2000 IDE to generate the PT2000_LoadData.c file, but it is different from the file in BASIC-FRDMPKPT2000EVM, as shown in the picture.  user code: Original: The number of arrays is different. One is unsigned short PT2000_code_RAM1[105], another is  unsigned short PT2000_code_RAM1[107]. Is there an error in the document assembly code? Can you provide consistent code? Re: About MC33PT2000 software:BASIC-FRDMPKPT2000EVM Thank you! I didn't changed anything on  BASIC-FRDMPKPT2000EVM Project. The download address: The Original C code: But,Both methods worked, so the issue is resolved. Thank you very much! Re: About MC33PT2000 software:BASIC-FRDMPKPT2000EVM Hello Hongyu, Where did get your BASIC-FRDMPKPT2000EVM Project? For PSC assembly code, we usually call it microcode. Can you share your SW project here? I think you have changed something on your  BASIC-FRDMPKPT2000EVM Project but you didn't notice. Or you can generate a new BASIC-FRDMPKPT2000EVM Project as below way and try it again And below is the Original RAMx section as your first page. Re: About MC33PT2000 software:BASIC-FRDMPKPT2000EVM Hello Hongyu, I have asked our application engineer who is in charge of the PT2000 to look into it. He is currently OoO, but will be back next week.  Thank you in advance for your patience. BRs, Tomas
查看全文
Debuggers cannot connect to MIMXRT1062 after core calls NVIC_SystemReset Hi, I'm here to bring back a ghost from the past.  Specifically, this thread. I'm working on the port of Mbed OS CE to MIMXRT1062, and have run into this issue when trying to set up our test suite.  Basically, anytime the code running on the M7 core calls NVIC_SystemReset, debuggers lose the ability to connect to the core. LinkServer prints: Ns: MCUXpresso IDE RedlinkMulti Driver v11.6 (Oct 3 2022 08:09:13 - crt_emu_cm_redlink.exe build 9) Pc: ( 0) Reading remote configuration Wc(03). No cache support. Nc: Found chip XML file in I:/RPL/mbed-os/targets/upload_method_cfg/redlink_cfgs\MIMXRT1052xxxxB.xml Pc: ( 5) Remote configuration complete Nc: Restarted LinkServer process (PID 30668). Wc: ============= SCRIPT: RT1050_connect.scp ============= Wc: RT1050 Connect Script Wc: DpID = 0BD11477 Wc: APID = 0x04770041 Wc: Disabling MPU Wc: Configure FlexRAM for 256KB OC RAM, 128KB I-TCM, 128KB D-TCM Wc: Finished Wc: ============= END SCRIPT ============================= Nc: Probe Firmware: DAPLink CMSIS-DAP (ARM) Nc: Serial Number: 0227000047784e4500559004d7450044ddb1000097969900 Nc: VID:PID: 0D28:0204 Nc: USB Path: \\?\hid#vid_0d28&pid_0204&mi_03#7&316d2a6&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030} Nc: Using memory from core 0 after searching for a good core Pc: ( 30) Emulator Connected Xr: Pc: ( 40) Debug Halt Nc: connection failed - Ep(03). Invalid ID for processor... Retrying Nc: Using memory from core 0 after searching for a good core Nc: On debug connection - reset using system reset Pc: ( 30) Emulator Connected Pc: ( 40) Debug Halt Ed:02: Failed on connect: Ep(03). Invalid ID for processor. Et: Probe(0): Connected&Reset. Was: NotConnected. DpID: 0BD11477. CpuID: 00000FFF. Info: Nc: Last stub error 0: OK Nc: Last sticky error: 0x0 AIndex: 0 Nc: Debug bus selected: MemAp 0 Nc: DAP Speed test unexecuted or failed Nc: Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled. Pc: (100) Target Connection Failed PyOCD prints: 0000350 I Target type is mimxrt1060 [board] 0000405 I DP IDR = 0x0bd11477 (v1 MINDP rev0) [dap] 0000433 I AHB-AP#0 IDR = 0x04770041 (AHB-AP var4 rev0) [discovery] 0000446 W Invalid coresight component, cidr=0x0 [rom_table] 0000450 I IMXRT Boot Mode: Boot From Fuses [target_imxrt] 0000458 I CPU core #0: Unknown (CPUID=0x00000000) r0p0, v6.0-M architecture [cortex_m] 0000471 I Loading /home/jamie/Mbed/mbed-os/cmake-build-develop-mimxrt1060evk/hal/tests/TESTS/mbed_hal/rtc_reset/test-mbed-hal-rtc-reset.bin at 0x60000000 [load_cmd] 0000496 I IMXRT Boot Mode: Boot From Fuses [target_imxrt] 0000499 I IMXRT Boot Device: 0 [target_imxrt] 0000545 C cannot write registers r0, r1, r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, psp, msp, lr, pc, xpsr, cfbp because core #0 is not halted [__main__] OpenOCD prints: Info : 114 157 adi_v5_swd.c:370 swd_connect_single(): SWD DPIDR 0x0bd11477 Debug: 115 160 arm_adi_v5.c:679 dap_dp_init(): imxrt.dap Debug: 116 160 arm_adi_v5.c:711 dap_dp_init(): DAP: wait CDBGPWRUPACK Debug: 117 160 arm_adi_v5.h:638 dap_dp_poll_register(): DAP: poll 4, mask 0x20000000, value 0x20000000 Debug: 118 164 arm_adi_v5.c:719 dap_dp_init(): DAP: wait CSYSPWRUPACK Debug: 119 164 arm_adi_v5.h:638 dap_dp_poll_register(): DAP: poll 4, mask 0x80000000, value 0x80000000 Debug: 120 166 cmsis_dap.c:808 cmsis_dap_swd_write_from_queue(): refusing to enable sticky overrun detection Debug: 121 169 openocd.c:151 handle_init_command(): Examining targets... Debug: 122 169 target.c:1843 target_call_event_callbacks(): target event 19 (examine-start) for core imxrt.cpu Debug: 123 169 arm_adi_v5.c:1095 dap_get_ap(): refcount AP#0x0 get 1 Debug: 124 173 arm_adi_v5.c:1038 dap_find_get_ap(): Found MEM-AP AHB3 at AP index: 0 (IDR=0x04770041) Debug: 125 181 arm_adi_v5.c:825 mem_ap_init(): MEM_AP Packed Transfers: disabled Debug: 126 181 arm_adi_v5.c:836 mem_ap_init(): MEM_AP CFG: large data 0, long address 0, big-endian 0 Debug: 127 185 target.c:2628 target_read_u32(): address: 0xe000ed00, value: 0x00000000 Error: 128 185 cortex_m.c:2363 cortex_m_examine(): [imxrt.cpu] Cortex-M PARTNO 0x0 is unrecognized Debug: 129 185 target.c:1843 target_call_event_callbacks(): target event 20 (examine-fail) for core imxrt.cpu Basically it seems like, in this situation, the CPU ID reads as 0, so no debugger is able to talk to the core. The original thread (linked above) implied that this error was due to not doing a JEDEC reset of the flash.  However, I dug into the article linked by the thread, and it looks like this is an issue specific to using the flash chip in XIP Enhanced mode. In this mode, normal commands don't work, so when you reset the chip, boot will fail if you do not use a JEDEC reset that gets the chip out of XIP Enhanced (AKA Continuous Read) mode first. However, this situation does not match the configuration that the MIMXRT1060_EVK board is in. I double checked all the flash sequences, and we do not enable XIP Enhanced mode -- in fact, the flash doesn't support it at all. Additionally, the MCU does continue to work after being reset. It just cannot be flashed. This is conclusive proof that this issue is not caused by an inability for the MCU to read its XIP flash. Instead, what I think is going on here is either (a) resetting the MCU somehow disables the ARM JTAG TAP, so the CPU will not talk over the debug port, or (b) resetting the MCU is interfering with some pin mapping used by SWD, so the SWD connection itself dies after the MCU is reset.   Would really appreciate if someone on the NXP side could confirm that this is an issue and explain what's going on here. For now, I did find one workaround, which is to pass "-Oconnect_mode=pre-reset" to pyocd.  This causes it to issue a reset before connecting, which appears to prevent the issue from happening.  Unfortunately, I have not been able to find a similar workaround with LinkServer, which makes it basically unusable for my application.  At minimum, I would really appreciate if you guys could add a "reset before connect" option to LinkServer, or some kind of fallback mode that detects when the MIMXRT CPUID is 0 and tried to reset it. i.MXRT 106x Re: Debuggers cannot connect to MIMXRT1062 after core calls NVIC_SystemReset Hi @MultipleMonomials , As far as I know, it should be at the evaluation stage at the moment. The real implementation will take some time, but if the project is deployed, it should greatly improve everyone's debugging experience in RT MCUs. The debugging experience is not only soft reset, but even the FDCB header of XIP will be improved. Thanks for your understanding! Best regards, Gavin Re: Debuggers cannot connect to MIMXRT1062 after core calls NVIC_SystemReset Thanks for looking at this Gavin. Do you know if any fix/workaround for this is on the LinkServer roadmap anytime soon? (either a fix for the actual issue or a way to make LinkServer do a HW reset before connecting). It makes it all but impossible to use LinkServer for our automated test suite in Mbed OS -- we have to use PyOCD and it's way slower. Re: Debuggers cannot connect to MIMXRT1062 after core calls NVIC_SystemReset Hi @MultipleMonomials , I've double-checked the internals for you over the last few days, and losing the debugger connection after calling NVIC_SystemReset seems to be the expected behavior. "0x202090" is ROMboot entry address. The linkserver debug probe will hold the MCU immediately after NVIC_SystemReset. And I have not found linkserver to have a similar feature as you describe. Sorry for that. Best regards, Gavin Re: Debuggers cannot connect to MIMXRT1062 after core calls NVIC_SystemReset Hi Gavin! I do not believe that this issue is related to Mbed OS at all.  In fact, Mbed OS is built on top of the MCUXpresso SDK, and we use the bootup code and NOR flash configs from the SDK almost unmodified. This issue should be reproducible by adding a call to NVIC_SystemReset() to any existing MCUXpresso project.  (it would probably be a good idea to reset only when a button is pressed to avoid sending the board into a reset loop). Yep, I am using an MIMXRT1060 EVKB board running DAPLink firmware, with LinkServer 24.9.75. Thanks for your help on this, hope this makes sense! Re: Debuggers cannot connect to MIMXRT1062 after core calls NVIC_SystemReset Hi @MultipleMonomials , Thanks for your interest in NXP MIMXRT series! Since the official SDK from NXP does not contain a support project for MEBED OS, it may be necessary for you to provide us with more information. Thanks in advance!  1. Can the phenomenon you mentioned be reproduced using the NXP SDK examples? Or does it only exist in the Mebed project? 2. If the latter, can you provide a reproducible routine? 3. Also, just to confirm with you, the environment you are using is DAP Debugger + LinkServer, right? Best regards, Gavin
查看全文
how imx8mm evk platform ddr4 calibrate? HI ALL I am study the ddr4 calibrate steps now, and have some confuse for ddr4 calibrate with following link. https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX-8M-Family-DDR-Tool-Release/ta-p/1104467 From the MSCALE_DDR_Tool_User_Guide.pdf,  it seems that the target platform didn't need run any sd card image when ddr4 calibrate, why MSCALE_DDR_Tool.exe can download the bin file to the target? regards jason Re: how imx8mm evk platform ddr4 calibrate? all of these  .bin files will be downloaded. Re: how imx8mm evk platform ddr4 calibrate? I means that when run the MSCALE_DDR_Tool.exe tool,my platform didn't run any image,  the download log as follow: Downloading file 'bin\lpddr4_train1d_string_v201709.bin' ..Done Downloading file 'bin\lpddr4_train2d_string_v201709.bin' ..Done Downloading file 'bin\lpddr4_imem_1d_v201709.bin' ..Done Downloading file 'bin\lpddr4_dmem_1d_v201709.bin' ..Done Downloading file 'bin\lpddr4_imem_2d_v201709.bin' ..Done Downloading file 'bin\lpddr4_dmem_2d_v201709.bin' ..Done Downloading IVT header...Done Downloading file 'bin\m845s_ddr_stress_test.bin' ...Done Download is complete Waiting for the target board boot... so which one use the usb port download the bin files? Re: how imx8mm evk platform ddr4 calibrate? hi @jxingyang   Because for DDR calibration part. only need run the DDR firmware is OK. do not need full iamge.
查看全文
S32G TSNの こんにちは、専門家 s32g399aとsja1110スイッチを使用していました。TSNのオン/オフの設定やCBSやその他のシェーピング機能の有効化など、TSN機能をどのように設定できますか。何か仕様はありますか?ありがとうございます。 日時:S32G TSN タンクはたくさんあります。
查看全文
Create .wic file that contains signed flash.bin and Image Hello, I have successfully been following the instructions from uboot-imx/doc/imx/habv4/guides/mx8m_secure_boot.txt at lf_v2022.04 · nxp-imx/uboot-imx to enable HABv4 on my iMX8MP. I now have: The signed bootloader signed_flash.bin The signed kernel Image_signed.bin The (unsigned) OS image .wic Currently, I have been flashing the .wic file to an SD card and manually replaced flash.bin and Image with their signed counterparts. I was wondering whether there is a way I could modify my Yocto recipe so that the resulting .wic file already has the signed flash and Image? many thanks, Alex i.MX 8M | i.MX 8M Mini | i.MX 8M Nano Yocto Project Re: Create .wic file that contains signed flash.bin and Image Update: the issue was due to a malformed imx-boot file that caused the length field not to match the actual size of the bootloader. It has now been fixed however uuu still fails to flash the signed .wic to eMMC. It reaches 10% and then hangs, eventually erroring with HID(W): LIBUSB_ERROR_TIMEOUT (-7). Re: Create .wic file that contains signed flash.bin and Image Thank you, it seems that it is possible for me to replace the bootlader and kernel files in the deploy folder with their signed version (signed_flash.bin becomes imx-boot and Image_signed.bin becomes Image). However, the new .wic file works when burned on an SD card, but seems to have problems when using uuu. In` particular, even after adding the tag to the bootloader file, the uuu command errors with "This wic boot length is wrong". The command used to flash the new (signed) wic file to eMMC is: `uuu.exe -b emmc_all ` The output: uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.182-0-gda3cd53 Success 0 Failure 1 2:14-2016A80 1/ 1 [This wic boot length is wrong ] SDPS: boot -scanterm -f -scanlimited 0x800000 I was wondering if you knew what the cause of this error could be, before I dive into the mfgtools code to try reverse engineer it?  Many thanks, Alex Re: Create .wic file that contains signed flash.bin and Image Hello, The i.MX BSP package contains several root file systems. They are named with the following convention: [image name]-[backend]-[platform][board].[ext4|wic]. The ext4 extension indicates a standard file system. It can be mounted as NFS, or its contents can be stored on a boot media such as an SD/MMC card. Check the Linux user guide to how to burn and copy firmware with hab container: https://www.nxp.com/docs/en/user-guide/IMX_LINUX_USERS_GUIDE.pdf Regards
查看全文
S32K3xx FlexCANレガシーおよび拡張RXFIFO DMA S32K344 FlexCANに取り組んでいますが、FlexCANの使用中にいくつか質問があります。 1. DMAは実際にS32K344でどのように機能し、どのように使用するのですか? 2. 従来の FIFO を DMA と統合し、拡張 FIFO を DMA と統合する方法 3. DMAの使用中に何か影響はありますか? Re: S32K3xx FlexCAN legacy and Enhanced RXFIFO DMA こんにちは、 この例のMCALバージョンを証明していただけますか?ありがとうございます。
查看全文
SRAM 和 SDRAM 可以在一个设计中与 imxrt1062 接口 你好 我正在使用 IMXRT1062 控制器设计新产品。我已经与 SRAM 连接并验证它正在工作。我现在还计划与 SDRAM 接口,以便可以根据需要访问 SRAM 和 SDRAM。 是否可以使用 IMXRT1062 与 SRAM 和 SDRAM 连接? i.MXRT 106x 回复:SRAM 和 SDRAM 可以在一个设计中与 imxrt1062 接口 你好@VishalAvg , 感谢您对 NXP MIMXRT 系列的关注! 是的,这可以通过 SEMC 来完成。SEMC 是一款针对高性能和低引脚数而优化的多标准存储器控制器。它可以通过共享地址和数据引脚在同一应用中支持多个外部存储器。支持的接口包括 SDRAM、NOR 闪存、SRAM、NAND 闪存和 8080 显示接口。 此致, 加文
查看全文
How can I get a new S32DS_Power_Win32_v2017.R1 activation code? when I install the software,can't active it,the tip is :Error sending an activation request to a remote activation server and processing theresulting response. License can not be generated, it is already expired.How can I get a new activation code? Activation | Installation | Licensing | Installer Download Re: How can I get a new S32DS_Power_Win32_v2017.R1 activation code? Thank you Re: How can I get a new S32DS_Power_Win32_v2017.R1 activation code? Hi, Your S32DS for PA license has been extended. Please activate S32DS again with your old code. 
查看全文
Download Safety Library for NXP Microcontroller Hi Everyone, I am trying to find the IEC60730 Safety Library for NXP MKE1xZ Series of Micro-controller. Earlier this was available as separate download, but recently as per the below mentioned link, this should be a part of the SDK Package. https://www.nxp.com/applications/enabling-technologies/functional-safety/iec-60730-safety-standard-for-household-appliances:APIEC60730 I downloaded the SDK version 2.16, but couldn't find it, can someone please help where can i find them? Freedom Development Platform Kinetis E Series MCUs Re: Download Safety Library for NXP Microcontroller Hi Thank you for your response. It's a bit confusing, if someone is working on MKE15Z, he/she will download the MKE15Z SDK, I hope in future version of SDK this is fixed and updated. Anyways thanks for your response, it helps alot. Re: Download Safety Library for NXP Microcontroller Hi, Thank you so much for your interest in our products and for using our community. For KE1xZ devices we have 4 evaluation boards: FRDM-KE15Z, FRDM-KE16Z, FRDM-KE17Z512 and FRDM-KE17Z. And just the FRDM-KE17Z512 has the IEC60730B Safety Library in the SDK version 2.16.000. However if you look for Middleware in MCUXpresso SDK Builder you can find all the SDKs that contains it. And for example, FRDM-KE15Z has this Middleware, but in SDK version 2.13.0: And apology for the confusion. And hope it helps you. Have a nice day!
查看全文