Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
eFlexPWM 的初始 PWM 输出值 你好, 在使用 MCXA132 的 eFlexPWM 时,我想修改 PWM23 的初始值。 为此,我将采取以下步骤: 1. SM1CTRL2[PWM23_INIT] = 1 2. SM1CTRL2[FRCEN] = 1 SM1CTRL2[FORCE] = 1(注意 SM1CTRL2[FORCE_SEL] 为 000) 3. MCTRL[RUN] = 010 但第一个 PWM 周期总是从输出电平 0 开始。 问题出在哪里? 提前致谢 MCXA Re: Initial PWM output value with eFlexPWM 你好@zorrotz 为了帮助我们分析问题,能否请您与我们分享您的完整项目? 谢谢! BR 爱丽丝 Re: Initial PWM output value with eFlexPWM 你好, 我找到我的错误了。 参考手册中有这样一条注释: “如果未设置 MCTRL[LDOK],则设置 MCTRL[RUN] 也会设置 STS[RF] 标志。为防止 CPU 中断请求,请在设置 MCTRL[RUN] 之前清除 INTEN[RIE]。 我使用 STS[RF] 来结束 PWM 周期,但在执行 MCTRL[RUN] = 1 之前,我会清除 STS[RF]。 谢谢!
View full article
RT1170はQSPIフラッシュ(MX25L51245G)をサポートしています こんにちは、 RT1170はQSPIフラッシュのMX25L51245Gをサポートしていますか? このチップに対応するために、設定ファイル「evkmimxrt1170_flexspi_nor_config.c」を変更する必要がありますか? もしSOなら、どうやって修正すればいいのでしょうか?どのパラメータを変更すべきでしょうか? ごサポートありがとうございます! よろしくお願いいたします。 世界ジュニア会議 Re: RT1170 support QSPI Flash (MX25L51245G ) こんにちは、 @jeremyzhou 弊社では、MX25L51245G外部フラッシュメモリとRT1176を使用しており、以下の構成を実装しています。XIPモードでは問題なく動作しますが、念のため貴社からも確認をいただきたいです。 しかし、「リンクアプリケーションモード」でマルチコアアプリケーションを実行すると、システムはハードフォールトに遭遇します。具体的には、FlexCAN MCRレジスタから読み取った値によってアサートがトリガーされます。 参考までに、スクリーンショットとルックアップテーブルを以下に添付します。 M7フラッシュ初期化(RAM): M4フラッシュ初期化(RAM): マルチコア(RAM)のハードフォルト: こちらはRAMモードとXIP(Execute-in-Place)モードの両方でシームレスに動作するソフトウェアをサポートするために設計されたルックアップテーブルの構成です:   #define FLASH_DUMMY_CYCLES 0x08 const flexspi_nor_config_t qspiflash_config = { .memConfig = { .tag = FLEXSPI_CFG_BLK_TAG 、 .version = FLEXSPI_CFG_BLK_VERSION、 .readSampleClksrc= kFlexSPIReadSampleClk_LoopbackFromDqsPad 、 .csHoldTime = 3u、 .csSetupTime = 3u、 .controllerMiscOption = 0x10、 .deviceType = kFlexSpiDeviceType_SerialNOR 、 .sflashPadType = kSerialFlash_4Pads、 .serialClkFreq = kFlexSpiSerialClk_133MHz , //オクマハタシオルルサkFlexSpiSerialClk_120MHz .sflashA1Size = 64u * 1024u * 1024u, //64MB //彼女のアシリスタQE = 1. ROM 1 回 WREN'i ( seq 3) kendisi gonderir 、 sonra 4*12' yi 0x40 ile calistirr 。 //NXP RT1170 EVK'daki configCmd kalibin aynisi .configCmdEnable = 1u、 .configModeType[0] = kDeviceConfigCmdType_Generic、 .configCmdSeqs[0] = {.seqNum = 1u, .seqId = 12u, .reserved = 0u}, //1 taneシーケンスcalistir : 4*12 // asagiyi 0x20ヤピンカカリスマディドグルダンメモリハタシンダパトラディメインエゲルメデン .configCmdArgs[0] = 0x40u, //WRITE_SDR'nin gonderecegi byte: SR = 0x40 .lookupTable = { [0] = FLEXSPI_LUT_SEQ(CMD_SDR, FLEXSPI_1PAD, 0x6C, RADDR_SDR, FLEXSPI_1PAD, 0x20), //6Ch QREAD4B: komut ve 4 byte adres tek hattan (1-1-4) [1] = FLEXSPI_LUT_SEQ(DUMMY_SDR, FLEXSPI_4PAD, FLASH_DUMMY_CYCLES, READ_SDR, FLEXSPI_4PAD, 0x04), //8 ダミーベール、データ 4ハットン [4 * 1 + 0] = FLEXSPI_LUT_SEQ(CMD_SDR, FLEXSPI_1PAD, 0x05, READ_SDR, FLEXSPI_1PAD, 0x04), //ステータスregini 0x05'den okuyacam (WIP = bit0) [4 * 3 + 0] = FLEXSPI_LUT_SEQ(CMD_SDR, FLEXSPI_1PAD, 0x06, STOP, FLEXSPI_1PAD, 0x0), //書き込み完了 //アサギダキニヨルマアリンカゲルツェクテンシルメディ [4 * 5 + 0] = FLEXSPI_LUT_SEQ(CMD_SDR, FLEXSPI_1PAD, 0x21, RADDR_SDR, FLEXSPI_1PAD, 0x20), //4 バイトアドレスalarak 4 kbセクターsilecem [4 * 8 + 0] = FLEXSPI_LUT_SEQ(CMD_SDR, FLEXSPI_1PAD, 0xDC, RADDR_SDR, FLEXSPI_1PAD, 0x20)、 //64 kbブロック サイセム(アプリ デkullanmiyoruz ) [4 * 9 + 0] = FLEXSPI_LUT_SEQ(CMD_SDR, FLEXSPI_1PAD, 0x12, RADDR_SDR, FLEXSPI_1PAD, 0x20), //4バイト1ページyazacam [4 * 9 + 1] = FLEXSPI_LUT_SEQ(WRITE_SDR, FLEXSPI_1PAD, 0x04, STOP, FLEXSPI_1PAD, 0x0), // datayi gonder ve bitir (WEL'i フラッシュ プログラム ビットインスkendisi temizler ) [4 * 11 + 0] = FLEXSPI_LUT_SEQ(CMD_SDR, FLEXSPI_1PAD, 0xC7, STOP, FLEXSPI_1PAD, 0x0), // tum flashi silecem (app'de kullanmiyoruz ) [4 * 12 + 0] = FLEXSPI_LUT_SEQ(CMD_SDR, FLEXSPI_1PAD, 0x01, WRITE_SDR, FLEXSPI_1PAD, 0x01), //WRSR + tam 1 バイト (configCmdArgs[0]): sacece SR yazilir , CR'ye dokunmaz // seq 6/7 bos : ROM API サスペンド/レジュームkullanmiyor }、 }、 .pageSize = 256u、 .sectorSize = 4u * 1024u、 .ipcmdSerialClkFreq = 0x1、 .blockSize = 64u * 1024u、 .isUniformBlockSize = true、 }; Re: RT1170 support QSPI Flash (MX25L51245G ) こんにちは、 NXP Semiconductors製品へのご関心と、皆様にお仕えできる機会をいただき、ありがとうございます。 1) RT1170はQSPIフラッシュのMX25L51245Gをサポートしていますか? ――はい。 2) このチップに合わせて設定ファイル「evkmimxrt1170_flexspi_nor_config.c」を変更する必要がありますか? はい、下記のコードをご参照ください。 const flexspi_nor_config_t qspiflash_config = { .memConfig = { .tag = FLEXSPI_CFG_BLK_TAG, .version = FLEXSPI_CFG_BLK_VERSION, .readSampleClksrc=kFlexSPIReadSampleClk_LoopbackFromDqsPad, .csHoldTime = 3u, .csSetupTime = 3u, // Enable DDR mode, Wordaddassable, Safe configuration, Differential clock .sflashPadType = kSerialFlash_4Pads, .serialClkFreq = kFlexSpiSerialClk_100MHz, .sflashA1Size = 64u * 1024u * 1024u, .lookupTable = { // Read LUTs FLEXSPI_LUT_SEQ(CMD_SDR, FLEXSPI_1PAD, 0xEB, RADDR_SDR, FLEXSPI_4PAD, 0x20), FLEXSPI_LUT_SEQ(DUMMY_SDR, FLEXSPI_4PAD, 0x06, READ_SDR, FLEXSPI_4PAD, 0x04), }, }, .pageSize = 256u, .sectorSize = 4u * 1024u, .blockSize = 256u * 1024u, .isUniformBlockSize = false, }; 良い一日をお過ごしください。 TIC ------------------------------------------------------------------------------- 注記: この投稿があなたの質問への回答になっている場合は、「正解としてマーク」ボタンをクリックしてください。ありがとう! - 前回の投稿から7週間Threadをフォローしており、その後の返信は無視しています もし後で関連する質問があれば、新しいThreadを開き、閉じたThreadを参照してください。 -------------------------------------------------------------------------------
View full article
eFlexPWMを使用した初期PWM出力値 こんにちは、 MCXA132のeFlexPWMを使用して、PWM23の初期値を変更したいと考えています。 そのため、私は以下の手順を実行します。 1. SM1CTRL2[PWM23_INIT] = 1 2. SM1CTRL2[FRCEN] = 1 SM1CTRL2[力] = 1(SM1CTRL2[FORCE_SEL]は000であることに注意) 3. MCTRL[RUN] = 010 しかし最初のPWMサイクルは常に出力レベル0から始まります。 問題はどこにあるのでしょうか? よろしくお願いします MCXA Re: Initial PWM output value with eFlexPWM こんにちは、 @zorrotz さん。 問題の分析に協力するために、あなたのプロジェクト全体をぜひ共有していただけますか? よろしくお願いします。 BR アリス Re: Initial PWM output value with eFlexPWM こんにちは、 自分の間違いに気づきました。 リファレンス・マニュアルには次のような注記があります: 「MCTRL[LDOK]が設定されていない場合、MCTRL[RUN]を設定するとSTS[RF]フラグも設定されます。CPU割り込み要求を防ぐには、MCTRL[RUN]を設定する前にINTEN[RIE]をクリアしてください。 私はSTS[RF]を使ってPWMサイクルを終わらせていますが、MCTRL[RUN] = 1を行う前にSTS[RF]をクリアしています。 よろしくお願いします。
View full article
S32K3X8EVB-Q289 Boundary Scan test based on Lauterbach μTrace and Trace32. 1. Abstract/Introduction Boundary scan is a method for testing interconnects (wire lines) on printed circuit boards or sub-blocks inside an integrated circuit (IC). Boundary scan is also widely used as a debugging method to watch integrated circuit pin states, measure voltage, or analyze sub-blocks inside an integrated circuit. The Joint Test Action Group (JTAG) developed a specification for boundary scan testing that was standardized in 1990 as the IEEE Std. 1149.1-1990. In 1994, a supplement that contains a description of the boundary scan description language (BSDL) was added which describes the boundary-scan logic content of IEEE Std 1149.1 compliant devices. Since then, this standard has been adopted by electronic device companies all over the world. Boundary scan is now mostly synonymous with JTAG. This test is based on existing application notes for LPC55(S)xx, i.MX RT and MCXA (See references). The procedure follows how to do both a BYPASS, IDCODE and SAMPLE test, as well as an EXTEST. Following boundary scan instructions are defined in the IEEE standard: BYPASS (mandatory): TDI is connected to TDO via a single shift register. IDCODE (optional): Reads the device identification register. SAMPLE (mandatory): Takes a snapshot of the normal operation of the IC. EXTEST (mandatory): Apply preloaded data of the boundary scan register to the ports. 2. Hardware platform Lauterbach: LA-3505 POWER-DEBUG-PRO S32K3: S32K3X8EVB-Q289 There are no hardware modifications needed for connecting JTAG interface, as the S32K3 family includes the standard Arm debug port, supporting both the JTAG and SWD interfaces. S32K3XX derivatives can directly use the JTAG interface. Ensure S32K3X8EVB-Q289's jumpers are set as in the Quick Start Guide for S32K3X8EVB Board: Default Jumper settings.Default Jumper settings. Ensure a valid connection between the EVB's JTAG ARM 20-pin Standard Port (On board: J365), and the Debug Cable for Lauterbach interface. 3. Software platform This test uses Lauterbach's TRACE32 Software Package. Download the TRACE32_202509.7z to the computer and install it: Because the installation package is relatively large, you can install software components according to the target processor to save hard disk space. You can find installed driver at C:\T32\bin\windows64\drivers. 4. BSDL file validation using Lauterbach JTAG debugger. Confirm that Lauterbach probe is detected in 'Device Manager': Device Manager Trace32 device enumeration.Device Manager Trace32 device enumeration. Note: Lauterbach debugger used is LA-3500, with Probe LA-3000 + LA-7844A Debug License. Related information can be found on the Lauterbach's page. Open TRACE32 Arm interface: Type in the following commands: SYStem.Down BSDL.RESet BSDL.ParkState Select-DR-Scan BSDL.state  BSDL.state window should now appear. Select 'FILE' and load BSDL from S32K3 HW Design Package. S32K3X8EVB-Q289 should use S32K358_bga289_customer_1995E01D.bsdl. BSDL.state window.BSDL.state window.  After loading the file, type the following command: BSDL.SOFTRESET​ Switch to the Check tab of the BSDL.state window. Click BYPASSall and IDCODEall button to see if both results pass. Both should change from 'No result' to 'Test PASS': BYPASS and IDCODE check.BYPASS and IDCODE check. BYPASS: PASS means the bypass scan completed correctly for all configured devices. This indicates that the JTAG chain connectivity, chain order/length, and basic BSDL configuration are probably correct. IDCODE: PASS means the received device ID matches the expected BSDL description. This is evidence that the correct device and BSDL file are being used, but it still does not validate the boundary-register pin definitions. Next, click the SAMPLEall button, 'No result' should become Test done. Double-click the entity name, and the BSDL.SET window will pop-up: BYPASS and IDCODE check, BSDL.SET window appears.BYPASS and IDCODE check, BSDL.SET window appears. SAMPLE: PASS indicates that the pin can be observed through the boundary-scan cell, the BSDL input/observe mapping is likely correct, and that the captured value corresponds to the actual pad level. In the BSDL.SET window, uncheck Intern option to filter out the internal registers. The remaining contents are the sampled value on each signal pins. Use a multimeter to measure voltage of at least three signal pins and see if the logic state matches the sampled value. BSDL.SET window, SAMPLE check.BSDL.SET window, SAMPLE check. Next, in the Instructions field, click EXTEST and in the DR mode field, choose Set Write. Then switch to the BSDL.state window and check SetAndRun and TwoStepDR. BSDL.SET & BSDL.STATE windows EXTEST set up.BSDL.SET & BSDL.STATE windows EXTEST set up. Switch back to BSDL.SET window, click 'ENABLE' in Init BSR to enable output of corresponding signal pins, and click the buttons in “Reg.” column to toggle their output logic state 0 or 1. Use a multimeter to measure if the logic state really toggles on those signal pins. At least three signal pins need to be verified. BSDL.SET window enable and toggle signal levelBSDL.SET window enable and toggle signal level Note: PTG29/30/31 (User LED indicators Red/Green/Blue) for simplicity reasons, however, as a diagnostic recommendation, use an unloaded or lightly loaded pad if possible. 5. Conclusion This procedure provides a practical method for validating the S32K3X8EVB JTAG boundary-scan chain using TRACE32 and the appropriate S32K358 BSDL file. BYPASSall and IDCODEall verify JTAG-chain connectivity and device identification, SAMPLEall confirms pin-state observation, and EXTEST verifies pin control through the boundary-scan register. While these checks confirm basic boundary-scan operation, additional pin-level testing is recommended to validate board connectivity and application-specific signals. Any reset observed during EXTEST should be investigated before concluding a BSDL-related issue. The final report should capture the BSDL file used, JTAG-chain results, validated pins, measured logic levels, and any reset behavior observed during EXTEST. 6. References How to Perform Boundary Scan for LPC55(S)xx based on μTrace AN12919: Introduction to Boundary Scan of i.MX RT Series – Application Note How To Perform Boundary Scan On MCXA Series Using μTrace And Trace32 Boundary Scan User's Guide S32K3 Auto General-Purpose MCUs | NXP Semiconductors Software Download | Lauterbach TRACE32
View full article
LF6.18.20-2.0.0におけるimx6qの起動に関する問題 こんにちは、 いくつか質問があります。 1. CMAについて:以前はU-Boot環境で「cma=256M」を設定していましたが、今はそれを行うとシステムが起動できません。「カーネルを起動...」で停止します。」 2. DTS のオーバーライドについて: カスタムの `.dtsi` ファイルで CMA 設定を定義しましたが、システムは起動中に「start kernel...」でハングアップします。なぜこのようなことが起きているのか? 3. 変更を加えずデフォルト値を使用すると、システムは起動時に `cma = 0` と表示されます。なぜ? 4. `busfreq`が有効になっている場合、省電力のためにクロック周波数を下げるとシステムがクラッシュします。これを説明してもらえますか? ありがとう、 Re: LF6.18.20-2.0.0 about imx6q boot issue こんにちは、 次のリンクをご覧ください。 CM用に予約されているメモリサイズを変更する CMAはDMA操作に必要であり、アプリケーションによって異なります。 これは、複数の問題が重複していることが原因である可能性があります。 よろしくお願いいたします。
View full article
DDRストレス i.mx9392 チームの皆さん、こんにちは。 以前NXPから最新のツールを使用するように勧められたのですが、私のデバイスでDDRストレステストを実行できません。しかし、最新バージョンのConfigツールv26.09でもこの問題は依然として発生しています。問題は、私のデバイスでセキュアブートイメージを使用していることに起因しています。DDRストレステストツールや他の方法でDDRをテストする方法について教えていただけませんか? ありがとうございます マヘシュ ソレノイドコントローラ Re: DDR stress i.mx9392 こんにちは、 DDRストレステストが失敗したときに見ているログを共有してもらえますか? ボードでSDPを無効にしましたか? よろしくお願いいたします。
View full article
i.MX93:Linux 和 Cortex-M33 共享 GPIO2 会导致 Linux 触摸屏停止工作 我使用的是搭载 Linux 系统的 i.MX93(Cortex-A55),以及裸机 MCUXpresso SDK 固件(Cortex-M33)。 我希望两个核心使用 GPIO2 的不同引脚: Linux :触摸屏和按钮。触摸屏使用 GPIO2_IO11/IO12 进行 IRQ/RESET。 M33 :GPIO2_IO22 作为中断输入(RANin),GPIO2_IO27 作为输出(RANout)。 问题 无需启动 M33 固件,Linux 触摸屏和按钮都能正常工作。当M33固件运行时,触摸和按钮均无法工作,并且/proc/interrupts中的触摸屏中断计数器不会增加: 我在M33上使用以下配置: #define PIN_IN_RGPIO GPIO2 #define PIN_OUT_RGPIO GPIO2 #define PIN_IN_RGPIO_PIN 22U #define PIN_OUT_RGPIO_PIN 27U #define M33_PIN_MASK ((1U << PIN_OUT_RGPIO_PIN) | (1U << PIN_IN_RGPIO_PIN)) #define EXAMPLE_RGPIO_CLOCK_ROOT kCLOCK_Root_BusWakeup #define EXAMPLE_RGPIO_CLOCK_GATE kCLOCK_Gpio2 const clock_root_config_t rgpioClkCfg = { .clockOff = false, .mux = 0, .div = 1 }; CLOCK_SetRootClock(EXAMPLE_RGPIO_CLOCK_ROOT, &rgpioClkCfg); CLOCK_EnableClock(EXAMPLE_RGPIO_CLOCK_GATE); CLOCK_EnableClock(kCLOCK_Gpio2); PIN_OUT_RGPIO->PCNS &= ~M33_PIN_MASK; GPIO2->ICNS = 0x0; RGPIO_SetPinInterruptConfig(GPIO2, 22U, kRGPIO_InterruptOutput0, kRGPIO_InterruptRisingEdge); EnableIRQ(GPIO2_0_IRQn); 我希望得到支持。 最佳 Re: i.MX93: Sharing GPIO2 between Linux and Cortex-M33 causes Linux touchscreen to stop 您好, 我用这个来触摸我的皮肤。 hycon: touchscreen@38 { compatible = "hycon,hy4633"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_touchscreen>; reg = <0x38>; interrupt-parent = <&gpio2>; interrupts = <11 IRQ_TYPE_EDGE_FALLING>; reset-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>; vcc-supply = <&reg_3p3v>; touchscreen-size-x = <320>; touchscreen-size-y = <280>; }; Re: i.MX93: Sharing GPIO2 between Linux and Cortex-M33 causes Linux touchscreen to stop 你好, 这似乎是中断配置的问题,因为您可以在不同的内核中使用同一组中的不同 GPIO。 你在Linux设备树中配置的是哪个中断? 顺祝商祺! Re: i.MX93: Sharing GPIO2 between Linux and Cortex-M33 causes Linux touchscreen to stop 你好, 请尝试通过以下方式更改 M33 内核使用的中断: GPIO2->ICNS &= ~(1U << 1U); EnableIRQ(GPIO2_1_IRQn); 顺祝商祺!  Re: i.MX93: Sharing GPIO2 between Linux and Cortex-M33 causes Linux touchscreen to stop 嗨,豪尔赫, 感谢您的回复,问题已解决。但我还想请教一下,为什么使用 GPIO2_0_IRQn 时不起作用?是因为 A55 使用了 GPIO2_0 吗?
View full article
i.MX93: Sharing GPIO2 between Linux and Cortex-M33 causes Linux touchscreen to stop I am using an i.MX93 with Linux on the Cortex-A55 and bare-metal MCUXpresso SDK firmware on the Cortex-M33. I want both cores to use different pins of GPIO2: Linux: touchscreen and buttons. The touchscreen uses GPIO2_IO11/IO12 for IRQ/reset. M33: GPIO2_IO22 as an interrupt input (RANin) and GPIO2_IO27 as an output (RANout). Problem Without starting the M33 firmware, the Linux touchscreen works, buttons also. When the M33 firmware runs, touch and buttons no longer work, and the touchscreen interrupt counter in /proc/interrupts does not increase: on M33 I use this configuration: #define PIN_IN_RGPIO GPIO2 #define PIN_OUT_RGPIO GPIO2 #define PIN_IN_RGPIO_PIN 22U #define PIN_OUT_RGPIO_PIN 27U #define M33_PIN_MASK ((1U << PIN_OUT_RGPIO_PIN) | (1U << PIN_IN_RGPIO_PIN)) #define EXAMPLE_RGPIO_CLOCK_ROOT kCLOCK_Root_BusWakeup #define EXAMPLE_RGPIO_CLOCK_GATE kCLOCK_Gpio2 const clock_root_config_t rgpioClkCfg = { .clockOff = false, .mux = 0, .div = 1 }; CLOCK_SetRootClock(EXAMPLE_RGPIO_CLOCK_ROOT, &rgpioClkCfg); CLOCK_EnableClock(EXAMPLE_RGPIO_CLOCK_GATE); CLOCK_EnableClock(kCLOCK_Gpio2); PIN_OUT_RGPIO->PCNS &= ~M33_PIN_MASK; GPIO2->ICNS = 0x0; RGPIO_SetPinInterruptConfig(GPIO2, 22U, kRGPIO_InterruptOutput0, kRGPIO_InterruptRisingEdge); EnableIRQ(GPIO2_0_IRQn); I would appreciate a support for that. Bests Re: i.MX93: Sharing GPIO2 between Linux and Cortex-M33 causes Linux touchscreen to stop Hi, for my touch I use this hycon: touchscreen@38 { compatible = "hycon,hy4633"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_touchscreen>; reg = <0x38>; interrupt-parent = <&gpio2>; interrupts = <11 IRQ_TYPE_EDGE_FALLING>; reset-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>; vcc-supply = <&reg_3p3v>; touchscreen-size-x = <320>; touchscreen-size-y = <280>; }; Re: i.MX93: Sharing GPIO2 between Linux and Cortex-M33 causes Linux touchscreen to stop Hello, This seems to be an issue with the interrupt configuration since you can use different GPIOs from the same group in different cores. Which interrupt did you configure in Linux device tree? Best regards. Re: i.MX93: Sharing GPIO2 between Linux and Cortex-M33 causes Linux touchscreen to stop Hello, Please try to change the interrupt used by M33 core by changing: GPIO2->ICNS &= ~(1U << 1U); EnableIRQ(GPIO2_1_IRQn); Best regards.  Re: i.MX93: Sharing GPIO2 between Linux and Cortex-M33 causes Linux touchscreen to stop Hi Jorge, thank you for your reply and it works, but I would like to ask why it doesnt work with GPIO2_0_IRQn? is it the reason GPIO2_0 used from A55 ? 
View full article
i.MX93:LinuxとCortex-M33間でGPIO2を共有するとLinuxのタッチスクリーンが停止します 私はCortex-A55でLinuxを搭載したi.MX93、Cortex-M33でベアメタルのMCUXpresso SDKファームウェアを使っています。 両方のコアにGPIO2の異なるピンを使用させたい。 Linux:タッチスクリーンとボタン。タッチスクリーンは、IRQ/リセットにGPIO2_IO11/IO12を使用します。 M33 :GPIO2_IO22を割り込み入力(RANin)として、GPIO2_IO27を出力(RANout)として設定します。 問題 M33ファームウェアを起動しなくても、Linuxのタッチスクリーンは動作し、ボタンも動作します。M33ファームウェアが実行されると、タッチ操作とボタン操作が機能しなくなり、/proc/interruptsにあるタッチスクリーン割り込みカウンタが増加しなくなります。 M33では、この設定を使用しています。 #define PIN_IN_RGPIO GPIO2 #define PIN_OUT_RGPIO GPIO2 #define PIN_IN_RGPIO_PIN 22U #define PIN_OUT_RGPIO_PIN 27U #define M33_PIN_MASK ((1U << PIN_OUT_RGPIO_PIN) | (1U << PIN_IN_RGPIO_PIN)) #define EXAMPLE_RGPIO_CLOCK_ROOT kCLOCK_Root_BusWakeup #define EXAMPLE_RGPIO_CLOCK_GATE kCLOCK_Gpio2 const clock_root_config_t rgpioClkCfg = { .clockOff = false, .mux = 0, .div = 1 }; CLOCK_SetRootClock(EXAMPLE_RGPIO_CLOCK_ROOT, &rgpioClkCfg); CLOCK_EnableClock(EXAMPLE_RGPIO_CLOCK_GATE); CLOCK_EnableClock(kCLOCK_Gpio2); PIN_OUT_RGPIO->PCNS &= ~M33_PIN_MASK; GPIO2->ICNS = 0x0; RGPIO_SetPinInterruptConfig(GPIO2, 22U, kRGPIO_InterruptOutput0, kRGPIO_InterruptRisingEdge); EnableIRQ(GPIO2_0_IRQn); その点についてのサポートをいただけるとありがたいです。 ベスト Re: i.MX93: Sharing GPIO2 between Linux and Cortex-M33 causes Linux touchscreen to stop こんにちは、 私のタッチにはこれを使っています hycon: touchscreen@38 { compatible = "hycon,hy4633"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_touchscreen>; reg = <0x38>; interrupt-parent = <&gpio2>; interrupts = <11 IRQ_TYPE_EDGE_FALLING>; reset-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>; vcc-supply = <&reg_3p3v>; touchscreen-size-x = <320>; touchscreen-size-y = <280>; }; Re: i.MX93: Sharing GPIO2 between Linux and Cortex-M33 causes Linux touchscreen to stop こんにちは、 これは割り込み設定の問題のようで、同じグループの異なるGPIOを異なるコアで使えるためです。 Linuxデバイスツリーでどの割り込みを設定しましたか? よろしくお願いいたします。 Re: i.MX93: Sharing GPIO2 between Linux and Cortex-M33 causes Linux touchscreen to stop こんにちは、 M33コアで使用される割り込みを、以下の方法で変更してみてください。 GPIO2->ICNS &= ~(1U << 1U); EnableIRQ(GPIO2_1_IRQn); よろしくお願いいたします。  Re: i.MX93: Sharing GPIO2 between Linux and Cortex-M33 causes Linux touchscreen to stop こんにちは、ホルヘさん。 ご回答ありがとうございます。おかげさまで動作しましたが、GPIO2_0_IRQnでは動作しないのはなぜでしょうか?GPIO2_0がA55から使用されていることが原因でしょうか?
View full article
DDR stress i.mx9392 Hi Team, I am not able to run DDR stress test on my device previously NXP sujjested to use latest tool but still I am facing this issue with the latest version of the Config tool v26.09 as well. The issue is due to I am using secure boot image on my device. Can you please assist how to use DDR stress test tool or any other method to test the DDR. Thanks, Mahesh Solenoid Controller Re: DDR stress i.mx9392 Hello, Could you please share the log you are seeing when the DDR stress test fails? Did you disable SDP in your board? Best regards.
View full article
DDR压力 i.mx9392 大家好, 我无法在我的设备上运行 DDR 压力测试,之前 NXP 建议使用最新工具,但我仍然在使用最新版本的 Config 工具 v26.09 时遇到此问题。问题在于我的设备上使用了安全启动映像。请问如何使用DDR压力测试工具或其他方法来测试DDR内存? 谢谢! 马赫什 电磁阀控制器 Re: DDR stress i.mx9392 你好, 能否请您分享一下DDR压力测试失败时您看到的日志? 你是否在板上禁用了SDP? 顺祝商祺!
View full article
LF6.18.20-2.0.0 关于 imx6q 启动问题 你好, 我有几个问题: 1. 关于 CMA:之前我在 U-Boot 环境中设置了 `cma=256M`,但现在这样做会导致系统无法启动;它卡在“start kernel...”处。 2. 关于 DTS 覆盖:我在自定义的 `.dtsi` 文件中定义了 CMA 设置,但系统在启动时仍然卡在“启动内核...”处。为什么会发生这种情况? 3. 如果我不做任何更改并使用默认值,系统在启动时显示“cma = 0”。为什么? 4. 如果启用了 `busfreq`,则在为了省电而降低频率后,系统会崩溃。请问您能解释一下吗? 谢谢, Re: LF6.18.20-2.0.0 about imx6q boot issue 你好, 我建议您看看以下链接: 更改为 CMA 保留的内存大小 DMA 操作需要 CMA,并且 CMA 取决于应用程序。 这可能是由于多个问题重叠造成的。 顺祝商祺!
View full article
LF6.18.20-2.0.0 about imx6q boot issue Hello, I have a few questions: 1. Regarding CMA: Previously, I set `cma=256M` in the U-Boot environment, but now doing so prevents the system from booting; it hangs at "start kernel..." 2. Regarding DTS overrides: I defined CMA settings in my custom `.dtsi` file, but the system still hangs at "start kernel..." during boot. Why is this happening? 3. If I make no changes and use the default values, the system shows `cma = 0` at boot. Why? 4. If `busfreq` is enabled, the system crashes after downclocking for power saving. Could you please explain this? Thanks,  Re: LF6.18.20-2.0.0 about imx6q boot issue Hello, I suggest you take a look in the next link: Changing memory size reserved for CMA CMA is required for DMA operations and it is application dependent. This may be caused by overlapping issues. Best regards.
View full article
Compulab IOTDIN-IMX8- C 1800QM-D4-N32 CAN パフォーマンスの問題 こんにちは、チームの皆さん、 現在、端末I/Oブロックを通じて露出したオンボードCANインターフェースを用いて、CompuLabのARMベースプラットフォーム上でCAN通信性能を評価しています。 テスト中、同様のCANネットワーク条件下で、ARMプラットフォームのCPU利用率はx86ベースのシステムに比べて著しく高いことが観察されました。 x86プラットフォーム: 約 30%のCPU使用率 CompuLab ARMプラットフォーム: 約 45%のCPU使用率 比較として、 ピークUSB CANアダプターとコンピュラブを組み合わせると、全体的な性能が優れており、CPUの使用率もオンボードCANインターフェースより低く見えます。 私たちのCANネットワーク構成は以下の通りです: 18ノードからなるCANopenネットワーク。 使用中のCANビットレート: 250 kbps txqueuelenを2000に設定したSocketCAN コミュニケーションは主にPDOメッセージで構成される メッセージの送信間隔は100ミリ秒から10秒までです。 現在使用されている最短更新間隔は100ミリ秒です。 CAN-FDは有効になっていません x86およびARMプラットフォームの両方で、同じアプリケーションソフトウェアとCAN構成が使用されています 私たちは以下の点についてより深く理解したいと考えています。 ARMプラットフォームで観察される高いCPU消費量に寄与する要因は何でしょうか? このプラットフォーム上のオンボードCANコントローラ/ドライバに関して既知の制限や最適化の提案はありますか? 特定のCANドライバ、割り込み処理、バッファリング、またはカーネルレベルのチューニングパラメータは確認すべきでしょうか? オンボードのCANコントローラとピークUSBのCANアダプターの違いが、観察された性能差の説明になるのでしょうか? CPU負荷の主な原因を特定するのに役立つ推奨されるプロファイリングや診断方法はありますか? 私たちの目標は、現在のネットワーク負荷とメッセージレートを維持しつつ、x86システムで見られる性能と同等のパフォーマンスをARMプラットフォーム上で達成することです。 このプラットフォームでのCANパフォーマンス向上のためのガイダンス、推奨、ベストプラクティスをいただけると大変ありがたいです。 再開まで今しばらくお待ちください。 Re: Compulab IOTDIN-IMX8- C 1800QM-D4-N32 CAN performance issues こんにちは、 @JyothiKraoさん お元気でお過ごしのことと思います。 プラットフォーム固有の制限を特定するには、まだ十分な情報がありません。コントローラ固有の回避策を推奨する前に、正確なCompuLabモデル、SoC、カーネルバージョン、CANドライバ、インターフェース構成が必要です。特に、インターフェースがFlexCANを使用しているか他のコントローラを使用しているか、RX FIFOまたはメールボックスモードを選択しているか、ドライバが受信オフロード機構をサポートしているかを確認する必要があります。 まず、両システムにおける以下の測定値を比較することをお勧めします。 実際のCANトラフィック:フレーム数/秒、バイト数/秒、バス利用率、送受信PDO数。 CANエラーとドロップ: ip -details -statistics link show can0 とコントローラ/ドライバの統計。 割り込み負荷: /proc/interrupts 、 /proc/softirqs 、およびCAN割り込みが動作するCPUです。 プロセスとカーネルの負荷: top -H 、 pidstat -t 、および、利用可能な場合は、同じトラフィックがアクティブな間、 perf top または perf record 。 CPU周波数とガバナー:両方のプラットフォームが期待される周波数で動作し、周波数のスケーリングが比較に影響していないかを確認しましょう。 よろしくお願いいたします。 サラス。
View full article
安全配置工具 - 版本镜像错误 您好,我正在尝试使用 SPT 对代码包,软件包进行签名。 我有一个包含 FCFB + DCD + IVT + app.bin 的二进制文件(一个完整的可启动映像),当我尝试对其进行签名时,签名成功了。 但是,当我选择一个只包含 IVT 和 app.bin 的二进制时,为什么“版本映像”选项被禁用?我已经附上了屏幕截图。 Re: Secure Provisioning Tool - Build image error 我已经附上了图片。请检查 Re: Secure Provisioning Tool - Build image error 你好@Abhay2080 , 请问您使用的是哪个版本的安全配置工具? 此外,我无法看到您在附件中提到的图片。请您再尝试上传一次好吗? 此致, 巴勃罗 Re: Secure Provisioning Tool - Build image error 你好@Abhay2080 , 我使用您分享的二进制文件对 Secure Provisioning Tool v26.09 进行了一些测试,并注意到以下情况: 根据《安全配置工具用户指南 v26.09》第 5.2.2 节“源映像格式”,可以明确指定 S19 文件的入口点。对于其他图像格式,入口点是从中断向量表中检索的(因此中断向量表必须位于应用程序映像的开头)。 对于没有 IVT 和 FCFB 的图像,该工具检测到入口点位于 0x601006C9,该点超出应用程序代码范围。此外,起始地址应在 0x600D2D01 到 0x601006C9 的范围内。 安全配置工具在应用程序映像中定位到偏移量为 0x4 的入口点。 请您测试一下,将入口点更改为有效地址后,是否可以成功构建镜像? 此致, 巴勃罗 Re: Secure Provisioning Tool - Build image error 是的,成功了……谢谢。
View full article
デバッガー PE マイクロ NXPチームの皆様、こんにちは。 UTESTフラッシュにDCFを記録して、MCUのコードがボードから読み取られるのを防ぐために(パスワードで)保護したいです。デバッガを使わずにDesign Studioでそれを実現できますか? よろしくお願いいたします。 アフメド Re: Debugger PE Micro こんにちは、 はい、S32Design Studioや他のコンパイラを使ってその点は可能です。 DCFが格納されているUTESTフラッシュは、OTPとして設定された通常のフラッシュです。ですので、他のブロックと同様に標準的なフラッシュプログラミングを使います。 または、デバッガーを使うこともできます: https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/HOWTO-Program-DCF-record-into-UTEST-flash-in-S32-Design-Studio/ta-p/1099436 よろしくお願いいたします。 ピーター Re: Debugger PE Micro 迅速なご返信ありがとうございます。 あなたが教えてくれた手順に従ってDesign Studioを使ってみたら、このエラーが出ました。このエラーの原因と解決方法を教えてください。 もう一つの疑問は、この方法で検閲を実装した後、デバッガを使っているかどうかに関わらず、パスワードを知らずにボードのコードを読むことができるのかということです。 Re: Debugger PE Micro S32DSのR2017バージョンをインストールし、このバージョンで再度手順を試しましたが、やはり同じエラーが出ました。原因は何でしょうか?何を確認すればいいですか? その理由は、S32DSが消去してからUTESTに書き込みしようとするのに、UTEST自体を削除できないからだと思います。DS32にDCFレコードを書き込む前に消去しないように指示する手順が抜けているのでしょうか? Re: Debugger PE Micro こんにちは、 Threadエクスプレスとして、これはS32DSバージョンR2017でテストされています。 どのバージョンを使っているのか分からず、誤差表現があまりにも一般的すぎます。 マイクロは空白ですか? PEmicro/S32DSの場合、このメカニズムは通常、専用のUTESTフラッシュアルゴリズム(*_UTest.pcp)を介して実装されます。 また、PEMicroのデバッガ用スクリプトやアルゴリズムの最新バージョンがあれば問い合わせることもできます。 よろしくお願いいたします。 ピーター Re: Debugger PE Micro こんにちは、 その理由は、S32DSが消去してからUTESTに書き込みしようとするのに、UTEST自体を削除できないからだと思います。DS32にDCFレコードを書き込む前に消去しないように指示する手順が抜けているのでしょうか? それが一つの説明になり得ます。私はUTESTのプログラミングにPEを使ったことは一度もなく、代わりにLauterbachのデバッガを使っています。 PEプログラミングの手順については分かりませんが、スクリプトが最初に消去しようとすると、処理は中断されます。 しかし、代替アルゴリズムはUTESTをターゲットにしているため、スクリプトはマイクロを消去しないはずです。単にプログラムし直せばいい。 以下のガイドによると、PEマイクロGUIでも試すことができます。 https://community.nxp.com/t5/S32-Design-Studio/MPC5777C-update-DCF-record/m-p/791557 よろしくお願いいたします。 ピーター Re: Debugger PE Micro これらの手順をMCUにコネクテッドして試したところ(REV EでREV Bではなく)、ポートフィールドがロックされたウィンドウが表示されました。 ユーザーマニュアルに戻ってみると、この方法は ハードウェアインターフェースを使う必要があるのですが、追加のデバッガを使わずに方法が必要だと分かりました。では、PE Micro PROGDSCを使ったこの方法はハードウェアインターフェースなしで動作するのでしょうか、それとも何ができるのでしょうか? Re: Debugger PE Micro どんな返信でも構いませんので、お願いします!
View full article
Title: S32K344 + FS26: external watchdog during HSE FW installation by the SBAF Hello, We need to install the HSE firmware (FULL_MEM 0.2.55) in the field on S32K344 boards that use an FS26 SBC, without a debugger. Our software writes the pink image in code flash, sets IVT+0x2C to its address, programs the HSE FW feature flag in UTEST and triggers a destructive reset. The SBAF then installs the firmware. The FS26 runs a window watchdog (128 ms, challenger, reaction RSTB + FS0B). As far as we understand, the FS26 RSTB is connected to the MCU RESET_B, so after the destructive reset the FS26 goes back to INIT_FS and our software must close INIT_FS (first watchdog refresh) within the INIT_FS timeout (about 256 ms). While the SBAF installs the firmware, none of our code runs and nobody serves the FS26. In another thread NXP mentioned that the installation takes about 0.8-1 s, which is longer than the INIT_FS timeout. The attached diagram shows what we expect (A) and what we are afraid of (B): the FS26 resets the MCU during the installation, the SBAF starts again because the UTEST flag and the IVT pointer are still set, and the board ends up in a reset loop. Our questions: 1. Is this scenario real? Does the installation by the SBAF actually take longer than the FS26 INIT_FS timeout? 2. If the installation is interrupted by an external reset (RESET_B pulled low by the FS26), is it safe? Does the SBAF restart it from scratch at the next reset, or can the HSE be left partially installed? 3. What is the recommended way to install the HSE firmware on a board with an FS26 ? Installing with the FS26 in debug mode? Is there any other option, in the FS26 configuration or in the SBAF/IVT, so that the installation can complete in the field? (Diagram attached: FS26_HSE_install_timing.png. Times not to scale.) Thank you in advance. Best regards, Fabio Re: Title: S32K344 + FS26: external watchdog during HSE FW installation by the SBAF Hi @FabioG  1. The HSE firmware installation process can take approximately 1 second to complete. After the reset, the host application must wait until HSE_STATUS_INIT_OK is set before issuing any HSE service requests or proceeding with initialization. 2. Power instability, unexpected resets during HSE installation/update, failure to wait for HSE_STATUS_INIT_OK, execution of BIST before HSE_STATUS_INIT_OK is reached, or unsupported clock configurations may corrupt or erase the HSE FW. Also it is recommended to use a functional reset rather than a power-on reset during the installation process and to ensure that the power supply remains stable throughout the operation. 3. Using the FS26 in Debug Mode is recommended during development and programming activities, as the watchdog can be configured to provide either an 8-second timeout window or an unlimited open window. This helps avoid automatic resets and reduces the risk of interrupting HSE operations. BR, VaneB Re: Title: S32K344 + FS26: external watchdog during HSE FW installation by the SBAF Hi @VaneB   I have another question:  First start after the installation. After the SBAF has installed the HSE firmware, our bootloader starts and, during its normal start-up, performs a software functional reset to start the application, possibly before HSE_STATUS_INIT_OK is set. Is a functional reset at that moment safe, or is the installation still in progress until HSE_STATUS_INIT_OK is set for the first time? Fabio Re: Title: S32K344 + FS26: external watchdog during HSE FW installation by the SBAF Hi @FabioG  The BIST test should only be started after SBAF has entered the WFI state and the HSE_STATUS_INIT_OK bit is set. Regarding the wait time for HSE_STATUS_INIT_OK to be asserted, there is no fixed time. The initialization time depends on several factors, including the core frequency and the HSE firmware version. Therefore, measuring the HSE boot time on your target platform is the best way to determine an appropriate timeout value. Finally, it is not recommended to assume that a functional reset is safe before HSE_STATUS_INIT_OK is asserted. The HSE installation/initialization may still be in progress at that stage. As a result, the system should treat the startup process as incomplete until HSE_STATUS_INIT_OK is reached. Re: Title: S32K344 + FS26: external watchdog during HSE FW installation by the SBAF Hi VaneB, thank you for the answer. A short follow-up on the BIST point (2). Our software runs the BIST at every power-on, early in the start-up. Following your advice, on devices with the HSE firmware installed we could wait for HSE_STATUS_INIT_OK before starting the BIST. If HSE_STATUS_INIT_OK is not set within a short time (how much?), we would skip the BIST for that power cycle. Would this be enough to avoid any risk for the HSE firmware, or is there anything else we should take care of? Thank you. Best regards, Fabio
View full article
标题:S32K344 + FS26:SBAF 在 HSE 固件安装期间的外部看门狗 你好, 我们需要在没有调试器的情况下,在现场将 HSE 固件(FULL_MEM 0.2.55)安装到使用 FS26 SBC 的 S32K344 板上。我们的软件将粉色图像写入代码闪存,将 IVT+0x2C 设置为其地址,在 UTEST 中对 HSE FW 功能标志进行编程,并触发信号破坏性复位。然后 SBAF 安装固件。 FS26 运行窗口监视程序(128 毫秒,挑战者,反应 RSTB + FS0B)。据我们了解,FS26 RSTB 连接到 MCU RESET_B,因此在破坏性复位后,FS26 会返回到 INIT_FS,我们的软件必须在 INIT_FS 超时(约 256 毫秒)内关闭 INIT_FS(第一次看门狗刷新)。 在 SBAF 安装固件期间,我们的任何代码都不会运行,也没有人为 FS26 提供服务。在另一个帖子中,NXP提到安装大约需要0.8-1秒,这比INIT_FS超时时间要长。附图显示了我们期望的结果 (A) 和我们担心的结果 (B):FS26 在安装过程中 RESET MCU,由于 UTEST 标志和 IVT 指针仍然设置,SBAF 再次启动,最终板进入 RESET 循环。 我们的疑问: 1. 这种情况是真的吗?SBAF 的安装时间是否真的比 FS26 INIT_FS 超时时间更长? 2. 如果安装过程被外部复位(FS26 将 RESET_B 拉低)中断,是否安全?SBAF 会在下次 RESET 时从头开始重新启动吗?还是可以保留部分安装的 HSE? 3. 在带有 FS26 的板上安装 HSE 固件的推荐方法是什么?是否在调试模式下安装 FS26?在 FS26 配置或 SBAF/IVT 中,是否有其他选项可以让安装能够在现场完成? (附图:FS26_HSE_install_timing.png。时间未按比例绘制。) 提前谢谢您。 此致, 法比奥 Re: Title: S32K344 + FS26: external watchdog during HSE FW installation by the SBAF 嗨@FabioG 1.HSE固件安装过程大约需要1秒钟即可完成。重置后,主机应用程序必须等到 HSE_STATUS_INIT_OK 设置后才能发出任何 HSE 服务请求或继续进行初始化。 2.电源不稳定、HSE 安装/更新期间意外 RESET、未等待 HSE_STATUS_INIT_OK、在达到 HSE_STATUS_INIT_OK 之前执行 BIST 或不支持的时钟配置可能会损坏或擦除 HSE 固件。 此外,建议在安装过程中使用功能复位而不是上电复位,并确保电源在整个运行过程中保持稳定。 3.建议在开发和编程活动期间使用 FS26 的调试模式,因为可以将看门狗配置为提供 8 秒超时窗口或无限期打开窗口。这有助于避免自动RESET,并降低中断 HSE 操作的风险。 BR,VaneB Re: Title: S32K344 + FS26: external watchdog during HSE FW installation by the SBAF 嗨 VaneB, 谢谢你的回答。对 BIST 点 (2) 的简要后续说明。 我们的软件会在每次上电时,在启动初期运行 BIST。按照您的建议,对于安装了 HSE 固件的设备,我们可以在启动 BIST 之前等待 HSE_STATUS_INIT_OK。如果在短时间内(多久?)未设置 HSE_STATUS_INIT_OK,我们将跳过该电源循环的 BIST。 这样是否足以避免 HSE 固件的任何风险,还是还有其他需要注意的地方? 谢谢! 此致, 法比奥 Re: Title: S32K344 + FS26: external watchdog during HSE FW installation by the SBAF 嗨@FabioG 只有在 SBAF 进入 WFI 状态且 HSE_STATUS_INIT_OK 位设置后,才应启动 BIST 测试。 关于 HSE_STATUS_INIT_OK 钳位的等待时间,没有固定的时间。初始化时间取决于几个因素,包括核心频率和 HSE 固件版本。因此,测量目标平台上的 HSE 启动时间是确定合适的超时值的最佳方法。 最后,不建议在 HSE_STATUS_INIT_OK 钳位之前假定功能复位是安全的。届时 HSE 安装/初始化工作可能仍在进行中。因此,系统应将启动过程视为未完成,直到达到 HSE_STATUS_INIT_OK 状态。 Re: Title: S32K344 + FS26: external watchdog during HSE FW installation by the SBAF 嗨@VaneB 我还有个问题: 安装完成后首次启动。SBAF 安装 HSE 固件后,我们的引导加载程序启动,并在正常启动期间执行软件功能 RESET 以启动应用程序,这可能发生在 HSE_STATUS_INIT_OK 设置之前。此时进行功能 RESET 是否安全?或者说,在 HSE_STATUS_INIT_OK 首次被设置之前,安装仍在进行中? 法比奥
View full article
MCSPTE1AK144 – MATLABホストモデル起動直後のモーター故障 MATLAB/Simulinkで提供されている開ループおよび閉ループのサンプルを使用してMCSPTE1AK144キットを制御する際に問題が発生しています。 ターゲットモデルが構築され、生成されたファイルは S32K144に正常にフラッシュされます。MATLABはOpenSDA CDCシリアルポートも検出し、ホストモデルは通信を確立できます。 しかし、ホストモデルを起動してモーターをオンにすると、モーターシャフトが一瞬ピクピク動くか、動かず、D11の赤いLEDがすぐに点灯・点滅し、故障を示しています。するとモーターが反応しなくなる。 基本的なボード通信は、LPUART Hello Worldサンプルを使用して別途検証されており、OpenSDAシリアルポートを介して正常にビルド、フラッシュ、通信が行われます。 MATLABホストモデルから制御開始直後にモーター制御アプリケーションが故障に入る原因や、根本原因を特定するためにどの故障/ステータス変数をチェックすべきか教えていただけますか? ハードウェア:MCSPTE1AK144(S32K144-EVB + DEVKIT-MOTORGD) モーター:Sunrise 42BLY3A78-24110 MATLAB/SimulinkとNXP MBDT ありがとうございます。 ホットフィックス
View full article
Secure Provisioning Tool - Build image error Hi i am trying to sign a package using SPT. I have one binary that have FCFB + DCD + IVT + app.bin (a complete bootable image) and when i tried to sign it it is succesfull. But when i am selecting a binary that only have IVT and app.bin why Build Image is disabled ?? I have attached the screen shot also. Re: Secure Provisioning Tool - Build image error I have attached the image now. Please check Re: Secure Provisioning Tool - Build image error Hi @Abhay2080, Could you share which version of the Secure Provisioning Tool you are using? Additionally, I'm unable to see the image you mentioned in your attachment. Could you please try uploading it again? Best Regards, Pablo Re: Secure Provisioning Tool - Build image error Hi @Abhay2080, I ran some tests with Secure Provisioning Tool v26.09 using the binary you shared and noticed the following: According to Section 5.2.2, Source Image Formats of the Secure Provisioning Tool User Guide v26.09 the entry point can be specified explicitly for S19 files. For other image formats, the entry point is retrieved from the interrupt vector table (so the interrupt vector table must be at the beginning of the application image). In the case of the image without an IVT and FCFB, the tool detects the entry point at 0x601006C9, which is outside the application code range. Additionally, the start address is expected to be within the range 0x600D2D01 to 0x601006C9. Secure Provisioning Tool locates the entry point at offset 0x4 within the application image. Could you please test whether changing the entry point to a valid address allows you to build the image successfully? Best Regards, Pablo Re: Secure Provisioning Tool - Build image error Yes it worked ..Thankyou
View full article