Multi Source Translation Content

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

Multi Source Translation Content

ディスカッション

ソート順:
S32k344 using green hills toolchain How can I relocate the vector section such that it stores vector table  in flash memory at 0x00400000, but at runs time, copies to DTCM memory and runs from there? How do I implement that in the Green hills linker file? Re: S32k344 using green hills toolchain Hi @XRen_Parker  Since this question is specifically related to the Green Hills toolchain and its integration, I would recommend contacting Green Hills directly. They should be able to provide the appropriate guidance and resources. https://support.ghs.com/ Regards, Lukas
記事全体を表示
i.MX 9は「もう完成形」と言えるのでしょうか? 数年前にプロジェクトを始めたのですが、NXPの i.MX 9シリーズMPUがリリースされ始めていましたが、ほとんど入手困難だったため、重い i.MX 8 にしました。現段階では、これは私の必要以上の性能なので、もっと小型のMPUに移行したいと考えています。最小の1 i.MX 8を買うつもりでしたが、i.MX91が彼らのCPUの中で最も小さいです。より成熟した8よりも91の方が良いのではないかと考えていました。サーマルが一番気になるので、新品の方が良いと思いますが、まだ新しいので「まだ成熟している」かはわかりません。8に移植されるのがより公平な動きも動機になるかもしれません。 Re: Is i.MX 9 "there yet"? こんにちは、 @ceva156さん あなたのプロジェクトの主な目的は何ですか?現在どのIMX8シリーズ製品を使っていますか? BR Re: Is i.MX 9 "there yet"? こんにちは、 i.MX8のような重いマルチメディアGPU機能は不要です。i.MX91の方がずっと合いやすく、シンプルで低消費電力の設計ができるかもしれません。 Re: Is i.MX 9 "there yet"? こんにちは。もし熱性能とサイズを最優先事項とするなら、i.MX91をお勧めします。
記事全体を表示
Enable SPI Communication for VL53L8CX ToF Sensor on i.MX8MP EVK We are trying to integrate an ST VL53L8CX ToF (Time-of-Flight) sensor over SPI on an NXP i.MX8MP LPDDR4 EVK using Yocto Linux. The objective is initially to achieve basic SPI communication and successfully detect the VL53L8CX device from a custom Linux kernel driver. Full ranging functionality is not required at this stage. Hardware Board: NXP i.MX8MP LPDDR4 EVK Sensor: VL53L8CX ToF sensor Interface: SPI EVK connector: J21 expansion connector SPI controller: ECSPI2 Chip select: ECSPI2 SS0 GPIO used for CS: GPIO5_IO13 SPI device: spi1.0 SPI speed: 1 MHz SPI mode: Mode 0 The device-tree configuration currently uses:   &ecspi2 { pinctrl-0 = <&pinctrl_ecspi2 &pinctrl_ecspi2_cs>; cs-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>; status = "okay"; stmvl53l8cx: spi@0 { reg = <0>; compatible = "st,stmvl53l8cx"; spi-max-frequency = <1000000>; }; }; meta-vl53l8cx_8mp/ ├── conf/ │ └── layer.conf ├── recipes-kernel/ │ ├── linux/ │ │ ├── files/ │ │ │ └── 0001-add-vl53l8cx-spi-node.patch │ │ └── linux-imx_%.bbappend │ │ │ └── vl53l8cx/ │ ├── files/ │ │ ├── Makefile │ │ └── driver.c │ └── vl53l8cx.bb The SPI device is successfully created:   root@imx8mp-lpddr4-evk:~# ls -l /sys/bus/spi/devices/ spi0.0 spi1.0   The custom driver is also registered:   root@imx8mp-lpddr4-evk:~# ls -l /sys/bus/spi/drivers/ stmvl53l8cx   The driver probe() function is being called successfully. Could someone please advise what we should verify on the i.MX8MP EVK ECSPI2/J21 hardware and Device Tree configuration to make sure the VL53L8CX is communicating correctly over SPI? In particular, we would like to confirm: Is ECSPI2 / spi1.0 the correct SPI controller/device for the J21 expansion connector on the i.MX8MP LPDDR4 EVK? Is GPIO5_IO13 / ECSPI2_SS0 the correct chip-select for J21? Are the ECSPI2 SCK, MOSI, MISO and CS pinmux settings correct for this connector? Is any additional Device Tree configuration required for the VL53L8CX, such as: spi-cpol spi-cpha GPIO1/interrupt LPn/reset/power GPIO power-supply/regulator properties? Does the VL53L8CX require a particular SPI mode, timing, or initialization sequence before reading its device ID? Is there anything specific on the i.MX8MP ECSPI controller that needs to be configured for the VL53L8CX? Since spi_write() and spi_read() return 0, is there a recommended way to verify the actual MOSI/MISO electrical communication (for example with a logic analyzer) and determine whether the sensor is responding? We have also attached our custom driver.c driver and kernel logs for reference. Any guidance on the correct i.MX8MP EVK + J21 + ECSPI2 + VL53L8CX SPI configuration would be appreciated. I have attached custom driver file driver.c also I have attached logs Thank you. Re: Enable SPI Communication for VL53L8CX ToF Sensor on i.MX8MP EVK Hello @Manuel_Salas  Thank you for your response. We tried reading the device ID before proceeding with any further configuration. However, we are not able to read the device ID successfully. Our SPI driver is probing correctly, but the register read for the chip ID does not return the expected value. Because of this, we are unable to verify communication with the VL53L8CX and cannot proceed with the sensor initialization. We are currently checking our SPI configuration, device tree, and hardware connections to identify the issue. We will also attach our driver, logs and module image so you can review it. If you have any suggestions on what else we should verify for basic SPI communication with the VL53L8CX, we would greatly appreciate your guidance. Best regards, yogi96 Re: Enable SPI Communication for VL53L8CX ToF Sensor on i.MX8MP EVK Hello @yogi96  Hope you are doing very well. In general, all your steps looks good. The next step what yocan try is read any register of the sensor, for example, in your probe() function, read the ID from the chip. If ID is correct read, continue with the configuration. Also, I could not saw the driver attached. Please attach is possible. Best regards, Salas.
記事全体を表示
MIMXRT700-EVK Flashing Error Hi, I am unable to flash my application to the MIMXRT700-EVK using NXP LinkServer. Hardware/Software: Board: MIMXRT700-EVK MCU: MIMXRT798S Debugger: On-board MCU-Link MCU-Link firmware: V3.172 LinkServer: 26.6.137 OS: Ubuntu Linux Power is supplied through J54 During flashing, LinkServer reports: Error: Wire Ack Fault - target connected? Error: Wire not connected Failed on connect: Ee(42). Could not connect to core. No connection to chip's debug port Flash operation exited with code 1 The MCU-Link is detected correctly by the PC, and LinkServer can detect the probe. The important hardware observation is that the D4 red LED is not glowing. According to the MIMXRT700-EVK documentation, D4 indicates the MCU/reset status, where ON indicates normal processor activity and OFF indicates that the processor is in reset. I also executed the RT700 preconnect script, but the SWD connection still fails with: Error: Wire Ack Fault - target connected? Error: Wire not connected Support Request Could you please advise: Why is the D4 LED OFF when the board is powered through J54? How can I bring the RT700 processor out of the reset state? Is there any required reset, boot, or hardware configuration that needs to be checked? What recovery procedure should I use to restore LinkServer connectivity so that I can flash the application? Evaluation Board Re: MIMXRT700-EVK Flashing Error Hi @Aparna1, It's likely that the power is not being properly distributed to the MCU/rest of the board, but rather just to the on-board debugger. Is the green D10 LED also OFF? Please make sure that the jumper position of J2 is shorting pins 7 and 8. BR, Edwin. Re: MIMXRT700-EVK Flashing Error Hi, Yes, I have verified the following: The green D10 LED is ON. J2 is shorting pins 7 and 8 . Please let me know if any additional checks are required from my side. Regards, Aparna Re: MIMXRT700-EVK Flashing Error    This is the Status after connecting USB  Re: MIMXRT700-EVK Flashing Error Hi, could you please provide an update on my ticket? I am still waiting for a response.   Thank you.    
記事全体を表示
LWIP TCP/IP Server-Client Hands-On Hello, do we have any TCP client handshake examples for the S32K358? I'm encountering some problems, which I posted in my previous thread. I saw a previous post about a solved S32K148 issue: LWIP TCP/IP Server-Client Hands-On - NXP Community , I wonder if it could help me! If you have one, please send me a copy. My email address is [email protected]. Thank you very much! Re: LWIP TCP/IP Server-Client Hands-On Hello @sunshine88, There is no reference project as the lwip_s32k148_HandsOn workshop for the S32K358. I've sent you a private message with both lwip_s32k148_HandsOn_Server & lwip_s32k148_HandsOn_Client. Best regards, Julián
記事全体を表示
S32k344はグリーンヒルズツールチェーンを使用しています ベクターセクションを0x00400000にフラッシュメモリにベクターテーブルを保存しつつ、実行時にDTCMメモリにコピーしてそこから実行するようにするにはどうすればいいですか?Green Hillsのリンカーファイルにそれをどのように実装すればよいですか? Re: S32k344 using green hills toolchain こんにちは、 @XRen_Parkerさん この質問は特にGreen Hillsのツールチェーンとその統合に関するものなので、Green Hillsに直接問い合わせることをお勧めします。彼らは適切な指導とリソースを提供できるはずだ。 https://support.ghs.com/ よろしくお願いいたします。 ルーカス
記事全体を表示
HseFwInstall I downloaded the official HSE installation example, but after running it, I found that HSE failed to install. The program gets stuck in the `while ( FALSE == HSE_CheckStatus(HSE_STATUS_INIT_OK) );` loop. I'm at a loss and need help on how to successfully install HSE. The attached file is the official example; I downloaded it, changed the `.project` file to `S32K312`, and disabled the `baf` file in the linker script. I didn't modify anything else. Re: HseFwInstall Hi I suggest you obtain the latest s32k3_hse_lib_rtd400hf01_20260427.7z from the distributor FAE and test it again. The new version fixes some bugs found in older versions. According to section " 2.2 Version Number Details " of SBAF_S32K312_0_0_15_0_ReleaseNotes.pdf and the value shown in your screenshot at 0x4039C020 - 0x4039C027, it appears that AB_SWAP firmware was previously installed? If FULL_MEM was installed, the value at 0x4039C020 - 0x4039C027 should be 000D0000 000F0006. However, what I see in your attached project is S32K312_0_2_40_0_HSE_FULL_MEM. I'm a bit confused about whether you need to install FULL_MEM or the HSE FW for AB_SWAP? Please check which build option you selected for the HseLib_HseFwInstall_Rtd400 project. Please note that it is not possible to revert from AB_SWAP to FULL_MEM. The screenshot you provided shows 0x4039C028=0xC0 bit0=0, meaning SBAF failed to boot HSE FW. It appears the HSE FW firmware is corrupted. You'll likely need to refer to MU Restore FW_EN.pdf to restore HSE FW using MU. Please also refer to the manual s32k3_hse_lib_rtd400hf01_20260427\Doc\ S32K3_HSE_LIB_UserGuide.pdf . I didn't understand " blocked the baf file in the linker script ". Does it refer to page 19/51, section 3.3 of that document? .3In the "Build configuration - Settings of Linker" section, what about the file s32k3xx_flash_full_mem_0_2_40_0.ld? After installing SBAF_S32K312_0_0_15_0.exe, the path is C:\NXP\SBAF_S32K312_0_0_15_0\bin\s32k312_Secure_Baf_0.13.0_0.15.0.6_pb230804.bin.pink. This file does not need to be commented out. Best Regards, Robin
記事全体を表示
有没有比较简单易用的8位微控制器/汇编语言? 我正在寻找一款可以查看实际十六进制/二进制代码的 8 位微控制器。我在大学学习 8051 汇编语言,我非常喜欢看到和理解内存中的每一条指令和值。但是这些微控制器已经过时,需要大量的“破解”才能兼容。至少每次我把代码放到真正的硬件上运行时,都会有这种感觉。那么,有没有一种简单的8位汇编语言,可以配合实际的芯片,让我能够编写简单的电子项目程序呢? Re: Is there a simple 8 bit microcontroller/assembly language that is nice to work with? 你好; 如果您正在学习汇编语言,S08PT 设备可能是一个不错的起点; S08PT|8 位 5V 全功能 MCU,带 EEPROM 和 TSI | NXP 半导体 。 使用该软件工具是CodeWarrior for MCUs (Eclipse IDE) v11.1,适用于 Windows 10/11;该工具可以使用汇编代码进行测试,因为它具有汇编调试工具视图,并且可以查看内存以了解代码的功能。 本设备配有评估板 S08PT60-EVK [MC9S08PT60],如果您感兴趣,请参阅 [ S08PT60-EVK 产品信息],其中包含各种外设,供您在实际硬件上测试代码的不同配置。 板载接口包括 RGB LED、6 轴数字加速度计和磁力计、环境温度传感器、两个电容式触摸板、电位器、两个用户按钮和红外收发器。同时兼容 Arduino 扩展板的引脚布局。 您可以在主页上阅读更多关于这些功能的信息: S08P MCU 评估套件 | 恩智浦半导体 此致敬礼,路易斯
記事全体を表示
S32K3X4EVB-T172 Unable to Program using OpenSDA I have a fresh-out-the-box S32K3X4EVB-T172 Eval board. The S32 processor seems to be running some factory default code, but when I try to debug/reprogram using the on-board debugger (connected to my computer using USB) both the S32 and the on-board debugger go into reset. I am using the correct Power On/Plug in procedure as described by the S32K3X4EVB-T172 quick start guide. I also have installed the software and addons described there as well. Tried same process with a co-worker's S32K3X4EVB-Q172 and it worked just fine.\ Thanks in advance, -Tobiah Re: S32K3X4EVB-T172 Unable to Program using OpenSDA 1. Please refer to the discussion: PEmicro Connection Assistant Issue on S32K3X4EVB-T172. Do the red LEDs D15(RST_OSDA) and D3(RESET_K3) remain lit, or do they flash periodically? Is your board experiencing the same issue as this customer?   2. Is FS26(U12) hot? 3. Did you follow the steps "3.2 Plug in the Power Supply" and then "3.3 Connect the Debugger Cable"? 4. Plug in the J40 micro-USB cable and observe the D14STATUS OSDA LED. If the D14 orange LED does not light up: Check whether the USB cable is a data cable, verify if the PC enumerates the OpenSDA device, and ensure the USB port and drivers are functioning correctly. Connecting the USB cable to the PC via a USB hub is not recommended. 5. The onboard debugger is provided by PEMicro, it is recommended to download the latest "USB Multilink Resources Installer" from the "Support & Downloads" category of the "Multilink Debug Probes". After installation, open PEFirmwareConfig.exe located in C:\PEMicro\Multilink_Resources to check the firmware version. My onboard debugger's firmware version is 10.98. What version is your board? If the version is too old, it is recommended to update. If the update fails, it is recommended to contact PEMicro technical support. check the version of firmware on S32K3X4EVB-T172.pngcheck the version of firmware on S32K3X4EVB-T172.pngcheck the version of firmware on S32K3X4EVB-T172.pngcheck the version of firmware on S32K3X4EVB-T172.pngcheck the version of firmware on S32K3X4EVB-T172.pngcheck the version of firmware on S32K3X4EVB-T172.pngcheck the version of firmware on S32K3X4EVB-T172.pngcheck the version of firmware on S32K3X4EVB-T172.pngcheck the version of firmware on S32K3X4EVB-T172.pngcheck the version of firmware on S32K3X4EVB-T172.png 6. Please use a multimeter in voltage mode or an oscilloscope to observe the voltage of P3V3_SDA (J34). S32K3X4EVB-T172_PackRevB2_Schematic P3V3_SDA J34.pngS32K3X4EVB-T172_PackRevB2_Schematic P3V3_SDA J34.pngS32K3X4EVB-T172_PackRevB2_Schematic P3V3_SDA J34.pngS32K3X4EVB-T172_PackRevB2_Schematic P3V3_SDA J34.pngS32K3X4EVB-T172_PackRevB2_Schematic P3V3_SDA J34.pngS32K3X4EVB-T172_PackRevB2_Schematic P3V3_SDA J34.pngS32K3X4EVB-T172_PackRevB2_Schematic P3V3_SDA J34.pngS32K3X4EVB-T172_PackRevB2_Schematic P3V3_SDA J34.pngS32K3X4EVB-T172_PackRevB2_Schematic P3V3_SDA J34.pngS32K3X4EVB-T172_PackRevB2_Schematic P3V3_SDA J34.png 7. The SDA_RST_TGTMCU is controlled by the output of the onboard debugger K26. If the SDA_RST_TGTMCU outputs a low level, both red LEDs D15 and D3 will light up. Please observe the SDA_RST_TGTMCU (J36) level using an oscilloscope. Is it always low, or is it periodically pulled low? Normally, when downloading a program or resetting the S32K3 via the onboard debugger, a 10ms low level should be observed in the SDA_RST_TGTMCU, causing red LEDs D15 and D3 to light up briefly. 8. Is it possible to debug the onboard S32K3 chip after connecting via J12 using an external debugger? Best Regards, Robin Re: S32K3X4EVB-T172 Unable to Program using OpenSDA I am not sure which version of the RTD Port_Example_S32K344 you are currently testing. However, I suggest setting J31 to positions 2-3 and trying again. Re: S32K3X4EVB-T172 Unable to Program using OpenSDA After some more testing: 5. I was able to update the onboard debugger firmware using the PEFirmwareConfig exe.  The behavior remains the same though when I try to debug/program. 6. J34 voltage is at 3.25V when USB is plugged in. 7. J36 is high until I try to debug/program. At which point it goes low and stays low until the micro USB is disconnected. Still waiting on an adapter for point 8.  It should arrive today. Thank you, -Tobiah Re: S32K3X4EVB-T172 Unable to Program using OpenSDA How can I determine what the version of the example project is? I switched J31 to 2-3. Same behavior. Thanks, -Tobiah Re: S32K3X4EVB-T172 Unable to Program using OpenSDA Please take a photo of the S32K3X4EVB-T172 board after connecting the external 12V power supply to J14 and plugging in the USB cable; the image must be clear enough to show the jumper settings and which LEDs are lit. Please record a video of the S32DS interface, starting from when you click the debug button and continuing until the error screen appears. This will allow me to see exactly what is happening and help troubleshoot the issue quickly. If you cannot record a video of the operations performed in S32DS on the screen, could you take a few screenshots to show the error? Re: S32K3X4EVB-T172 Unable to Program using OpenSDA Hello Robin, 1. Once I attempt to debug/program, both LEDs (D15 and and D3) remain lit. They do not flash.  I believe my board is experiencing the same issue as the customer in https://community.nxp.com/t5/S32K/PEmicro-Connection-Assistant-Issue-on-S32K3X4EVB-T172/m-p/2252525, but it seems he bypassed his issue by purchasing another EVB, which is unfortunate. 2. no 3. yes 4. D14 does light up when I plug in the micro-USB cable.  Device Manager shows "OpenSDA - CDC Serial Port (http://www.pemicro.com/opensda)".  There is no USB hub in the system, and my PC+cable can program other S32K344 EVBs using S32DS.  The issue seems tied specifically to this board. 5-7.  Give me some time to run these down.  I will respond shortly. 8. I have yet to try to JTAG directly as I am waiting on an adapter so I can interface with J12. Thank you for your detailed response, -Tobiah Re: S32K3X4EVB-T172 Unable to Program using OpenSDA Please check whether the jumper settings match those described in "3.1 Set Up Jumpers in the S32K3X4EVB-T172 Evaluation Board." Is the input voltage for J14 12V? Which project did you debug? Would it be possible for you to record a video of the debugging process and share it with me? Re: S32K3X4EVB-T172 Unable to Program using OpenSDA The jumper settings do match. J16 is showing 12V (seemed easier than measuring the jack directly). I am using the project Port_Example_S32K344 as recommended in the quick start guide.  I don't think I will be able to video. -Tobiah Re: S32K3X4EVB-T172 Unable to Program using OpenSDA Finally got a JTAG adapter that works for J12. I can debug the S32K344 chip using an external debugger. OpenSDA still doesn't work. Re: S32K3X4EVB-T172 Unable to Program using OpenSDA Good morning, 00_evb.jpg  ^ Initial state of board after power on and connection of USB 00_dashboard.png  ^ Example project dashboard 03_debug3.png 01_debug1.png 02_debug2.png    ^Debug configuration 04_error1.png  ^ first error after debug 04_evb.jpg  ^ EVB after attempted debug (happens at the same time as the above error) 05_error2.png  ^ error after clicking abort   Re: S32K3X4EVB-T172 Unable to Program using OpenSDA Sorry for the inconvenience we bring you!  In my experience, the D15 LED on your development board is behaving abnormally.   The following two links contain our policy on returns and refunds. There is a 12-month window for warranty replacements and only a 30-day window for refunds. Once a request is submitted, the direct team forwards it to the person in charge of this process, and they will contact the customer directly to provide instructions on what to do next. Dev Tool Warranty Return Request Form Returns and Warranty Information
記事全体を表示
i.MX8MP EVKのToFセンサー VL53L8CX SPI通信を有効にする 私たちは、Yocto Linuxを使用したNXP i.MX8MP LPDDR4 EVKにST VL53L8CX ToF(飛行時分)センサーをSPI経由で統合しようとしています。 最初の目的は、基本的なSPI通信を実現し、カスタムLinuxカーネルドライバからVL53L8CXデバイスを正常に検出することです。現段階では、完全な測距機能は必要ありません。 ハードウェア ボード: NXP i.MX8MP LPDDR4 EVK センサー: VL53L8CX ToFセンサー インターフェース: SPI EVKコネクタ: J21拡張コネクタ SPIコントローラー: ECSPI2 チップセレクト: ECSPI2 SS0 CSに使用されるGPIO: GPIO5_IO13 SPIデバイス: spi1.0 SPI速度: 1MHz SPIモード:モード0 デバイスツリー構成は現在以下を使用しています。   &ecspi2 { pinctrl-0 = <&pinctrl_ecspi2 &pinctrl_ecspi2_cs>; cs-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>; status = "okay"; stmvl53l8cx: spi@0 { reg = <0>; compatible = "st,stmvl53l8cx"; spi-max-frequency = <1000000>; }; }; meta-vl53l8cx_8mp/ ├── conf/ │ └── layer.conf ├── レシピズカーネル/ │ ├── Linux/ │ │ ├── ファイル/ │ │ │ └― 0001-add-vl53l8cx-spi-node.patch │ │ └── Linux-imx_%.bbappend │ │ │ └── VL53L8CX/ │ ├── ファイル/ │ │ ├── メイクファイル │ │ └── driver.c │ └── vl53l8cx.bb SPIデバイスが正常に作成されました。   root@imx8mp-lpddr4-evk:~# ls -l /sys/bus/spi/devices/ spi0.0 spi1.0   カスタムドライバーは以下も登録されています:   root@imx8mp-lpddr4-evk:~# ls -l /sys/bus/spi/drivers/ stmvl53l8cx   ドライバープローブ()関数は正常に呼び出されています。 i.MX8MP EVK ECSPI2/J21ハードウェアとデバイスツリーの設定で、VL53L8CXがSPI上で正しく通信していることを確認するために何を検証すべきか、どなたかアドバイスをいただけませんか? 特に、以下の点を確認したいと思います。 ECSPI2 / spi1.0はi.MX8MP LPDDR4 EVKのJ21拡張コネクターで正しいSPIコントローラー/デバイスでしょうか? GPIO5_IO13 / ECSPI2_SS0はJ21の正しいチップセレクトですか? このコネクタにおけるECSPI2のSCK、MOSI、MISO、およびCSピン多重化設定は正しいですか? VL53L8CXには、以下のような追加のデバイスツリー構成が必要ですか? spi-cpol spi-cpha GPIO1/割り込み LPn/リセット/電源GPIO 電源/レギュレータの特性? VL53L8CXは、デバイスIDを読み取る前に、特定のSPIモード、タイミング、または初期化シーケンスを必要としますか? i.MX8MP ECSPIコントローラーでVL53L8CX向けに設定しなければならないことはありますか? spi_write()とspi_read()が0を返すため、 実際のMOSI/MISO電気通信 (例えばロジックアナライザーなど)を検証し、センサーが応答しているかどうかを判断する推奨方法はありますか? また、参考用に カスタムのdriver.cドライバーとカーネルログ も添付しています。 i.MX8MP EVK + J21 + ECSPI2 + VL53L8CX の正しいSPI構成に関するご助言をいただければ幸いです。 カスタムドライバーファイルを添付しました driver.c また、ログも添付しています よろしくお願いします。 Re: Enable SPI Communication for VL53L8CX ToF Sensor on i.MX8MP EVK こんにちは、 @Manuel_Salas さん ご返信ありがとうございます。 さらなる設定作業を進める前に、デバイスIDの読み取りを試みました。しかし、デバイスIDを正常に読み取ることができませんでした。 SPIドライバーは正しくプローブしていますが、チップIDのレジスタ読み取りは期待値を返しません。そのため、VL53L8CXとの通信を確認できず、センサの初期化を進めることができません。 現在、問題の原因を特定するために、SPI構成、デバイスツリー、およびハードウェア接続を確認しています。 また 、ドライバ、ログ、モジュールイメージも添付 しますので、ご覧いただけます。VL53L8CXとの基本的なSPI通信に関して、他に確認すべき点があれば、ぜひご教示いただければ幸いです。 よろしくお願いします、 ヨギ96 Re: Enable SPI Communication for VL53L8CX ToF Sensor on i.MX8MP EVK こんにちは、@yogi96さん お元気でお過ごしのことと思います。 概して、あなたの手順はすべて問題ないようです。 次に試してみるのは、例えばプローブ()関数でチップのIDを読み取るなど、センサのレジスタを読み取ることです。 IDが正しく読み取れた場合は、設定処理を続行します。 また、ドライバが取り付けられているのも見えませんでした。 可能であれば添付してください。 よろしくお願いいたします。 サラス。
記事全体を表示
S32K3X4EVB-T172 无法使用 OpenSDA 进行编程 我有一块全新的S32K3X4EVB-T172评估板。S32处理器似乎运行的是出厂默认代码,但是当我尝试使用板载调试器(通过USB连接到我的电脑)进行调试/重新编程时,S32处理器和板载调试器都会进入复位状态。 我已按照S32K3X4EVB-T172快速入门指南中的说明,正确执行了开机/插电步骤。我也已安装了指南中提到的软件和插件。 我用同事的S32K3X4EVB-Q172 试了同样的方法,结果一切正常。 提前感谢! 托比亚 Re: S32K3X4EVB-T172 Unable to Program using OpenSDA 1. 请参阅讨论: S32K3X4EVB-T172 上的 PEmicro 连接助手问题。红色 LED 指示灯D15 (RST_OSDA) 和D3 (RESET_K3) 是常亮还是周期性闪烁?您的主板是否也遇到了与这位客户相同的问题?   2. FS26(U12) 是否热门? 3. 你是否按照步骤“ 3.2 连接电源”和“3.3”进行操作?连接调试器电缆“?” 4. 插入 J40 micro-USB 连接线,观察D14状态 OSDA LED 指示灯。 如果D14橙色 LED 不亮:检查 USB 电缆是否为数据电缆,验证 PC 是否枚举 OpenSDA 设备,并确保 USB 端口和驱动程序正常工作。不建议通过 USB 集线器将 USB 线缆连接到电脑。 5. 板载调试器由 PEMicro 提供,建议 从“支持与下载”类别下的“ 多链路调试探针”页面下载最新的“ USB 多链路资源安装程序” 。安装完成后,打开 位于 C:\PEMicro\Multilink_Resources 目录下的 PEFirmwareConfig.exe 文件 ,查看固件版本。我的板载调试器固件版本为 10.98 。您的板载调试器固件版本是多少?如果版本过旧,建议更新。如果更新失败,建议联系 PEMicro 技术支持。 check the version of firmware on S32K3X4EVB-T172.pngcheck the version of firmware on S32K3X4EVB-T172.pngcheck the version of firmware on S32K3X4EVB-T172.pngcheck the version of firmware on S32K3X4EVB-T172.pngcheck the version of firmware on S32K3X4EVB-T172.pngcheck the version of firmware on S32K3X4EVB-T172.pngcheck the version of firmware on S32K3X4EVB-T172.pngcheck the version of firmware on S32K3X4EVB-T172.pngcheck the version of firmware on S32K3X4EVB-T172.png检查 S32K3X4EVB-T172.png 上的固件版本 6. 请使用电压模式的万用表或示波器观察P3V3_SDA (J34 ) 的电压。 S32K3X4EVB-T172_PackRevB2_Schematic P3V3_SDA J34.pngS32K3X4EVB-T172_PackRevB2_Schematic P3V3_SDA J34.pngS32K3X4EVB-T172_PackRevB2_Schematic P3V3_SDA J34.pngS32K3X4EVB-T172_PackRevB2_Schematic P3V3_SDA J34.pngS32K3X4EVB-T172_PackRevB2_Schematic P3V3_SDA J34.pngS32K3X4EVB-T172_PackRevB2_Schematic P3V3_SDA J34.pngS32K3X4EVB-T172_PackRevB2_Schematic P3V3_SDA J34.pngS32K3X4EVB-T172_PackRevB2_Schematic P3V3_SDA J34.pngS32K3X4EVB-T172_PackRevB2_Schematic P3V3_SDA J34.pngS32K3X4EVB-T172_PackRevB2_Schematic P3V3_SDA J34.png 7. SDA_RST_TGTMCU由板载调试器 K26 的输出控制。如果SDA_RST_TGTMCU输出低电平,则红色 LED D15和D3都会亮起。 请使用示波器观察SDA_RST_TGTMCU (J36)电平。它一直都很低,还是会周期性地降低? 通常情况下,当通过板载调试器下载程序或 RESET S32K3 时, SDA_RST_TGTMCU中应该观察到 10ms 的低电平,导致红色 LED D15和D3短暂亮起。 8. 是否可以通过 J12 连接外部调试器来调试板载 S32K3 芯片? 此致敬礼, Robin Re: S32K3X4EVB-T172 Unable to Program using OpenSDA 请检查跳线设置是否与“ 3.1 设置 S32K3X4EVB-T172 评估板中的跳线”中描述的设置相符。 J14的输入电压是12V吗? 你调试的是哪个项目?您能否录制一段调试过程的视频并与我分享? Re: S32K3X4EVB-T172 Unable to Program using OpenSDA 如何确定示例项目的版本? 我把J31换成了2-3。情况相同。 谢谢, 托比亚 Re: S32K3X4EVB-T172 Unable to Program using OpenSDA 我不确定您目前正在测试的是哪个版本的 RTD Port_Example_S32K344 。 不过,我建议将J31设置为位置2-3 ,然后再试一次。 Re: S32K3X4EVB-T172 Unable to Program using OpenSDA 跳线设置完全匹配。 J16 显示 12V(这似乎比直接测量插孔更容易)。 我正在使用快速入门指南中推荐的项目 Port_Example_S32K344。我觉得我可能无法录制视频。 托比亚 Re: S32K3X4EVB-T172 Unable to Program using OpenSDA 你好,罗宾, 1. 当我尝试调试/编程时,两个 LED(D15 和 D3)都保持亮着。它们不会闪光。我认为我的主板遇到了与https://community.nxp.com/t5/S32K/PEmicro-Connection-Assistant-Issue-on-S32K3X4EVB-T172/mp/2252525 中客户相同的问题,但很遗憾,他似乎通过购买另一台EVB主机来绕过了这个问题。 2.否 3. 是的 4. 当我插入micro-USB数据线时,D14指示灯会亮起。设备管理器显示“OpenSDA - CDC 串行端口 ( http://www.pemicro.com/opensda )”。系统中没有USB集线器,我的电脑和连接线可以使用S32DS软件对其他S32K344 EVB进行编程。这个问题似乎只与这个电路板有关。 5-7. 请给我点时间把这些都过一遍。我会尽快回复。 8. 我还没有尝试直接使用 JTAG,因为我正在等待一个适配器,以便与 J12 连接。 感谢您的详细回复。 托比亚 Re: S32K3X4EVB-T172 Unable to Program using OpenSDA 经过更多测试后: 5.我使用PEFirmwareConfig.exe成功更新了板载调试器固件。但是,当我尝试调试/编程时,情况仍然一样。 6. 当插入 USB 时,J34 电压为 3.25V。 7. J36 一直处于高电平,直到我尝试调试/编程。此时电压会降低,并保持低电压状态,直到 micro USB 连接断开为止。 还在等第8点的适配器。应该今天就能到。 谢谢! 托比亚 Re: S32K3X4EVB-T172 Unable to Program using OpenSDA 请将外部 12V 电源连接到 J14 并插入 USB 电缆后,拍摄 S32K3X4EVB-T172 板的照片;图像必须足够清晰,以显示跳线设置和哪些 LED 灯亮起。 请录制一段 S32DS 界面的视频,从您点击调试按钮开始,一直录制到出现错误屏幕为止。这样我就可以清楚地看到发生了什么,并有助于快速排除故障。如果您无法录制 S32DS 屏幕上操作的视频,能否截取一些屏幕截图来显示错误? Re: S32K3X4EVB-T172 Unable to Program using OpenSDA 终于找到一个能用于J12的JTAG适配器了。我可以使用外部调试器调试 S32K344 芯片。OpenSDA 仍然无法正常工作。 Re: S32K3X4EVB-T172 Unable to Program using OpenSDA 早上好, 00_evb.jpg  ^ 上电并连接 USB 后电路板的初始状态 00_dashboard.png  ^ 项目仪表板示例 03_debug3.png 01_debug1.png 02_debug2.png 调试配置 04_error1.png  ^调试后的第一个错误 04_evb.jpg  ^ EVB 在尝试调试后出现错误(与上述错误同时发生) 05_error2.png 点击“中止”后出现错误   Re: S32K3X4EVB-T172 Unable to Program using OpenSDA 给您带来的不便,敬请谅解! 根据我的经验,你开发板上的D15 LED 工作异常。   以下两个链接包含我们的退货和退款政策。保修期内可更换产品,期限为 12 个月;退款期限仅为 30 天。一旦提交了请求,直接团队会将其转发给负责此流程的人员,该人员将直接联系客户,提供下一步操作的说明。 开发工具保修退货申请表 退货和质保信息
記事全体を表示
LWIP TCP/IPサーバー・クライアント実践演習 こんにちは。S32K358 用の TCP クライアントハンドシェイクのサンプルはありますか?以前のスレッドに投稿したように、いくつか問題が発生しています。以前、S32K148 の問題解決に関する投稿(LWIP TCP/IP Server-Client Hands-On - NXP Community)を見ましたが、それが役に立つかもしれません。 もしお持ちでしたら、コピーを送っていただけないでしょうか。私のメールアドレスは[email protected]です。よろしくお願いいたします! Re: LWIP TCP/IP Server-Client Hands-On こんにちは、@sunshine88 さん。 S32K358には、lwip_s32k148_HandsOnワークショップのような参考プロジェクトはありません。lwip_s32k148_HandsOn_Server と lwip_s32k148_HandsOn_Client の両方をプライベートメッセージでお送りしました。 よろしくお願いします、 ジュリアン
記事全体を表示
S32K322 和 S32K312:关于 CMU 中断、RESET 响应和检测延迟的查询 请 提供 故障 事件 与 相应 CMU 实例 ( CMU0 、 CMU1 和 CMU2) 的 映射 关系 ? 中断 文档 列出 了 总共 七个 中断 , 但 并不 清楚 每个 CMU 实例 处理 哪些 故障 事件 以及 它们 相应 的 故障 操作 。 请查看附件图片 系统时钟监控.png 中断映射.png What is the exact meaning of the "RESET Reaction Interrupt"? 该 中断 是否 会 在 破坏性 RESET 之前 产生 , 从而允许 软件 在 RESET 发生 之前 进行干预 ? 时钟 监控 延迟 可 配置 为 1 µs 至 1 ms 。 选择 较低 的 延迟 是否能 有效 减少 消 抖/滤波 时间 , 并使 时钟 故障 检测 更加 灵敏 或 更快? Re: S32K322 and S32K312 : Queries Regarding CMU Interrupts, Reset Reaction, and Detection Latency 您好@WadkarY 1. 请问 能否 提供 故障 事件 与 相应 CMU 实例 ( CMU0、 CMU1 和 CMU2) 的 映射关系 ? image.png image.png 从图中可以看出,只有 CMU_FC_0、CMU_FM_1、CMU_FM_2 可以配置为中断;其他中断默认应视为破坏性复位源,而不是标准 CMU 中断。 CMU_FC_0->CMU0 CMU_FM_1->CMU1 CMU_FM_2->CMU2 CMU_FC_3->CORE_CLK_FAIL CMU RESET 复位反应中断 CMU_FC_4->AIPS_PLAT_CLK_FAIL CMU RESET 反应中断 CMU_FC_5->HSE_CLK_FAIL CMU 复位反应中断 CMU_FC_6->CM7_CORE_CLK_FAIL CMU 复位反应中断 2. 此 中断 是否 在 破坏性 RESET 之前 产生 , 从而允许 在 RESET 发生 之前 进行 软件 干预 ? 不,除非特意配置了 MC_RGM/DCM 破坏性 RESET 中断旁路,否则不会出现破坏性 RESET 行为。 例如: 1. CMU_FC_4 检测到 AIPS_PLAT_CLK 频率超过阈值 ↓ 破坏性复位已钳位 + 同时发出 IRQ 215 ↓ 几乎瞬间 MCU RESET → 从 RESET Vector 重启 ↓ 软件读取 MC_RGM.DES[AIPS_PLAT_CLK_FAIL] 以识别 RESET 原因 3.选择较低的延迟是否能有效减少消抖/滤波时间,并使时钟故障检测更加灵敏或更快? 该参数与 REF_CNT 相关。 •RCCR[REF_CNT] 值越高,测量窗口越长,从而在监测的时钟检查中实现更高的精度。 • RCCR[REF_CNT] 值越低,测量窗口越短,导致 FHH 和 FLL 事件响应越快,但报告结果的准确性越低。 Re: S32K322 and S32K312 : Queries Regarding CMU Interrupts, Reset Reaction, and Detection Latency 感谢你的回复。 您能否帮忙解释一下PLL时钟的最大可能偏差是多少? 从数据表中我们得到 FIRC 和 SIRC 的最大允许偏差分别为 5% 和 10%。 请您解释一下PLL的偏差,因为DS中没有提到。 Re: S32K322 and S32K312 : Queries Regarding CMU Interrupts, Reset Reaction, and Detection Latency 您好@WadkarY “CMU RESET reaction interrupt”不应被解释为破坏性 RESET 之前的预警中断。对于这些 CMU 故障源,当配置了破坏性 RESET 反应时,RESET 请求和相应的 MC_RGM RESET 反应中断基本上是同时生成的。因此,软件不能依赖于在破坏性重置发生之前进入中断服务例程 (ISR) 并完成恢复操作。 中断是 MC_RGM 复位反应机制的一部分,与可以将适用的复位反应重定向/绕过到中断的配置相关。如果源仍然配置为破坏性复位,则正常的软件策略是允许复位发生,并在重新启动后检查相应的 MC_RGM.DES 状态标志以确定复位原因。 Re: S32K322 and S32K312 : Queries Regarding CMU Interrupts, Reset Reaction, and Detection Latency 您好@WadkarY 由于锁相环 (PLL) 不适用,因此没有单独的大偏差规范。PLL 输出频率精度等于参考晶体精度,加上一个很小的抖动贡献,数据手册在 PLL 特性表中将其量化为“JPLL_acc”。 Re: S32K322 and S32K312 : Queries Regarding CMU Interrupts, Reset Reaction, and Detection Latency 各位同事好, 谢谢你的回复。 但我不太理解“重置反应中断”的含义及其用途? CMU_FC_3->CORE_CLK_FAIL CMU RESET 复位反应中断 CMU_FC_4->AIPS_PLAT_CLK_FAIL CMU RESET 反应中断 CMU_FC_5->HSE_CLK_FAIL CMU 复位反应中断 CMU_FC_6->CM7_CORE_CLK_FAIL CMU 复位反应中断 请问这些中断是否为软件干预提供了机会,以便在产生破坏性RESET之前进行干预? 如果答案是肯定的,软件如何介入并阻止或处理重置? 如果没有,那么在破坏性复位之后立即发生的情况下,产生这些中断的目的是什么?
記事全体を表示
HseFwInstall 我下载了官方的HSE安装示例,运行后发现HSE没有安装成功,程序会一直卡在while ( FALSE == HSE_CheckStatus(HSE_STATUS_INIT_OK) );我现在没有什么方向,求帮助,如何才能成功安装HSE。附件是官方的例子,我下载后修改了.project为S32K312,屏蔽了链接脚本中的baf文件,其他没有修改了。 Re: HseFwInstall Hi 我建议你通过代理商FAE获取最新的s32k3_hse_lib_rtd400hf01_20260427.7z 再测试一次。新版本修复了一些老版本发现的bug. 根据SBAF_S32K312_0_0_15_0_ReleaseNotes.pdf的“2.2 Version Number Details”章节以及你截图显示 0x4039C020 - - 0x4039C027 处的值是010D0000 000F0005。看起来曾经安装过 AB_SWAP 固件? 如果安装FULL_MEM 的话,0x4039C020 - - 0x4039C027 处的值应该是 000D0000 000F0006 但我在你附件工程里看到的是 S32K312_0_2_40_0_HSE_FULL_MEM。 我有些困惑你到底需要安装FULL_MEM还是AB_SWAP的HSE FW? 请检查你为HseLib_HseFwInstall_Rtd400工程选择的哪种Build选项。 请注意无法从AB_SWAP退回FULL_MEM。 你提供的截图里看出 0x4039C028=0xC0 bit0=0意味着SBAF没有将HSE FW启动起来。看起来HSE FW固件被破坏了。恐怕需要参考MU Restore FW_EN.pdf 使用MU恢复HSE FW。 另外请参考s32k3_hse_lib_rtd400hf01_20260427\Doc\S32K3_HSE_LIB_UserGuide.pdf手册。我没理解"屏蔽了链接脚本中的baf文件" ,请问是指该文档 19/51页 "3.3 .3 Build configuration - Settings of Linker"章节的 s32k3xx_flash_full_mem_0_2_40_0.ld ? 安装SBAF_S32K312_0_0_15_0.exe后路径是 C:\NXP\SBAF_S32K312_0_0_15_0\bin\s32k312_Secure_Baf_0.13.0_0.15.0.6_pb230804.bin.pink 不用屏蔽该文件。 Best Regards, Robin
記事全体を表示
HseFwInstall 公式のHSEインストール例をダウンロードして実行しましたが、HSEのインストールに失敗しました。プログラムは`while ( FALSE == HSE_CheckStatus(HSE_STATUS_INIT_OK) );`ループで停止してしまいます。どうすればよいか分からず困っています。HSEを正常にインストールする方法を教えてください。添付ファイルは公式の例です。ダウンロード後、`.project`ファイルを`S32K312`に変更し、リンカースクリプト内の`baf`ファイルを無効にしました。それ以外は何も変更していません。 Re: HseFwInstall こんにちは 販売代理店のFAEから最新版のs32k3_hse_lib_rtd400hf01_20260427.7zを入手して、再度テストすることをお勧めします。この新バージョンでは、旧バージョンで見つかったいくつかのバグが修正されています。 SBAF_S32K312_0_0_15_0_ReleaseNotes.pdfの「 2.2 バージョン番号の詳細」セクションと、スクリーンショットに表示されている 0x4039C020 - 0x4039C027 の値から判断すると、以前に AB_SWAP ファームウェアがインストールされていたようです。FULL_MEM がインストールされていた場合、0x4039C020 - 0x4039C027 の値は 000D0000 000F0006 になるはずです。 しかし、添付のプロジェクトを見ると、S32K312_0_2_40_0_HSE_FULL_MEM となっています。AB_SWAP には FULL_MEM をインストールする必要があるのか、それとも HSE FW をインストールする必要があるのか、少し混乱しています。HseLib_HseFwInstall_Rtd400 プロジェクトで選択したビルドオプションを確認してください。 AB_SWAPからFULL_MEMに戻すことはできませんのでご注意ください。 ご提供いただいたスクリーンショットには、0x4039C028=0xC0 bit0=0と表示されています。これは、SBAFがHSE FWの起動に失敗したことを意味します。HSE FWファームウェアが破損しているようです。MUを使用してHSE FWを復元するには、 MU Restore FW_EN.pdfを参照する必要があるでしょう。 マニュアル s32k3_hse_lib_rtd400hf01_20260427\Doc\ S32K3_HSE_LIB_UserGuide.pdfも参照してください。「リンカースクリプトで baf ファイルをブロックした」という部分が理解できませんでした。これは、そのドキュメントの 19/51 ページ、セクション 3.3 を指しているのでしょうか?.3「ビルド構成 - リンカーの設定」セクションで、ファイル s32k3xx_flash_full_mem_0_2_40_0.ld はどうなりますか? SBAF_S32K312_0_0_15_0.exe をインストールした後、パスは C:\NXP\SBAF_S32K312_0_0_15_0\bin\s32k312_Secure_Baf_0.13.0_0.15.0.6_pb230804.bin.pink になります。このファイルはコメントアウトする必要はありません。 よろしくお願いします、 ロビン
記事全体を表示
S32K3X4EVB-T172 OpenSDAを使用してプログラムできません 私は新品の S32K3X4EVB-T172 Eval ボードを持っています。S32 プロセッサは工場出荷時のデフォルトコードを実行しているようですが、USBでパソコンに接続したオンボードのデバッガでデバッグや再プログラムを試みると、S32もオンボードのデバッガもリセットされてしまいます。 S32K3X4EVB-T172クイックスタートガイドに記載されている正しい電源オン/接続手順を使っています。また、そこに記載されているソフトウェアやアドオンもインストールしています。 同僚のS32K3X4EVB-Q172で同じ手順を試したところ、問題なく動作しました。 よろしくお願いいたします。 -トビア Re: S32K3X4EVB-T172 Unable to Program using OpenSDA 1. 議論を参照してください: S32K3X4EVB-T172 での PEmicro Connection Assistant の問題。赤色LED D15 (RST_OSDA)とD3 (RESET_K3)は点灯したままですか、それとも定期的に点滅しますか?あなたのボードもこのお客様と同じ問題を抱えていますか?   2. FS26(U12)はホットですか? 3. 「 3.2 電源を接続する」の手順、そして「3.3デバッガーケーブルを接続しますか? 4. J40マイクロUSBケーブルを接続し、 D14 STATUS OSDA LEDを確認します。 D14のオレンジ色LEDが点灯しない場合は、USBケーブルがデータケーブルかどうか、PCがOpenSDAデバイスを列挙しているか、USBポートとドライバが正しく動作しているか確認してください。USBケーブルをUSBハブ経由でPCに接続することは推奨されません。 5. オンボードデバッガはPEMicroが提供しており、「 Multilink Debug Probes 」の 「サポート & Downloads」カテゴリから 最新の 「USB Multilink Resources Installer 」をダウンロードすることをお勧めします 。インストール後、 C:\PEMicro\Multilink_Resourcesの中からPEFirmwareConfig.exeを開き、ファームウェアのバージョンを確認してください。私のオンボードデバッガーのファームウェアバージョンは 10.98 です。あなたのボードのバージョンは何ですか?バージョンが古すぎる場合は、アップデートを推奨します。アップデートが失敗した場合は、PEMicroの技術サポートに お問い合わせ することをお勧めします。 check the version of firmware on S32K3X4EVB-T172.pngcheck the version of firmware on S32K3X4EVB-T172.pngcheck the version of firmware on S32K3X4EVB-T172.pngcheck the version of firmware on S32K3X4EVB-T172.pngcheck the version of firmware on S32K3X4EVB-T172.pngcheck the version of firmware on S32K3X4EVB-T172.pngcheck the version of firmware on S32K3X4EVB-T172.pngcheck the version of firmware on S32K3X4EVB-T172.pngcheck the version of firmware on S32K3X4EVB-T172.pngS32K3X4EVB-T172.pngのファームウェアのバージョンを確認してください。 6. マルチメーターを電圧モードで使用するか、オシロスコープを使用してP3V3_SDA(J34 )の電圧を観察してください。 S32K3X4EVB-T172_PackRevB2_Schematic P3V3_SDA J34.pngS32K3X4EVB-T172_PackRevB2_Schematic P3V3_SDA J34.pngS32K3X4EVB-T172_PackRevB2_Schematic P3V3_SDA J34.pngS32K3X4EVB-T172_PackRevB2_Schematic P3V3_SDA J34.pngS32K3X4EVB-T172_PackRevB2_Schematic P3V3_SDA J34.pngS32K3X4EVB-T172_PackRevB2_Schematic P3V3_SDA J34.pngS32K3X4EVB-T172_PackRevB2_Schematic P3V3_SDA J34.pngS32K3X4EVB-T172_PackRevB2_Schematic P3V3_SDA J34.pngS32K3X4EVB-T172_PackRevB2_Schematic P3V3_SDA J34.pngS32K3X4EVB-T172_PackRevB2_Schematic P3V3_SDA J34.png 7. SDA_RST_TGTMCUは、オンボードデバッガK26の出力によって制御されます。SDA_RST_TGTMCUが低レベルを出力すると、赤色LED D15とD3の両方が点灯します。 オシロスコープを使用して、 SDA_RST_TGTMCU(J36)レベルを監視してください。常に低い値を示すのか、それとも定期的に低い値を示すのか? 通常、オンボードデバッガを使用してプログラムをダウンロードしたり、S32K3をリセットしたりすると、 SDA_RST_TGTMCUに10msのローレベルが観測され、赤色LED D15とD3が短時間点灯します。 8. J12経由で接続した後、外部デバッガを使用してオンボードのS32K3チップをデバッグすることは可能ですか? よろしくお願いいたします ロビン Re: S32K3X4EVB-T172 Unable to Program using OpenSDA 外部12V電源をJ14に接続し、USBケーブルを差し込んだ後、S32K3X4EVB-T172ボードの写真を撮影してください。写真は、ジャンパー設定と点灯しているLEDがはっきりとわかるように撮影してください。 デバッグボタンをクリックしたところからエラー画面が表示されるまで、S32DSのインターフェースの動画を録画してください。これにより、何が起こっているのかを正確に把握し、問題を迅速に解決することができます。もしS32DSで行われた操作の動画を画面に録画できない場合、エラーを示すためにスクリーンショットをいくつか撮ってもらえますか? Re: S32K3X4EVB-T172 Unable to Program using OpenSDA さらにテストを重ねた結果: 5.PEFirmwareConfig.exeを使用して、オンボードデバッガーのファームウェアをアップデートすることができました。しかし、デバッグやプログラミングを試みても同じ動作が続きます。 6. USBを接続すると、J34の電圧は3.25Vになります。 7. デバッグ/プログラミングを試みるまでは、J36 はハイレベルです。その時点で電圧は低下し、マイクロUSBケーブルが抜かれるまで低いままになります。 8番目の部品用のアダプターはまだ届いていません。今日届くはずです。 ありがとうございました。 -トビア Re: S32K3X4EVB-T172 Unable to Program using OpenSDA ジャンパーの設定が「S32K3X4EVB-T172評価ボードの3.1セットアップジャンパー」に記載されているものと一致しているかご確認ください。 J14の入力電圧は12Vですか? どのプロジェクトのデバッグを担当しましたか?デバッグ作業の様子を動画に録画して、私と共有していただけませんか? Re: S32K3X4EVB-T172 Unable to Program using OpenSDA ジャンパー設定は一致しています。 J16には12Vが表示されています(ジャックを直接測定するよりも簡単そうでした)。 クイックスタートガイドで推奨されているプロジェクトPort_Example_S32K344を使用しています。動画撮影はできないと思います。 -トビア Re: S32K3X4EVB-T172 Unable to Program using OpenSDA こんにちは、ロビンさん。 1. デバッグ/プログラミングを試みると、両方のLED(D15とD3)が点灯したままになります。それらは点滅しない。私のボードも https://community.nxp.com/t5/S32K/PEmicro-Connection-Assistant-Issue-on-S32K3X4EVB-T172/m-p/2252525 のお客様と同じ問題を抱えていると思います。 しかし、彼は別のEVBを購入することで問題を回避したようで、それは残念なことだ。 2. いいえ 3. はい 4. マイクロUSBケーブルを接続すると、D14のランプが点灯します。デバイスマネージャーには「OpenSDA - CDC シリアルポート(http://www.pemicro.com/opensda)」と表示されます。システムにはUSBハブがなく、PC+ケーブルはS32DSを使って他のS32K344 EVBをプログラムできます。この問題は、特にこの掲示板に関係しているようです。 5~7番。これらについて少し時間をください。すぐに返信いたします。 8. J12とインターフェースできるアダプターを待っているため、まだ直接JTAGを試していません。 詳細なご回答ありがとうございます。 -トビア Re: S32K3X4EVB-T172 Unable to Program using OpenSDA 現在テストされているRTD Port_Example_S32K344のバージョンがどれなのか分かりません。 ただし、 J31 を 2〜3 のポジションに設定して、もう一度試してみることをおすすめします。 Re: S32K3X4EVB-T172 Unable to Program using OpenSDA サンプルプロジェクトのバージョンはどうやって判別すればいいですか? J31を2-3に切り替えました。同じ挙動。 ありがとう、 -トビア Re: S32K3X4EVB-T172 Unable to Program using OpenSDA おはよう、 00_evb.jpg00_evb.jpg  ^ 電源投入後およびUSB接続後の基板の初期状態 00_dashboard.png00_ダッシュボード.png  ^ プロジェクトダッシュボードの例 03_debug3.png03_debug3.png 01_debug1.png01_debug1.png 02_debug2.png02_debug2.png    ^デバッグ設定 04_error1.png04_error1.png ^ デバッグ後の最初のエラー 04_evb.jpg04_evb.jpg ^ デバッグ試行後にEVBエラーが発生する(上記のエラーと同時に発生) 05_error2.png05_error2.png ^中止をクリックした後にエラーが発生しました   Re: S32K3X4EVB-T172 Unable to Program using OpenSDA ついにJ12に対応したJTAGアダプターを入手しました。外部デバッガを使ってS32K344チップをデバッグできます。OpenSDAは依然として動作しません。 Re: S32K3X4EVB-T172 Unable to Program using OpenSDA ご迷惑をおかけして申し訳ございません! 私の経験では、あなたの開発ボードの D15 LEDが異常な挙動をしています。   以下の2つのリンクに、返品および返金に関する当社のポリシーが記載されています。保証交換の期間は12ヶ月間ですが、返金の期間は30日間のみです。リクエストが提出されると、直接チームはこのプロセスを担当する担当者に転送し、担当者はお客様に直接お問い合わせして次に何をすべきか指示を行います。 開発ツールの保証返品リクエスト・フォーム 返品および保証について
記事全体を表示
使いやすい8ビットのマイクロコントローラやアセンブリ言語はありますか? 実際の16進/バイナリコードが見られる8ビットのマイクロコントローラを探しています。大学で8051アセンブリ言語を学んでいるのですが、メモリ内の命令や値の一つ一つを見て理解できることが本当に大好きです。しかし、それらのマイクロコントローラは時代遅れで互換性のために多くの「ハック」が必要です。少なくとも、自分のコードを実際のハードウェアに書き込むたびに、そんな風に感じるんです。では、シンプルな8ビットアセンブリ言語で実際のチップを使った簡単な電子工学プロジェクトをプログラムできるものはありますか? Re: Is there a simple 8 bit microcontroller/assembly language that is nice to work with? こんにちは; アセンブリを学ぶなら、良い出発点はS08PTデバイスです。 S08PT|8ビット5V EEPROMとTSIを備えたフル機能MCU |NXP Semiconductors。 使用可能なソフトウェアツールは、Windows 10/11向けに利用可能な CodeWarrior for MCUS (Eclipse IDE) v11.1 です。このツールではアセンブリコードでテストできます。アセンブリ内のデバッグビューが表示され、メモリを確認してコードの機能を理解することができます。 このデバイスには評価ボードS08PT60-EVK、[MC9S08PT60]、[興味があれば]、[S08PT60-EVK製品情報]と様々な周辺機器が搭載されており、コードから実際のハードウェアへの異なる構成をテストできます。 オンボードインターフェースにはRGB LED、6軸デジタル加速度計と磁力計、周囲温度センサ、2つの静電容量式タッチパッド、ポテンショメーター、2つのユーザープッシュボタン、IRDAトランシーバが含まれます。また、拡張ボード用のArduinoピン配列にも対応しています。 詳細はメインページでご覧いただけます: S08P MCUs 評価キット | NXP Semiconductors 敬具、ルイス
記事全体を表示
使用 Green Hills 工具链的 S32k344 如何重新定位向量段,使其将向量表存储在闪存的 0x00400000 地址处,但在运行时复制到 DTCM 内存并从那里运行?我该如何在 Greenhills 链接器文件中实现这一点? Re: S32k344 using green hills toolchain 嗨@XRen_Parker 由于这个问题与 Green Hills 工具链及其集成密切相关,我建议您直接联系 Green Hills。他们应该能够提供适当的指导和资源。 https://support.ghs.com/ 此致, Lukas
記事全体を表示
DSPの使い方MPC5644A こんにちは、MPC5644AでDSPの使い方と設定方法を知りたいです Re: How to use DSP for MPC5644A こんにちは、 MPC5644A専用のDSPペリフェラルやDSPコプロセッサは搭載されていません。DSP機能は、e200z4 CPUコアに統合された信号処理拡張(SPE)を通じて提供されます。個別のDSP設定は必要ありません。DSP機能を活用するには、アプリケーションをSPEサポートを有効にしてコンパイルし、SIMDやMAC操作などのSPE命令を使えるようにする必要があります。 よろしくお願いいたします。 ピーター
記事全体を表示
Is there a simple 8 bit microcontroller/assembly language that is nice to work with? I'm searching for an 8 bit microcontroller where I can look at the actual hex/binary code. I've been learning 8051 assembly in university and I absolutely love seeing and understand every single instruction and value in the memory. But those microcontrollers are antiquated and need a bunch of "hacks" for compatibility. At least that's what it feels like everytime I put my code onto real hardware. So is there a simple 8 bit assembly language with actual chips I can program simple electronics projects with ? Re: Is there a simple 8 bit microcontroller/assembly language that is nice to work with? Hello; If you are learning assembly a good start point could be the S08PT device; S08PT|8-bit 5V Full-featured MCU with EEPROM and TSI | NXP Semiconductors. The software tool to use it is CodeWarrior for MCUs (Eclipse IDE) v11.1 available for windows 10/11.; in this tool you can test with assembly code as it have the tools view for debug in assembly and review the memory to understand the functionality of your code. This device have an evaluation board S08PT60-EVK, [MC9S08PT60] if you are interested, [S08PT60-EVK Product Information] with various peripherals, for you to test different configurations from your code onto real hardware. The onboard interfaces include an RGB LED, a 6-axis digital accelerometer and magnetometer, an ambient temperature sensor, two capacitive touch pads, a potentiometer, two user push-buttons, and IRDA transceiver. Also is compatible with the Arduino pin layout for expansions boards. You can read more about the features in the main page: S08P MCUs Evaluation Kit | NXP Semiconductors Best Regards, Luis
記事全体を表示