Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
SPC5743RMLU5 bsdl files Hi NXP Experts, I need bsdl files for SPC5743RMLU5, anybody can help me? Thanks. Re: SPC5743RMLU5 bsdl files Got! thank you for your quick response! Re: SPC5743RMLU5 bsdl files I am attaching requested files.
View full article
INTC error handling in MPC5744P Hello, Regarding the INTC, what happens when the timer - in register INTC_TIMERnC0 - exceeds the pre-defined max allowed latency in INTC_LATnC0 register for MPC5744P controller? In the reference manual, it says "an error will be signaled"..but do not say who signal the error? to whom is it signaled? how is it signaled? i.e., will it be signaled to FCCU for example, so the NCF[INTC] is set high? or it sets a bit in a specific register for example? Also, what happens to the timer in case the timer exceeds INTC_LATn or if the TIMERn reaches the maximum count? does it stay at latest value it reached, or is it set to zero again? Lastly, does FCCU have anything to do with INTC? i.e, does INTC send anything to FCCU in case of REAL faults in INTC, like when timer exceeds INTC_LATn or if the TIMERn reaches the maximum count? (i am not talking about fake error injection by FCCU here). Thank you. Re: INTC error handling in MPC5744P Hello, Regarding the INTC, what happens when the timer - in register INTC_TIMERnC0 - exceeds the pre-defined max allowed latency in INTC_LATnC0 register for MPC5744P controller? The Timer funciton is explained in the chapter 21.6.4.1.1 TIMERn of reference manual. Basically Timer just count until it reach maximum, so you SW can read it anytime. LAT is your compare threshold: i agree that the reporting mechanism is not explained in details here. INTC will signal it to the FCCU: Also, what happens to the timer in case the timer exceeds INTC_LATn or if the TIMERn reaches the maximum count? does it stay at latest value it reached, or is it set to zero again? It will hold the value or max. Timer is stopped if the action is taken (fault /interrupt) once it reach max value. Lastly, does FCCU have anything to do with INTC? i.e, does INTC send anything to FCCU in case of REAL faults in INTC, like when timer exceeds INTC_LATn or if the TIMERn reaches the maximum count? (i am not talking about fake error injection by FCCU here). Yes. There are physically lines from INTC to FCCU. Fake faults are injection fault to FCCU State machine, not to INTC. Best regards, Peter
View full article
Build sdk failed for libraries not found Hi     I couldn'd found the old topic with the same name. So I setup this again.     I tried to build sdk for imx8mm-evk, using command `bitbake -c populate_sdk imx-image-full`. But there is an error about qtpdf as follow picture          Hope could get someone help again here. Best regards Mingheng Re: Build sdk failed for libraries not found The sstate-cache is just a spot for yocto to consolidate packages that it checks before looking at mirrors. One way to speed up yocto builds with different configurations is to use a locally defined sstated-cache, but sometimes when doing so across several builds you can end up with multiple package versions that cause a similar problem. Fortunately, that is not the issue here.  Did Harley's link solve your issue? Regards, Clay Re: Build sdk failed for libraries not found Encounter-error-when-bitbake-qtwebengine  Regards Harvey Re: Build sdk failed for libraries not found Thanks for your reply It's a fresh yocto setup. OTOH, there is a folder named "sstate-cache", did you mean that? The configuration is in default. BTW, this issue was been repeated by another NXP employee and solved by adding some command in `local.conf` and `bblayers.conf` few days ago. But I forgot to markdown the modification and now I can not find that topic any more. Re: Build sdk failed for libraries not found Looks like you might be either missing some QT packages or having some versioning conflicts. If the goal is to just generate the SDK. Try building a smaller option without all the QT and machine learning. It'll build much quicker as well.  bitbake core-image-minimal -c populate_sdk Also is this a fresh yocto setup? Are you using a shared state cache? Regards, Clay
View full article
Implementing Phase Shift Change Along with Switching Frequency in eMIOS OPWFMB Mode Hi team, I am currently working on a project that involves using the eMIOS in the OPWFMB mode. My goal is to implement a control strategy where both the phase shift and the switching frequency can be dynamically adjusted based on real-time system requirements. While I have successfully configured the eMIOS module in OPWFMB mode for basic PWM generation, I am finding it challenging to synchronise and control the phase shift along with switching frequency variation. How can I dynamically introduce phase shift adjustments in OPWFMB mode while maintaining PWM synchronisation? Are there any recommended techniques or examples for implementing both these adjustments in a microcontroller with eMIOS capabilities? Thanks in advance! Re: Implementing Phase Shift Change Along with Switching Frequency in eMIOS OPWFMB Mode Solution for frequency + phase shift of PWM pulses:- 1. Set the eMIOS mode in OPWMB mode. 2. Use the eMIOS_Mcl function "Emios_Mcl_Ip_SetCounterBusPeriod" to change the frequency. Using the "Emios_Pwm_Ip_SetPeriod" to control the frequency will not work in OPWMB mode. 3. Use the eMIOS_Pwm function "Emios_Pwm_Ip_SetPhaseShift" to change the phase shift. Re: Implementing Phase Shift Change Along with Switching Frequency in eMIOS OPWFMB Mode Hi @_Leo_  Its been more than 2 weeks since I've asked about this. Please reply. Re: Implementing Phase Shift Change Along with Switching Frequency in eMIOS OPWFMB Mode Hi @_Leo_  Thank you for the reply.  But I require dual control of frequency as well as phase shift modulation of PWM signals. Can you please suggest any other peripheral apart from eMIOS that can achieve this type of control?  Or else, can you suggest me any microcontroller from NXP which is compatible for this type of dual control? Re: Implementing Phase Shift Change Along with Switching Frequency in eMIOS OPWFMB Mode Frequency modulation is only possible in OPWFMB. You could refer to the following training presentation to see how eMIOS modes work. Re: Implementing Phase Shift Change Along with Switching Frequency in eMIOS OPWFMB Mode Hi @_Leo_  Then how do I implement frequency modulation along with phase delay/shifting in the OPWMCB, OPWMB or OPWMT modes, that you mentioned? Re: Implementing Phase Shift Change Along with Switching Frequency in eMIOS OPWFMB Mode Hi, Thank you so much for your interest in our products and for using our community. Phase shift capability is not supported in OPWFMB. If you require phase shift feature you need to implement OPWMCB, OPWMB or OPWMT modes. For reference: Example S32K344 eMIOS DS3.5 RTD500 Hope it helps you. Have a nice day! Re: Implementing Phase Shift Change Along with Switching Frequency in eMIOS OPWFMB Mode @VaneB @joanxie @Senlent Please reply. Re: Implementing Phase Shift Change Along with Switching Frequency in eMIOS OPWFMB Mode @VaneB @Julián_AragónM @Senlent or anyone else from NXP, please reply. This is really urgent. Re: Implementing Phase Shift Change Along with Switching Frequency in eMIOS OPWFMB Mode @VaneB @Julián_AragónM or anyone else from NXP, please reply. This is really urgent.
View full article
eMIOS OPWFMB モードでのスイッチング周波数に伴う位相シフト変化の実装 こんにちはチーム、 私は現在、OPWFMBモードでeMIOSを使用するプロジェクトに取り組んでいます。私の目標は、位相シフトとスイッチング周波数の両方をリアルタイムのシステム要件に基づいて動的に調整できる制御戦略を実装することです。 基本的なPWM生成のためにeMIOSモジュールをOPWFMBモードで正常に構成できましたが、スイッチング周波数の変動に伴う位相シフトの同期と制御が困難であると感じています。OPWFMB モードで位相シフト調整を動的に導入し、PWM 同期を維持するにはどうすればよいか。これらの調整を eMIOS 機能を持つマイクロコントローラに実装するための推奨手法や例はありますか? よろしくお願いいたします! Re: eMIOS OPWFMB モードでのスイッチング周波数に伴う位相シフト変更の実装 PWMパルスの周波数+位相シフトのソリューション:- 1. eMIOSモードを OPWMB モードに設定します。 2.eMIOS_Mcl機能「Emios_Mcl_Ip_SetCounterBusPeriod」を使用して周波数を変更します。「Emios_Pwm_Ip_SetPeriod」 を使用して周波数を制御すると、OPWMBモードでは機能しません。 3.eMIOS_Pwm機能「Emios_Pwm_Ip_SetPhaseShift」を使用して、位相シフトを変更します。 Re: eMIOS OPWFMB モードでのスイッチング周波数に伴う位相シフト変更の実装 周波数変調はOPWFMBでのみ可能です。次のトレーニング プレゼンテーションを参照して、eMIOS モードがどのように機能するかを確認できます。 Re: eMIOS OPWFMB モードでのスイッチング周波数に伴う位相シフト変更の実装 @VaneB @joanxie @Senlent ご返信ください。 Re: eMIOS OPWFMB モードでのスイッチング周波数に伴う位相シフト変更の実装 @VaneB @Julián_AragónM @SenlentまたはNXPの他の誰か、返信してください。これは本当に緊急です。 Re: eMIOS OPWFMB モードでのスイッチング周波数に伴う位相シフト変更の実装 @VaneB @Julián_AragónMまたはNXPの他の誰か、返信してください。これは本当に緊急です。
View full article
在 eMIOS OPWFMB 模式下实现相移随开关频率的变化 大家好, 我目前正在从事一个涉及在 OPWFMB 模式下使用 eMIOS 的项目。我的目标是实施一种控制策略,其中相移和开关频率都可以根据实时系统要求动态调整。 虽然我已经成功将 eMIOS 模块配置为 OPWFMB 模式以生成基本 PWM,但我发现同步和控制相移以及开关频率变化具有挑战性。如何在保持 PWM 同步的同时在 OPFFMB 模式下动态引入相移调整?是否有任何推荐的技术或示例可用于在具有 eMIOS 功能的微控制器中实现这两种调整? 提前感谢! 回复:在 eMIOS OPWFMB 模式下实现相移变化以及开关频率 PWM脉冲频率+相移的解决方案: 1. 将 eMIOS 模式设置为OPWMB模式。 2. 使用 eMIOS_Mcl 函数“ Emios_Mcl_Ip_SetCounterBusPeriod ”来改变频率。使用“ Emios_Pwm_Ip_SetPeriod”控制频率在 OPWMB 模式下不起作用。 3. 使用 eMIOS_Pwm 函数“ Emios_Pwm_Ip_SetPhaseShift ”来改变相移。 回复:在 eMIOS OPWFMB 模式下实现相移变化以及开关频率 频率调制仅在 OPWFMB 中可行。您可以参考以下培训演示来了解 eMIOS 模式的工作原理。 回复:在 eMIOS OPWFMB 模式下实现相移变化以及开关频率 @VaneB @joanxie @Senlent请回复。 回复:在 eMIOS OPWFMB 模式下实现相移变化以及开关频率 @VaneB @Julián_AragónM @Senlent或恩智浦的其他人员,请回复。情况真的很紧急。 回复:在 eMIOS OPWFMB 模式下实现相移变化以及开关频率 @VaneB @Julián_AragónM或 NXP 的其他任何人,请回复。这事确实很紧急。
View full article
Codewarrior Flash Programmer Icon Not coming in software Hi, I am using codewarrior Studio Qoirq LS series software to flash uboot on NOR flash, I am able to connect through code warrior TAP debugger but I am not able to use the flash programmer which is disabled in the software which I downloaded from NXP site. I have attached the JPEG image with red circle. I am not sure what I am missing here. Please help me. I am trying to flash the UBOOT(.PBL), combination of other binaries to Nor flash. red circle flash icon not workingred circle flash icon not working Thanks, Gopi Krishna M Re: Codewarrior Flash Programmer Icon Not coming in software Hi @gkrishna, Just to let you know that I working on your issue, When I have any update I will let you know Regards
View full article
Require guidance to create .wic image with my Customising image and dtbs Hi, Actually i am new to this community. I have a imx 8m quad dev kit. I have succesfully flashed the image using uuu tool. I have applied uuu uuu.auto file. It flashed the kernel-5.10.72 image to board through emmc. I have tried this link from yocto porting guide $ git clone https://source.codeaurora.org/external/imx/linux-imx. But there is no directory. Then i have downloaded manually and added my driver, device tree. Finally i have created the image, modules, dtbs using the make Image, make modules, make dtbs. Now i am facing difficulties, how to flash this customized one, where we need to place the files. Could you please direct me to the right direction? Please share any related document. Thanks. Regards, Kamalesh i.MX 8M | i.MX 8M Mini | i.MX 8M Nano Re: Require guidance to create .wic image with my Customising image and dtbs Okay. Thanks. Re: Require guidance to create .wic image with my Customising image and dtbs Please refer to the patch I provided in my previous post. Please continue to discuss the Linux driver porting problem in your new thread. Thanks. Re: Require guidance to create .wic image with my Customising image and dtbs Hi, Yes, I have given. I can able to see the kernel message driver succesfully loaded , after loaded the driver using insmod. But our driver is a universal one. There is no v4l2 registration is present in our driver. Whether this may be the reason for not creating video node? Regards, Kamalesh Re: Require guidance to create .wic image with my Customising image and dtbs In Kernel configuration, please do the following modification, then rebuild Linux Kernel image. CONFIG_VIDEO_LT9211C=m => CONFIG_VIDEO_LT9211C=y In your current environment, please try to insert Kernel module for LT9211C manually with "insmod  *.ko". Re: Require guidance to create .wic image with my Customising image and dtbs Hi, I have created new forum. In my case, LT9211 bridge is using as lvds to mipi camera bridge. Thanks for your support. Regards, kamalesh Re: Require guidance to create .wic image with my Customising image and dtbs Please build LT9211 driver into Linux Kernel rather than building it as a Kernel module. In addition, please refer the this patch https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/Patch-for-LT9211-bridge-on-i-MX/ta-p/1685417 If your problem persists, would you please create a new thread to discuss you Linux Kernel driver porting? It's not related with images deployment.  Re: Require guidance to create .wic image with my Customising image and dtbs Hi, Please find the attachment of kernel configuration file. Thank you. Re: Require guidance to create .wic image with my Customising image and dtbs Hi, I am using Universal driver for LT9211 which I have received from vendor itself. Kernel configuation file means config.gz right? I will attach these file in my next one. Yes, I have added device tree details. &mipi_csi_1 { #address-cells = <1>; #size-cells = <0>; status = "okay"; port { mipi1_sensor_ep: endpoint@0 { remote-endpoint = <&lt9211c_mipi1_ep>; data-lanes = < 0 1 2 3 >; bus-type = <4>; }; csi1_mipi_ep: endpoint@1 { remote-endpoint = <&csi1_ep>; }; }; }; &i2c2 { clock-frequency = <100000>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_i2c2>; status = "okay"; lt9211c_mipi: lt9211c_mipi@2d { compatible = "lontium,lt9211c"; reg = <0x2d>; status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_csi1_pwn>; clocks = <&clk IMX8MQ_CLK_CLKO2>; clock-names = "csi_mclk"; assigned-clocks = <&clk IMX8MQ_CLK_CLKO2>; assigned-clock-parents = <&clk IMX8MQ_SYS2_PLL_200M>; assigned-clock-rates = <20000000>; csi_id = <0>; reset-gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>; mclk = <20000000>; mclk_source = <0>; port { lt9211c_mipi1_ep: endpoint { remote-endpoint = <&mipi1_sensor_ep>; }; }; }; }; Yes, Below I have given my procedure. 1) I have downloaded the linux-imx directory from github. 2) I have added my driver file(LT9211.c), Makefile and Kconfig files under /kernel/media/i2c/ and made configurations in menuconfig file. 3) I have modified or included my lt9211 details in /arch/arm64/boot/dts/freescale/ directory. (imx8mq-evk.dts file) 4) Finally i have compiled for image, modules, dtbs and drivers. 5) After this I have flashed the raw image.wic from Downloaded file of LF_v5.10.72-2.2.3_images_IMX8MQEVK.zip. 6) Then i have replaced the kernel(rootfs), Image and dts file. Thanks. Regards, Kamalesh Re: Require guidance to create .wic image with my Customising image and dtbs What Linux driver do you use in your Kernel? Would you please provide your Linux Kernel configuration file? Have you add the device node in dts file? Would you please describe your modification regarding Linux Kernel and dts in details? Re: Require guidance to create .wic image with my Customising image and dtbs Hi, Sorry for the late reply. Here I attached the boot log and Kernel log(dmesg). Please review and give comments. Regards, kamalesh Re: Require guidance to create .wic image with my Customising image and dtbs Yes, please also provide Linux Kernel booting up log. Re: Require guidance to create .wic image with my Customising image and dtbs I will create new thread for my current issue. Below is the procedure. I have flashed imx-image-multimedia-imx8mqevk.wic to my dev kit. As per your statement. I have mounted the mmcblk0p1 to one folder, then i have replaced my custome image(Image) and device tree9imx8mq-evk.dtb) in mmcblk0p1 mounted folder. I mounted the mmcblk0p2 in another folder, then i have replaced the customized kernel/* files. Finally umounted this mmcblk0p1 and mmcblk0p2 folder. Then sudo reboot. Are you asking my dmesg kernel messages? Regards, Kamalesh. Re: Require guidance to create .wic image with my Customising image and dtbs Would you please create a new thread to address your current problem? Please describe your modification for Kernel and dts in details. Please provide your Linux console log. Re: Require guidance to create .wic image with my Customising image and dtbs Hi yipingwang and bernhardfink, Thank you for the technical explanation. This forum will be useful for everyone. I have successfully replaced my custom BSP files in the i.MX8M Quad development kit. Could you please help resolve my doubts below? I have flashed the image imx-image-multimedia-imx8mqevk.wic and uploaded my driver as well as the device tree to the correct path. I checked lsmod, and only my driver is loaded. In the original DTS (DTB), my information is also present. However, the video node is not being created. There are already four default video nodes. My driver is a universal driver for my camera chip. Is a universal driver sufficient to create the video node? Please help me resolve these queries. Regards, Kamalesh Re: Require guidance to create .wic image with my Customising image and dtbs You could deploy your custom images to emmc with the following procedure on the target board. 1. Mount the formatted partition with this command: $ mkdir mnt $ sudo mount /dev/mmcblk0p1  mnt 2. Copy the your Image and *.dtb files to the mnt folder by using cp. The device tree name should be same as the original. Unmount the partition with this command: $ sudo umount mnt For Kernel module, please deploy them to rootfs partition. $ mkdir mnt $ sudo mount /dev/mmcblk0p2 mnt $ cd mnt Then copy Kernel modules to folder lib/modules/*/kernel/ Re: Require guidance to create .wic image with my Customising image and dtbs The SD card is just a good analogy to understand the situation on an eMMC. If you have a Linux PC and an SD card, you can program the SD card with the *.wic image like this: $ sudo dd if=*.wic of=/dev/sdx bs=1M && sync The wic file is a complete storage image, containg everything from the first to the last byte (a kind ISO file). So everything is written at once. You can now inspect the structure and the content of the SD card on your Windows or Linux PC: The boot image partition can be changed with low level utilities, the other two partitions have a file system (FAT and ext4) and can be changed easily form a Windows or Linux OS. The same would apply to an eMMC if you would be able to connect it to a PC. It's fixed to the i.MX 8M Plus, so you can see the 8M Plus as the Linux PC which allows you to work on these three partitions. What I do for example: I update my DTS file on the Linux PC and copy the resulting DTS file on a USB stick I boot Linux on the 8M Plus and connect the USB stick Replace the DTB file on the second partition with the new file from the USB stick You could do the same with the Linux kernel ( = Image). Updating things in the root fs is working in the same way until you run out of space on the partition. For example if you wnat to have a test video in the home directory, take one from a PC and transfer it to the root fs using a USB stick. In case you have no option to connect a USB stick, you could maybe realize a connection over ethernet. Updating things on the first partition is more complicated, if you renew one of the components there (for example the LPDDR4 training firmware), then you need to re-package all involved components using the imx-mkimage utility. Maybe you find one or the other interesting command in this article:  https://www.emcraft.com/som/imx-8m/booting-linux-from-emmc Regards, Bernhard. Re: Require guidance to create .wic image with my Customising image and dtbs Hi, I have checked in my imx8m quad dev kit. Two partition detected as your statement. I have to do the all procedure  in this development kit board right? Regards, kamalesh Re: Require guidance to create .wic image with my Customising image and dtbs As you mentioned previously, you have used UUU to program the pre-built .wic image to emmc on the target board. After booting up to Linux on the target board, you will find the following information after run command "fdisk -l" command. Disk /dev/mmcblk0: 29.12 GiB, 31268536320 bytes, 61071360 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x076c4a2a Device Boot Start End Sectors Size Id Type /dev/mmcblk0p1 * 16384 697957 681574 332.8M c W95 FAT32 (LBA) /dev/mmcblk0p2 704512 19152713 18448202 8.8G 83 Linux Re: Require guidance to create .wic image with my Customising image and dtbs Hi, I have connected my board with my host pc. I have done the dip switch as 1100 for detection. For lsusb, lsusb Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 003: ID 04f3:0c4f Elan Microelectronics Corp. ELAN:Fingerprint Bus 003 Device 002: ID 0408:4033 Quanta Computer, Inc. ACER HD User Facing Bus 003 Device 011: ID 1fc9:012b NXP Semiconductors i.MX 8M Dual/8M QuadLite/8M Quad Serial Downloader But, It did not detected as mmcblk0p1. what to do. I will clearly explain my position now. I have extracted the linux-imx directory from NXP github. I have compiled the image, modules, dtbs and root file systems as per my requirement. Now i want to merge these files and have to see camera video node created or not. Note:- I have compiled the linux-imx directory and created the rootfs in the name of 5.10.72-dirty. How to proceed? Thanks for your quick support. Regards, Kamalesh Re: Require guidance to create .wic image with my Customising image and dtbs If you are using emmc, you could did the above procedure on the target board. Please use /dev/mmcblk0p1 to replace /dev/sdx1  Please use /dev/mmcblk0p2 to replace /dev/sdx2 in the above procedure. Re: Require guidance to create .wic image with my Customising image and dtbs Hi yipingwang, Thanks for your quickly reply. Actually i have some doubts. I have extracted this LF_v5.10.72-2.2.3_images_IMX8MQEVK.zip. From this I have flashed the uuu.auto file using emmc. In this file, they have used imx-image-full-imx8mqevk.wic(which is kerenel 5). Can i use the same image for these procedure which received from you? Regards, Kamalesh Re: Require guidance to create .wic image with my Customising image and dtbs First of all, please deploy SD card with the following command. $ sudo dd if=*.wic of=/dev/sdx bs=1M && sync Please refer to the following procedure on your host PC to deploy your custom images. 1. Format partition 1 on the card as VFAT with this command: $ sudo mkfs.vfat /dev/sdx1 2. Mount the formatted partition with this command: $ mkdir mountpoint $ sudo mount /dev/sdx1 mountpoint 3. Copy the Image and *.dtb files to the mountpoint by using cp. The device tree names should match the one used by the variable specified by U-Boot. Unmount the partition with this command: $ sudo umount mountpoint For Kernel module, please deploy them to rootfs partition. $ mkdir /home/user/mountpoint $ sudo mount /dev/sdx2 /home/user/mountpoint $ cd /home/user/mountpoint Then copy Kernel modules to folder lib/modules/6.12.3-lts-next-g24e49103b666/kernel/ Please refer to section "4.3.5 Copying the kernel image and DTB file" in https://www.nxp.com.cn/docs/en/user-guide/IMX_LINUX_USERS_GUIDE.pdf
View full article
S32G-VNP-RDB3 - PCIe via card edge connector (P1) not working I'm trying to establish a PCIe connection via the PCIe card edge connector P1 on the S32G-VNP-RDB3 board. Regardless of jumper settings and U-Boot hwconfig settings, I am not able get this working. Has anyone been able to successfully get this working? The hardware design is suspicious, the differential pairs are connected with inverted polarity at the card edge connector: Re: S32G-VNP-RDB3 - PCIe via card edge connector (P1) not working Hi Chenyin, thanks, with your notes I got it working. I think the main issue was that I had to run the saveenv command after setting the hwconfig variable, and then rebooting! Cheers, Felix Re: S32G-VNP-RDB3 - PCIe via card edge connector (P1) not working Hello, @felixn  Thanks for your post. May I know which version RDB3 is used from your side? which version BSP is used during your test? I have tested it with my local RDB3(REVF) with BSP42, seems the PCIe device that connect to the P1 is fine. I suggest firstly setting the SW8 to OFF, then using the following hwconfig under U-boot: hwconfig=serdes0:mode=pcie,clock=ext;pcie0:mode=rc;serdes1:mode=pcie&xpcs1,clock=int,fmhz=100;pcie1:mode=rc;xpcs1_1:speed=2G5 After resetting the board, my PCIe device connected to P1(one e1000 network card) could be detected in Linux correctly: 0001:01:00.0 Ethernet controller: Intel Corporation 82572EI Gigabit Ethernet Controller (Copper) (rev 06) BR Chenyin
View full article
Windows 11 driver for Pagoda CLRD710 device Where can I find updated drivers for the CLRD710? It seems the latest ones does not work with windows 11 64 bit Intel Re: Windows 11 driver for Pagoda CLRD710 device Thank you for you reply, we have ordered the CLRD730 Re: Windows 11 driver for Pagoda CLRD710 device Hello @ffrumento, Hope you are doing well. Please consider that this is an old device and the drivers may not have received more updates. The available driver for Pegoda RD710 can be found in PEGODA Contactless Smart Card Reader based on MFRC523 product page, under Software section. If possible, I will recommend you using the PEGODA Contactless Smart Card Reader Based on PN7642. Regards, Eduardo.
View full article
Pagoda CLRD710デバイス用のWindows11ドライバー CLRD710の更新されたドライバーはどこで入手できますか?最新のものは Windows 11 64 ビット Intel では動作しないようです 日時:Pagoda CLRD710デバイス用のWindows 11ドライバ ご返信いただきありがとうございます、ご注文いたしましたCLRD730
View full article
S32K344T172 Clock not working in example MBDT projects While learning to use a S32K344 evalboard with Simulink MBDT I've stumbled upon a problem concerning projects with a clock output ("s32k344_clockout_s32ct","s32k3xx_i2c_async_23st", "s32k344_spi_async_interr_master_ebt", and other..). The main problem is that there is no clock output on any pin, and with lack of the clock output there was also no data signal on MOSI and CP pins of the SPI and SDA of the I2C). Hardware-wise the evalboard works well since the clock seems to work when example codes of SPI, I2C and clock out of the NXP_S32 SDK are uploaded to the board. Are there any additional settings and conifgurations possibly missed in order for the example projects of the MBDT to work on the S32K344EVB-T172? Re: S32K344T172 Clock not working in example MBDT projects Hi @dragostoma , Thank You for the help and the clarification. I've marked your first reply as the solution to the problem. I still have a problem concerning the Pin MSCR values since I am unable to set a proper value based on the S32K344 pinout spreadsheet but I will leave this question for another post. Cheers! Re: S32K344T172 Clock not working in example MBDT projects Hi, @ErwinR, I'm glad to hear that you managed to build the model and it works correctly. The problem you are encountering now is because the MSCR you are trying to set is not available in the S32K344-Q172 variant. As suggested in the error, the range should be 0-160. The S32K344-Q257 and S32K344-Q172 refer to the same S32K344 microcontroller, but in different package variants: - S32K344-Q257 -> 257 pins (BGA package) - S32K344-Q172 -> 172 pins (LQFP package) The number after "Q" represents the total pin count. The difference in pin count affects the number of available I/O ports, peripherals and other external connections.  I recommend that you consult the schematic file for the board you want to use and set the pins accordingly. Best regards, Dragos Re: S32K344T172 Clock not working in example MBDT projects Hi @dragostoma , By my mistake I instantly changed the hardware settings to the S32K344-172 which then removed trhe actual settings for the examle. After redownloading the project it happens to work on the evalboard. Although, I wanted to change the settings to the S32K344-172 by using the "package switch" option in the Configuration Tool. All the settings managed to transfer well except for the port settings, where some port pin MSCR values were highlighted with an error.       I happen to be unable to assign any other value to those ports without it giving me another error of the values being repeated.. Re: S32K344T172 Clock not working in example MBDT projects Hi, @ErwinR, Thank you for your interest into Model-Based Design Toolbox for S32K3. First of all, let's clarify a few aspects about the models you mentioned. The s32k344_clockout_s32ct model example's primary purpose is to verify that the MCU's internal clock (160 MHz Core Clock) is correctly set up, prescaled down to a measurable frequency (10 MHz), and routed externally to pin PTD14 for verification using an oscilloscope. Simultaneously, a simple LED indication confirms successful program deployment and execution.  On the other hand, clock routing for other peripherals, such as those you mentioned (SPI, I2C) is done depending on the particularities of each component (detailed information can be found in the S32K3xx Reference Manual - Clocking chapter). Below you will find all the clocks configured in the default project for your board:   For example, the clock corresponding to the SPI component is routed to AIPS_SLOW_CLK, as that is how it is defined for this hardware board.   I hope this brief overview helps guide you in understanding how it works and where you can find more information. Back to your case, I would like you to be more specific about the problem you are encountering, what exactly is not working and maybe you can help us with an archive of the model you are trying to use, so we can help you more easily in solving and understanding the problem. From what I understand, you are unable to run the s32k344_clockout_s32ct model correctly. Keep in mind that this model has a custom configuration for the S32K3X4EVB-Q257 hardware board, which means that a custom .mex file is associated with this model. If you modified the hardware settings of the S32K344-Q172 part to use your board, this resulted in overwriting the .mex file with the custom configuration, and bringing in the default configuration for the S32K344-Q172. Thus, the custom settings were lost and the functionality of the model is no longer the same. Thus, custom settings were lost, including the specific CLKOUT pin, and the functionality of the model is no longer the same.   A small overview of custom and default configuration projects: In the toolbox you will find models that come with custom configuration projects, indicated by the inclusion of the Tresos folder (e.g. s32k344_spi_async_interr_master_ebt_TresosProject) or by the inclusion of the mex file (e.g. s32k344_clockout_s32ctConfig.mex). These models have specific functionalities strictly for the board mentioned in the help file, as they have some hardware peculiarities. On the other hand, the other projects that do not have an associated configuration project (e.g. s32k3xx_i2c_async_s32ct), both when opening the model and when changing the hardware part setting, a default configuration project will be created based on the hardware part selection. That is why you will find some models called s32k3xx, because they address several boards, having similarities in terms of hardware. However, if you change the hardware part of a custom configuration model, the associated custom configuration project will be overwritten with the default one, based on the new hardware part selection. Thus, the functionality changes and no longer returns the same results. I hope this helps you solve the problem. If you have any further questions, don't hesitate to contact us. Best regards, Dragos  
View full article
宝塔CLRD710设备的Windows 11驱动程序 在哪里可以找到 CLRD710 的更新驱动程序?似乎最新版本不适用于 Windows 11 64 位英特尔 回复:适用于宝塔 CLRD710 设备的 Windows 11 驱动程序 谢谢您的回复,我们已经订购了CLRD730
View full article
MM9Z1I638を使用してセーフモードを開くことについて質問があります MM9Z1I638を使用してセーフモードを開く方法について質問があります。マニュアルを読んで、FSECレジスタを使用してセーフモードを開くことを学びましたが、このレジスタは直接書き込みをサポートしていないようで、FLASHプログラミングで書き込む必要があります。書き込まれるアドレス セグメントは P_FLASH ブロックの 0xFF_FE0F バイトで、 P_FLASHは512バイトです。セクタの消去、セクタの検証、セクタの書き込みのプロセスに従ってバイトを書き込んだのですが、セクタを消去するたびにソフトウェアが不正な場所に走ってしまうことがわかりました。確認した後、このセクターに保存されているすべての情報が加算であることがわかりました Re:MM9Z1I638を使用してセーフモードを開くことについて質問があります こんにちは、lama あなたの例をありがとう
View full article
S32K344T172 MBDT プロジェクトの例では時計が機能しない Simulink MBDTでS32K344評価ボードの使用方法を学んでいるときに、クロック出力(「s32k344_clockout_s32ct」、「s32k3xx_i2c_async_23st」、「s32k344_spi_async_interr_master_ebt」など)を含むプロジェクトに関する問題に遭遇しました。主な問題は、どのピンにもクロック出力がなく、クロック出力がないため、I2CのSPIおよびSDAのMOSIピンとCPピンにもデータ信号がないことです。ハードウェア的には、SPI、I2C、および NXP_S32 SDK のクロック アウトのサンプル コードがボードにアップロードされるとクロックが機能しているように見えるため、評価ボードはうまく機能します。 MBDT のサンプル プロジェクトを S32K344EVB-T172 で動作させるために、見逃される可能性のある追加の設定や接続はありますか? Re:S32K344T172クロックがMBDTプロジェクトの例では機能していません こんにちは@dragostoma , 助けと説明をありがとう。私はあなたの最初の返信を問題の解決策としてマークしました。S32K344ピン配置スプレッドシートに基づいて適切な値を設定できないため、ピンMSCR値に関してまだ問題がありますが、この質問は別の投稿に残します。 乾杯!
View full article
我有一个关于使用 MM9Z1I638 打开安全模式的问题 我对使用MM9Z1I638打开安全模式有疑问。看了手册,知道了FSEC寄存器是用来打开安全模式的,但是这个寄存器好像不支持直接写,需要通过FLASH编程来写入。写入的地址段为P_FLASH块的0xFF_FE0F字节,支持的最小扇区大小 P_FLASH为512字节。我按照擦除扇区、校验扇区、写入扇区的流程写入字节,但是发现每次擦除扇区之后软件都会运行到非法的地方。检查后发现,这个扇区存储的所有信息都是地址 回复:我有一个关于使用 MM9Z1I638 打开安全模式的问题 你好,喇嘛,谢谢你的例子
View full article
I have a question about using MM9Z1I638 to open the safe mode I have a question about using MM9Z1I638 to open the safe mode. I read the manual and learned that the FSEC register is used to open the safe mode, but this register does not seem to support direct writing, and needs to be written through FLASH programming. The address segment written is 0xFF_FE0F bytes of P_FLASH block, The minimum sector size supported by P_FLASH is 512byte. I wrote bytes in accordance with the process of erasing sectors, verifying sectors and writing sectors, but found that every time after erasing sectors, the software would run to an illegal place. After checking, I found that all the information stored in this sector is the add Re: I have a question about using MM9Z1I638 to open the safe mode Hi,lama Thank you for your example Re: I have a question about using MM9Z1I638 to open the safe mode Hi, The security is described in detail: https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12-X-MCU-Security/ta-p/1111118 Yes different family but principle is the same. Some more info can be get from solution of https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12Z-Security/td-p/1646747 Also good article for backdoor key implementation (the implementation of sending the backdoor key to the MCU is really up to you. It can be also stored in the application sw and entire temporary unsecuring can be initialized by different action): https://community.nxp.com/t5/S12-MagniV-Microcontrollers/SW-example-of-Security-feature-with-Backdoor-Access-Key-option/ta-p/1104462 The security can be set only by programming a byte in the special field (Table 22-3. Flash Configuration Field) in the flash memory as it was described in the above mentioned link. Then the security is automatically set during reset. Such secured device is not debuggable and the only BDM mass erase command followed by programming a flash memory byte to unsecure state followed by reset can unsecure the device. Of course you can use Backdoor key access if necessary as described in the second link. So, for debugging purposes do nothing with the flash field where the source data for FSEC and FPROT is stored. For production simply use following, for example. main.c #include /* for EnableInterrupts macro */ #include "derivative.h" /* include peripheral declarations */ //set DFPROT and FSEC bytes in the flash () const unsigned char flash_array[] @0xFFFE08 = {0xFF,0xFF,0xFF,0xFF,0xFF,0x80,0xFF,0x7D}; //since DFPROT = 0x80 (DPOPEN=1, DPS[1:0]=00), //EEPROM protection will be disabled //since FSEC = 0x7D (KEYEN[1:0]=01, SEC[1:0]=01), //MCU will be secured and access trough backdoor key disabled. I also attached an example I found in the drawer of a colleague of mine. The code (Flash Configuration field setup) will be part of the S19 record and loaded into flash during production loading of the code. After first and all reset the device will be secured. Backdoor key is the only write to specific address the security key code which is compared with a code saved in a flash security field. There are more options how to do it. - the routine can be inside the application code and you initialize process by special defined process, for example, keybord, interrupt, .... - safer is to use some communication peripheral and send the code to the MCU together with internal recognition it is a backdoor code and then it is used for temporary unsecuring of the device. (for example, via can I'll send a command code "unsecure temporary" followed with "backdoor key data set" which will be processed and device unsecure till next reset) The flash write it is another story. The flash memory block which is currently E/W is not allowed to be read so the waiting for end of the command processing must be do in another memory. This in an example https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12Z-Flash-example-code/ta-p/1108954 Best regards, Ladislav
View full article
S32K344T172 时钟在示例 MBDT 项目中不工作 在学习使用带有 Simulink MBDT 的 S32K344 评估板时,我偶然发现了有关带有时钟输出的项目的问题(“s32k344_clockout_s32ct”,“s32k3xx_i2c_async_23st”,“s32k344_spi_async_interr_master_ebt”等......)。主要问题是任何引脚上都没有时钟输出,并且由于缺少时钟输出,SPI 的 MOSI 和 CP 引脚以及 I2C 的 SDA 上也没有数据信号。从硬件角度来看,评估板运行良好,因为当 SPI、I2C 和 NXP_S32 SDK 的时钟输出的示例代码上传到电路板时,时钟似乎可以工作。 为了使 MBDT 的示例项目能够在 S32K344EVB-T172 上运行,是否可能遗漏了任何其他设置和配置? 回复:S32K344T172 时钟在示例 MBDT 项目中不工作 你好@dragostoma , 谢谢您的帮助和澄清。我已将您的第一个回复标记为该问题的解决方案。我仍然对 Pin MSCR 值有疑问,因为我无法根据 S32K344 引脚排列电子表格设置适当的值,但我会将这个问题留给另一篇文章。 干杯!
View full article
Unable to run MBDT s32k3xx_dio_ebt example on S32K396-BGA-DC1 Evaluation Board Hello We recently bought a S32K396-BGA-DC1 Evaluation Board to evaluate S32K396 MCU for a future project. Since we will use Simulink models for application development, I'm trying to use the MBDT toolbox. I could install the toolbox without any issue, but i cannot run the s32k3xx_dio_ebt example. I think that I have set the correct target in model's parameters I'm using the "Open SDA" debugger fitted on the board. Jumpers J16, J17, J18 and J19 have been set accordingly. The board is connected through USB to my laptop (I have green LED lighting next to USB connector on the board). Model download parameters are set like this The model builds, but the process fails when Simulink try to load the code in the board Here is the content of the log GNU gdb (GDB src=g2b2d27aa26 bld=gd2333b8c -v s=GDB-12-1 -L64 -W32 Earm) 12.1 Copyright (C) 2022 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "--host=i686-mingw32 --target=arm-none-eabi". Type "show configuration" for configuration details. For bug reporting instructions, please see: <https://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from C:/Matlab/AddOn_2023b/Toolboxes/NXP_MBDToolbox_S32K3/S32K3_Examples/dio/s32k3xx_dio_ebt/s32k3xx_dio_ebt.elf... tcp:localhost:7224: Connection timed out. You can't do that when your target is `exec' By the way, when the error happens, a red LED turns on. Can someone help me with this ? Thank you Vincent Re: Unable to run MBDT s32k3xx_dio_ebt example on S32K396-BGA-DC1 Evaluation Board Hello @Vincent_91687  Glad to hear! I have just forwarded your additional thread to the S32 Design Studio team. Please let us know if there are any other issues you encounter while using MBDT for S32K3 Thank you, Irina Re: Unable to run MBDT s32k3xx_dio_ebt example on S32K396-BGA-DC1 Evaluation Board Hello Irina, It works ! I knew the the guide you gave me, but looking at the doc, it wasn't obvious to me that I must set those jumpers while using J1 12V power supply. Anyway, it's clear now that i was wrong By the way, just in case you may also help me with this, I have another case about S32K396 support package installation in S32 Design Studio: https://community.nxp.com/t5/S32K/Fail-to-install-S32K396-development-package-fails/m-p/2053684#M46329 Thank you very much for your help Best regards Vincent Re: Unable to run MBDT s32k3xx_dio_ebt example on S32K396-BGA-DC1 Evaluation Board Hello @Vincent_91687  Thank you for the attached images. What I notice is that J4, J6 and J7 on your board are in the 1-2 position, corresponding to the JP1 power source, as indicated on the S32K396-BGA-DC1 Connectors and Jumpers Description table which you could find at the following link  As currently, in your setup, there is no connection on the JP1, you would need to change the jumper positions to ensure the required voltage for the MCU. For this, and a complete step by step hardware setup, I would recommend you to take a look at the Getting Started with S32K396-BGA-DC1 Evaluation Board guide, for being able to setup your power source according to your hardware design, and configure properly all the necessary jumpers on the board. Please let us know if this helps, Irina Re: Unable to run MBDT s32k3xx_dio_ebt example on S32K396-BGA-DC1 Evaluation Board Hello Irina, Thank you for your efforts. When my board is only power supplied (USB not connected) through J1 connector, I have only D4 LED turned ON. D1, D2 and D3 remain off I have D30 LED on when USB cable is connected, even if J1 is not connected When both USB and J10 are connected, I still have only D4 and D30 turned ON. I'm trying to download the code in this state. As you can see, D2, D3, and D4 are always down. Is it an issue ? Thank you Best regards Vincent Re: Unable to run MBDT s32k3xx_dio_ebt example on S32K396-BGA-DC1 Evaluation Board Hello @Vincent_91687  Your download settings seem right, as you are choosing to download the code using JTAG, into the FLASH memory.  I have tried to run the example on my setup, and I would like to mention the steps that I have taken: - Powered the board via the 12V CON_1_PWR J1 connector, - Enabled the external power supply via SW10, by switching it to the 1-2 position (please note that J3 also needs to be placed in the 1-2 position according to the board's schematics) After performing these actions, the D1, D1, D3, D4 LEDs (MCU Power IN Indicators) should also be turned on.  Could you please let us know, if, after following these steps, besides the LED lighting next to the USB connector on the board, are the MCU Power IN Indicators also ON? Thank you, Irina Re: Unable to run MBDT s32k3xx_dio_ebt example on S32K396-BGA-DC1 Evaluation Board Hello Irina, Thank you very much for your help. I have changed the "Configuration Project Template" I have also downloaded and installed PE Micro drivers (and restarted my computer), but unfortunately it didn't fix the issue. Could you please confirm that my "Download" settings are correct ? I have noticed something interresting in the log after connection failure Does it means that the MCU is already running ? The board is brand new, so I guess there is no code to run in the flash Is there any jumper to set in order to tell the MCU to boot from the JTAG instead of flash ? Thanks again for your help Best regards Vincent Re: Unable to run MBDT s32k3xx_dio_ebt example on S32K396-BGA-DC1 Evaluation Board Hello @Vincent_91687  By taking a look at the error you are encountering, I think that the problem might be related to a missing PEmicro Hardware Interface Drivers installation. These drivers are necessary for being able to use the on-board OpenSDA debugger. Could you please check if these drivers are installed? If not, you could download and install them on your setup from the official PEmicro website. Moreover, if you are aiming to use the S32K396-BGA-DC1, you could select directly the default configuration project that we are providing for this board, as the S32K396-Q289 selection matches the BGA-DC version of the EVB. The configuration project delivered for S32K396-BGA-DC1 enables the peripherals, pins, and clocks, according to this board's hardware particularities, hence it might be useful to start from this one instead of the one already selected.   Please let us know if this helps or if further details are required from our side. Irina
View full article
S32K344闪存擦除周期寿命   #定义 FLS_MASTER_ID 0U #定义 FLS_BUF_SIZE 80U #定义 FLS_SECTOR_ADDR 0x00600000U #定义 FLS_SECTOR_TEST C40_CODE_ARRAY_0_BLOCK_2_S256   无效FlashWrite()  { /* 如果需要,解锁部门 */ 如果(STATUS_C40_IP_SECTOR_PROTECTED == C40_Ip_GetLock(FLS_SECTOR_TEST))     { C40_Ip_ClearLock(FLS_SECTOR_TEST,FLS_MASTER_ID); }   /* 擦除扇区 */ C40_Ip_MainInterfaceSectorErase(FLS_SECTOR_TEST,FLS_MASTER_ID); 做     { C40状态 = C40_Ip_MainInterfaceSectorEraseStatus(); } 当(STATUS_C40_IP_BUSY == C40Status)时; /* 检查作业结果 */ Fls_ExampleAssert(STATUS_C40_IP_SUCCESS == C40Status);   /* 写入数据 */ C40_Ip_MainInterfaceWrite(FLS_SECTOR_ADDR,FLS_BUF_SIZE,TxBuffer,FLS_MASTER_ID); 做     { C40状态 = C40_Ip_MainInterfaceWriteStatus(); } 当(STATUS_C40_IP_BUSY == C40Status)时; /* 检查作业结果 */ Fls_ExampleAssert(STATUS_C40_IP_SUCCESS == C40Status);   /* 将内存中的数据与TxBuffer进行比较 */ C40Status = C40_Ip_Compare(FLS_SECTOR_ADDR、FLS_BUF_SIZE、TxBuffer); /* 检查作业结果 */ Fls_ExampleAssert(STATUS_C40_IP_SUCCESS == C40Status);      }   我每 1 分钟调用一次此函数 FlashWrite(),并且 MCU 24 小时工作,因此考虑我将获得多少闪存寿命。另外请告诉我如何计算吗?   S32K344-WB 回复:S32K344闪存擦除周期寿命 亲爱的@lukaszadrapa和@narsimh_kamath,感谢你们提供的详细信息和计算。这正是我想要的。 回复:S32K344闪存擦除周期寿命 你好@lukaszadrapa ,谢谢。我注意到我们现在支持 S32K3(V1.6.0)的最新 MBDT 中的 FEE。 您能否帮助分享一些关于估计某个用例是否可行的计算见解(就 S32K3 的 Flash/模拟 EEPROM 规范而言)。 例如,如果我需要连续 15 年每天 24 小时每分钟写入 2KB 的数据,假设我能够使用 FEE 并能实施循环扇区方案,这是否可以支持?
View full article