Multi Source Translation Content

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Multi Source Translation Content

讨论

排序依据:
スワップ要求: HSE_SRV_ID_ACTIVATE_PASSIVE_BLOCK (Hse_Ip_ServiceRequest 経由) が 0xAA55A11E を返します こんにちは、現在S32K314HMSマイクロコントローラでA/Bスワップを試みています。交換リクエストは以下の方法で行われます。   /* ジョブステータス変数をリセットします */       SwapJobStatus = SWAP_JOB_PENDING ; /* HSEリクエストのサービス記述子を設定します */ swapHseSrvDescriptor.srvId = HSE_SRV_ID_ACTIVATE_PASSIVE_BLOCK; /* HSE IPレイヤーに送信するリクエストパラメータを設定します */       swapHseIpRequest.eReqType = HSE_IP_REQTYPE_ASYNC_POLL ;​​       swapHseIpRequest.u32Timeout = SWAP_TIMEOUT ;​​ swapHseIpRequest.pfCallback = SwapProcessMuChannelResponse; /* サービスリクエストをHSE IPレイヤーに送信します */ if (HSE_SRV_RSP_OK != Hse_Ip_ServiceRequest(SWAP_MU_INSTANCE, SWAP_MU_ADMIN_CHANNEL, &swapHseIpRequest, &swapHseSrvDescriptor))     {          結果= E_NOT_OK ;      } 次に、swapHseIpRequest.pfCallback ( SwapProcessMuChannelResponse)が呼び出され、返される HseResponse は次のようになります。 static void SwapProcessMuChannelResponse ( uint8 u8MuInstance , uint8 u8MuChannel ,                                              hseSrvResponse_t HseResponse 、 void * pCallbackParam ) {    if ( HseResponse == HSE_SRV_RSP_OK )     {       vFotaH_Appl_SwapJobStatus = SWAP_JOB_OK ;    }    それ以外     {       vFotaH_Appl_SwapJobStatus = SWAP_JOB_FAILED ;       VStdLib_ConvertUint32ToUint8ArrayBigEndian (( uint32 ) HseResponse , DebugData );    } } #define HSE_SRV_RSP_NOT_SUPPORTED (( hseSrvResponse_t ) 0xAA55A11EUL ) /**< @brief サポートされていない操作または機能です。 */ これは散発的に発生し、時にはスワップが期待どおりに機能することもあります。その理由は何でしょうか?HSEがこの返還コードを返答する理由やシナリオはどこで見つけられますか? このスワップは、リセットや電源オンの数分後にアップデートシーケンスの終了時にトリガーされます(つまりHSEは100%初期化されています)。 Re: Swap request: HSE_SRV_ID_ACTIVATE_PASSIVE_BLOCK via Hse_Ip_ServiceRequest returns 0xAA55A11E こんにちは、@AlexI さん。 これはパラメータのない非常にシンプルなサービスです。私が考えられる唯一の説明は、データキャッシュメモリが原因であるということです。記述子がキャッシュ不可能なメモリ領域に配置されていることを確認してください。 一般的に、HSEとの通信に使用されるすべてのデータオブジェクトは、キャッシュを認識できないため、キャッシュ対応できないメモリに強制的に移行する必要があります。 今回の理由はおそらく違うかもしれませんが、DTCMメモリを使う場合、バックドアアドレスを使う必要があるということです。通常のアドレスは、そのメモリを所有するコアからのみ参照可能です。他のバス・マスタ(他のコア、DMA、HSEなど)はバックドアアドレスを通じてのみこのメモリを認識できます。 lukaszadrapa_0-1783694396770.png よろしくお願いいたします。 ルーカス Re: Swap request: HSE_SRV_ID_ACTIVATE_PASSIVE_BLOCK via Hse_Ip_ServiceRequest returns 0xAA55A11E @lukaszadrapa さん、ご回答ありがとうございます。 実装を変更して、swapHseSrvDescriptorとswapHseIpRequestが初期値を持ち、起動時にリンカーによって初期化されるようにしました。実行時ではなく、今は動作しています。
查看全文
MPC5746C 在 115°C 环境温度下死机(无法启动,UART 无输出) 部件号: MPC5746C(电源架构 Z4,SDK:NXP MPC57xx 平台 SDK) 在 115°C 环境温度下进行热室测试时,我们基于 MPC5746C 的板在启动时完全无响应——没有任何 UART 控制台输出,并且在该温度下每次启动尝试都会发生这种情况。冷却后该部件似乎完全恢复:在室温下重新刷写/重启即可恢复正常运行,且不会造成永久性损坏。 有趣的是,即使电路板温度高达 115°C,我们仍然可以通过 PEMicro JTAG 调试探针成功地对闪存进行重新编程——我们通过在高温下刷入版本字符串递增的构建版本,并在冷却后读取新版本,证实了这一点。因此,调试探测闪存路径在 115°C 下工作;只有应用程序启动路径挂起/处于错误状态。 手册上说MCU可以承受高达125°C的温度。 请问您能否帮我们找出问题的根本原因以及如何解决这个问题? Re: MPC5746C hangs (no boot, no UART) at 115°C ambient 你好, 手册上说MCU可以承受高达125°C的温度。 是的,这不是问题。 请问您能否帮我们找出问题的根本原因以及如何解决这个问题? 由于这是你的定制板,而且问题在冷却后消失,我怀疑: 1. 时钟启动问题(可能性最高) 在 115°C 时: 外部晶体(FXOSC)启动时间增加。 振荡器增益裕度降低。 负载电容的电容值会随温度变化。 PCB漏电加剧。 调试器仍然可以访问该部分,因为调试逻辑使用自己的基础架构,并不依赖于应用程序是否执行到 main() 函数。 FXOSC 状态位 CMU时钟监测故障 仅 FIRC 启动实验 完全通过 FIRC 运行,并暂时禁用外部晶振。 JTAG编程在115°C下仍能正常工作,这有力地表明核心基础设施仍然运行正常,故障发生在应用程序启动路径的早期阶段,而不是闪存阵列本身。 顺祝商祺! Peter Re: MPC5746C hangs (no boot, no UART) at 115°C ambient 感谢@petervlna的真知灼见。 随后,我和我的同事@mnargund进行了进一步调查,我们成功地让 MPC5746C 在 115°C 下启动。以下是我们发现的结果总结。 根本原因:在预初始化期间,我们配置系统启动 FIRC、FXOSC 和 PLL,然后将系统时钟从 FIRC 切换到 PLL。随后,我们触发了向 DRUN 模式的模式转换(尽管系统默认已处于 DRUN 模式,但如手册中所述,需要转换到相同模式才能使新配置生效),并轮询 MC_ME_GS.MTRANS 以等待转换完成。 然而,即使在 MC_ME_GS.MTRANS 清除之后,代码仍然出现 IVOR1 异常,这可能表明在执行继续进行时,转换尚未完全稳定。在高温(115°C)下,转变似乎比在室温下需要更长时间,导致系统在执行下一条指令时处于不一致的状态。 已采取的变通方法:我们在 MC_ME_GS.MTRANS 轮询之后、在继续执行其余初始化操作之前插入了一个显式的软件延迟。延迟 500 毫秒,在 115°C 下启动始终成功。我们还测试了 100 毫秒的延迟,在我们的设置中也能可靠地工作。 在初始化过程中,是否存在一个可以安全插入的最大推荐软件延迟? 在高达 125°C 的整个工作温度范围内,是否有推荐的做法来确保时钟稳定可靠?
查看全文
PCA2131: コントロールレジスタ2のAF(アラームフラグ)はクリアできません こんにちは、皆さん 現在、 PCA2131 オートモーティブ RTCをバッテリー・マネジメント・システム(BMS)に統合しています。 アラームフラグ(AF、Control_2レジスタ01hのビット4)がハイのままになるという問題が継続的に発生しています。基本的なSPI通信は完璧に動作しており、タイムレジスタの設定や読み込みは問題なくできます。しかし、初期化時にAFフラグをクリアできません。 重要な背景情報: AFフラグをクリアする前に、アラームレジスタ(0Ah~0Eh)内のすべてのアラーム有効化(AE_X)ビットが1(無効)に設定されていることを既に確認済みです。 私が実行しているシーケンス: Control_2(レジスタ01h)を読み取ります。AFビットは1と読み取られます。 ローカル構造体でAF = 0とAIE = 0に設定してフラグをクリアします。 変更したバイトをControl_2に書き戻す。 Control_2をもう一度読み込んでください。AFビットはまだ1です。 デバッグセッションのスクリーンショットを添付しました。クリア前、クリア操作中、および読み出し後のレジスタの状態を示しています。 私の質問: すべてのAE_Xビットが無効化されている場合、他にAFフラグを即座に再アサートさせる(またはクリアを妨げる)内部条件は何でしょうか? ご意見やご提案をいただければ大変ありがたいです! Re: PCA2131: AF (Alarm Flag) in Control Register 2 will not be able to clear こんにちは、ヨゼフさん。 あなたのサポートと正しい方向への教えてくださり、ありがとうございます。 私はピコスコープを使ってSPIメッセージを確認し、ハードウェアの値が正しいことを検証しました。ご提案に従い、さらにコードをデバッグし、根本原因がビットフィールドの順序の不一致であることを確認しました。 不一致を修正しましたので、問題は完全に解決しました。ご協力ありがとうございました! よろしくお願いします、 ヴィカス Re: PCA2131: AF (Alarm Flag) in Control Register 2 will not be able to clear こんにちは、ヴィカスさん。 ご確認いただきありがとうございます。データシートに記載されている PCA2131 の動作を考慮すると、AE_S/AE_M/AE_H/AE_D/AE_W がすべて 1 であると仮定すると、RTC が AF を正しく再トリガーしているようには見えません。最も可能性の高い原因はビットフィールドの順序ミスマッチです。3つの読み書きSPIメッセージの範囲をぜひ教えていただけますか?タイミングと、書き込みおよび読み出しされたレジスタ/ビットを確認するため。 JozefKozon_2-1783678052638.png 敬具、 ヨゼフ Re: PCA2131: AF (Alarm Flag) in Control Register 2 will not be able to clear おっと、タイプミスでごめんなさい!正しいアドレスは0Ehから12hです。再確認したところ、コードに正しく記載されていたので、メッセージの誤りでした。 Re: PCA2131: AF (Alarm Flag) in Control Register 2 will not be able to clear こんにちは、ヴィカスさん。 警報記録を再度確認してください。これらのレジスタのアドレスは0Ehから12hです。 JozefKozon_0-1783672873300.png JozefKozon_1-1783672931555.png AE_xビットをすべて1に再度設定してみてください。 敬具、 ヨゼフ
查看全文
Zone Node Overview 1 Table of Contents • Introduction • Overview • Context • References • Conclusion 2 Introduction This article series explains the role and behavior of a zonal controller communication component in a modern automotive electrical/electronic (E/E) architecture. This first article provides a short, high-level introduction to the zonal node and establishes a common understanding of its main responsibilities. The series gradually explains how this component enables message exchange between in-vehicle communication networks, with a particular focus on routed and broadcast communication over CAN and LIN. Later articles move from these concepts into more detailed design and implementation topics. As the entry point to the Zonal Communication and Control series, this article focuses on the zonal node from an architectural perspective. It does not cover system-level use cases or application-specific configurations, which are addressed in later articles. 3 Overview This article introduces an S32K3-based zonal node and explains how it connects to several in-vehicle networks. In practice, the zonal node sits between central vehicle controllers and local devices such as sensors, actuators, or small control modules, helping messages move between them. The zonal node receives messages from the central controller and forwards them to local nodes, while also sending status information and responses back to the central side. Depending on the system design, it can distribute the same message to multiple nodes or route specific messages only to the intended recipients. In addition to message forwarding, the zonal node may perform limited local processing, such as message filtering, signal aggregation, data validation, or basic decision-making related to communication handling. However, higher-level functional decisions are typically managed by central controllers, with the zonal node focusing primarily on efficient and reliable data exchange. This role becomes clearer in the context of evolving automotive E/E architectures. Traditional designs relied on many purpose-specific electronic control units (ECUs) connected through dedicated wiring. As system complexity increased, that approach added wiring weight, raised cost, and limited scalability. dragostoma_0-1782905205237.png Figure 1. Zonal controller highlighted within the EV architecture Zonal architectures address these limitations by grouping nearby functions within the same physical area of the vehicle and moving more processing into central computing units. In this model, the zonal controller manages local communication and forwards relevant information to the central system. In this context, the S32K3 MCU family supports the required functionality by providing automotive communication interfaces such as CAN FD and LIN. On devices that include the necessary interfaces, the zonal node can connect different network types and handle message traffic between them. Within the scope of this project, the S32K3 platform is suitable for implementing the zonal node due to its available communication peripherals, processing capability, and automotive safety features, which are sufficient for the number of connected nodes and the complexity of the communication tasks considered. This article is intended for: System architects evaluating zonal or domain-based vehicle designs Embedded software engineers implementing communication routing logic Engineers evaluating MCU platforms for multi-network automotive applications By reading this series, you will understand why zonal communication components matter, how they fit into modern vehicle architectures, and how the S32K3 platform can support this role. 4 Context In a complete vehicle system, the zonal node sits between the central control system and local hardware. Its main job is to pass, route, or translate messages, not to make application-level decisions. Keeping these roles separate helps the system remain predictable, reliable, and easier to scale. The zonal node may receive messages from central controllers that manage vehicle-wide functions or from local devices such as sensors, actuators, and smaller control modules. It then exchanges this information across different networks in a controlled and time-aware way. Note: CAN and LIN remain important because they are widely used in automotive systems and are well suited to many control tasks. The S32K3 family supports these needs with integrated CAN FD and LIN interfaces and Arm® Cortex®-M7 CPU cores for routing and control tasks. It also includes automotive safety features aligned with ISO 26262 and low-power modes that are useful in some system designs. Together, these features allow the zonal node to handle several communication channels at the same time while keeping the network interfaces clearly separated. High-Level Architecture Diagram dragostoma_1-1782905238932.png Figure 2. Diagram concept for S32K3 Zonal Node Figure 2 shows where the zonal node sits in the system: between the central control side and the local edge nodes, acting as the bridge between networks. Later articles will expand this context in a structured way. The series will first present the overall system, then describe the software and hardware environment that supports the zonal node. It will also cover internal control logic and key communication topics such as CAN-to-CAN routing, LIN-to-CAN routing, and Ethernet-to-CAN communication. Finally, it will discuss common challenges in multi-network routing and zonal integration. 5 References NXP Body Domain and Zonal Controller S32K3 for Zonal Aggregator 6 Conclusion This article provided a high-level introduction to the S32K3-based zonal node as a communication component in modern automotive architectures. It explained what the node does and where it fits in the system, creating a basis for the more detailed topics covered later in the series. Instead of focusing on implementation details, this introductory article explained why zonal nodes are needed and which problems they help address. The next articles in the series will build on this foundation by exploring system structure, configuration, communication routing strategies, and design challenges in greater detail.
查看全文
版本 2 问题:C 代码生成、预览 你好! 我开始测试 GUI Guider 版本 2,发现了一些问题(从空白模板和 Windows 模拟器开始)。 我开始定义顶层的内容,添加了一个图像按钮,并创建了一个事件处理程序,以便在长按按钮时切换状态。 生成的代码存在一些错误,例如: gg_event_layer_top.c: static void lv_layer_top()_event_handler(lv_event_t * e) { ... } void gg_event_init_layer_top ( gg_ui_t * ui😞 lv_obj_add_event_cb(ui->layer_top.lv_layer_top(), lv_layer_top()_event_handler, LV_EVENT_ALL, ui); (括号会导致解析错误) 手动删除括号后,会出现以下错误: .../generated/events/gg_event_layer_top.c:59:38: 错误:'gg_layer_top_t' 没有名为 'lv_layer_top' 的成员 (gg_layer_top_t 定义中不包含该成员) 我是否遗漏了某些定义,导致无法正确生成这些函数? Re: Version 2 issues: C code generation, preview 嗨@poldo 请问如何重现这个问题? Harry_Zhang_0-1783917409079.png BR 哈里 Re: Version 2 issues: C code generation, preview 您好@Harry_Zhang ,感谢您的回复。 我这样做了: - 在 layer_top 上(添加了可点击标志,这是必要的吗?)我创建了一个用于放置按钮的容器(没有添加可点击标志)。 - 我在容器内创建了一个图像按钮(添加了可点击的标志) 我已将“长按”事件附加到按钮上。 poldo_0-1784023768341.png 生成的代码包含上述语法错误。 // In gg_event_layer_top.c static void lv_layer_top()_event_handler(lv_event_t * e) { gg_ui_t * ui = lv_event_get_user_data(e); lv_event_code_t code = lv_event_get_code(e); switch(code) { default: break; } } void gg_event_init_layer_top(gg_ui_t * ui) { lv_obj_add_event_cb(ui->layer_top.lv_layer_top(), lv_layer_top()_event_handler, LV_EVENT_ALL, ui); lv_obj_add_event_cb(ui->layer_top.Keypad_btnEnable, Keypad_btnEnable_event_handler, LV_EVENT_ALL, ui); } 去掉括号后,语法错误是关于成员 lv_layer_top 不存在的: // In custom.h typedef struct { lv_obj_t * Keypad; lv_obj_t * Keypad_btnEnable; } gg_layer_top_t; BR 波尔多 Re: Version 2 issues: C code generation, preview 嗨@poldo 我尝试重现这个问题。 Harry_Zhang_0-1784102463813.png 生成的代码是正确的。 Harry_Zhang_1-1784102495298.png 请问我错过了什么? BR 哈里 Re: Version 2 issues: C code generation, preview 嗨@Harry_Zhang 。 问题出在顶层创建对象时。我附上文件供您审阅和测试。 Re: Version 2 issues: C code generation, preview 这是一个漏洞,修复起来很简单。找到你的 guiguider 文件,并以文本模式打开它。找到 event_list,删除任何多余的内容,然后使用指南重新加载项目。生成的代码将恢复正常。 Re: Version 2 issues: C code generation, preview 嗨@poldo 感谢您提供的项目,我们已经重现了这个问题。 这是个漏洞。 我们将在下一个版本中修复这个问题。 感谢您的理解。 BR 哈里 Re: Version 2 issues: C code generation, preview 谢谢你, @Harry_Zhang 。 在等待更新期间,有没有什么变通方法可以使用? BR
查看全文
Utilize pipe for logging Hi community, I am trying to integrate freemaster pipes for logging (and maybe use more of its functionality later on). As I am running linux I tried to go the freemaster light + python path. I can properly connect but when trying to open the pipeline and print my piped log messages I am not receiving any data via the rpc server. To verify the target implementation I also checked via the Windows GUI which could read the pipe properly, so the issue seems to be on the PC side. See attached example python script. Any hints welcome. best regards Re: Utilize pipe for logging Never mind, seems I have to explicitly call PipeFlush on the receiver side. Did not expect that. Attached the working example as reference. Re: Utilize pipe for logging Hello,  it is great you got it finally working. I confirm the PipeFlush needs to be called as it causes the pipe data to be exchanged in both directions. This is actually the only pipe call which causes a physical data transfer. All other operations at both PC and target sides are just buffering the data to pipe buffers. When using FreeMASTER protocol, the PC is the only initiator of communication. The target board cannot start it by itself. The PipeFlush is the place where PC gives the target a chance to report (and then send) any new pipe data. Regards, Michal
查看全文
Request to Extend License for S32 Design Studio for ARM 2018.R1 We are currently using S32 Design Studio for ARM 2018.R1 (Windows) for one of our products. The license has recently expired, and we are unable to activate the software. When we attempt to generate an activation key using our activation code, the generated key is also reported as expired, preventing us from using the IDE. Our activation code is: Activation Code: FF6A-EDA4-CDF0-7186 Could you please extend or renew the license associated with this activation code, or advise us on the appropriate steps to regain access to the software? Your assistance would be greatly appreciated, as this project depends on this development environment. Thank you. Re: Request to Extend License for S32 Design Studio for ARM 2018.R1 Hi,  your S32DS license has been extended.  Re: Request to Extend License for S32 Design Studio for ARM 2018.R1 Thanks. But I am still unable to activate the software. I tried both online and offline activations and it failed. This is what i get as the error: kasundinesh_0-1784003465339.png
查看全文
S32K144EVB-Q100 Rev D Schematic Hi. I'm looking for the schematic for S32K144EVB-Q100 Rev D. I cannot seem to make the board send any CAN messages. Is there sample code available to send message on CAN 0 on that board? I was able to use SPI and confirm the CAN transceiver is in forced normal mode so CAN should be working. Re: S32K144EVB-Q100 Rev D Schematic You may check the sample code at S32DS for S32K144EVB... Please share if any since i can not found it... Re: S32K144EVB-Q100 Rev D Schematic Hello @rosejp03, I've sent you a private message on the community regarding the design files. Regarding the CAN functionality, Rev. C (the current board I am using) & Rev. D have the same exact CAN design and transceiver (UJA1169): S32K144EVB-Q100 Rev. DS32K144EVB-Q100 Rev. DS32K144EVB-Q100 Rev. D S32K144EVB Rev. C1S32K144EVB Rev. C1S32K144EVB Rev. C1 Are you using any existing example? Either the AN5413: S32K1xx Series Cookbook or the ones included through the RTD package?  Are you using the 12V jack connector? Change J107 position to 1-2 and power the board with 12V. How are you testing CAN communication? Are you using another EVB, a CAN analyzer, or anything else? Can you try scoping the bus?  Best regards, Julián Re: S32K144EVB-Q100 Rev D Schematic Hi @db16122, If you also need the design files for S32K144EVB Rev. D, please let me know. Best regards, Julián
查看全文
ログ記録にパイプを利用する こんにちは、コミュニティの皆さん、 ログ記録のためにfreemasterパイプを統合しようとしています(そして、将来的にはその他の機能も利用したいと思っています)。 Linuxを使っているので、FreeMaster Light + Pythonの道を試しました。 正常に接続はできますが、パイプラインを開いてパイプログメッセージを印刷しようとすると、rpcサーバー経由でデータが一切届きません。 ターゲット実装を確認するために、Windows GUIでパイプを正しく読み取れるか確認したので、問題はPC側にあるようです。 添付のPythonスクリプトの例を参照してください。どんなヒントでも歓迎です。 よろしくお願いいたします Re: Utilize pipe for logging まあいいや、レシーバでPipeFlushを明示的に呼ぶ必要があるようだ。それは予想外だった。参考として、動作例を添付しました。 Re: Utilize pipe for logging こんにちは、 ようやく動作するようになってよかったですね。PipeFlushを呼び出す必要があることを確認しました。なぜなら、この関数はパイプデータの双方向交換を引き起こすからです。これは、物理的なデータ転送を引き起こす唯一のパイプ呼び出しです。PC側とターゲット側の両方におけるその他の操作はすべて、データをパイプバッファにバッファリングするだけです。 FreeMASTERプロトコルを使用する場合、通信の開始者はPCのみとなります。ターゲットボードは自動で起動できません。PipeFlushは、PCがターゲットに対して新しいパイプデータを報告(そして送信)する機会を与える場所です。 よろしくお願いいたします。 ミハル
查看全文
LPC18xxのウォッチドッグリセットを検出できません ウォッチドッグリセットが発生したことを検出する際に問題が発生しています。現在、ユーザーガイドに記載されている手順に従っています。 ウォッチドッグのタイムアウトフラグ(WDTOF)を調べることで、ウォッチドッグがリセット状態を引き起こしているかどうかを判断できます。WDTOFフラグはソフトウェアによってクリアされなければなりません。 デバイスのリセットは正しく行われるものの、その後フラグが設定されていないようです。 LPC4357で似たような問題に関する古い投稿(解決済み:LPC4357:ウォッチドッグリセットを検出できない - NXPコミュニティ)を見かけましたが、LPC18xxのエラッタには何も記載されていませんでした。 LPC18xxも上記と同じ問題を抱えているかどうか確認していただけますか? lpc18xx Re: Cannot detect watchdog reset for LPC18xx こんにちは@ejg 投稿ありがとうございます! どのLPC18xxを使っているのか、具体的に教えていただけますか? また、国旗をレビューしたのはいつですか? lpc18xx_wwdt.hからWWDT_Init関数を呼び出すと割り込みフラグが消去されるため、WDTOFを読み込む必要があります。 Re: Cannot detect watchdog reset for LPC18xx こんにちは、 @carlos_o さん、ご返信ありがとうございます。 私はLPC1837を使用しています。 このフラグは、他のWWDTレジスタとやり取りする前に、起動時にチェックされます。CMSIS SystemInitが完了したら、systickを設定し、このフラグを確認します。 Re: Cannot detect watchdog reset for LPC18xx こんにちは@ejg はい、LPC18xxはLPC43xxと同じ問題を抱えています。 コアリセットの原因を特定するには、LPC18xxユーザーマニュアルのセクション14.5.1「コアリセットの原因を特定する」を参照してください。 Alice_Yang_0-1784105602643.png BR アリック
查看全文
S32K144EVB-Q100 Rev D 原理图 你好。我正在寻找S32K144EVB-Q100 Rev D的原理图。我似乎无法让该板发送任何CAN消息。是否有可用于在该板上通过 CAN 0 发送消息的示例代码?我使用 SPI 确认了 CAN 收发器处于强制正常模式,因此 CAN 应该可以正常工作。 Re: S32K144EVB-Q100 Rev D Schematic 您可以查看 S32DS 中针对S32K144EVB 的示例代码……如果您有相关代码,请分享一下,因为我找不到…… Re: S32K144EVB-Q100 Rev D Schematic 你好@db16122 , 如果您还需要 S32K144EVB Rev. D 的设计文件,请告诉我。 此致, 朱利安 Re: S32K144EVB-Q100 Rev D Schematic 你好@rosejp03 , 关于设计文件,我已经通过社区私信联系你了。 关于 CAN 功能,Rev. C(我目前使用的电路板)和 Rev. D 具有完全相同的 CAN 设计和收发器 (UJA1169): S32K144EVB-Q100 Rev. DS32K144EVB-Q100 修订版 D S32K144EVB Rev. C1S32K144EVB 修订版 C1 你使用的是现有示例吗?是AN5413: S32K1xx 系列食谱,还是 RTD 软件包中包含的食谱? 你使用的是12V电源插孔吗?将J107 位置改为 1-2,并用 12V 电源为电路板供电。 你们是如何测试CAN通信的?您使用的是其他 EVB、CAN 分析仪还是其他设备?你能尝试用示波器探测一下总线吗? 此致, 朱利安
查看全文
申请延长 S32 Design Studio for ARM 2018.R1 的许可 我们目前在一款产品中使用S32 Design Studio for ARM 2018.R1 (Windows)版本。该软件的许可证最近已过期,我们无法激活它。 当我们尝试使用激活码生成激活密钥时,生成的密钥也被报告为已过期,导致我们无法使用 IDE。 我们的激活码是: 激活码: FF6A-EDA4-CDF0-7186 请您延长或续订与此激活码关联的许可证,或者告知我们如何才能重新获得软件访问权限? 您的协助将不胜感激,因为本项目依赖于此开发环境。 谢谢! Re: Request to Extend License for S32 Design Studio for ARM 2018.R1 你好, 您的S32DS许可证已延期。 Re: Request to Extend License for S32 Design Studio for ARM 2018.R1 谢谢。但我仍然无法激活该软件。我尝试了线上和线下激活,都失败了。这是我收到的错误信息: kasundinesh_0-1784003465339.png
查看全文
利用管道进行日志记录 大家好, 我正在尝试集成 freemaster pipes 进行日志记录(以后可能会用到它的更多功能)。 由于我使用的是 Linux 系统,所以我尝试了 freemaster light + python 的方案。 我可以正常连接,但是当尝试打开管道并打印管道日志消息时,我没有通过 rpc 服务器收到任何数据。 为了验证目标实现,我还通过 Windows GUI 进行了检查,发现它可以正确读取管道,因此问题似乎出在 PC 端。 请参见附件中的示例 Python 脚本。任何提示都欢迎。 顺祝商祺! Re: Utilize pipe for logging 没关系,看来我需要在接收端显式调用 PipeFlush 函数。没想到会这样。附件为可运行示例,供您参考。 Re: Utilize pipe for logging 你好, 太好了,你终于搞定了。我确认需要调用 PipeFlush 函数,因为它会导致管道数据在两个方向上交换。实际上,这是唯一一个会导致物理数据传输的管道调用。PC 端和目标端的所有其他操作都只是将数据缓冲到管道缓冲区。 使用 FreeMASTER 协议时,PC 是唯一的通信启动器。目标板无法自行启动。PipeFlush 是 PC 给目标用户一个机会来报告(然后发送)任何新的管道数据的地方。 问候, 米哈尔
查看全文
无法检测到 LPC18xx 的看门狗复位 我无法检测看门狗何时RESET。我目前正在按照用户指南中的步骤操作,指南中指出: 看门狗超时标志(WDTOF)经过检查后可确定看门狗是否导致了复位条件。 WDTOF标志必须通过软件清零。 虽然设备重置成功,但之后该标志似乎并未被设置。 我看到之前有一个关于 LPC4357 类似问题的帖子(已解决:LPC4357:无法检测到看门狗 RESET - NXP 社区),但我没有在 LPC18xx 勘误表中看到任何相关信息。 请问LPC18xx是否存在与上述相同的问题? LPC18xx Re: Cannot detect watchdog reset for LPC18xx 嗨@ejg 谢谢你的帖子! 请问您使用的是哪一款LPC18xx? 另外,你们是在什么时候审查国旗的? 如果从lpc18xx_wwdt.h调用WWDT_Init函数,它会清除中断标志,因此需要先读取WDTOF。 Re: Cannot detect watchdog reset for LPC18xx 嗨@carlos_o ,谢谢你的回复。 我正在使用LPC1837。 启动时,在与任何其他 WWDT 寄存器交互之前,会检查该标志。CMSIS SystemInit 完成后,我设置了系统同步,然后检查此标志。 Re: Cannot detect watchdog reset for LPC18xx 嗨@ejg 是的,LPC18xx 与 LPC43xx 存在同样的问题。 要确定核心复位的原因,请参阅 LPC18xx 用户手册中的第 14.5.1 节“确定核心复位的原因”。 Alice_Yang_0-1784105602643.png BR 爱丽丝
查看全文
Cannot detect watchdog reset for LPC18xx I have a problem detecting when a watchdog reset has occurred. I am currently following the steps listed in the user guide which states: The Watchdog time-out flag (WDTOF) can be examined to determine if the Watchdog has caused the reset condition. The WDTOF flag must be cleared by software. Although the device resets correctly, the flag doesn't appear to be set afterwards. I saw there was an old post related to a similar issue on the LPC4357 (Solved: LPC4357: Cannot detect watchdog reset - NXP Community), but I couldn't see anything listed in the LPC18xx errata. Please could you confirm whether the LPC18xx suffers from the same issue as above? lpc18xx Re: Cannot detect watchdog reset for LPC18xx Hi @ejg  Thank you for the post! Could you please specify which LPC18xx are you using?  Also, at what time did you review the Flag? If you call the WWDT_Init function from lpc18xx_wwdt.h it clears the interrupt flags, so the WDTOF needs to be read before.  Re: Cannot detect watchdog reset for LPC18xx Hi @carlos_o , thank you for your reply. I am using LPC1837. The flag is checked at startup before interacting with any other WWDT registers. After CMSIS SystemInit completes, I setup the systick, and then check this flag. Re: Cannot detect watchdog reset for LPC18xx Hi @ejg  Yes, LPC18xx has the same issue as LPC43xx. To determine the cause of the core reset, please refer to Section 14.5.1, "Determine the Cause of a Core Reset," in the LPC18xx User Manual. Alice_Yang_0-1784105602643.png BR Alic
查看全文
S32K144EVB-Q100 Rev D 回路図 こんにちは。S32K144EVB-Q100 Rev Dの回路図を探しています。ボードにCANメッセージを送らせることができません。そのボードのCAN 0にメッセージを送信するためのサンプルコードはありますか?SPIを使ってCANトランシーバが強制ノーマルモードになっていることを確認でき、CANは動作しているはずです。 Re: S32K144EVB-Q100 Rev D Schematic S32DSのサンプルコードでご確認くださいS32K144EVB...もし見つからなかったら教えてください... Re: S32K144EVB-Q100 Rev D Schematic こんにちは、 @db16122 さん。 もしリバS32K144EVB Dのデザインファイルが必要なら、ぜひお知らせください。 よろしくお願いします、 ジュリアン Re: S32K144EVB-Q100 Rev D Schematic こんにちは、@rosejp03 さん。 デザインファイルについてコミュニティにプライベートメッセージを送りました。 CAN機能についてですが、Rev. C(現在使っているボード)とRev. Dは全く同じCAN設計とトランシーバー(UJA1169)を持っています: S32K144EVB-Q100 Rev. DS32K144EVB-Q100 Rev. D S32K144EVB Rev. C1S32K144EVB Rev. C1 既存の例を使用していますか?AN5413: S32K1xxシリーズの料理本か、RTDパッケージに含まれるもののどちらかですか? 12Vジャックコネクタを使用していますか?J107の位置を1-2に変更し、ボードに12Vの電源を入れてください。 CANコミュニケーションはどのようにテストしていますか?他のEVBやCANアナライザー、その他何かを使っていますか?バスのスコープを試してみてくれない? よろしくお願いします、 ジュリアン
查看全文
ARM 2018.R1用S32 Design Studioのライセンス延長申請 現在、私たちの製品の一つには ARM 2018.R1(Windows)用のS32 Design Studio を使用しています 。ライセンスは最近期限切れとなり、ソフトウェアのアクティベートができません。 アクティベーションコードを使ってアクティベーションキーを生成しようとすると、生成されたキーも期限切れと報告され、IDEの使用ができません。 当社の認証コードは以下のとおりです。 アクティベーションコード: FF6A-EDA4-CDF0-7186 このアクティベーションコードに関連するライセンスの延長または更新、またはソフトウェアへのアクセスを取り戻すための適切な手順についてアドバイスをいただけますか? このプロジェクトはこの開発環境に依存しているため、皆様のご協力は大変ありがたいです。 よろしくお願いします。 Re: Request to Extend License for S32 Design Studio for ARM 2018.R1 こんにちは、 お客様のS32DSライセンスが延長されました。 Re: Request to Extend License for S32 Design Studio for ARM 2018.R1 ありがとう。しかし、まだソフトウェアを有効化できません。オンラインとオフラインの両方でアクティベーションを試しましたが、どちらも失敗しました。エラーメッセージは以下のとおりです。 kasundinesh_0-1784003465339.png
查看全文
Version 2 issues: C code generation, preview Hi! I started testing GUI Guider version 2, and I found a couple of issues (starting with an empty template, Windows simulator). I started defining the content of the top layer putting an image button, creating an event handler to switch state when the button is long pressed. The generated the code has some errors, like: gg_event_layer_top.c:   static void lv_layer_top()_event_handler(lv_event_t * e) {     ...   } void gg_event_init_layer_top(gg_ui_t * ui😞   lv_obj_add_event_cb(ui->layer_top.lv_layer_top(),  lv_layer_top()_event_handler, LV_EVENT_ALL, ui); (parenthesis create a parsing error) Manually removing the parenthesis, the error below is generated: .../generated/events/gg_event_layer_top.c:59:38: error: 'gg_layer_top_t' has no member named 'lv_layer_top' (gg_layer_top_t definition doesn't include that member) Am I missing some definition to make a correct generation of those functions? Re: Version 2 issues: C code generation, preview Hi @poldo  May i ask how can i reproduce this issue? Harry_Zhang_0-1783917409079.png BR Harry Re: Version 2 issues: C code generation, preview Hi @Harry_Zhang , thank you for your reply. This is what I did: - On layer_top (clickable flag added, is this necessary?) I created a container for my buttons (no clickable flag added)  - Inside the container I created an image button (clickable flag added)  - I attached the event "Long Pressed" to the button poldo_0-1784023768341.png Generated code contains the syntax errors above. // In gg_event_layer_top.c static void lv_layer_top()_event_handler(lv_event_t * e) { gg_ui_t * ui = lv_event_get_user_data(e); lv_event_code_t code = lv_event_get_code(e); switch(code) { default: break; } } void gg_event_init_layer_top(gg_ui_t * ui) { lv_obj_add_event_cb(ui->layer_top.lv_layer_top(), lv_layer_top()_event_handler, LV_EVENT_ALL, ui); lv_obj_add_event_cb(ui->layer_top.Keypad_btnEnable, Keypad_btnEnable_event_handler, LV_EVENT_ALL, ui); } Removing the parenthesis the syntax error is about the member lv_layer_top not existing: // In custom.h typedef struct { lv_obj_t * Keypad; lv_obj_t * Keypad_btnEnable; } gg_layer_top_t; BR Poldo Re: Version 2 issues: C code generation, preview Hi @poldo  I tried to reproduce this issue. Harry_Zhang_0-1784102463813.png The generated code is correct. Harry_Zhang_1-1784102495298.png May I ask what I missed? BR Harry Re: Version 2 issues: C code generation, preview Hi @Harry_Zhang . The issue is when you create objects on the top layr. I'm attaching my file for your review and test. Re: Version 2 issues: C code generation, preview Hi @poldo  Thanks for your project, we have reproduced this issue. This is a bug. We will fix it in the next version. Thank you for your understanding. BR Harry Re: Version 2 issues: C code generation, preview Thank you, @Harry_Zhang . Is there a workaround that could be used while waiting for the update? BR Re: Version 2 issues: C code generation, preview This is a bug, and the fix is simple. Find your guiguider file and open it in text mode. Locate the event_list, remove any extra content, and then use the guider to reload the project. The generated code will return to normal.
查看全文
バージョン2の問題点:Cコード生成、プレビュー こんにちは! GUI Guiderバージョン2のテストを始め、いくつかの問題(まずは空のテンプレート、Windowsシミュレータ)に気づきました。 トップレイヤーの内容を定義し、画像ボタンを入れ、ボタンを長押ししたときに状態を切り替えるイベントハンドラを作成し始めました。 生成されたコードには、次のようなエラーがあります。 gg_event_layer_top.c: 静的虚無 lv_layer_top()_event_handler(lv_event_t * e) { ... } void gg_event_init_layer_top ( gg_ui_t * ui😞 lv_obj_add_event_cb(ui->layer_top.lv_layer_top(), lv_layer_top()_event_handler, LV_EVENT_ALL, ui); (括弧は構文解析エラーの原因となります) 括弧を手動で削除すると、以下のエラーが発生します。 .../generated/events/gg_event_layer_top.c:59:38: エラー:「gg_layer_top_t」に「lv_layer_top」という名前のメンバーがいません (gg_layer_top_t の定義にはそのメンバーは含まれていません) これらの関数を正しく生成するために必要な定義が何か見落とされているのでしょうか? Re: Version 2 issues: C code generation, preview こんにちは、 @poldo さん。 この問題を再現するにはどうすればよいか教えていただけますか? Harry_Zhang_0-1783917409079.png BR ハリー Re: Version 2 issues: C code generation, preview こんにちは、 @Harry_Zhang さん、ご返信ありがとうございます。 私がやったことはこうです。 - layer_top にクリック可能なフラグを追加しましたが、これは必要でしょうか?ボタン用のコンテナを作成しました(クリック可能なフラグは追加していません) - コンテナ内で画像ボタンを作成しました(クリック可能なフラグが追加されました) - 「Long Pressed」というイベントをボタンに付けました poldo_0-1784023768341.png 生成されたコードには上記の構文エラーが含まれています。 // In gg_event_layer_top.c static void lv_layer_top()_event_handler(lv_event_t * e) { gg_ui_t * ui = lv_event_get_user_data(e); lv_event_code_t code = lv_event_get_code(e); switch(code) { default: break; } } void gg_event_init_layer_top(gg_ui_t * ui) { lv_obj_add_event_cb(ui->layer_top.lv_layer_top(), lv_layer_top()_event_handler, LV_EVENT_ALL, ui); lv_obj_add_event_cb(ui->layer_top.Keypad_btnEnable, Keypad_btnEnable_event_handler, LV_EVENT_ALL, ui); } 括弧を削除すると、構文エラーはメンバーlv_layer_topが存在しないことに関するものです。 // In custom.h typedef struct { lv_obj_t * Keypad; lv_obj_t * Keypad_btnEnable; } gg_layer_top_t; BR ポルド Re: Version 2 issues: C code generation, preview こんにちは、 @poldo さん。 この問題を再現しようと試みました。 Harry_Zhang_0-1784102463813.png 生成されたコードは正しいです。 Harry_Zhang_1-1784102495298.png 私が何か見逃した点があれば教えていただけますか? BR ハリー Re: Version 2 issues: C code generation, preview こんにちは、 @Harry_Zhang さん。 問題は、最上層にオブジェクトを作成する場合です。レビューとテストのためにファイルを添付します。 Re: Version 2 issues: C code generation, preview こんにちは、 @poldo さん。 プロジェクトをありがとうございます。この問題を再現できました。 これはバグです。 次期バージョンで修正します。 ご理解いただきありがとうございます。 BR ハリー Re: Version 2 issues: C code generation, preview これはバグであり、修正方法は簡単です。guiguiderファイルを見つけて、テキストモードで開いてください。event_list を見つけて、不要なコンテンツを削除してから、ガイドを使用してプロジェクトを再読み込みしてください。生成されたコードは正常に戻ります。 Re: Version 2 issues: C code generation, preview ハリー・チャンさん、ありがとうございます。 アップデートを待つ間に使える回避策はありますか? BR
查看全文
GuiGuiDer2.0.0构建目标设备时出错 我现在创建了一个基于frdm_mcx947的guiguider工程,使用的版本是2.0.0,选用的ARM GCC为14.4.1。 我已经配置好了arm gcc工具。 编译时报错信息如下:C:\Users\liujianhua>where arm-none-eabi-gcc D:\tools\GCC14\14.2\bin\arm-none-eabi-gcc.exe 11:41:00INFObuild-target Started11:41:00INFOTarget Executor initialized11:41:00INFOBuilding target with armgcc toolchain...11:41:00INFOStarting ARM GCC build...11:41:00INFOSearching for ARM GCC toolchain in system PATH...11:41:00INFOExecuting: where arm-none-eabi-gcc11:41:00INFO'where' �����ڲ����ⲿ���Ҳ���ǿ����еij��� ���������ļ���11:41:00ERRORARM GCC not found in system PATH: Command failed with code 1: 'where' �����ڲ����ⲿ���Ҳ���ǿ����еij��� ���������ļ��� 11:41:00ERRORARM GCC build error: ARM GCC toolchain not found. Please install it and add to system PATH.11:41:00ERRORBuild failed: ARM GCC toolchain not found. Please install it and add to system PATH.11:41:00ERROROperation failed: ARM GCC toolchain not found. Please install it and add to system PATH. 我使用在cmd中查找编译工具是成功的: C:\Users\liujianhua>where arm-none-eabi-gcc D:\tools\GCC14\14.2\bin\arm-none-eabi-gcc.exe
查看全文