Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
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
View full article
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
View full article
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
View full article
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.
View full article
S32G TSNの こんにちは、専門家 s32g399aとsja1110スイッチを使用していました。TSNのオン/オフの設定やCBSやその他のシェーピング機能の有効化など、TSN機能をどのように設定できますか。何か仕様はありますか?ありがとうございます。 日時:S32G TSN タンクはたくさんあります。
View full article
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
View full article
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バージョンを証明していただけますか?ありがとうございます。
View full article
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 显示接口。 此致, 加文
View full article
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. 
View full article
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!
View full article
Not able to mass erase/flash after running AN12255SW Flash Remap After running the example AN12255SW "Flash Remap Test" in MCUXpresso, I'm not able to reflash my RT106x. Also I'm not able to do a mass erase in order to reprogram again. I'm using an MCU-Link (LinkServer) debugger with MCUXpresso. Any attempt to program/mass erase shows that 0 SWD devices are connected, then I receive the following serial output when performing a mass erase: Executing flash operation 'Erase' (Erase flash) - Fri Jan 10 08:57:39 CST 2025 Checking MCU info... Scanning for targets... Executing flash action... MCUXpresso IDE RedlinkMulti Driver v11.10 (Jul 2 2024 19:33:51 - crt_emu_cm_redlink.exe build 741) ( 0) Reading remote configuration Wc(03). No cache support. Found chip XML file in C:/Users/.../workspace/flash_remap_test/Debug\MIMXRT1062xxxxA.xml ( 5) Remote configuration complete Reconnected to existing LinkServer process. Connecting to probe 1 core 0 (using server started externally) reports: 'Ee(42). Could not connect to core.' Retrying... Reconnected to existing LinkServer process. Server OK but no connection to probe 1 core 0 (after 3 attempts) - Ee(42). Could not connect to core. ============= SCRIPT: RT1060_connect.scp ============= RT1060 Connect Script DpID = 0BD11477 Error: Wire Ack Fault - target connected? Error: Wire Ack Fault - target connected? Disabling MPU Error: Wire Ack Fault - target connected? Error: Wire Ack Fault - target connected? Configure FlexRAM for 768KB OC RAM, 128KB I-TCM, 128KB D-TCM Error: Wire Ack Fault - target connected? Error: Wire Ack Fault - target connected? Error: Wire Ack Fault - target connected? Finished ============= END SCRIPT ============================= Failed on connect: Ee(42). Could not connect to core. No connection to chip's debug port (100) Target Operation Failed Unable to perform operation! Command failed with exit code 1 I've encountered problems reflashing before, but usually this is solved by erasing the chip and then programming again.. is there a way to recover from this and test AN12255SW again? Thanks i.MXRT 106x Re: Not able to mass erase/flash after running AN12255SW Flash Remap Hi @schafbo  Thank you for letting us know! I am glad that you can keep developing.  Diego Re: Not able to mass erase/flash after running AN12255SW Flash Remap Nevermind, I see that LPUART1 is used. After setting the boot mode pins I was able to set the MCU into serial download, then reset and program again. Thanks! Re: Not able to mass erase/flash after running AN12255SW Flash Remap Diego, I'm not using an eval board, but the boot mode pins can be set to serial download with some effort. I am using the process outlined in the doc "Recover_RT1064". Is there a specific UART line on the MCU that I need to use, or it can work with any of them? Re: Not able to mass erase/flash after running AN12255SW Flash Remap Hi @schafbo  Have you tried an erase when the MCU is in serial  downloader mode? If SWD keeps failing, please try to do a recover using MCUXpresso Secure Provisionining Tool, this tool sends erase commands over UART/USB. Please let me know your results.  Diego 
View full article
Getting started with LPC1778FBD208 Hi Expert, Im using LPC1778FBD208 with 208 pin numbers. Im using pin 59 to blink LED. Currenlty using Keil IDE and managed to works on GD32 MCU. Can you guide me how to build in project for LPC in Keil. Im very appreciate if you can share me the full project sdk. I just need to open, build & flash. Im using CMSIS-DAP to flash the code. Thanks in advanced. Re: Getting started with LPC1778FBD208 Hi @aus_swsol  Sorry, we have reported the download issue to our website team and will resolve it as soon as possible so that you can download the resources. BR Harry Re: Getting started with LPC1778FBD208 Hi Harry, Kindly please attach KEIL project with example using LPC1778FBD208 CMSIS & standard library for me to get startup with. Thanks in advanced. Re: Getting started with LPC1778FBD208 Hi @aus_swsol  Sorry, our LPCopen official website has some issues, we will resolve this problem as soon as possible. https://github.com/openxc/nxp-cdl/tree/master This code is not officially maintained by us. So I still suggest that you import keil examples from LPCopen. BR Harry Re: Getting started with LPC1778FBD208 *additional reply other problem:- 1) the LED to blink also was wrong. below is my code, but the LED that blink is at P2[27] which is pin 47. i want to blink led at P2[18] which is pin 59. 2) i need to enter debug mode, run debug mode. then  exit the debug mode to make it run. why? if i reset power, the board doesnt blink pin 47. thanks in advanced Re: Getting started with LPC1778FBD208 Hi Harry, This is what happened when I clicked Can you please provide me the latest stable SDK with example for LPC1778FBD208? Im using Keil. currently my solution is using the library from this github. Im not sure this is official stable version or not. https://github.com/openxc/nxp-cdl/tree/master Lib I used was from these two folder and managed to blink the LED. CMSISv2p00_LPC177x_8x LPC177x_8xLib However, I need a full example for these library to fast plot my project. Thanks in advanced Re: Getting started with LPC1778FBD208 Hi @aus_swsol  You can access to the NXP lpcopen website LPCOpen Software for LPC17XX | NXP Semiconductors And download the lpc1788 Keil packet. You can modify the project according to your needs based on this Keil project. BR Harry
View full article
i.MX93 Linux OCRAMを共有メモリとして こんにちは 私はimx93、非セキュアで作業しています。 これが私の問題です:私はlinux a55とm33の間の共有メモリとしてocramを使用したいと思います。 私はLinuxユーザースペーステストプログラムとm33テストプログラムの両方を持っていますが、どちらもocramにアクセスできますが、最初の96KB(20480000 - 20497ff)だけです。もっと手に入れることはできますか?フル640KB? Linux テストプログラムは 0x20480000 で mmap を使用します。バスが0x20498000以上になるとバスエラーが発生します。 注:私はetosuやrpmsgをまったく使用しません。 Linuxはocramをどのように使用しますか?96KBを640KBに増やすことはできますか? 感謝 クリス
View full article
i.MX93 Linux OCRAM as shared memory Hello I'm working with an imx93, non-secure. Here's my problem: I want to use ocram as shared memory between the linux a55 and the m33. I have a linux user space test program and an m33 test program that can both access the ocram, but only the first 96KB (20480000 - 20497fff). Can I get more of it? The full 640KB? The linux test program uses mmap at 0x20480000. It gives a bus error if it goes at or above 0x20498000. Note: I won't be using the ethosu or rpmsg at all. How does linux use ocram? Can I increase the 96KB to 640KB? Thanks Chris Re: i.MX93 Linux OCRAM as shared memory Hi You can try to modify ocram permission settings in ATF:plat/imx/imx93/trdc_config.h Add more memory blocks in trdc_n_mbc, 0-5 means six memory blocks(6*16KB=96KB), you need add more. Best Regards Zhiming
View full article
RTM Date of FRDM-IMX93 Hi IMX93 Champ  Can you please let us know when the FRMD-IMX93 evk would be available from the market?  Let us know RTM date of FRDM-IMX93. Customers are ready for placing order. Thanks. Regards,  JK Re: RTM Date of FRDM-IMX93 Thanks a lot for your kind answer. Re: RTM Date of FRDM-IMX93 Hi @JK_Cha  You can order this board from below link now FRDM i.MX 93 Development Board | NXP Semiconductors Regards Daniel
View full article
S32G3 GMAC0 and PFE_MAC1 SGMII mode Hello, If I configure GMAC0 and PFE_MAC1 to use SGMII (1G), does that mean both interfaces will utilize SerDes pins for external communication, allowing their respective dedicated pins (e.g., gmac_tx0, gmac_tx1, etc.) to be reassigned to other interfaces? Additionally, if GMAC0 is configured for SGMII, can I still use the GMAC_PPS pin for PPS output? Similarly, if PFE_MAC1 is set to SGMII, can I still connect its PPS pin to another module? Thanks, XD Re: S32G3 GMAC0 and PFE_MAC1 SGMII mode Thank you for the explanation, Celeste! Thanks, XD  Re: S32G3 GMAC0 and PFE_MAC1 SGMII mode Hi @XD , Thank you for your answer. As per your questions: [Q1]: If I configure GMAC0 and PFE_MAC1 to use SGMII (1G), does that mean both interfaces will utilize SerDes pins for external communication, allowing their respective dedicated pins (e.g., gmac_tx0, gmac_tx1, etc.) to be reassigned to other interfaces? [A1]:Given that you are designing a customized board, I recommend you refer to the document "User guide S32G3 Hardware Design Guidelines". S32G3 has two SerDes instances, each SerDes instance has a mux option between PCIe and SGMII. The following mux option can be chosen on the SerDes channels. In addition, I have checked the S32G3 IOMUX Sheet. Regarding your question, I believe it is correct. [Q2]: Additionally, if GMAC0 is configured for SGMII, can I still use the GMAC_PPS pin for PPS output? Similarly, if PFE_MAC1 is set to SGMII, can I still connect its PPS pin to another module? [A2]: Likewise, the answer is yes. For more details, you can refer to Chapter 53 SerDes Subsystem of the S32G3 Reference Manual. The S32G3 SerDes Subsystem Reference Manual is also recommended. I hope the above answers can solve your confusion. Best regards, Celeste Re: S32G3 GMAC0 and PFE_MAC1 SGMII mode Hi Celeste, Thank you for your response. We are designing our own board, using the RDB3 reference design as a reference. Our plan is to configure both GMAC0 and PFE_MAC1 to operate in SGMII mode. Thanks, XD Re: S32G3 GMAC0 and PFE_MAC1 SGMII mode Dear @XD , I apologize for the late response. I would like to know whether you are using the reference board or a customized board. The answers to your questions may vary depending on this. Best regards, Celeste
View full article
S32K311_LPUART1_LIN_CLOCK Hi, I'm trying to use LPUART0 and LPUART1 to read two LIN transcievers via LPUART_LIN peripheral. As per Uart0 everything is running smooth but for UART1 I have a question regarding the UART clock. In the reference manual, you state that in s32k311 UART0 and UART1 is clocked by AIPS_PLAT_CLK that in my case is set to 60MHz. Meanwhile, in the procesor expert window for s32k311, I see that LPUART1 is set to AIPS_SLOW_CLK that is set to 30MHz.  When I set up the peripheral it takes the 30MHz clock, but analyzing protocol traces I do think its actually going at 60 MHz since with the same baudarate setting as in UART0 I can recieve LIN Slave RX messages with all the data but I cannot send TX message when a header is sent by the master. Can this be an error ? Thanks for the support ! Re: S32K311_LPUART1_LIN_CLOCK I'm afraid there is no such document, and the RTD of a project cannot be updated. I would recommend that you install a new instance of S32DS IDE 3.5 in a new directory. Then, install RTD 5.0.0 in the new IDE only while keeping the old project and RTD 3.0.0 in the older IDE installation. Once the RTD 5.0.0 project is configured, copy your custom code. Regards, Daniel Re: S32K311_LPUART1_LIN_CLOCK Btw, do you have any documentation regarding the upgrade of RTDs of a project ? It would be helpful to avoid chaos on when migrating from one update to the other. Thanks ! Re: S32K311_LPUART1_LIN_CLOCK Hi, I'm using RTD 3.0.0, so makes sense that a further update has fixed this. Apologies for the inconvenence, I'll download the last RTD.  Thanks ! Re: S32K311_LPUART1_LIN_CLOCK Hi @arnau_sastre_doga, You did not specify the RTD version. But the newest RTD 5.0.0 is correct.
View full article
I cannot get a Position Independent Executable (PIE) for S32K3 I’m trying to get a position independent executable (PIE) for simple embedded application (led blinking) that uses SDK. The application runs on EVB equipped with S32K311. I’m using IDE S32DS 3.5 and I’ve set the gcc  option -fPIC, -fPIE  for compiler and -pie for the linker and I’ve modified the linker script in order to place the got table. However the generated executable doesn’t work as PIE. It means that if I try to load it in an address other than the one for which it was built, it doesn’t work anymore. In order to investigate the issue, I did some analysis about the generated .elf file with readelf commands. Following I summarize the results: File Type is “EXEC” (Should be type “DYN”?) Entry point address is an absolute address while an offset is expected On the other hand, I’ve found some features related to a PIC/PIE executable: In the Program Header there is a dynamic interpreter: INTERP         0x011140 0x00401140 0x00401140 0x00011 0x00011 R   0x1       [Requesting program interpreter: /usr/lib/ld.so.1] Section FLAGS_1 value: PIE Section .rel.dyn exists and contains several items (more than 300) type R_ARM_RELATIVE Section .got present Can anyone help me to understand what is the problem? Why the executable .elf is not "DYN" although the -fPIC, -fPIE -pie  options have been set in the IDE? Is the Type "DYN" really mandatory instead of "EXEC" to be a position independent executable? In attached the .elf file. Furthermore, why I cannot find the options -fPIC -fPIE neither in the makefile (automatically generated) nor in the relative .args file? While -pie is present in .args file I can find -fPIC -fPIE only in .cproject file. So, are those options really applied? In attached you can find my whole project. I also tried to set the -shared option, but it doesn't affect the .elf file. Note: I've already had a look at the picExample: EXAMPLE S32K144 Position Independent Code - NXP Community  but there are some differences: it refers to a previous IDE version, different micro family (S32K1xx)and the used application is without SDK. Many thanks in advance for supporting. Re: I cannot get a Position Independent Executable (PIE) for S32K3 Hi @VaneB, yes, normally I would like to include RTD in my application(s), however the threads you've shared could be useful. Thank you very much for the information. Best Regards FabrikSal Re: I cannot get a Position Independent Executable (PIE) for S32K3 Hi @FabrikSal  According to the software team, the RTD driver has not been verified with the PIC and is not intended for integration with it. However, if RTDs are not part of your plans, you may find helpful information in the community threads where this topic has been discussed. What are the Steps after activating Position Independ Code (PIC) for A/B Swaping? How to create flash driver for S32K3xx as independent position code Re: I cannot get a Position Independent Executable (PIE) for S32K3 Hi @VaneB Ok, it's clear. Instead, does the example related to S32K144 built in S32DS ARM 2.2 tools (https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/EXAMPLE-S32K144-Position-Independent-Code/ta-p/1102520) work in embedded application without OS? in case yes, is there any reason why this feature has not been ported to S32K3XX platform and S32DS 3.5? Thank you very much for supporting. Best regards FabrikSal Re: I cannot get a Position Independent Executable (PIE) for S32K3 Hi @FabrikSal  Based on the information provided by our internal team, the functionality you are requesting will not work without an operating system that supports it. As previously mentioned, this feature is typically related to Linux OS and is generally used in the development of desktop applications running under such an OS environment. Unfortunately, we do not have any additional information, resources, or documentation available for this specific application. Therefore, the implementation and functionality of the feature will be entirely dependent on your own development and how you choose to implement it within your system. Re: I cannot get a Position Independent Executable (PIE) for S32K3 Does it mean that IDE S32DS 3.5 actually cannot generate a PIE executable for S32K3XX, or simply that there is no available example for it? In the last case, any answer to my different questions could be useful in continuing to investigate the issue on my own. Thank you! FabrikSal Re: I cannot get a Position Independent Executable (PIE) for S32K3 Hi @FabrikSal  While PIE is commonly used in general-purpose computing environments (e.g., Linux), its application in embedded systems or microcontroller development is less frequent due to the constraints of these environments. Unfortunately, we do not have a working example for creating a Position-Independent Executable (PIE) in this context. BR, VaneB
View full article
S32K396 DIO Config not working Hello, I am using S32K396-BGA-DC1 board, with Simulink in matlab2024a. After solving this topic S32K396-DIO-from-example-LED-D34 I want to configure two more DIO pins as outputs. The thing is that the new configured pins PTC30 & PTD6 that are on the FlexIO pinout are not working for me. I may be missing something in the configuration but I don't know what else to touch. Can you please help me with this issue, I attached the modified project. Thanks, Agustin. Re: S32K396 DIO Config not working Hi, @agus_idiada, I'm glad to hear that you solved the previous issue related to the custom project selection. Now referring to the pins problem, I highly recommend you check out the following Community thread, where the Port - Pins tabs connection is explained. I took a look at the attached application, and I can say that you correctly configured the PTD6 and PTC30 pins in the Dio tab. Moreover, the pins are correctly set in the Pins tab too, under the Dio_Pins_MBDT functional group. But what I think your application configuration is missing are the settings in the Port tab. Based on the above thread where the Port and Pins correlation is detailed, you must configure the desired pins in the Port tab too. After correctly set the pins, you should be able to use them in your application project. Hope this helps, Dragos
View full article
S32k314 Program Flash P/E cycle Hi Community, whats the assured P/E cycles for program flash of S32k314? from datasheet i could get these numbers.  But the program flash of this MCU is 128KB right? then will it have 100,000 P/E cycles or 1000? It is not shown in the table.  In Davinci configurator MCAL configuration i see it shows 1000, but this is for 1MB and 2MB flash blocks right? which is the Code flash right? Re: S32k314 Program Flash P/E cycle thanks Robin for the information and suggestion. That answers my question Re: S32k314 Program Flash P/E cycle Sorry, I am not familiar with MCAL. The data flash of this MCU have 100,000 P/E cycles. But the program flash is 1MB which have 1000 P/E cycles. I am not sure whether this parameter is for data flash or program flash. In addition, S32K3 RTD 2.0.x is too old. It is recommended to use the latest version such as S32K3 RTD 5.0.0 Re: S32k314 Program Flash P/E cycle Hi Robin, thanks for the reply, we are using MCAL version SW32K3_RTD_4.4_2.0.2. i see this parameter under FLS, flash driver. its actually specified within MCAL/RTD delivery -  i'm not sure if this value is really 'used'.   Re: S32k314 Program Flash P/E cycle Sorry I am not familiar with Davinci configurator, please take a screenshot and tell me under which component I see this information. Also, which version of S32K3 RTD are you using? Re: S32k314 Program Flash P/E cycle Hello Robin, thank you for answering my question. I understand now. Then the value of 1000 specified here (taken over from MCAL) is wrong right? Re: S32k314 Program Flash P/E cycle Hi  The Data Flash Memory is a block of 256 KB but 128 KB is reserved to the HSE and this region is protected by hardware. So it have min 100,000 P/E cycles. Best Regards, Robin ------------------------------------------------------------------------------- Note: - If this post answers your question, please click the "ACCEPT AS SOLUTION" button. Thank you! - We are following threads for 7 weeks after the last post, later replies are ignored Please open a new thread and refer to the closed one, if you have a related question at a later point in time. ------------------------------------------------------------------------------- Re: S32k314 Program Flash P/E cycle sorry i meant Dataflash not program flash
View full article