Multi Source Translation Content

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

Multi Source Translation Content

ディスカッション

ソート順:
JTAGデバッガのサポートに関するお問い合わせLX2082A 親愛なるNXPサポートチームへ、 NXP LX2082Aプロセッサをベースにしたカスタムボードを開発しており、現在ハードウェアのブリングアップとデバッグセットアップを計画中です。 SEGGER J-LinkがLX2082Aで以下のタスクに対して正式にサポートされているかどうかを確認したいと思います。 初期ボードの立ち上げ JTAGデバッグ ベアメタルデバッグ TF-AとU-Bootのデバッグ Linuxカーネルデバッグ Flashプログラミング(サポートされている場合) 私の開発環境はLinuxで、すべてのソフトウェアをLinuxホスト上で開発・構築する予定です。 何かアドバイスをいただけますか: SEGGER J-LinkはLX2082Aで正式にサポートされていますか? もし対応しているなら、どのJ-Linkモデルに対応していますか? NXPが推奨するデバッグソリューションと比較して、何か制限事項はありますか? もしJ-Linkが推奨されていないなら、公式に対応しているハードウェアデバッガをLX2082Aで教えていただけますか? JTAGのデバッグや基板の導入に関するドキュメントやアプリケーションノートがあれば、ぜひ教えていただけるとありがたいLX2082A。 ご協力ありがとうございました。ご指導を心よりお待ちしております。 敬具。 Re: Inquiry Regarding JTAG Debugger Support for LX2082A NXPが公式にサポートしているデバッガはCWTAPです。 あなたのアプリケーションにはCodewarrior Developer Suite Levelを使えます。 また、以下のリンクから評価版(無料トライアル)をダウンロードすることもできますが、30日間の制限があります すべての顧客アカウント(メールアドレス)は、以下のリンクから評価版をダウンロードできます。 「評価版をダウンロード」を選択してください。 https://www.nxp.com/design/design-center/software/development-software/codewarrior-development-tools/codewarrior-network-applications/codewarrior-development-suites-for-networked-applications:CW-DS-NETAPPS 下記に役立つ資料を掲載していますので、ご参照ください。   ARMv8_Targeting_Manual.pdf   CodeWarrior TAP プローブユーザーガイド   Layerscape Linux SDK ユーザーガイド Clarification on CodeWarrior License After 30-Day Evaluation (CW TAP / QCVS / QCS) こんにちは、NXPサポートの皆さん、 CodeWarriorの30日間評価版について質問があります。 評価期間終了後: JTAG接続(CW TAPを使用)は引き続き機能しますか、それともCodeWarriorは完全に動作しなくなりますか? 有料ライセンスがなくても、RCWの生成・プログラミングおよびフラッシュプログラミングは引き続き利用できますか? QCVS(QorIQ Configuration and Validation Suite)はトライアル終了後も引き続き使用できますか?それとも有効なCodeWarriorライセンスも必要ですか? Linuxのコマンドラインツール(U-Boot、Yocto、OpenOCDなど)のみを使用しているお客様にとって、CodeWarriorの購入はJTAGデバッグのためだけに推奨されるのか、それとも基板の設置に必須ですか? 評価期間終了後も利用可能な機能について、ご説明いただけると幸いです。 よろしくお願いします。 Re: Inquiry Regarding JTAG Debugger Support for LX2082A 1. CodeWarriorの機能が停止します。 2. いいえ。 3. いいえ。有効な免許証が必要です。 4. LinuxのデバッグはJTAGデバッグなしで動作しますが、各ボードでのDDR検証や初回フラッシュはCodeWarrior IDEとJTAGデバッガ(CW TAP)を使うべきです。
記事全体を表示
S32K344 chip, failed to download using bootloader after adding eMCEM_1 module in spd Sort out the logic and rewrite: As the title suggests, when I enabled eMCEM_1 in the app code, downloading the app using the official bootloader failed. If I didn't erase the chip, I couldn't enter the boot again, and even after powering it back on, it wouldn't solve the problem. I suspect that after powering it back on, the boot jumped to the app, but the app didn't run. When I disable eMCEM_1, this issue does not occur. How can I use boot to flash the app when eMCEM_1 is enabled Re: S32K344 chip, failed to download using bootloader after adding eMCEM_1 module in spd Hi @XPW, The problem description is not entirely clear. If the application is being programmed through the bootloader, the eMCEM_1 configuration contained in the application should not affect the programming process itself, since the application is not executed during download, it is just a binary. Only after the bootloader transfers execution to the application would eMCEM/FCCU-related configuration become relevant, and at that point, it would be useful to check: FCCU status registers DCM flags, MC_RGM flags. Or whether the application actually reaches main() Based on the current description, it is unclear whether the programming operation fails, or whether programming succeeds and the issue occurs later when the application starts executing. Could you clarify the exact sequence of events? Regards, Daniel Re: S32K344 chip, failed to download using bootloader after adding eMCEM_1 module in spd After my investigation, I found that some global variables were not initialized as defined when was enabled 。 Select a portion for explanation: Firstly, when I haven't enabled the target XPW_0-1783494597992.png Clock_ip. c under RTD file XPW_1-1783494731850.png XPW_2-1783494792174.png Power_ip. c under RTD file XPW_3-1783494883662.png XPW_4-1783494909192.png Can initialize correctly。 However, when I activated it: XPW_5-1783495188492.png XPW_6-1783495223242.png Clock_ip. c under RTD file XPW_7-1783495794585.png XPW_8-1783495823066.png Power_ip. c under RTD file XPW_9-1783495866324.png XPW_10-1783495886502.png Global variable initialization failed。 May I ask if there is a better solution? Re: S32K344 chip, failed to download using bootloader after adding eMCEM_1 module in spd Hi @XPW, Based on what I see in the screenshots, the variables are initialized correctly at first. However, after the eMCEM initialization, Clock_Ip_pfkNotificationsCallback contains an invalid pointer. eMCEM does not magically change the pointer value. This looks much more like one of the following issues: Startup initialization (.data copy / .bss initialization) is not completed correctly. RAM corruption occurs before main(). Linker sections overlap. Stack corruption. Can you test it with the linker file from the SPD demo project? BR, Daniel Re: S32K344 chip, failed to download using bootloader after adding eMCEM_1 module in spd The link file has been modified for the following. XPW_0-1783992772039.png XPW_1-1783993101988.png I have defined three global variables: XPW_2-1783993317537.png I found that when is not enabled, after executing init_data-bss, XPW_3-1783993342206.png XPW_4-1783993406406.png It seems to be aligned with 4 bytes and assigned correctly. But when I enable , after executing init_data-bss XPW_5-1783994068084.png XPW_6-1783994226472.png It doesn't seem to be aligned. Re: S32K344 chip, failed to download using bootloader after adding eMCEM_1 module in spd What is the cause of this phenomenon and how should I investigate and solve it. Re: S32K344 chip, failed to download using bootloader after adding eMCEM_1 module in spd HI @XPW, Based on the screenshots, I am not convinced there is actually a problem with the variable initialization itself. variable_a is an 8-bit variable, and enabling eMCEM will introduce additional variables, which can change the layout of the .data section. Therefore, seeing the variables at different offsets is expected and does not by itself indicate corruption. I think the key question is whether the issue occurs when the application is run standalone, or only when it is programmed and started through the bootloader. Can you reproduce the issue when programming the application directly with the debugger and running it without the bootloader? If the problem only occurs after loading the application through the bootloader, then the investigation should focus on the bootloader programming process, image layout, or bootloader handover rather than the application itself. BR, Daniel
記事全体を表示
IW612 蓝牙射频测试 大家好, 我正在尝试对基于 IW612 的模块执行射频测试。为此,我参考了几份文件,例如: AN14310 - NXP 蓝牙 UART 驱动程序集成 AN14114 - Linux 操作系统上的射频测试模式 AN14163 - 蓝牙直连测试模式 还有其他人。 我遇到了一些问题: - 在 5 GHz Wi-Fi 频段中,我无法看到低频信道(接近 5 GHz)生成的波形,只能看到高频信道生成的波形。 - 对于蓝牙,我无法生成经典蓝牙的波形,只能生成 BLE 的波形(使用 hcitool 进行扫描和获取配对信息的命令运行正常,因此我认为这不是硬件问题)。 我的配置中,我使用的是 SoM Variscite Dart IMX8M(版本 2.0),配备基于 IW612 的 2EL 无线电。为了获取波形,我使用了 HackRF。 我使用的是内核版本为 6.6.23 的系统。Yocto 定制版本,固件为 sduart_nw61x_v1.bin.se,默认版本 HCI 命令的反馈与文档相符,但我看不到波形。如果我在系统或生成流程中遗漏了什么,请您帮忙看看。这是认证流程的一部分,现在我卡在这里了。 非常感谢 Re: IW612 Bluetooth RF Test Hello 能否将测试命令和结果截图分享给我们? 顺祝商祺! 肖恩 Re: IW612 Bluetooth RF Test 你好,肖恩, 当然。我运行了这些 hcitool 和 wifi 命令,并将最终的配置文件附在后面。 适用于蓝牙经典 ------------------------------------ 这些指令直接摘自 UM11490(第 149 页)。 # RESET root@oaslv:/home/hexagon# hcitool -i hci0 cmd 0x03 0x0003 < HCI 命令:ogf 0x03,ocf 0x0003,plen 0 > HCI 事件:0x0e plen 4 01 03 0C 00 # 启用扫描 root@oaslv:/home/hexagon# hcitool -i hci0 cmd 0x03 0x001a 0x3 < HCI 命令:ogf 0x03,ocf 0x001a,plen 1 03 > HCI 事件:0x0e plen 4 01 1A 0C 00 # 启用事件过滤器 root@oaslv:/home/hexagon# hcitool -i hci0 cmd 0x03 0x0005 0x02 0x00 0x02 < HCI 命令:ogf 0x03,ocf 0x0005,plen 3 02 00 02 > HCI 事件:0x0e plen 4 01 05 0C 00 # 进入测试模式 root@oaslv:/home/hexagon# hcitool -i hci0 cmd 0x06 0x0003 < HCI 命令:ogf 0x06,ocf 0x0003,plen 0 > HCI 事件:0x0e plen 4 01 03 18 00 # 启动TX变速器 root@oaslv:/home/hexagon# hcitool -i hci0 cmd 0x3F 0x0019 0x80 0x80 0x80 0x80 0x01 0x00 0x01 0x01 0x0D 0x03 0x0F 0x00 0x00 0x00 0x00 0x00 0x00 0x04 < HCI 命令:ogf 0x3f、ocf 0x0019、plen 18 80 80 80 80 01 00 01 01 0D 03 0F 00 00 00 00 00 00 04 > HCI 事件:0x0e plen 4 01 19 FC 00 # 停止TX传输 root@oaslv:/home/hexagon# hcitool -i hci0 cmd 0x3F 0x0019 0x80 0x80 0x80 0x80 0xF F 0x00 0x01 0x01 0x0D 0x03 0x0F 0x00 0x00 0x00 0x00 0x00 0x00 0x04 < HCI 命令:ogf 0x3f、ocf 0x0019、plen 18 80 80 80 80 FF 00 01 01 0D 03 0F 00 00 00 00 00 00 04 > HCI 事件:0xff plen 6 19 01 39 00 00 00 -------------------- 在发送数据之前停止对蓝牙低功耗 (BLE) 和经典蓝牙 (Classic) 的扫描 ---------------- # RESET root@oaslv:/home/hexagon# hcitool -i hci0 cmd 0x03 0x0003 < HCI 命令:ogf 0x03,ocf 0x0003,plen 0 > HCI 事件:0x0e plen 4 01 03 0C 00 # 启用扫描 root@oaslv:/home/hexagon# hcitool -i hci0 cmd 0x03 0x001a 0x3 < HCI 命令:ogf 0x03,ocf 0x001a,plen 1 03 > HCI 事件:0x0e plen 4 01 1A 0C 00 # 启用事件过滤器 root@oaslv:/home/hexagon# hcitool -i hci0 cmd 0x03 0x0005 0x02 0x00 0x02 < HCI 命令:ogf 0x03,ocf 0x0005,plen 3 02 00 02 > HCI 事件:0x0e plen 4 01 05 0C 00 # 进入测试模式 root@oaslv:/home/hexagon# hcitool -i hci0 cmd 0x06 0x0003 < HCI 命令:ogf 0x06,ocf 0x0003,plen 0 > HCI 事件:0x0e plen 4 01 03 18 00 # 禁用蓝牙扫描 root@oaslv:/home/hexagon# hcitool -i hci0 cmd 0x03 0x001a 0x0 < HCI 命令:ogf 0x03,ocf 0x001a,plen 1 00 > HCI 事件:0x0e plen 4 01 1A 0C 00 # 禁用经典扫描 root@oaslv:/home/hexagon# hcitool -i hci0 cmd 0x08 0x000C 0x00 0x00 < HCI 命令:ogf 0x08,ocf 0x000c,plen 2 00 00 > HCI 事件:0x0e plen 4 01 0C 20 00 # 启动TX变速器 root@oaslv:/home/hexagon# hcitool -i hci0 cmd 0x3F 0x0019 0x80 0x80 0x80 0x80 0x01 0x00 0x01 0x01 0x0D 0x03 0x0F 0x00 0x00 0x00 0x00 0x00 0x00 0x04 < HCI 命令:ogf 0x3f、ocf 0x0019、plen 18 80 80 80 80 01 00 01 01 0D 03 0F 00 00 00 00 00 00 04 > HCI 事件:0x0e plen 4 01 19 FC 00 # 停止TX传输 root@oaslv:/home/hexagon# hcitool -i hci0 cmd 0x3F 0x0019 0x80 0x80 0x80 0x80 0xFF 0x00 0x01 0x01 0x0D 0x03 0x0F 0x00 0x00 0x00 0x00 0x00 0x00 0x04 < HCI 命令:ogf 0x3f、ocf 0x0019、plen 18 80 80 80 80 FF 00 01 01 0D 03 0F 00 00 00 00 00 00 04 > HCI 事件:0xff plen 6 19 01 63 07 00 00 ** 在进入测试模式前禁用扫描时,TX 传输停止会显示以下信息: root@oaslv:/home/hexagon# hcitool -i hci0 cmd 0x3F 0x0019 0x80 0x80 0x80 0x80 0xFF 0x00 0x01 0x01 0x0D 0x03 0x0F 0x00 0x00 0x00 0x00 0x00 0x00 0x04 < HCI 命令:ogf 0x3f、ocf 0x0019、plen 18 80 80 80 80 FF 00 01 01 0D 03 0F 00 00 00 00 00 00 04 > HCI 事件:0xff plen 6 19 01 ED 04 00 00 适用于 5 GHz Wi-Fi -------------------------------------------------------------------------------- 参数:连续发射,带宽 = 40 MHz,802.11ac无DFS,CH = 40,MCS0(13.5),功率 = 14 dBm root@oaslv:/home/hexagon# cat /proc/mwlan/adapter0/config 硬件状态=0 netlink_num=31 驱动模式=7 hssetpara=7,0xff,200,400 sdcmd52rw=0 0x0 0x00 rf_test_mode=1 tx_antenna=1 接收天线=1 band=1 bw=1 频道=44 radio_mode[0]=3 radio_mode[1]= 总处方药包数=0 接收多播/广播数据包计数=0 接收函数调用错误数据包计数=0 发射功率=14 2 0 tx_continuous=0 tx_frame=1 4352 0xaaa 1024 1 20 4294967295 0 0 4294967295 0 0 0 -1 -1 -1 -1 -1 -1 -1 05:43:3f:c4:51:ff he_tb_tx=0 触发帧=0 otp_mac_add_rd_wr= 00:00:00:00:00:00
記事全体を表示
NXP S32K144 - オートモーティブの入門ガイド こんにちは、 私はNXP S32K144シリーズを初めて使用するので、開発環境をセットアップするための詳細な手順が必要です。もう少し詳しく教えていただけますか:   S32 Design Studioのどのバージョンが必要ですか? 標準 のSDK をインストールするべきか、 RTM/RTD のドライバーをインストールするべきか、どちらが良いでしょうか? この特定のハードウェアシリーズにはどんな追加の ドライバやソフトウェアパッケージ が必要ですか? S32K1 Re: Getting started guide for NXP S32K144 - Automotive こんにちは、 @Buddynさん 特に技術を使い始めたばかりの方は、最新のソフトウェアリリースやツールのバージョンを常におすすめします。 S32K1デバイス向けの最新ソフトウェアリリースはRTD 3.0.0です。これはS32 Design Studio(S32DS)3.6.6で開発・検証されました。しかし、私の経験では、より新しいS32DS 3.6.xでも問題なく動作します。バージョン。したがって、最新のS32DS 3.6リリースをダウンロードして使用することをお勧めします。 これでプラットフォームの使い始めには十分でしょう。追加で必要になるソフトウェアパッケージは、アプリケーションの具体的な要件によって異なります。 S32K1デバイス向けの他のソフトウェアパッケージや例を探りたい場合は、 S32K1リファレンスソフトウェアへアクセスできます。 BR、VaneB Re: Getting started guide for NXP S32K144 - Automotive このRTDベースのソフトウェアについて。それに関するオープンソースのファームウェアのサンプルはありますか? NXPにはs32DSの設定(クロック、ピン、ペリフェラル)に関するリファレンスやトレーニングセクションはありますか?もしそうなら、参考リンクを教えてください。 前もって感謝します
記事全体を表示
Assistance Required for VSC8254 PHY Bring-up in 1G SGMII Mode on LX2160A Hello everyone, We are working on a custom board based on the LX2160A Rev2 SoC, where the VSC8254 PHY is connected to the SoC through eMDIO1. We are currently facing issues while bringing up the PHY in 1G SGMII mode. So far, we have successfully brought up the PHY in 10G XFI mode by configuring a fixed link in both the DPC file and the Linux kernel Device Tree. After booting, we execute the NXP-provided mdio_cl45_write script to program the required Clause 45 registers, following which the link comes up and operates correctly. However, when we switch the configuration to 1G SGMII mode, we make the following changes: Update the DPC and Linux Device Tree to use SGMII instead of XFI. Execute the corresponding Clause 45 register initialization sequence for 1G. Update the SERDES reference clock from 125 MHz to 100 MHz, as required for the new configuration. Despite these changes, the PHY link does not come up. For reference: The VSC8254 PHY is connected to SERDES1 MAC3 and MAC4. We are using RCW 6 for the 10G XFI configuration. We are using RCW 4 for the 1G SGMII configuration. Could you please let us know if there are any additional configuration changes or initialization steps required to bring up the PHY in 1G SGMII mode? Thank you for your time and support. @yipingwang @chenyin_h  Re: Assistance Required for VSC8254 PHY Bring-up in 1G SGMII Mode on LX2160A 1. Please configure RCW[SRDS_PLL_REF_CLK_SEL_S1] as "00". 2. In Linux Kernel, please configure "CONFIG_VITESSE_PHY". 3. In Linux Kernel dts file arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts, please modify dpmac3 and dpmac4 configuration similar as the following. &dpmac3 { phy-handle = <&aquantia_phy1>; phy-connection-type = "usxgmii"; managed = "in-band-status"; }; aquantia_phy1: ethernet-phy@4 { /* AQR107 PHY */ compatible = "ethernet-phy-ieee802.3-c45"; interrupts-extended = <&extirq 2 IRQ_TYPE_LEVEL_LOW>; reg = <0x4>; }; Modify to: &dpmac3 {         phy-handle = <&sgmii_phy1>;         phy-connection-type = "sgmii";         managed = "in-band-status"; };         sgmii_phy1: ethernet-phy@xx{                 reg = <0xxx>;//specify dpmac3 related MDIO PHY address         }; 4. Please modify dtc file dpc-usxgmii.dts as the following.        board_info {                 ports {                         mac@3 {                                 link_type = "MAC_LINK_TYPE_PHY";                                 enet_if = "USXGMII";                         };                         mac@4 {                                 link_type = "MAC_LINK_TYPE_PHY";                                 enet_if = "USXGMII";                         }; Modify to:         board_info {                 ports {                         mac@3 {                                 link_type = "MAC_LINK_TYPE_PHY";                         };                         mac@4 {                                 link_type = "MAC_LINK_TYPE_PHY";                         };
記事全体を表示
VR5510:即使启用异步模式,I2C 看门狗刷新也会在 ISR 中阻塞——这是真正的非阻塞支持 您好,NXP团队, 我目前正在调试 VR5510 PMIC,遇到了与看门狗刷新相关的实时调度问题。 MCAL I2C 看门狗刷新(通过 I2C 向 VR5510 看门狗提供数据)的实现方式如下: 同步 手术。由于我们是在中断上下文中调用它,因此同步等待会阻塞 CPU,并降低其他任务的实时调度性能。 我注意到有一个 异步 驱动程序配置/代码中的选项。然而,实际上它仍然执行同步忙等待(它会阻塞并轮询,直到 I2C 传输完成),因此它实际上并没有将传输与调用者解耦。 我的问题: 是否有官方支持的方法可以刷新 VR5510 看门狗? 真正无阻塞 (例如是否采用中断驱动或DMA驱动的I2C协议,以避免阻塞其他任务? 如果异步选项预期是非阻塞的,那么当前的同步忙等待行为是已知的限制还是我的配置问题? 任何指导、参考配置或示例代码都将不胜感激。 谢谢! Re: VR5510: I2C watchdog refresh blocks in ISR even with async mode enabled – is true non-blocking s 你好, @Jerry_cao 感谢分享。 请问您指的是以下使用的 API 吗? Std_ReturnType I2c_AsyncTransmit ( uint8 Channel, const I2c_RequestType ∗ RequestPtr ) “? 使用的是哪个版本的RTD? BR 陈银 Re: VR5510: I2C watchdog refresh blocks in ISR even with async mode enabled – is true non-blocking s 你好: 我的版本是:   * 项目:RTD AUTOSAR 4.4 * 平台:CORTEXM * 外设:VR5510 * 依赖项:无 * * Autosar 版本:4.4.0 * Autosar 版本:ASR_REL_4_4_REV_0000 * Autosar 配置变体: 软件版本:4.0.2 * 构建版本:S32_RTD_4_0_2_HF02_D2311_ASR_REL_4_4_REV_0000_20231103 * * (c) 版权所有 2020-2023 NXP 半导体 * 版权所有。 * 使用此函数 Pmic_VR55XX_TriggerWatchdog Re: VR5510: I2C watchdog refresh blocks in ISR even with async mode enabled – is true non-blocking s 你好: 我的版本是:   * 项目:RTD AUTOSAR 4.4 * 平台:CORTEXM * 外设:VR5510 * 依赖项:无 * * Autosar 版本:4.4.0 * Autosar 版本:ASR_REL_4_4_REV_0000 * Autosar 配置变体: 软件版本:4.0.2 * 构建版本:S32_RTD_4_0_2_HF02_D2311_ASR_REL_4_4_REV_0000_20231103 * * (c) 版权所有 2020-2023 NXP 半导体 * 版权所有。 * 使用此函数 Pmic_VR55XX_TriggerWatchdog Re: VR5510: I2C watchdog refresh blocks in ISR even with async mode enabled – is true non-blocking s 你好, @Jerry_cao 谢谢您的确认。 通过与相应代码核对,RTD5.0.0QLP04 中实现了VR5510 的 I2C 异步通信解决方案。 您可以在此版本 RTD 中查看相关代码以了解详细信息。 BR 陈银
記事全体を表示
Getting started guide for NXP S32K144 - Automotive Hello, I am new to the NXP S32K144 series and need detailed instructions to set up my development environment. Could you please clarify:   Which version of S32 Design Studio is required? Whether I should install the standard SDK or the RTM/RTD drivers? What additional drivers or software packages are needed for this specific hardware series? S32K1 Re: Getting started guide for NXP S32K144 - Automotive Hi @Buddyn  We always recommend using the latest software releases and tool versions, especially if you are just getting started with the technology. For S32K1 devices, the latest software release is RTD 3.0.0, which was developed and validated with S32 Design Studio (S32DS) 3.6.6. However, based on my experience, it also works well with newer S32DS 3.6.x versions. Therefore, I would recommend downloading and using the latest available S32DS 3.6 release. This should be enough to get you started with the platform. Any additional software packages you may need will depend on your application's specific requirements. To explore other software packages and examples available for S32K1 devices, you can navigate to S32K1 Reference Software. BR, VaneB Re: Getting started guide for NXP S32K144 - Automotive For this RTD based software. Is there is any open-source firmware example for it. Does NXP has any reference or training sections for configurations (clock, pins, peripheral) in s32DS. If so, kindly share some reference link.  Thanks in advance
記事全体を表示
NXP S32K144 汽车入门指南 你好, 我是NXP S32K144系列的新手,需要详细的说明来设置我的开发环境。请问您能否澄清一下:   需要哪个版本的S32 Design Studio ? 我应该安装标准SDK还是RTM/RTD驱动程序? 该系列硬件需要哪些额外的驱动程序或软件包? S32K1 Re: Getting started guide for NXP S32K144 - Automotive 嗨@Buddyn 我们始终建议使用最新的软件版本和工具版本,尤其是在您刚开始接触这项技术时。 对于S32K1设备,最新软件版本为RTD 3.0.0。该软件采用 S32 Design Studio (S32DS) 3.6.6 开发和验证。不过,根据我的经验,它也适用于较新的 S32DS 3.6.x 版本。版本。因此,我建议下载并使用最新的 S32DS 3.6 版本。 这些应该足以让你开始使用该平台了。您可能需要的任何其他代码包,软件包将取决于您的应用程序的具体要求。 要探索其他可用于 S32K1 设备的软件包和示例,您可以访问S32K1 参考软件。 BR,VaneB Re: Getting started guide for NXP S32K144 - Automotive 适用于基于RTD的软件。是否有相关的开源固件示例? NXP 是否有关于 s32DS 配置(时钟、引脚、外设)的参考资料或培训资料?如果可以的话,请提供一些参考链接。 提前致谢
記事全体を表示
Inquiry Regarding JTAG Debugger Support for LX2082A Dear NXP Support Team, I am developing a custom board based on the NXP LX2082A processor and am currently planning the hardware bring-up and debugging setup. I would like to clarify whether SEGGER J-Link is officially supported for the following tasks on the LX2082A: Initial board bring-up JTAG debugging Bare-metal debugging TF-A and U-Boot debugging Linux kernel debugging Flash programming (if supported) My development environment is Linux, and I plan to develop and build all software on a Linux host. Could you please advise: Is SEGGER J-Link officially supported for the LX2082A? If yes, which J-Link models are supported? Are there any limitations compared to NXP-recommended debug solutions? If J-Link is not recommended, could you please suggest the officially supported hardware debugger(s) for the LX2082A? I would appreciate any documentation or application notes related to JTAG debugging and board bring-up for the LX2082A. Thank you for your assistance. I look forward to your guidance. Kind regards. Re: Inquiry Regarding JTAG Debugger Support for LX2082A The NXP officially supported debugger is CWTAP. You can use codewarrior Developer Suite Level for your application. You can also download  Evaluation Edition(free-trial) from below link but it has 30-day time restriction Every customer account (email address) can download the Evaluation Edition from the link below. Please select “DOWNLOAD EVAL”. https://www.nxp.com/design/design-center/software/development-software/codewarrior-development-tools/codewarrior-network-applications/codewarrior-development-suites-for-networked-applications:CW-DS-NETAPPS Please find the useful docuemnttation below:   ARMv8_Targeting_Manual.pdf   CodeWarrior TAP Probe User Guide   Layerscape Linux SDK User Guide Clarification on CodeWarrior License After 30-Day Evaluation (CW TAP / QCVS / QCS) Hello NXP Support, I have a question regarding the 30-day CodeWarrior Evaluation Edition. After the evaluation period expires: Will JTAG connection (using CW TAP) still work, or does CodeWarrior stop functioning completely? Will RCW generation/programming and flash programming still be available without a paid license? Can QCVS (QorIQ Configuration and Validation Suite) continue to be used after the trial expires, or does it also require a valid CodeWarrior license? For customers using only Linux command-line tools (U-Boot, Yocto, OpenOCD, etc.), is purchasing CodeWarrior recommended only for JTAG debugging, or is it mandatory for board bring-up? I would appreciate your clarification on which features remain available after the evaluation period. Thank you. Re: Inquiry Regarding JTAG Debugger Support for LX2082A 1.  CodeWarrior function will stop. 2. No. 3. No. Need a valid license. 4. Linux debug could work without JTAG debugging, but DDR validation on each board, and first time flash should use the JTAG debugger(CW TAP) with CodeWarrior IDE.
記事全体を表示
PMIC PF8200 I2C register default/reset values I am using the PF8200 with an OTP configuration. I need to load some registers by SCFW with new values to change the PMIC configuration. The register bits which are not loaded by OTP values do not have default values specified in datasheet.  What are these values to know if it is useful or not to load all the registers not already loaded by OTP. Thanks; Re: PMIC PF8200 I2C register default/reset values Thanks for quick answer. I do not find any information about their default values after power-up. Please, let me inform where I can find this information ! Re: PMIC PF8200 I2C register default/reset values Hello, Registers or bits that are not loaded from OTP are initialized to their default values after power-up. Therefore, it is not necessary to configure all non-OTP registers through SCFW unless you need values different from the default settings. To determine whether additional initialization is required, please compare your desired configuration against the default register values. Please see PF82 family I2C register Map Hope this helps! Re: PMIC PF8200 I2C register default/reset values Could you please confirm which registers you are interested in?  Re: PMIC PF8200 I2C register default/reset values For example, register 05 INT_MASK_1. But all registers specified as OFF_TOGGLE. Thanks.
記事全体を表示
PMIC PF8200 I2C寄存器默认值/RESET值 我正在使用采用 OTP 配置的 PF8200。 我需要通过 SCFW 将一些寄存器加载新值,以更改 PMIC 配置。 未被 OTP 值加载的寄存器位在数据手册中没有指定默认值。 这些值决定了加载 OTP 尚未加载的所有寄存器是否有用。 谢谢; Re: PMIC PF8200 I2C register default/reset values 感谢您的快速回复。 我没有找到任何关于它们上电后默认值的信息。 请问我可以在哪里找到这些信息? Re: PMIC PF8200 I2C register default/reset values 你好, 上电后,未从 OTP 加载的寄存器或位将被初始化为其默认值。因此,除非您需要与默认设置不同的值,否则无需通过 SCFW 配置所有非 OTP 寄存器。 要确定是否需要额外的初始化,请将您期望的配置与默认寄存器值进行比较。 请参阅PF82 系列 I2C 寄存器映射表 希望这能帮到你! Re: PMIC PF8200 I2C register default/reset values 请问您对哪些注册表感兴趣? Re: PMIC PF8200 I2C register default/reset values 例如,寄存器 05 INT_MASK_1。 但所有寄存器均指定为 OFF_TOGGLE。 谢谢。
記事全体を表示
IW612 Bluetooth RF Test Hello everyone, I'm trying to execute the RF Test for the module based on IW612. For this, I followed a couple of documents, such as: AN14310 - NXP Bluetooth UART Driver Integration AN14114 - RF Test Mode on Linux OS AN14163 - Bluetooth Direct Test Mode And others. I'm facing some problems: - In Wi-fi 5 GHz, I'm not able to see waveforms generated for low channels, near to 5 GHz, only for higher channels  - For Bluetooth, I'm not able to generate waveforms for the classic Bluetooth, only for BLE (commands for scan and get the pair information using hcitool work fine, hence I don't think this is a Hardware issue) In my setup, I'm using the SoM Variscite Dart IMX8M (version 2.0), with a 2EL radio, based on IW612. To get the waveforms, I'm using HackRF. I'm using the system with Kernel 6.6.23, Yocto custom version, and with Firmware sduart_nw61x_v1.bin.se, default from the version The feedback for the HCI commands is compatible with the documents, but I can't see the waveforms. May you help me if I'm missing something in our system or procedures to generate it? This is part of the Certification process, and now I'm stuck on it. THanks very much Re: IW612 Bluetooth RF Test Hello Could you share test cmd and result screen shot to us? Best Regards Shaun Re: IW612 Bluetooth RF Test Hello Shaun, Sure. I ran these commands for hcitool and for wifi, I attached the final file for the config For Bluetooth Classic ------------------------------------ THESE COMMANDS WERE COLLECTED DIRECTLY FROM UM11490 (pg 149) # RESET root@oaslv:/home/hexagon# hcitool -i hci0 cmd 0x03 0x0003 < HCI Command: ogf 0x03, ocf 0x0003, plen 0 > HCI Event: 0x0e plen 4 01 03 0C 00 # ENABLE SCAN root@oaslv:/home/hexagon# hcitool -i hci0 cmd 0x03 0x001a 0x3 < HCI Command: ogf 0x03, ocf 0x001a, plen 1 03 > HCI Event: 0x0e plen 4 01 1A 0C 00 # ENABLE EVENT FILTER root@oaslv:/home/hexagon# hcitool -i hci0 cmd 0x03 0x0005 0x02 0x00 0x02 < HCI Command: ogf 0x03, ocf 0x0005, plen 3 02 00 02 > HCI Event: 0x0e plen 4 01 05 0C 00 # ENTER IN TEST MODE root@oaslv:/home/hexagon# hcitool -i hci0 cmd 0x06 0x0003 < HCI Command: ogf 0x06, ocf 0x0003, plen 0 > HCI Event: 0x0e plen 4 01 03 18 00 # START THE TX TRANSMISSION root@oaslv:/home/hexagon# hcitool -i hci0 cmd 0x3F 0x0019 0x80 0x80 0x80 0x80 0x01 0x00 0x01 0x01 0x0D 0x03 0x0F 0x00 0x00 0x00 0x00 0x00 0x00 0x04 < HCI Command: ogf 0x3f, ocf 0x0019, plen 18 80 80 80 80 01 00 01 01 0D 03 0F 00 00 00 00 00 00 04 > HCI Event: 0x0e plen 4 01 19 FC 00 # STOP THE TX TRANSMISSION root@oaslv:/home/hexagon# hcitool -i hci0 cmd 0x3F 0x0019 0x80 0x80 0x80 0x80 0xF F 0x00 0x01 0x01 0x0D 0x03 0x0F 0x00 0x00 0x00 0x00 0x00 0x00 0x04 < HCI Command: ogf 0x3f, ocf 0x0019, plen 18 80 80 80 80 FF 00 01 01 0D 03 0F 00 00 00 00 00 00 04 > HCI Event: 0xff plen 6 19 01 39 00 00 00 -------------------- STOPPING THE SCAN FOR BLE AND CLASSIC BEFORE THE TX TRANSMISSION ---------------- # RESET root@oaslv:/home/hexagon# hcitool -i hci0 cmd 0x03 0x0003 < HCI Command: ogf 0x03, ocf 0x0003, plen 0 > HCI Event: 0x0e plen 4 01 03 0C 00 # ENABLE SCAN root@oaslv:/home/hexagon# hcitool -i hci0 cmd 0x03 0x001a 0x3 < HCI Command: ogf 0x03, ocf 0x001a, plen 1 03 > HCI Event: 0x0e plen 4 01 1A 0C 00 # ENABLE EVENT FILTER root@oaslv:/home/hexagon# hcitool -i hci0 cmd 0x03 0x0005 0x02 0x00 0x02 < HCI Command: ogf 0x03, ocf 0x0005, plen 3 02 00 02 > HCI Event: 0x0e plen 4 01 05 0C 00 # ENTER IN TEST MODE root@oaslv:/home/hexagon# hcitool -i hci0 cmd 0x06 0x0003 < HCI Command: ogf 0x06, ocf 0x0003, plen 0 > HCI Event: 0x0e plen 4 01 03 18 00 # DISABLE THE BLE SCAN root@oaslv:/home/hexagon# hcitool -i hci0 cmd 0x03 0x001a 0x0 < HCI Command: ogf 0x03, ocf 0x001a, plen 1 00 > HCI Event: 0x0e plen 4 01 1A 0C 00 # DISABLE THE CLASSIC SCAN root@oaslv:/home/hexagon# hcitool -i hci0 cmd 0x08 0x000C 0x00 0x00 < HCI Command: ogf 0x08, ocf 0x000c, plen 2 00 00 > HCI Event: 0x0e plen 4 01 0C 20 00 # START THE TX TRANSMISSION root@oaslv:/home/hexagon# hcitool -i hci0 cmd 0x3F 0x0019 0x80 0x80 0x80 0x80 0x01 0x00 0x01 0x01 0x0D 0x03 0x0F 0x00 0x00 0x00 0x00 0x00 0x00 0x04 < HCI Command: ogf 0x3f, ocf 0x0019, plen 18 80 80 80 80 01 00 01 01 0D 03 0F 00 00 00 00 00 00 04 > HCI Event: 0x0e plen 4 01 19 FC 00 # STOP THE TX TRANSMISSION root@oaslv:/home/hexagon# hcitool -i hci0 cmd 0x3F 0x0019 0x80 0x80 0x80 0x80 0xFF 0x00 0x01 0x01 0x0D 0x03 0x0F 0x00 0x00 0x00 0x00 0x00 0x00 0x04 < HCI Command: ogf 0x3f, ocf 0x0019, plen 18 80 80 80 80 FF 00 01 01 0D 03 0F 00 00 00 00 00 00 04 > HCI Event: 0xff plen 6 19 01 63 07 00 00 ** When disabling the scan before entering in the test mode, the stop for TX transmission give us: root@oaslv:/home/hexagon# hcitool -i hci0 cmd 0x3F 0x0019 0x80 0x80 0x80 0x80 0xFF 0x00 0x01 0x01 0x0D 0x03 0x0F 0x00 0x00 0x00 0x00 0x00 0x00 0x04 < HCI Command: ogf 0x3f, ocf 0x0019, plen 18 80 80 80 80 FF 00 01 01 0D 03 0F 00 00 00 00 00 00 04 > HCI Event: 0xff plen 6 19 01 ED 04 00 00 For Wifi 5 GHz -------------------------------------------------------------------------------- Paramters: Continuous transmit, BW = 40 MHz, 802.11ac, No DFS, CH = 40, MCS0 (13.5), Power = 14 dBm root@oaslv:/home/hexagon# cat /proc/mwlan/adapter0/config hardware_status=0 netlink_num=31 drv_mode=7 hssetpara=7,0xff,200,400 sdcmd52rw=0 0x0 0x00 rf_test_mode=1 tx_antenna=1 rx_antenna=1 band=1 bw=1 channel=44 radio_mode[0]=3 radio_mode[1]= total rx pkt count=0 rx multicast/broadcast pkt count=0 rx fcs error pkt count=0 tx_power=14 2 0 tx_continuous=0 tx_frame=1 4352 0xaaa 1024 1 20 4294967295 0 0 4294967295 0 0 0 -1 -1 -1 -1 -1 -1 -1 05:43:3f:c4:51:ff he_tb_tx=0 trigger_frame=0 otp_mac_add_rd_wr= 00:00:00:00:00:00
記事全体を表示
S32K344芯片,在SPD中添加eMCEM_1模块后,使用引导加载程序下载失败。 理清逻辑并重写:正如标题所示,当我在应用程序代码中启用 eMCEM_1 时,使用官方引导加载程序下载应用程序失败。如果我不擦除芯片,我就无法再次进入启动状态,即使重新启动也无法解决问题。我怀疑重新启动后,启动程序跳转到了应用程序,但应用程序没有运行。禁用 eMCEM_1 后,此问题不会出现。启用 eMCEM_1 后,如何使用启动 来刷写应用程序? Re: S32K344 chip, failed to download using bootloader after adding eMCEM_1 module in spd 嗨@XPW , 问题描述不够清晰。 如果应用程序是通过引导加载程序进行编程的,则应用程序中包含的 eMCEM_1 配置不应影响编程过程本身,因为应用程序在下载期间不会执行,它只是一个二进制文件。 只有在引导加载程序将执行权移交给应用程序之后,与 eMCEM/FCCU 相关的配置才会变得重要,此时检查以下内容会很有帮助: FCCU状态登记册 DCM 标志,MC_RGM 标志。 或者应用程序是否真的执行到了 main() 函数。 根据目前的描述,尚不清楚是编程操作失败,还是编程成功但问题在应用程序开始执行后才出现。 您能详细说明一下事件的具体顺序吗? 此致, 丹尼尔 Re: S32K344 chip, failed to download using bootloader after adding eMCEM_1 module in spd 经过调查,我发现启用 时,一些全局变量没有按定义进行初始化 。 请选择部分进行解释: 首先,当我没有启用目标时 XPW_0-1783494597992.png RTD 文件中的 Clock_ip.c 文件 XPW_1-1783494731850.png XPW_2-1783494792174.png 电源IP。c 在 RTD 文件下 XPW_3-1783494883662.png XPW_4-1783494909192.png 可以正确初始化。 但是,当我激活它时: XPW_5-1783495188492.png XPW_6-1783495223242.png RTD 文件中的 Clock_ip.c 文件 XPW_7-1783495794585.png XPW_8-1783495823066.png RTD 文件中的 Power_ip.c XPW_9-1783495866324.png XPW_10-1783495886502.png 全局变量初始化失败。 请问是否有更好的解决方案? Re: S32K344 chip, failed to download using bootloader after adding eMCEM_1 module in spd 嗨@XPW , 根据截图来看,变量最初初始化是正确的。但是,在 eMCEM 初始化之后,Clock_Ip_pfkNotificationsCallback 包含一个无效指针。 eMCEM 并不会神奇地改变指针值。这看起来更像是以下几种问题之一: 启动初始化(.data 副本 / .bss)初始化)未正确完成。 在 main() 函数之前发生 RAM 损坏。 连接段重叠。 堆栈损坏。 您能否使用 SPD 演示项目中的链接器文件进行测试? BR,丹尼尔 Re: S32K344 chip, failed to download using bootloader after adding eMCEM_1 module in spd 链接文件已修改如下。 XPW_0-1783992772039.png XPW_1-1783993101988.png 我定义了三个全局变量: XPW_2-1783993317537.png 我发现当未启用 时,执行init_data-bss后, XPW_3-1783993342206.png XPW_4-1783993406406.png 它似乎已按 4 字节对齐并正确赋值。 但是当我启用 后,执行init_data-bss后 XPW_5-1783994068084.png XPW_6-1783994226472.png 它似乎没有对齐。 Re: S32K344 chip, failed to download using bootloader after adding eMCEM_1 module in spd 这种现象的原因是什么?我应该如何调查和解决它? Re: S32K344 chip, failed to download using bootloader after adding eMCEM_1 module in spd 嗨@XPW , 根据截图来看,我并不认为变量初始化本身存在问题。variable_a 是一个 8 位变量,启用 eMCEM 会引入其他变量,这可能会改变 .data 的布局。部分。因此,看到变量处于不同的偏移量是正常的,这本身并不表示存在数据损坏。 我认为关键问题是,当应用程序独立组网 \\(SA\\)时会出现此问题,还是只有在通过引导加载程序编程和启动时才会出现此问题。 能否在不使用引导加载程序的情况下,直接使用调试器对应用程序进行编程并运行该程序,从而重现该问题?如果问题仅在通过引导加载程序加载应用程序后出现,则调查应集中在引导加载程序编程过程、映像布局或引导加载程序交接上,而不是应用程序本身。 BR,丹尼尔
記事全体を表示
关于 LX2082A 的 JTAG 调试器支持咨询 尊敬的恩智浦技术支持团队: 我正在开发一款基于 NXP LX2082A 处理器的定制电路板,目前正在规划硬件启动和调试设置。 我想确认一下 SEGGER J-Link 是否正式支持 LX2082A 执行以下任务: 初始板带起 JTAG调试 裸机调试 TF-A 和 U-Boot 调试 Linux 内核调试 Flash编程(如果支持) 我的开发环境是 Linux,我计划在 Linux 主机上开发和构建所有软件。 请问您能否提供以下建议: SEGGER J-Link 是否正式支持 LX2082A? 如果支持,请问支持哪些 J-Link 型号? 与恩智浦推荐的调试解决方案相比,是否存在任何局限性? 如果 J-Link 不推荐使用,能否请您推荐 LX2082A 官方支持的硬件调试器? 我非常感谢您能提供任何与 LX2082A 的 JTAG 调试和电路板启动相关的文档或应用笔记。 谢谢你的帮助。期待您的指导。 亲切的问候。 Re: Inquiry Regarding JTAG Debugger Support for LX2082A NXP官方支持的调试器是CWTAP。 您可以为您的应用程序使用 CodeWarrior 开发者套件级别。 您也可以从以下链接下载评估版(免费试用版),但试用期为 30 天。 每个客户账户(电子邮件地址)均可通过以下链接下载评估版。 请选择“下载评估版”。 https://www.nxp.com/design/design-center/software/development-software/codewarrior-development-tools/codewarrior-network-applications/codewarrior-development-suites-for-networked-applications:CW-DS-NETAPPS 请参阅以下实用文档:   ARMv8_Targeting_Manual.pdf   CodeWarrior TAP Probe 用户指南   Layerscape Linux SDK 用户指南 Clarification on CodeWarrior License After 30-Day Evaluation (CW TAP / QCVS / QCS) 您好,NXP技术支持, 我有一个关于CodeWarrior 30 天评估版的问题。 评估期结束后: JTAG 连接(使用 CW TAP)是否仍然有效,还是 CodeWarrior 将完全停止运行? RCW 生成/编程和闪存编程功能是否仍可在无需付费许可的情况下使用? QCVS(QorIQ 配置和验证套件)试用期结束后是否可以继续使用,还是也需要有效的 CodeWarrior 许可证? 对于仅使用 Linux 命令行工具(U-Boot、Yocto、OpenOCD 等)的客户,购买 CodeWarrior 是否仅推荐用于 JTAG 调试,还是必须用于电路板启动? 我想请您澄清一下,评估期结束后哪些功能仍然可用。 谢谢! Re: Inquiry Regarding JTAG Debugger Support for LX2082A 1. CodeWarrior 函数将停止运行。 2. 否 3. 不。需要有效驾照。 4. Linux 调试可以在没有 JTAG 调试的情况下进行,但需要对每个板进行 DDR 验证,并且第一次刷写固件时应该使用带有 CodeWarrior IDE 的 JTAG 调试器(CW TAP)。
記事全体を表示
S32K344チップ、spdにeMCEM_1モジュールを追加した後、ブートローダーを使用してダウンロードに失敗しました。 ロジックを整理して書き直します。タイトルにあるように、アプリコードでeMCEM_1を有効にすると、公式ブートローダーを使用したアプリのダウンロードが失敗しました。チップを消去しなければ、再びブート画面に入ることができず、電源を入れ直しても問題は解決しなかった。電源を入れ直した後、起動プロセスでアプリが起動したものの、アプリが起動しなかったのではないかと推測しています。eMCEM_1を無効にすると、この問題は発生しません。eMCEM_1が有効になっているときに、Bootでアプリを書き換えるにはどうすればいいですか Re: S32K344 chip, failed to download using bootloader after adding eMCEM_1 module in spd こんにちは、 @XPW さん。 問題の説明が必ずしも明確ではない。 もしアプリケーションがブートローダーを通じてプログラムされている場合、アプリケーションに含まれるeMCEM_1設定はダウンロード中に実行されるわけではなく、単なるバイナリであるため、プログラミングプロセス自体に影響を与えることはありません。 ブートローダーがアプリケーションへの実行を転送した後にのみ、eMCEM/FCCU関連の設定が重要になり、その時点で以下の点を確認することが有用です。 FCCUステータス登録簿 DCMフラグ、MC_RGMフラグ。 また、アプリケーションが実際にmain()に到達するかどうかも重要です。 現在の説明からは、プログラミング操作が失敗するのか、プログラムが成功して問題がアプリケーションの実行開始時に起こるのかは不明です。 出来事の正確な順序を説明していただけますか? よろしくお願いいたします。 ダニエル Re: S32K344 chip, failed to download using bootloader after adding eMCEM_1 module in spd 調査の結果、 が有効になった際に、一部のグローバル変数が定義どおりに初期化されていなかったことが判明しました 。 説明が必要な箇所を選択してください: まず、ターゲットを有効にしていないとき XPW_0-1783494597992.png Clock_ip.c(RTDファイル内) XPW_1-1783494731850.png XPW_2-1783494792174.png Power_ip。c は RTD ファイル内 XPW_3-1783494883662.png XPW_4-1783494909192.png Can initialize correctly。 しかし、起動したとき: XPW_5-1783495188492.png XPW_6-1783495223242.png Clock_ip.c(RTDファイル内) XPW_7-1783495794585.png XPW_8-1783495823066.png Power_ip.c は RTD ファイル内にあります。 XPW_9-1783495866324.png XPW_10-1783495886502.png グローバル変数の初期化に失敗しました。 もっと良い解決策はありますでしょうか? Re: S32K344 chip, failed to download using bootloader after adding eMCEM_1 module in spd こんにちは、 @XPW さん。 スクリーンショットを見る限り、変数は最初は正しく初期化されているようです。しかし、eMCEMの初期化後、Clock_Ip_pfkNotificationsCallbackには無効なポインタが含まれています。 eMCEMはポインターの値を魔法のように変更するわけではありません。これは、以下のいずれかの問題に非常によく似ています。 起動時の初期化 (.data copy / .bss初期化が正しく完了していません。 RAMの破損はmain()関数の前に発生します。 リンカー部分は重複している。 スタック破損。 SPDデモプロジェクトのリンカーファイルでテストできますか? BR、ダニエル Re: S32K344 chip, failed to download using bootloader after adding eMCEM_1 module in spd リンクファイルは以下のように変更されました。 XPW_0-1783992772039.png XPW_1-1783993101988.png 私は3つのグローバル変数を定義しました。 XPW_2-1783993317537.png が有効になっていない場合、init_data-bssを実行した後、 XPW_3-1783993342206.png XPW_4-1783993406406.png 4バイトに正しく整列され、適切に割り当てられているようです。 しかし、 を有効にすると、init_data-bssを実行した後、 XPW_5-1783994068084.png XPW_6-1783994226472.png 位置がずれているようです。 Re: S32K344 chip, failed to download using bootloader after adding eMCEM_1 module in spd この現象の原因は何でしょうか?また、どのように調査し、解決すればよいでしょうか? Re: S32K344 chip, failed to download using bootloader after adding eMCEM_1 module in spd こんにちは、 @XPW さん。 スクリーンショットを見る限り、変数の初期化自体に問題があるとは考えにくい。variable_aは8ビット変数であり、eMCEMを有効にすると追加の変数が導入され、.データのレイアウトが変わる可能性がありますセクション。したがって、異なるオフセットで変数が見られることは想定内のことであり、それ自体がデータの破損を示すものではありません。 重要な問題は、アプリケーションが単独で実行されたときに起こるのか、それともブートローダーでプログラムされて起動された時だけ発生するのかということです。 デバッガで直接プログラムし、ブートローダーなしで実行した場合にこの問題を再現できますか?もし問題がブートローダーを通じてアプリケーションを読み込んだ後にのみ発生する場合は、調査はアプリケーション自体ではなく、ブートローダーのプログラミングプロセス、イメージレイアウト、またはブートローダーのハンドオーバーに焦点を当てるべきです。 BR、ダニエル
記事全体を表示
IW612 Bluetooth RFテスト 皆さん、こんにちは。 IW612を基にモジュールのRFテストを実行しようとしています。そのために、いくつかの文書を参考にしました。例えば: AN14310 - NXP Bluetooth UARTドライバ統合 AN14114 - Linux OS上のRFテストモード AN14163 - Bluetooth ダイレクトテストモード 他にも。 いくつか問題に直面しています: - Wi-Fi 5 GHzでは、5 GHz付近の低チャネルで波形が生成されず、高チャネルでしか波形が見えません - Bluetoothについては、クラシックなBluetoothで波形を生成できず、BLEでしか波形を生成できません(hcitoolでスキャンやペア情報取得のコマンドは問題なく動作するため、ハードウェアの問題ではないと思います) 私のセットアップでは、SoM Variscite Dart IMX8M(バージョン2.0)と2ELラジオを使い、IW612をベースにしています。波形を取得するために、HackRFを使用しています。 私はカーネル6.6.23を搭載したシステムを使用しています。Yoctoのカスタムバージョンと、Firmware sduart_nw61x_v1.bin.seを搭載しています。バージョンからのデフォルト HCIコマンドのフィードバックはドキュメントと互換性がありますが、波形は見えません。システムや手順に何か不足している点があれば、ご指摘いただけますでしょうか?これは認証プロセスの一部なのですが、今ここで行き詰まっています。 どうもありがとうございました Re: IW612 Bluetooth RF Test Hello テストのコマンドと結果のスクリーンショットを教えてもらえますか? よろしくお願いいたします。 ショーン Re: IW612 Bluetooth RF Test こんにちは、ショーンさん。 もちろん。hcitoolとwifi用にこれらのコマンドを実行しました。設定の最終ファイルを添付しました。 Bluetooth Classic用 ------------------------------------ これらのコマンドはUM11490(149ページ)から直接収集したものです。 # リセット root@oaslv:/home/hexagon# hcitool -i hci0 cmd 0x03 0x0003 < HCIコマンド:ogf 0x03、ocf 0x0003、プレン0 > HCIイベント:0x0eプレン4 01 03 0C 00 # スキャンを有効にする root@oaslv:/home/hexagon# hcitool -i hci0 cmd 0x03 0x001a 0x3 < HCIコマンド:ogf 0x03、ocf 0x001a、プレン1 03 > HCIイベント:0x0eプレン4 01 1A 0C 00 # イベントフィルターを有効にする root@oaslv:/home/hexagon# hcitool -i hci0 cmd 0x03 0x0005 0x02 0x00 0x02 < HCIコマンド:ogf 0x03、ocf 0x0005、プレン3 02 00 02 > HCIイベント:0x0eプレン4 01 05 0C 00 # テストモードでエントリー root@oaslv:/home/hexagon# hcitool -I HCi0 cmd 0x06 0x0003 < HCIコマンド:ogf 0x06、ocf 0x0003、プレン0 > HCIイベント:0x0eプレン4 01 03 18 00 # TXトランスミッションを開始 root@oaslv:/home/hexagon# hcitool -i hci0 cmd 0x3F 0x0019 0x80 0x80 0x80 0x80 0x01 0x00 0x01 0x01 0x0D 0x03 0x0F 0x00 0x00 0x00 0x00 0x00 0x00 0x04 < HCI司令部:ogf 0x3f、ocf 0x0019、プレン18 80 80 80 80 01 01 01 0D 03 0F 00 00 00 00 00 00 04 > HCIイベント:0x0eプレン4 01 19 FC 00 # TXの送信を止めろ root@oaslv:/home/hexagon# hcitool -i hci0 cmd 0x3F 0x0019 0x80 0x80 0x80 0x80 0xF F 0x00 0x01 0x01 0x0D 0x03 0x0F 0x00 0x00 0x00 0x00 0x00 0x00 0x04 < HCI司令部:ogf 0x3f、ocf 0x0019、プレン18 80 80 80 80 FF 00 01 01 0D 03 0F 00 00 00 00 00 04 > HCIイベント:0xffプレン6 19 01 39 00 00 00 --------------------、TXトランスミッションの前にBLEとCLASSICのスキャンを止めること---------------- # リセット root@oaslv:/home/hexagon# hcitool -i hci0 cmd 0x03 0x0003 < HCIコマンド:ogf 0x03、ocf 0x0003、プレン0 > HCIイベント:0x0eプレン4 01 03 0C 00 # スキャンを有効にする root@oaslv:/home/hexagon# hcitool -i hci0 cmd 0x03 0x001a 0x3 < HCIコマンド:ogf 0x03、ocf 0x001a、プレン1 03 > HCIイベント:0x0eプレン4 01 1A 0C 00 # イベントフィルターを有効にする root@oaslv:/home/hexagon# hcitool -i hci0 cmd 0x03 0x0005 0x02 0x00 0x02 < HCIコマンド:ogf 0x03、ocf 0x0005、プレン3 02 00 02 > HCIイベント:0x0eプレン4 01 05 0C 00 # テストモードでエントリー root@oaslv:/home/hexagon# hcitool -I HCi0 cmd 0x06 0x0003 < HCIコマンド:ogf 0x06、ocf 0x0003、プレン0 > HCIイベント:0x0eプレン4 01 03 18 00 # BLEスキャンを無効に root@oaslv:/home/hexagon# hcitool -i hci0 cmd 0x03 0x001a 0x0 < HCIコマンド:ogf 0x03、ocf 0x001a、プレン1 00 > HCIイベント:0x0eプレン4 01 1A 0C 00 # クラシックスキャンを無効にする root@oaslv:/home/hexagon# hcitool -i hci0 cmd 0x08 0x000C 0x00 0x00 < HCIコマンド:ogf 0x08、ocf 0x000c、プレン2 00 00 > HCIイベント:0x0eプレン4 01 0C 20 00 # TXトランスミッションを開始 root@oaslv:/home/hexagon# hcitool -i hci0 cmd 0x3F 0x0019 0x80 0x80 0x80 0x80 0x01 0x00 0x01 0x01 0x0D 0x03 0x0F 0x00 0x00 0x00 0x00 0x00 0x00 0x04 < HCI司令部:ogf 0x3f、ocf 0x0019、プレン18 80 80 80 80 01 01 01 0D 03 0F 00 00 00 00 00 00 04 > HCIイベント:0x0eプレン4 01 19 FC 00 # TXの送信を止めろ root@oaslv:/home/hexagon# hcitool -i hci0 cmd 0x3F 0x0019 0x80 0x80 0x80 0x80 0xFF 0x00 0x01 0x01 0x0D 0x03 0x0F 0x00 0x00 0x00 0x00 0x00 0x00 0x04 < HCI司令部:ogf 0x3f、ocf 0x0019、プレン18 80 80 80 80 FF 00 01 01 0D 03 0F 00 00 00 00 00 04 > HCIイベント:0xffプレン6 19 01 63 07 00 00 **テストモードに入る前にスキャンを無効にすると、TX送信の停止により次のようになります。 root@oaslv:/home/hexagon# hcitool -i hci0 cmd 0x3F 0x0019 0x80 0x80 0x80 0x80 0xFF 0x00 0x01 0x01 0x0D 0x03 0x0F 0x00 0x00 0x00 0x00 0x00 0x00 0x04 < HCI司令部:ogf 0x3f、ocf 0x0019、プレン18 80 80 80 80 FF 00 01 01 0D 03 0F 00 00 00 00 00 04 > HCIイベント:0xffプレン6 19 01 ED 04 00 00 Wi-Fi 5GHz用 -------------------------------------------------------------------------------- パラメータ: 連続送信、帯域幅 = 40 MHz、802.11ac、DFSなし、CH = 40、MCS0 (13.5)、電力 = 14 dBm root@oaslv:/home/hexagon# cat /proc/mwlan/adapter0/config hardware_status=0 netlink_num=31 drv_mode=7 hssetpara=7,0xff,200,400 SDCMD52RW=0 0x0 0x00 rf_test_mode=1 tx_antenna=1 rx_antenna=1 バンド=1 BW=1 チャネル=44 radio_mode[0]=3 radio_mode[1]= 総処方PKT数=0 RXマルチキャスト/ブロードキャストのPKTカウント=0 rx FCSエラー PKTカウント=0 tx_power=14 2 0 tx_continuous=0 tx_frame=1 4352 0xaaa 1024 1 20 4294967295 0 0 0 4294967295 0 0 0 0 -1 -1 -1 -1 -1 -1 -1 -1 05:43:3f:c4:51:ff he_tb_tx=0 trigger_frame=0 otp_mac_add_rd_wr= 00:00:00:00:00:00
記事全体を表示
Example SJA1110 FreeRTOS lwIP MR-T1ETH8 S32DS 3.5 RTD 1.0.2 ********************************************************************************* * Detailed Description: * Updated the example lwip_FreeRTOS_SJA1110 for board MR-T1ETH8 * to enable ping from the command window, from all applicable ports * *ping 192.168.0.200 * *Pinging 192.168.0.200 with 32 bytes of data: *Reply from 192.168.0.200: bytes=32 time=2ms TTL=255 *Reply from 192.168.0.200: bytes=32 time=1ms TTL=255 *Reply from 192.168.0.200: bytes=32 time=1ms TTL=255 *Reply from 192.168.0.200: bytes=32 time=1ms TTL=255 * *Ping statistics for 192.168.0.200: * Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), *Approximate round trip times in milli-seconds: * Minimum = 1ms, Maximum = 2ms, Average = 1ms * * Installed packages to S32DS 3.5 update 14: * SW32SJA11xx_S32DS_3.5.0_RFP_D2206.zip * SJA11XX_RTD_4.4_1.0.1_P02_HF01_D2510_DesignStudio_updatesite.zip * SW32SJA1110_XJA11XX_ETH_PHY_4.4_1.0.8_CD01_D2509_DesignStudio_updatesite.zip * SJA11XX_ETH_SWITCH_4.4_1.0.2_CD01_D2509_DesignStudio_updatesite.zip * SW32SJA11xx_FreeRTOS_11.1.0_0.8.0_CD2_D2411_DesignStudio_updatesite.zip * SJA11XX_TCPIP_2.0.0_CD01_D2510_DesignStudio_updatesite.zip * * EVB * - to enable flashing by Lauterbach TRACE32 - Populate R78, DNP R77 * * Configuration: * - Updated switch configuration * - Updated phy configuration * - Fixed Mcu/McuModuleConfiguration/McuPowerControlUnit - 1V8 and 2V5 * - Fixed Eth configuration * * * * - TCPIP stack: enabled UDP_ECHO, etc. * - Added DIO * - Added nvm_metadata * - MAC learning is disabled * - All available ports initialized * - All ports checked, except 1 Gbit/s ix Industrial connector (J9) * * main.c * - Updated only the header * device.c * - Added LED routines * test.c * - Removed code that shuts down the TCP/IP stack after its predefined timeout * - Added debug stuff * - Commented out the code that initializes 2nd switch * * ----------------------------------------------------------------------------- * Test HW: MR-T1ETH8 * MCU: SJA1110 * Debugger: Lauterbach TRACE32 * Target: RAM or external FLASH (flash_image.bin generated) * EVB connection: any port <-> RDDRONE T1ADAPT (on ports where applicable) <-> USB-to-Ethernet adapter <-> Laptop DELL, Windows 11
記事全体を表示
Edgefast Open 在 SDK 中不可用 自 SDK 版本 26.09.00 起,EdgeFast Bluetooth PAL 将被弃用,我想开始测试并切换到新的 EdgeFast Open。 如文档中所述: https://mcuxpresso.nxp.com/mcuxsdk/latest/html/middleware/edgefast_open/docs/MCUXSDKEFOPENUG/topics/demo.html#run-a-demo-application-using-mcuxpresso-ide 似乎可以使用 MCUXPresso IDE 测试新库,所以我从 MCUXpresso SDK Builder 下载了适用于 RT685、RT1060 和 RT1170 的最新 26.06 SDK,并尝试导入一个示例,但我找不到任何使用“开放”库的示例。该 SDK 中似乎只包含了 PAL 版本。 我还使用 MCUXPresso for VSC 进行了测试,从 GitHub 下载了存储库。我在源代码和清单文件中都看到了这个库,但是它没有包含在任何板示例中。 我该如何测试新的 EdgeFast 库? 先行致谢。 Re: Edgefast Open not available on SDK 我就是从那里开始的。 问题在于: - 为 MCUXPresso 生成的 SDK 不包含任何库或示例的痕迹。 - 该库和示例已上传至 GitHub。我克隆了仓库,可以看到文件,但仍然无法导入使用此库的示例。 Re: Edgefast Open not available on SDK 您好, 请查看mcux SDK的以下目录:mcuxsdk\middleware\edgefast_open。 问候, 丹尼尔。 Re: Edgefast Open not available on SDK 您需要从仓库中获取 SDK。并非来自 SDK 构建器。 然后,您可以按如下方式构建示例: C:\mcux_26_06\mcuxsdk\mcuxsdk>west build -b evkbmimxrt1170 middleware/edgefast_open/examples/peripheral_ht --build-dir build_peripheral_ht --pristine -- -Dcore_id=cm7 然后刷机: C:\mcux_26_06\mcuxsdk\mcuxsdk>west flash --build-dir build_peripheral_ht 输出: BLE Peripheral HT demo start... Bluetooth initialized Advertising successfully started 问候, 丹尼尔。
記事全体を表示
Edgefast OpenはSDKで利用できません SDKバージョン26.09.00以降、EdgeFast Bluetooth PALは廃止される予定なので、テストを始めて新しいEdgeFast Openに切り替えたいと思っています。 ドキュメントに記載されている通り: https://mcuxpresso.nxp.com/mcuxsdk/latest/html/middleware/edgefast_open/docs/MCUXSDKEFOPENUG/topics/demo.html#run-a-demo-application-using-mcuxpresso-ide MCUXPresso IDEを使って新しいライブラリをテストできるようだったので、MCUXpresso SDK BuilderからRT685、RT1060、RT1170の最後の26.06 SDKをダウンロードしてサンプルをインポートしようとしましたが、「open」ライブラリを使う例は見つかりませんでした。そのSDKにはPAL版のみが含まれているようです。 また、GitHubからリポジトリをダウンロードして、MCUXPresso for VSCでもテストしました。ソースファイルとマニフェストファイルにはライブラリが存在しているのですが、ボードのサンプルには含まれていません。 新しいEdgeFastライブラリをどうやってテストできますか? よろしくお願いいたします。 Re: Edgefast Open not available on SDK 私はまさにそこから始めた。 問題は以下の通りです: - MCUXPresso用に生成されたSDKには、ライブラリやサンプルの痕跡は一切含まれていません。 ライブラリとサンプルはGitHubで公開されています。リポジトリをクローンしてファイルは見られますが、このライブラリを使う例をインポートすることはまだできません。 Re: Edgefast Open not available on SDK こんにちは、 mcux SDK mcuxsdk\middleware\edgefast_openのディレクトリをご覧ください。 よろしくお願いいたします。 ダニエル。 Re: Edgefast Open not available on SDK リポジトリからSDKを取得する必要があります。SDKビルダーからではありません。 その後、以下のように例を作成できます。 C:\mcux_26_06\mcuxsdk\mcuxsdk>west build -b evkbmimxrt1170 middleware/edgefast_open/examples/peripheral_ht --build-dir build_peripheral_ht --pristine -- -Dcore_id=cm7 次に、フラッシュするには: C:\mcux_26_06\mcuxsdk\mcuxsdk>west flash --build-dir build_peripheral_ht 出力: BLE Peripheral HT demo start... Bluetooth initialized Advertising successfully started よろしくお願いいたします。 ダニエル。
記事全体を表示
kw45 Hello team, WE were designing a product using KW45 and we saw it  supports LPSPI, but we wanted to interact with the QSPI flash W25Q128JWFIQ TR. Does it supports? if it does, what and all possible hardware and software configurations need to be done Communication & Control(I3C | I2C | SPI | FlexCAN | Ethernet | FlexIO) Re: kw45 Hi, @TejasN2255  Thanks for creating case to us. Yes, it supports. You can use KW45 to interact with the QSPI flash W25Q128JWFIQ TR. But because KW45 doesn't have FlexSPI and no execute-in-place (XIP) path, so you could only talk to the W25Q128JWFIQ over its LPSPI peripheral. To use it, you need to be careful for the Supply voltage. The W25Q128JWFIQ is 1.8 V nominal (1.7–1.95 V). The KW45's I/O rail feeding LPSPI1 (VDD_MEM on the EVK) must be set to 1.8 V; do not tie it to a 3.3 V rail. You can refer to our KW45B41Z-EVK_SCH schematics page 5, we have a similar connection with AT25XE161D-MAHN-T, but the difference is the Supply voltage.  Best regards, Christine.
記事全体を表示