Multi Source Translation Content

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Multi Source Translation Content

ディスカッション

ソート順:
imx8qm MEK CPU 板中的 GIC 内存映射 我对理解 GIC-500 IC 中的 ITS 地址有些困难。 在imx8qm参考手册中,我得到GIC映射到0x51a00000中的信息。然后检查GIC-500的内存映射,我假设ITS内存映射地址是0x51a20000。但是,当我尝试从 ITS 访问一些寄存器时,执行停止了。 我检查了一些设备树,一些区域被映射到0x52000000地址的中断控制器节点中。也许这就是 ITS?参考手册中没有关于该地址的信息。 你能帮助我理解正确的 ITS 基址吗?
記事全体を表示
GIC memory map in the imx8qm MEK CPU board I am having some difficulties understanding the address of the ITS in the GIC-500 IC. In the imx8qm reference manual, I get the information that GIC is mapped in the 0x51a00000. Then checking the memory mapping of the GIC-500, I assume that the ITS memory map address is 0x51a20000.  However, when I try to access some registers from the ITS the execution stops. I checked some device trees, and some regions are mapped in the interrupt controller node at the 0x52000000 address. Maybe this is the ITS? There's no information about this address in the reference manual. Can you help me understand the correct ITS base address? Re: GIC memory map in the imx8qm MEK CPU board Hello @carloscs11  You can refer to imx8qm.dtsi to see the address of GIC (0x51a00000 as described in reference manual). I hope this can helps to you. Best regards, --... ...-- Salas.
記事全体を表示
基于PN7642的Pegoda智能卡读卡器 您好,先生, 我们可以获得 Pegoda 智能卡读卡器的固件源代码吗? 我们想设计一款基于读卡器的 Pegoda 智能卡读卡器。 此外,SDK 是否包括驱动程序、固件更新实用程序、编程接口指南和示例代码?操作系统为WIndows和Linux。 谢谢! 傅家俊 回复:基于 PN7642 的 Pegoda 智能卡读卡器 嗨,凯利, 谢谢。PN7642 本身的共享 SDK 和固件怎么样(不谈论 Pegoda)?我们想使用共享的 SDK 和固件,并想确保是否包含 USB。我检查了一下共享 SDK 中是否有 CCID 相关的示例代码,然后我猜是的。请帮忙确认一下。 谢谢! 傅家俊 回复:基于 PN7642 的 Pegoda 智能卡读卡器 关于PN7642可以支持的Linux版CCID驱动程序,您可以共享文件和链接吗? Ans:Linux下的CCID驱动是标准的,不需要单独提供。您可以自行安装。 回复:基于 PN7642 的 Pegoda 智能卡读卡器 你好@Eric12285 PN7642 是经过 NFC 论坛认证的解决方案。我可以检查一下认证配置中是否包含 USB 接口吗?网站上共享的固件是否涵盖了这一点? 答:Pegoda 3 经过 NFC Forum 认证,Pegoda3 是一款完整的独立产品,其中包含 USB。 回复:基于 PN7642 的 Pegoda 智能卡读卡器 抱歉,纠正我的问题。 PN7642 是经过 NFC 论坛认证的解决方案。我可以检查一下认证配置中是否包含 USB 接口吗?网站上共享的固件是否涵盖了这一点? 关于PN7642可以支持的Linux版CCID驱动程序,您可以共享文件和链接吗? 谢谢! 傅家俊 回复:基于 PN7642 的 Pegoda 智能卡读卡器 谢谢,凯利 PN7642 是经过 NFC 论坛认证的解决方案。我可以检查一下认证配置中是否包含 USB 接口吗?网站上共享的固件是否涵盖了这一点? 关于 CCID 接口协议,共享固件是否涵盖 Windows 和 Linux? 谢谢! 傅家俊 回复:基于 PN7642 的 Pegoda 智能卡读卡器 你好@Eric12285 Pegoda 智能卡读卡器的固件源代码不应提供给用户。但PN7642 SDK是开源的,您可以在产品页面下载。 具有高性能 NFC 读取器、可定制 MCU 和安全工具箱的单芯片解决方案 | NXP 半导体
記事全体を表示
how to check image CRC I have an image built using the MCUXpresso Secure Provisioning Tool. It's a plain image with a CRC, and the offsetToExtendedHeader field(address 0x00000028) contains the 4bytes CRC checksum value. Now, I want to check the CRC before writing it to flash. I tried to calculate it using these settings, but I cannot match the CRC with the offsetToExtendedHeader field. (ref: Kinetis Bootloader v2.0.0 Reference Manual) Is there any tool available to calculate the image CRC (like nxpimage and blhost)? Alternatively, where can I find more details about calculate the image CRC? Boot ROM|Booting | Flash MCXA 回复: how to check image CRC Hi Marek I found the Mbi_ExportMixinCrcSign function and the CRC algorithm in the nxpimage tool, which is part of SPSDK. Based on the above algorithm, I created a python program to verify the image CRC, and it works. Thanks for your support. Re: how to check image CRC Hi Victor, SEC tool uses SPSDK application nxpimage to build a CRC bootable image. You can see generated build script to find, how the nxpimage tool is used. See main menu > Help > SPSDK Online Documentation for nxpimage documentation. SPSDK is opensource, so you can find implementation details in GitHub.
記事全体を表示
imx8qm MEK CPU ボードの GIC メモリマップ GIC-500 ICのITSのアドレスを理解するのに苦労しています。 imx8qmのリファレンスマニュアルには、GICが0x51a00000にマッピングされているという情報があります。次に、GIC-500のメモリマッピングを確認すると、ITSメモリマップアドレスが0x51a20000と仮定します。しかし、ITS から一部のレジスタにアクセスしようとすると、実行が停止します。 いくつかのデバイスツリーを確認したところ、一部の領域は0x52000000アドレスの割り込みコントローラノードにマップされています。もしかしたらこれがITSでしょうか?リファレンス マニュアルには、このアドレスに関する情報はありません。 正しいITSベースアドレスを理解するのを手伝ってもらえますか?
記事全体を表示
Pegoda Smart Card Reader Based on PN7642 Hi Sir, Can we have a firmware source code of Pegoda Smart Card Reader? We'd like to design a reader based Pegoda Smart Card Reader. Also, is the SDK including driver, firmware update utility, programing interface guidance and sample code ready? The operating systems are WIndows and Linux. Thanks, Eric Fu Re: Pegoda Smart Card Reader Based on PN7642 Hi Kelly, Thank you. How about the shared SDK and firmware for PN7642 itself(not talking about the Pegoda)? We want to use the shared SDK and firmware and want to make sure if the USB is included. I guess yes after I check there is a CCID related example code in the share SDK. Please help confirm that. Thanks, Eric Fu Re: Pegoda Smart Card Reader Based on PN7642 About the CCID driver for Linux that can be supported by PN7642, can you share the file and link? Ans: The CCID driver under Linux is standard and does not need to be provided separately. You can install it yourself. Re: Pegoda Smart Card Reader Based on PN7642 Hello @Eric12285  PN7642 is an NFC forum certified solution. May I check if the USB interface is included in the certified configuration? And does the shared firmware on the website cover this? Ans: Pegoda 3 is NFC Forum certified, Pegoda3 is a complete standalone product, USB is included in it. Re: Pegoda Smart Card Reader Based on PN7642 Sorry, correct my questions. PN7642 is an NFC forum certified solution. May I check if the USB interface is included in the certified configuration? And does the shared firmware on the website cover this? About the CCID driver for Linux that can be supported by PN7642, can you share the file and link? Thanks, Eric Fu Re: Pegoda Smart Card Reader Based on PN7642 Thanks, Kelly PN7642 is an NFC forum certified solution. May I check if the USB interface is included in the certified configuration? And does the shared firmware on the website cover this? About the CCID interface protocol, does the share firmware cover this for both Windows and Linux? Thanks, Eric Fu Re: Pegoda Smart Card Reader Based on PN7642 Hello @Eric12285  Firmware source code of Pegoda Smart Card Reader should be not available for the user. But PN7642 SDK is open source, you can download on the product page.  Single-Chip Solution with High-Performance NFC Reader, Customizable MCU and Security Toolbox | NXP Semiconductors
記事全体を表示
S32K3-RTD-SchM中EXCLUSIVE_AREA变量的大小和数量 EXCLUSIVE_AREA变量的类型为U32,计数可能并不需要那么大的类型;并且变量的数量设置了4个核的,但K3好多型号没有那么多核,会不会有些浪费资源。
記事全体を表示
S32K388 HSE No Response Error Hi. I am running HSE FW 2.49.0 on my S32K388 devkit. HSE initializes without issues and Hse_Ip_GetHseStatus() returns: > hse -s HSE Status (0x960): - RNG Init successful - Host Debugger enabled + active - HSE Init successful However, a service request to read HSE FW info or a request for a random number errors out with "no response (bb55bb55)" and the system then resets and reset cause is reported as HSE SWT Timeout! All HSE related variables are mapped into non cacheable region of memory. The same code works fine on my S32K358 dev kit running HSE FW 2.40.0. My projects are non autosar. I have checked HSE FW 2.49.0 release notes for S32K388 as well the reference manual and found no pertaining errata. It would be great if someone could shed some light on why this is not work or might be failing? Thanks. Re: S32K388 HSE No Response Error Hi @lukaszadrapa. Thanks for the quick response and clarifying that a similar change is not needed on S32K358. After programming the DCF record with the value provided by you, HSE services are no longer timing out on S32K388. Many thanks. Re: S32K388 HSE No Response Error It's not needed in case of clock option A on S32K358 because it is default state: Regards, Lukas Re: S32K388 HSE No Response Error Hi @lukaszadrapa. Thanks for the quick response. Will the same solution be needed for my S32K358 board which I have configured to run in A clocking configuration as well? Thanks in advance. Re: S32K388 HSE No Response Error The code is correct, it's caused by clocks. I can see that you are using clock option A. In this case, it's necessary to program new DCF record to UTEST to change HSE_CLK_MODE_AND_GSKT_CTRL. This will ensure that internal clocks are correctly synchronized. You can find file S32K3xx_DCF_clients.xlxs in S32K3 reference manual. And you can find there that dcf_client_utest_misc contains HSE_CLK_MODE_AND_GSKT_CTRL which can have following values: So, it must be set to 1x. It is not default value, so we need to reprogram it. Here is a screenshot from my debugger where I already added new DCF record: The yellow record is original record programmed in factory. I programmed new record (in red) on first available address where I changed  HSE_CLK_MODE_AND_GSKT_CTRL accordingly. And then the RNG service works as expected. You can use attached script to program the record. Just check if 0x1B000770 is first available position in your UTEST. Or next option is to program the record by your application. Regards, Lukas Re: S32K388 HSE No Response Error Hi @lukaszadrapa. Attached, please find my project that attempts to request a random number from the HSE and it keeps failing. Please let know where I went wrong. Thanks. Regards/ Re: S32K388 HSE No Response Error I tested it in very minimalist and quick way without any project, just by using a debugger. I simply created own descriptor (hseSrvDescriptor_t) in RAM memory like this: First word 0x300 is ID of HSE_SRV_ID_GET_RANDOM_NUM, second word is reserved and then there's hseGetRandomNumSrv_t structure. You can take a look at HSE service API reference manual. First word selects DRG3 class, second word selects length of random number (16 bytes) and last word sets pointer where HSE will write the random number. Then I trigger the service by writing address of the descriptor (0x20400000) to transmit register TR[1] in MU_0. The result is that receive register RR[1] contains return value from HSE 0x55A5AA33 which is HSE_SRV_RSP_OK (operation was successful) and random number is available at 0x2040050: So, I'm sure the HSE_SRV_ID_GET_RANDOM_NUM works as expected regardless of drivers, software, etc.  The data cache must be disabled for this test, of course. Regards, Lukas Re: S32K388 HSE No Response Error Hi @lukaszadrapa. Thanks for response. My project contains a lot of proprietary code that I will need to clean before I can share it and it will take me a day or 2 to get that done. While I am happy to do that, was wondering if you could provide/share your project that works? Thanks in advance. Regards. Re: S32K388 HSE No Response Error Hi @darknite2023  I have S32K388 EVB here with HSE firmware 2.49.0 FULL_MEM version installed. I have no problem to generate random number. Can you share your project? Please provide built project with elf file. I can check it on my side. Regards, Lukas
記事全体を表示
RT1170-EVK TFLM KWS CM7 SDK Example Not Working I recently bought a MIMXRT1170-EVK, not the EVKB, and have been having a lot of little issues. The latest is the SDK example Keyword Spotting project. As shown in the YouTube video below, it nearly always gives a 99% confidence but is nearly always wrong. I've literally never seen if label a word correctly. Has anyone else experienced issues with this sample project? https://youtu.be/HtMRdyJu_jA Re: RT1170-EVK TFLM KWS CM7 SDK Example Not Working Update for this issue when using RT1170 EVK board, the root cause is from microphone driver setting,  please see the patch as below.   --- a/source/audio/eiq_speaker.c +++ b/source/audio/eiq_speaker.c @@ -142,7 +142,7 @@ static void init(void) SAI_GetClassicI2SConfig(&saiConfig, DEMO_AUDIO_BIT_WIDTH, kSAI_MonoRight, kSAI_Channel0Mask); saiConfig.syncMode = kSAI_ModeAsync; saiConfig.bitClock.bclkPolarity = kSAI_PolarityActiveLow; - saiConfig.masterSlave = kSAI_Master; + saiConfig.masterSlave = kSAI_Slave; SAI_TransferTxSetConfigEDMA(DEMO_SAI, &s_speakerHandle, &saiConfig);   #else static wm8960_config_t wm8960Config = { --- a/source/audio/eiq_micro.c +++ b/source/audio/eiq_micro.c @@ -82,7 +82,7 @@ static wm8960_config_t wm8960Config = { .sampleRate = kWM8960_AudioSampleRate16KHz, .bitWidth = kWM8960_AudioBitWidth16bit, }, - .master_slave = false, + .master_slave = true, }; #endif   You will receive the logs when you speak specific keywords into the EVK board's microphone, there is known issue about the 99% wrong detected data, please ignore. Re: RT1170-EVK TFLM KWS CM7 SDK Example Not Working Hi @daniel_fudge  Thanks for your questions, I doube checked with issue, evk board didn't support "evkmimxrt1170_tflm_kws_cm7" well. Would you please try EVKB board https://www.nxp.com/design/design-center/development-boards-and-designs/i-mx-evaluation-and-development-boards/i-mx-rt1170-evaluation-kit:MIMXRT1170-EVKB I am checking the root case based on EVK board. B.R, Sam
記事全体を表示
[S32K3] Bootloader jump to bootloader Dear I am developing bootloader. But I have difficult in jumping(bootloader to application), So I am testing jump routine to bootloader from Bootloader like below. But I got the error like picture 1. Could you recommend some debugging point?  Thank in advance. picture 1) picture 2) picture 3) code picture 4) loader file Re: [S32K3] Bootloader jump to bootloader Share your current situation. I confirmed that it jumps with the bootloader and application made with dummy simple code. Currently, I am checking the jump from bootloader to application in the current project. and will check the loader file, system.c, and startup_cm7.S files regarding application booting. Re: [S32K3] Bootloader jump to bootloader Dear danielmartynek. When I try todo with your guide, still have problem like below picture 1). picture 2) is register view before running application_reset_handler I will check and search this problem in Community. If you give some guide, thank you very much. picture 1) picture 2) Re: [S32K3] Bootloader jump to bootloader Hi @Changhawn, I has been discussed a few times already. For example here: https://community.nxp.com/t5/S32K/S32K312-bootloader-jump-to-application-issue/td-p/1795729 You need to step through the code and check the flash values at the addresses. Regards, Daniel Re: [S32K3] Bootloader jump to bootloader Without any controling. I can confirm jump Reset_handler() again. But I got the Error befor main() like below picture. Still debugging the reason.     jump_to_application = (*(volatile uint32_t *)0x00401004);     jump_to_application();    
記事全体を表示
eb key is not valid Hello,   I'm encountering an issue with my EBkey, and the error message I'm receiving is as follows: INFO: Trusted Storage initialization done. Activating NodeLocked License 91F7-FFEF-9986-7233, Number Of Licenses: 1 Status: 4, Creating request Status: 5, Request created Status: 6, Context created Status: 7, Connected to remote server Status: 8, Request Sent Status: 9, Polling for response Status: 10, Waiting for response Status: 9, Polling for response Status: 10, Waiting for response Status: 9, Polling for response Status: 10, Waiting for response Status: 9, Polling for response Status: 10, Waiting for response Status: 9, Polling for response Status: 10, Waiting for response Status: 9, Polling for response Status: 10, Waiting for response Status: 9, Polling for response Status: 10, Waiting for response Status: 9, Polling for response Status: 10, Waiting for response Status: 9, Polling for response Status: 10, Waiting for response Status: 9, Polling for response Status: 10, Waiting for response Status: 9, Polling for response Status: 10, Waiting for response Status: 9, Polling for response Status: 10, Waiting for response Status: 9, Polling for response Status: 10, Waiting for response Status: 9, Polling for response Status: 10, Waiting for response Status: 9, Polling for response Status: 10, Waiting for response Status: 9, Polling for response Status: 11, Done ERROR: flxActAppActivationSend (50040,41147,10249) Unable to get lock: ELKB, CertificateQuantity, 195760501 Connection to FlexNet Operations Server failed. Please help answer this, thank you. 回复: eb key is not valid Thanks! 回复: eb key is not valid Hi Sorry for the inconvenience we bring you! Please try using the activation code that was just updated in the past two days. Best Regards, Robin ------------------------------------------------------------------------------- Note: - If this post answers your question, please click the "Mark Correct" 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. ------------------------------------------------------------------------------- 回复: eb key is not valid Yes sir
記事全体を表示
i.MX RT1060 Serial Internal Boot Mode with LPUART1 Connected to USB-Serial Cable Hi, I'm experiencing a strange issue on a RT1060 where if I have the boot pins configured as internal boot and have a USB-Serial cable connected to LPUART1 (which is used when in Serial Downloader mode) the MCU seems to crash. It doesn't boot the FW and doesn't enter Serial Downloader mode (Secure Provisioning Tool is unable to connect). I've narrowed it down to the LPUART1_RXD (GPIO_AD_B0_13) being connected. Without it being connected the MCU boots fine. It also seems to persist between resets. I.e. if I power on the MCU with LPUART1_RXD connected to the USB-Serial cable it doesn't boot, and if I disconnect LPUART1_RXD and reset the MCU it still doesn't work, but if I power cycle after disconnecting LPUART1_RXD it works. Any ideas what could cause this? Does the boot ROM read the state of LPUART1_RXD even in internal boot mode (but a reset should re-trigger any logic related to that, right)? Thanks, Daniel i.MXRT 106x Re: i.MX RT1060 Serial Internal Boot Mode with LPUART1 Connected to USB-Serial Cable Hi @Omar_Anguiano, Thank you for the information! Re: i.MX RT1060 Serial Internal Boot Mode with LPUART1 Connected to USB-Serial Cable Hello, hope you are well. It is not suggested having signal applied to the pins before powering up the MCU, this may lead to issues like booting. First, the ROM code polls the UART1 signals from TXD1/RXD1. Add a 10-kΩ pull up resistor to the TXD1/RXD1 pins to avoid an invalid trigger of the UART port. Best regards, Omar
記事全体を表示
S32K344-How to distinguish ECC error interrupt from HardFault interrupt Hello When I was using S32K344 to test the data read and write of DataFlash, I found that if the same ECC area (8 bytes) was programmed multiple times, it would cause ECC errors and trigger HardFault interrupts. 1. How can I distinguish between ECC error interrupts and HardFault interrupts, that is, call another interrupt function when an ECC error occurs 2. Do you have sample software for ECC? I am not sure what kind of processing the software should do after triggering ECC BestRegards, Simon Re: S32K344-How to distinguish ECC error interrupt from HardFault interrupt Hi @Simon-Liu, Yes, that is correct. But point 3 is application-dependent. BR, Daniel Re: S32K344-How to distinguish ECC error interrupt from HardFault interrupt Hello, @danielmartynek  In the sample software, I saw the following operations performed in the HardFault_Handler process: 1. Clear the fault flag and bus fault address register 2. Clear the ECC error flag of the MCRS register 3. Move the stack pointer backward to skip the instruction address where the ECC error occurred 1 and 2 above are to clear the error flag, and 3 is to prevent the error interrupt from being triggered again after the interrupt processing is completed. Is my understanding correct? BestRegards, Simon Re: S32K344-How to distinguish ECC error interrupt from HardFault interrupt Hello @Simon-Liu, Have a look at this example: https://community.nxp.com/t5/S32K-Knowledge-Base/Example-C40-Ip-ECC-Fault-Skip-S32K312-DS34-RTD2211-v1/ta-p/1585979 BR, Daniel
記事全体を表示
Flashing the NHS3152 via NFC: Hello, I'm using the NHS3152 demo board. Thanks to these forums I've been able to solve several issues I had programming this chip. So now I can program, power and exchange data with  the NHS3152 through the NFC.  I'm now in the position to design fully my application with my own PCB. The pcb for that will be tiny (about 11 mm in diameter) and only 2-side possible, so I won't have rooms for many components. I have few questions: 1) I noticed that once flashed via NFC, that I need to press the reset switch on the demo board for the program to start.  Is there any way around it? (I tried removing the 3V battery and replacing it back, no succes) Basically I won't have room for the reset switch. 2) Once the initial app_closed_nfcprogramloader is replaced by my own code, there is no way to reflash the chip via NFC. I won't be able to reload the chip through LPC Link as I'm currently doing with the demo board. Is there a way to include that boot loader with my custom program? 3) I'll be using the BGA version of the chip. My understanding is that all purchased chip have this  app_closed_nfcprogramloader. After the various manufacturing steps (including xrays checks of the bga connections), is it guarantee that this nfcprogramloader remains fully operational?  Thanks for your answers Cyril Re: Flashing the NHS3152 via NFC: Hello @CyrilBZH Hope you are doing well. 1. According to NHS3152 DS, Section 8.3.2 Reset, the only reset sources on NHS3152 are RESETN pin, Watchdog reset, and software reset. A voltage drop should cause a reset. 2. This application is intended to be an NFC one-time Program Loader. Unfortunately, the source code of this program loader is not available. According to AN12328, Chapter 4, your application firmware could contain an update module which replicates the functionality of the “second stage boot loader”. However, this option is not available from the SDK and must be implemented by the customers themselves based on the documentation available in NHS3152 product page and NHS3152 SDK; you could refer to AN13041 for more information. 3. My apologies, we cannot guarantee an expected behavior if the device is operating outside the documented limiting values (NHS3152 DS). Regards, Eduardo.
記事全体を表示
Ubuntu MCUXpresso IDE install fail - ./install.sh: Permission denied I'm running Ubuntu 20.04.6 LTS on a x86_64 Intel i3. When I try to install the MCUXpresso IDE I get the following error. sudo ./mcuxpressoide-11.10.0_3148.x86_64.deb.bin Verifying archive integrity... 100% All good. Uncompressing mcuxpressoide installer 100% ./mcuxpressoide-11.10.0_3148.x86_64.deb.bin: 1: eval: ./install.sh: Permission denied The file has 755 permisions but it appears a script is created that does not have sufficient permissions...? Re: Ubuntu MCUXpresso IDE install fail - ./install.sh: Permission denied Thank you Hang. I finally had a change to reinstall Ubuntu and retry. It worked. Thank you very much. Re: Ubuntu MCUXpresso IDE install fail - ./install.sh: Permission denied Hi @daniel_fudge  1. Extract the Installer: • Extract the .deb.bin file to access its contents: ./mcuxpressoide- .x86_64.deb.bin --target --noexec 2. Run the Install Script: • Navigate to the target directory and run the install script manually: cd sudo ./install.sh Hope this will help you BR Hang Re: Ubuntu MCUXpresso IDE install fail - ./install.sh: Permission denied Thank you Hang. I was trying to go down that path but I got stuck on the "Extract the contents of the .bin file". How do you extract the files? tar doesn't work. My second theory was there is a permissions prompt that is not coming up or was being answered "no" in the process. I restarted and also tried the LinkServer deb.bin file and got the same error there. All other deb files install properly. Re: Ubuntu MCUXpresso IDE install fail - ./install.sh: Permission denied Hi @daniel_fudge  It seems there might be an issue with the temporary files or directories created during the installation process. You can try the following steps to resolve the issue: 1. Extract the Installer Manually: Extract the contents of the .bin file to a directory and manually set the permissions for the install.sh script. mkdir mcuxpresso_installer cp mcuxpressoide-11.10.0_3148.x86_64.deb.bin mcuxpresso_installer/ cd mcuxpresso_installer chmod +x mcuxpressoide-11.10.0_3148.x86_64.deb.bin ./mcuxpressoide-11.10.0_3148.x86_64.deb.bin --target . chmod +x install.sh sudo ./install.sh 2. Check and Change Ownership: Ensure that the script has the correct ownership and permissions. sudo chown $USER:$USER install.sh chmod +x install.sh sudo ./install.sh 3. Run Installer with Root Privileges: Run the installer script directly with root privileges. sudo bash ./install.sh Hope this will help you. BR Hang
記事全体を表示
MKL16 Power Consumption Difference 3.3V vs. 1.8V Supply For the MKL16 I am trying to find any information on the power consumption difference when comparing a supply voltages of 3.3V and 1.8V. I have primarily looked at the KL16P64M48SF5 and KL16P80M48SF4RM documents.  Numbers for any power mode when using 1.8V power supply would be appreciated but I am most interested in LLS.  In the datasheet that I found, I am only able to find power consumption numbers for each mode at different temperatures at 3.0V (I am considering this close enough to 3.3V to use these for the 3.3V consumption numbers). Are power consumption values at 1.8V available and/or is there some documentation I am not aware of that contains this information? Kinetis L Series MCUs Re: MKL16 Power Consumption Difference 3.3V vs. 1.8V Supply Hi, For the Kinetis KL family power consumption test, only the 3.3V power supply voltage condition is tested, the1.8V power supply voltage condition is not tested, the data sheet has not the current spec in 1.8V power supply voltage. Hope it can help you BR XiangJun Rong
記事全体を表示
s32k314 jtag debug question Hello, I built a PCB with s32k314. I'm using JTAG, but I got a problem with 1.5V on the TMS pin and couldn't get into the DEBUG. I brought the JTAG circuit of the EVB board of S32K344. Isn't it normal for the TMS pin to float 5V with PULL UP? The TMS pin is connected to the PTA4 of the MCU through the 5V supply line and not to the other pins. 5V turns to 1.5V after R28 only, so I'm baffled. Is it correct that I have to be HIGH on the TMS to enter debug mode? Re: s32k314 jtag debug question I see what you mean. Thank you for letting me know. I found out for the first time. Re: s32k314 jtag debug question For other questions, please create new thread. There's unwritten rule - one thread, one topic. Then it's easier for us and for customers to search in the history. Thanks, Lukas Re: s32k314 jtag debug question Hello, I found the right answer. The inner pins of the MCU were not soldered. The problem was that the company that manufactured the PCB did not check it properly. Thank you. I'm facing another problem now, can you help me answer other questions? Re: s32k314 jtag debug question Hi @Oido  there must be something wrong, you shouldn't see such voltage on TMS. Default function on PTA4 is TMS which is input internally pulled up. Isn't there some shortcut on the board? Regards, Lukas
記事全体を表示
Debug Connection Failure Dear all, i have two  S32K3X4EVB-T172 Boards. One of them is behaving fine, that means i'm able to connect to the board using Segger J-Link Ultra.  The other one does not allow a debugging connection. I'm using the same software setup and all jumpers are set exactly the same. Every time i want to connect to the board, the RESET_K3 (D3) is blinking. It's not possible to erase the memory using the Segger Tools.  This behaviour started after flashing a software and debugging it. From this point in time i'm not able to connect again to the board or to ersase the memory.  Is there a possibility to reset the board? Perhaps by pressing a push button for a longer time? Thanks in advance for your help. Best Regards Dirk Re: Debug Connection Failure Sorry, I forgot to upload the "buggy project". Best Regards Dirk Re: Debug Connection Failure Dear Roman, the handling you described, reset button pressed and then repeat the flashing, did work!!! The board is now up and running again. Nevertheless, please find attached the "buggy project" as zip file, I just leave in everything, also the generated source code. Please come back if you can figure out what happened. Best Regards and many thanks for your support. You really saved my day. Dirk Re: Debug Connection Failure Hi @DirkG  You could try a solution that worked for the S32K1 device family. To re-flash your MCU, keep the reset button pressed while trying to flash it with a blink example. It might fail and ask if you want to retry. When that happens, release the reset button and then try again to load the program under that prompt. After doing this, the program should load successfully and the board should recover. Also, it would be helpful if you could check the reset signal with an oscilloscope. Just measure the reset pin directly and share an image of what you see. We're expecting a signal similar to the one attached, with the reset toggling as shown. If possible, please share your project so we can test from our side as well. - RomanVR Re: Debug Connection Failure A Short Add on: In the meanwhile the onboard debugger seems to run, but it shows an similar behaviour: Here is the debugger configuration dialog: It would be great if you could provide a possibility to me to get the hardware up and running again. Is there some possibility to erase the memory of the microcontroller? Is there some possibility to restore default settings to the hardware? Best Regards Dirk Re: Debug Connection Failure Dear Roman, many thanks for you fast response. >>> Is it possible for you to share more details about the software you flashed and debugged before the behavior started showing? of course, we tried to add one more CAN channel (CAN1) using the config tools. Afterwards we debugged the firmware and figured out the "Port_Init" causes an exception. But from that point in time, the hardware was not longer accessible to the debugger. If you want, I can also provide the project. >>> >>> Have you seen the same behavior using the onboard debugger? Right now im trying to get the onboard debugger working, but up to now the board is not recognised as soon as I connect it by USB. Do I miss some drivers? Or shall I try another USB Cable? >>> Additionally, could you please provide us with an image of your reset signal? Do you speak about the firmware, which caused the malbehaviour? If yes, I can provide it. >>> >>> Have you tried loading an example available for your board and RTD version? If not, could you try and tell us if you see the same behavior? We started with an example provided by RTD. Right now, the board is in a state which does not accept flashing firmware to it. It also does not accept "erasing memory" by the Segger Tools. It also does not accept "attach to running target". Can you please provide a possibility to me to get this board up and running again. Is there a possibility to do a "reset to default state" to be able again to flash firmware to it. Right now it seems to me, that always the hardware I showered on, the "faulty firmware" on it causes an exception and due to that reason I'm not able to connect to the hardware and replace the firmware. Your help is really appreciated. Best Regards Dirk  >>> Re: Debug Connection Failure Hello Fira, thanks a lot for your reply. I can confirm that the debugger and the hardware setup is fine, due to the fact that I'm able to connect and debug the second board. The issue occurred as soon as I debuged a software and caused an exception. From that point in time the hardware is not connectable any longer, also not to the Segger Tool like J-Flash Lite, to erase the memory. Best Regards Dirk Re: Debug Connection Failure Debug connection issues can often be linked to incorrect settings, hardware problems, or loose connections. Check if your debugger and target device are properly set up, ensure all drivers are installed, and confirm that the device is in debug mode. Also, double-check your cables and power connections. Re: Debug Connection Failure Hi @DirkG! I have some questions to get to know more about your issue: Is it possible for you to share more details about the software you flashed and debugged before the behavior started showing? Have you seen the same behavior using the onboard debugger?  Additionally, could you please provide us with an image of your reset signal? Have you tried loading an example available for your board and RTD version? If not, could you try and tell us if you see the same behavior? - RomanVR.
記事全体を表示
RW612 - wifi_mqtt example "download firmware failed" I have a FRDM-RW612 board, and I'm trying to run the "wifi_mqtt" example from the SDK (version 2.16.100, build 858, 2024-10-02) using MCUXpresso IDE v24.9 (currently the latest release).  I'm able to build it and download it using the built-in MCU-Link.  But when I run it, I get the following: ************************************************ MQTT client example ************************************************ [i] Initializing Wi-Fi connection... [wifi_io] Error: Download firmware failed [wifi] Error: imu_wifi_init failed. status code -1 [wlcm] Error: wifi_init failed. status code -1 [!] WPL Init failed: 1 If I enable CONFIG_WIFI_IO_DEBUG, I just get a few more lines of output.  Here's the relevant code snippet: imu_wifi_init() from wifi-imu.cimu_wifi_init() from wifi-imu.c Commenting line 1612 has no effect.  Resetting the board manually or unplugging and replugging it produces the same result.  I read doc/readme.md, and it mentions "select Wi-Fi module macro in the app_config.h. (see #define WIFI_ _BOARD_ )."  This is the contents of app_config.h: app_config.happ_config.h Am I doing something wrong?  This should be an out-of-the-box example, I'm not sure why it's failing.  Thanks. Dana M. Product: WiFi RW6XX Re: RW612 - wifi_mqtt example "download firmware failed" Ha, nope, that was it.  It would be super useful for folks if there was a mention of that specific user manual and section in the readme.md for the Wi-Fi sample projects.  I've developed on NXP MCUs for a long time, but having to put a separate binary blob into flash first using a separate manual J-Link command is a new trick.  For those out there running Windows, here's a useful batch file for programming the firmware.  Put it in component\conn_fwloader\fw_bin and edit the path to JLink.exe if needed. @set JLINK="C:\Program Files\SEGGER\JLink\JLink.exe" @set FIRMWARE="rw61x_sb_wifi_a2.bin" @set FLASH_ADDRESS=0x08400000 @set COMMAND_FILE="jlink_command.txt" @echo loadbin %FIRMWARE%,%FLASH_ADDRESS% > %COMMAND_FILE% @echo quit >> %COMMAND_FILE% %JLINK% -device RW612 -if SWD -speed 4000 -CommandFile %COMMAND_FILE% @pause  Thanks for the pointer. Dana M. Re: RW612 - wifi_mqtt example "download firmware failed" Hi, Could you please confirm you downloaded the Wi-Fi firmware using J-Link? Please check section 4.1.1 in UM11799 (available in your SDK bundle). Regards, Daniel.
記事全体を表示
S32K3X4EVB-T172 onboard debugger Hello, How to use the onboard debugger? After checking the getting started, I choosed the predefined debug configuration for PEmicro as seen in screenshot: but I always got an error: Error in services launch sequence PEmicro GDB Launch Failure : Unable to auto-detect debug hardware. Please specify on the command-line. If running from Eclipse, check the launch Debug Configuration settings. Halting. Can somebody help me here? Do I have to install some kind of driver? Thanks a lot. Re: S32K3X4EVB-T172 onboard debugger Hi, From the image shared above, we can see that the USB port has not been detected (in port box). We suggest changing the USB cable, see the Default Jumper Configuration and trying again, check if the port is recognized in the Device Manager and refresh the Debug Configurations window. If no changes are observed, please verify if the PEMicro Debugging Support package requires an update. Note: No changes are required in the Debug Configuration for the examples. Hope it helps you. BR, IsaulO.
記事全体を表示