Multi Source Translation Content

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

Multi Source Translation Content

ディスカッション

ソート順:
S32デザインスタジオ3.6(GDBクライアント9.2パッケージ付き) S32 design studio 3.6.6 に「GDB Client for ARM Embedded Processors 9.2 Build 1701」をインストールしたいです。オフライン/明示的なインクルードのためにこのパッケージをIDEに取り込むことができません。バージョン3.6.6現在、GDBクライアント15.1を使用しています。それは可能ですか?それは推奨されますか? Re: S32 design studio 3.6 with GDB client 9.2 package こんにちは、 @sushil_zeroさん 最も簡単な方法は、必要なツールチェーンバージョンが既に含まれているS32 Design Studio for S32 プラットフォーム v3.6.3をインストールすることです。 インストール後、既存のS32 Design Studio v3.6.3をv3.6.6にアップグレードできます。詳細な手順については、S32 Design Studio 3.6.6のセクション4.2を参照してください。RFPのインストールガイドは、IDEをダウンロードしたのと同じリンクから入手できます。 BR、VaneB Re: S32 design studio 3.6 with GDB client 9.2 package S32 Design Studio 3.6.6 用の NXP GDB 9.2 パッケージのリンクを教えていただけますか? Re: S32 design studio 3.6 with GDB client 9.2 package こんにちは、 @sushil_zeroさん 以下のリンクからスタンドアロンコンパイラをダウンロードしてみてください: S32 Design Studio 用 S32 コンパイラ。 ダウンロード後、パッケージを次のディレクトリに展開してください:C:\NXP\S32DS.3.6.6\S32DS\build_tools\gcc_v10.2 解凍後、ビルドツールはS32DSによって自動的に検出されるはずです。検出されない場合は、プロジェクトのプロパティから手動で選択することもできます。 Re: S32 design studio 3.6 with GDB client 9.2 package こんにちは、 上記の回答で示唆されているとおりです。 バージョン3.6.3をインストールしてみました。また、3.6.1 もありますが、どちらも GDB バージョン 15 なので、会社の gcc 10.2 に gdb 10.2 を追加することはできません。3.5.Xをインストールして、3.6.6にアップグレードすることはできますか?これで大丈夫だろうか?
記事全体を表示
MCF5232 在启动时卡住/ " 请稍候 Melitta C35 控制器上的 " 屏幕 大家好 我正在对基于飞思卡尔 ColdFire MCF5232CVM100(BGA 封装)的专业咖啡机(Melitta C35)控制板进行故障排除。系统目前卡在初始"请等待" 屏幕,无法进入主菜单。 硬件细节& 测量值: MCU:MCF5232CVM100 (ColdFire V2 Core)。 闪存:cFeon EN29LV160 (TSOP-48)。 动力导轨: VDD(核心):在 MCF5232 周围的微电容器上测得 1.6V 的电压。 VDDIO/外围设备:板上稳定的 3.3V。 模拟/其他:存在 5V 导轨。 RTC 电池:测量电压为 3.29V(稳定)。 调试接口:该板提供标准的 26 针 ColdFire BDM 接头和 10 针 (2x5) mini-BDM 连接器。 服务端口:外部9 针 RS-232(DCE,母口)。 症状 开机时,显示屏初始化并显示"请等待" 。 主板上有一个 RESET 按钮,可以切换 3.3V 线路,但是 MCU 保持不变 " 重置后请等待 " 状态。 我在 RS-232 端口的 TX 引脚上测得-5.6V 电压,这表明线路驱动器已通电,而且 UART 很可能已被引导加载程序初始化。 给社区提的问题 鉴于显示屏显示"请等待" ,是否可以认为 MCU 已成功初始化FlexBus并开始执行外部闪存中的代码? ColdFire V2 在此阶段挂起的典型原因是什么?是闪存中的校验和不匹配,还是等待外设(I2C/SPI)超时? 10 针和26 针 BDM 针座的存在是否意味着任何特定的调试优先级?USBDM接口是否更适合转储 cFeon 闪存? 是否有任何已知的 " trap " 状态或双总线故障指示灯我可以在没有完整调试器的情况下通过 BDM 引脚进行检查? 我已经订购了 FTDI USB-RS232 适配器来捕获任何潜在的启动日志。同时,如果能深入了解这个基于 MCF5232 的平台的启动顺序或常见故障点,我将不胜感激。 致以最诚挚的问候,亚历克斯 Macro shots of the touch frame and suspected areas 大家好, 我对电容式触摸边框进行了微距拍摄,以便仔细观察。 背景: 这个 "frame" 板直接安装在主显示器周围。它的主要作用是处理机器界面上的其他触摸感应按钮(如停止、蒸汽等)。它直接连接到显示屏 SBC。 可疑区域: 具体而言,我正在查看 CSET14A 控制器和电源管理单元(标有电感器 " 150 " )。我注意到在这些区域的小型集成电路引脚周围有一些可疑的残留物,这可能是之前暴露在蒸汽中的残留影响 我已经用 99% IPA 对这些特定区域进行了深度清洁,并进行了热烘干,但还是没有好的效果。我想排除任何 I2C 总线 " 挂起 " 的可能性,这是在 FTDI 适配器到货之前,这些元器件下方的微漏电流或氧化造成的。 有人认识这个 模块?如果此外设在启动过程中无法响应,是否会导致系统无限期停留在 " Please wait " 闪屏上? 谢谢你,亚历克斯     UPDATE - Hardware maintenance performed and discovery of Display SBC ports 早上好。 关于硬件的维护和一些新发现,我有一个更新。 维护更新: 我使用 99% 异丙醇彻底清洁了所有带状电缆、连接器和 PCB 触点。此外,我还更换了显示模块上的 CR2032 电池 ;旧电池的电压为 3V,新电池的电压稳定在 3.3V。遗憾的是,这些步骤并没有改变症状--机器仍然挂在"Please wait" 屏幕上。 显示屏SBC模块的发现: 我仔细检查了显示模块,它似乎是一台复杂的单板计算机(SBC),可能基于i.MX。我附上了印刷电路板和接口板两面的照片。 显示模块配备了大量的"配件" 连接器: RS-232(DB9 公头) ,通过延长线与主分区 RS232 连接 以太网 (RJ-45) USB-A 型 (主机) 微型 USB (服务/调试) SD 卡插槽 (内置),但里面没有任何卡... 该主板装有 BGA 微控制器、 与非 闪存 (NAND02G) 和美光 DDR2 内存。 给社区提的问题 鉴于这样的端口阵列,如果 ColdFire 主板处于静默状态,哪一个最有可能提供完整的启动日志?该显示模块上的 RS-232 通常是操作系统(Linux/WinCE)的系统控制台吗? 根据您在恩智浦/Freescale 工业设计方面的经验, 以太网 端口通常是否有用于诊断网络接口的默认静态 IP? " Please wait " 消息能否是 Display SBC 本身的本地启动画面,表明它正在等待 ColdFire MCU 通过通信总线发出 " 就绪 " 握手? 我已经订购了一些额外的必要部件: DB9 母头性别转换器、 FTDI 电缆 的 Null-Modem 适配器 ,以便与这些端口连接。如能就如何利用"军火库" 进行更深入的诊断提供任何建议,我们将不胜感激。 致以最诚挚的问候,亚历克斯 Re: MCF5232 stuck at boot / "Please wait" screen on Melitta C35 controller 感谢您的真知灼见,汤姆 虽然我手头还没有兼容的示波器,但我还是进行了一些可能相关的额外测量: UART 活动: 我测量了 RS-232 服务端口 TX 引脚上的电压。相对于 GND,它显示稳定的 -5.6V 。我的理解是,这表明线路驱动器处于活动状态,并且MCU的UART模块已由启动代码/固件初始化。 当前的策略:在探测高速总线之前,我已经订购了高质量的 FTDI(Ugreen)USB转RS232适配器。我的计划是使用 PuTTY (115200 8N1) 来捕获 MCF5232 在 " 期间可能吐出的任何引导加载程序日志或错误消息。请稍候 " 挂起。 外设状态:一位 Melitta 专家告诉我,这种特定的 " 请稍候 " 状态通常是由 CPU 板和电源/显示板之间的通信中断(可能是 I2C 或串行超时)导致的软件死锁。 如果适配器到货后串行控制台仍然没有反应,我将继续使用 USBDM 调试器 ,按照你的建议检查 CPU 状态寄存器,或者考虑购买便携式示波器来验证 FlexBus 活动。 一旦获得控制台的第一批日志,我将立即更新此主题。同时,TX 上的 -5.6V 是否表明 MCU 至少已成功进入外设初始化阶段? 是的,这台机器是 2011 年生产的。我很惊讶,但零件和服务仍然可以提供。即使有这种特殊的模块,但其价格范围远远高于该单位价值...此外,现在还没有人知道它是否真的有问题... 再次感谢您,亚历克斯 Re: MCF5232 stuck at boot / "Please wait" screen on Melitta C35 controller 与我们使用的一款芯片(MCF5235)类似。 (祝你在 iFixit 工作顺利,亚历山大!)。 它很可能正在运行 Flash 的代码。它必须这样做,才能将初始信息显示在 LCD 上。除非主板上还有另一个 CPU 可以这样做(这不太可能)。那是 " Bottom Boot " Flash,所以引导程序可能在第一个扇区。这通常会(以某种方式)受到保护。我使用的芯片有一个硬件引脚来实现这一功能。该芯片需要软件保护,然后通过在 RESET 引脚上施加高电压来对其进行更改,从而覆盖该保护。 它可能正在运行 Bootstrap - 将"Please Wait ..." 作为闪屏显示,然后继续查找、验证和运行 Flash 其他部分中的代码。很显然,这是不可能的。 因此,时钟、电源、数据总线和大部分地址总线正在测试中,并且似乎正在运行(否则您将无法看到该屏幕)。在这一点上,你能做的不多。 我建议你买一个示波器--如果买不到的话就放弃吧。检查 RAM 和闪存芯片选择。如果他们运行一小段时间然后停下来,则有一些东西使它崩溃(例如双总线故障)。但如果启用了高速缓存,并在高速缓存中的循环中等待某些事情的发生,也可能出现这种情况(无外部信号)。它也很可能使用 64k 的内部 RAM 来运行启动,而不必使用外部 RAM。我猜测上面有"DAA" 的大芯片就是内存。 如果固件损坏且校验失败,你希望它能在屏幕上显示出来。 你可以买一个调试 pod 然后把它插到 26 路端口上... 唯一的不同是现在不是 2004 年(那个芯片发布的时候),所以原来的调试 pod 已经不可用了。您可以使用 P&E Multilink,但要解决这个问题,投资可不小。 屏幕上方显示"SW Version V7.18" 。这很有趣。如果它运行单独的 Bootstrap 和 App 固件,那么它们通常是不同的版本,我预计会是 " 启动版本 " 或 " Loader 版本 "..." SW 版本 " 意味着它只有一个软件块而不是两个软件块。或者是程序员没有考虑到这种区别。 它可能在等待硬件做什么,但我想不出是什么。 你试过从 Melitta 那里买一块板吗?它是否过于陈旧,失去了支持? 它有多老?我想我能看到的唯一日期是 2010 年。 Tom Re: MCF5232 stuck at boot / "Please wait" screen on Melitta C35 controller > 我仔细检查了显示模块,它似乎是一台复杂的单板计算机(SBC),可能基于 i.MX。我附上了印刷电路板和接口板两面的照片。 "QA 通过的" 贴纸下有一个大芯片,遮住了零件编号。我在上面只看到"CHINA" ,我不知道 i.MX 芯片是在那里生产的。你能剥开贴纸看看它到底是什么吗?另外,你能读出它周围的三个芯片(两个闪存和一个内存,反之亦然)吗? 是的,启动画面很可能是那个板在等待另一个板与之对话时显示的。 他们将通过某种共享总线进行交谈。从可能性最大到最小,我认为是 SPI、I2C、串行、CAN、并行端口、共享内存。有些设计使用以太网,但 MFC5232 没有这种控制器。 所以是端口不工作了,或者是驱动端口的软件出了问题。这可能是字面上的任何地方。 我通常会说",找到(MCF5232 上的)哪些端口通向显卡" ,但 MCF5232 是 BGA 芯片,因此无法用仪表或目测来跟踪引脚。同样,从显卡回溯,查看连接到那里的引脚。"Video Card" 上的内容似乎超出了产品的需要。可能是别人做的。看看能否看清上面的所有文字(左侧边缘的文字),看看能否找到制造商或零件编号。如果它是由别人出售的,你可能会得到它的数据表。 您需要使用示波器(实际示波器或基于 PC 的示波器)来查看连接器上的所有信号,以确定是否能识别比特率、频率、协议等。不要买太便宜的,因为它们没有带宽。至少需要 50 兆赫。 我想我之前说过,看看正在运行什么(从 CPU 到内存芯片的芯片选择)。如果 MCF5232 出现 " 双总线故障 " 它将停止。否则,它应该在运行什么东西。如果它确实停止了,很可能有看门狗试图将其从中重置。 Tom Re: MCF5232 stuck at boot / "Please wait" screen on Melitta C35 controller 嗨,汤姆和大家好。 我有一些更新...捕获了完整的 WinCE 启动日志 — 可能已发现硬件规格和握手故障... 关于显示单元标识。这是 Garz& Fricke NESO 5.7 显示模块:https://imrad.com.ua/userdata/modules/productFiles/1sASRkzV_GF_NESO_Series_Manual_V1.4.1.pdf?srsltid=AfmBOoo4vya1_YCFjSLfTK2z55_qKcgmDmTJcvGvXnBsYd0cuEHwuVjK 我收到了我的 FTDI RS-232 适配器,并成功地通过 UART 调试端口 (X551、115200 8N1) 从 Garz & Fricke NESO 5.7 显示模块捕获了完整的启动日志。 由于 RedBoot 和 Windows CE 内核输出为我们提供了显示器 SBC 的准确硬件规格,因此日志提供了精确的诊断图像,我们也不再需要撕掉任何"QA Passed" 贴纸。   1.显示 SBC 硬件规格(来自日志) 主 MPU(贴纸下): Freescale/NXP i.MX27多媒体应用处理器(ARM926EJ-S 内核),硅版本PASS 2.1。 RAM 芯片:在 32 位总线上运行的 128 MB MDDR(移动 DDR 同步动态随机存取存储器(SDRAM))。 NAND 闪存芯片:256 MB STMicroelectronics NAND02GR3B2。 EEPROM: Atmel AT24C,地址为 0x00:0xA0。 RTC: Philips PC8563(日志显示:"RTC 时间无效!请检查您的电池",这说明我需要更换 CR2032,尽管它不会导致锁定)。(顺便说一下。与 ColdFire 端口的首次连接不成功(没有任何波特率的记录,无论是直接连接还是通过 null 调制解调器连接))。RS 232 显示器反应灵敏,完全通过了硬件验证。Windows CE 6.0 能顺利启动、挂载闪存分区并成功执行自动启动序列。 我试图通过更新固件来解决问题。 按照 Melitta 技术人员的建议,我尝试使用 2GB FAT16 U 盘(用于显示器)和 SD 卡(用于 ColdFire 接入板)将两块主板的固件同步更新到 v7.20。显示屏成功启动了官方安装程序:USB-MStick\Autostart\Updater.exe. 下面是 PuTTY 日志中的确切故障点: ==========================================================   autojob: execute:USB-MStick\Autostart\Updater.exe URM_IOControl: unknown IOCTL 0x010303ff GFV_IOControl: unknown IOCTL 0x010303ff SerOpen+ SL_SetRTS+ SL_ClearRts+ SL_SetRTS+ SL_ClearRts+ ========================================================== 紧接着,显示屏出现"Communication Error(通信错误)!关闭应用程序..." 窗口。 正如日志清楚地显示的那样,Updater.exe 成功打开了串行端口(SeroPen+),并反复切换 RTS(请求发送)线路(sl_setrts+/sl_clearrts+),试图与 ColdFire 板握手。但是,它完全没有收到ColdFirePCB 回传的CTS(清除发送)响应。输电线路毫无声息。 (注:在日志的前面部分,我注意到串行 diag 已启用。禁用 UART1我验证了在没有连接调试笔记本电脑的情况下完全无头启动机器会产生 完全相同的通信错误)。   ColdFire PCB 上的电源状态 我已经多次彻底地重新检查了下部 ColdFire MCF5232 主板上的电源轨。所有逻辑电压都存在,完全稳定,符合规格要求: VDD(核心): 1.6V VDDIO(外围): 3.3V 模拟轨道:5V 这排除了降压稳压器失效、熔丝熔断、MCU 电源线上的硬短路等。ColdFire MCU 已完全通电。   初步结论& 问题:     i.MX27 显示模块运行状况良好,但是 ColdFire MCF5232 板在通信总线上完全静音。由于锁定可能是在计算机紧急断电后发生的,我怀疑硬断开连接期间的高负载感应反冲对 ColdFire 端的 RS-232/CAN 收发器 IC 造成了物理损坏,或者 MCF5232 陷入了永久的双总线故障/硬件冻结状态。 汤姆知道我们有一个i.MX27 PASS 2.1架构,正在尝试使用完全供电的MCF5232逻辑轨进行 RTS 握手: 这种行为是否表明从属端接口收发器出现了典型故障? MCF5232 上是否有任何特定引脚或状态寄存器可供我用万用表安全地探测,以检查内核时钟是否在运行或芯片是否完全停止? 3.我真的需要高频示波器吗?   致以最诚挚的问候, Alex Re: MCF5232 stuck at boot / "Please wait" screen on Melitta C35 controller 关于@@ 错误元器件的想法... 🙂 我附上了 ColdFire PCB 的 照片以供参考。 我仔细检查了板并检查了所有 SOIC/TSSOP 元器件。有趣的是,接口连接器附近没有专用的RS-232/CAN线路驱动器收发器(如 MAX3232 或 TJA1050)。 相反,该电路板使用具有被动保护的直接驱动拓扑: 连接器附近和 MCU 下方的所有 8 针小网络实际上都是10k 欧姆电阻阵列(标记为"103" )。 在电路板中央,在 MCF5232 微控制器和接口路由之间,有一个 74LCX162(16 位低压缓冲器/线路驱动器)芯片。 这证实了直驱结构。来自 MCF5232 的 UART/总线信号直接通过 74LCX162 缓冲器和 10k 电阻阵列进入带状电缆连接到显示器。 考虑到紧急高负载关机事件,感应反冲极有可能破坏 74LCX162缓冲芯片,充当熔丝,将ColdFire UART线路与显示屏完全隔离,同时保持主电源轨(5V、3.3V、1.6V)完好无损。 您认为 74LCX162 缓冲器损坏是否与我们在 i.MX27 日志中看到的"SL_SetRTS+ 无 CTS 回复" 症状相符? 有什么简单的方法可以检查这个版本吗? 谢谢你,亚历克斯 Re: MCF5232 stuck at boot / "Please wait" screen on Melitta C35 controller 重要更新:带精确集成电路标记的底板接口分析 我已经拍摄了通信接口部分的微距照片(附后)。 关键拓扑说明: 请注意,所有这些接口元器件都不在 ColdFire 模块本身上。相反,它们位于主板/底板上,紧挨着连接显示模块的带状电缆连接器。 这意味着本部分充当了板间电缆和插入式 ColdFire CPU 模块之间的前线物理屏障 [I]。 以下是该接口阶段的确切元器件映射: 高速 CAN 收发器:它是德州仪器 SN65HVD230(在 SOIC-8 封装中标记为 VP230 /07M AFR2)。这款 3.3V CAN 收发器将 ColdFire 模块的 CAN 控制器直接连接到板间链路。 线路保护:由邻近的JY2501SMD 晶体管/滤波器阵列和330 欧姆匹配电阻器(标有3300)提供辅助,所有这些都位于带状电缆线迹处。 外设映射:再往下,系统利用德州仪器公司的 74HC1658 位移位寄存器来处理本地化传感器信号。 我认为可以确认处理器间链路纯粹是基于CAN总线的。当 i.MX27 显示器安装程序在SerOpen+和SL_SetRTS+ 上循环时,它正试图打开通过硬件 CAN 控制器映射的虚拟串行驱动程序。 在紧急断电的情况下,电感回跳可能会损坏连接器入口处的TI SN65HVD230 (VP230)CAN 收发器。当该芯片内部出现故障时,差分线路会失效,从而导致总线静音,并立即出现我们在Windows CE更新程序日志中观察到的 " 通信错误 "。   请问您对测量该特定 VP230 的 CANH/CANL 引脚上的无源二极管压降是否有任何建议,以确定和定位故障? 看来排列中有很多潜在的元器件可能存在故障。 一个大问题如何解决"头痛" 出   亚历克斯    
記事全体を表示
FSS FWおよびFSS AUXサンプル互換性で使用されるRTDバージョン こんにちは、チームの皆さん、 ソフトウェアパッケージ: SDK_1_0_5_3 顧客:シャフラー リリース済みのFSS FWおよびFSS AUXで使用されているRTDバージョンは、予定されているGrayVIPバージョンと互換性がないため、お客様に混乱を招く可能性があります。 GrayVIPはバージョンTS_T31D62M 2 8I0R0を想定していますが、現在のリリースではTS_T31D62M 1 8I0R0が使用されています。その結果、プロジェクトをインポートして再度保存すると、意図したバージョン更新を超えて、IPCF、NETC、およびEcuC XDMにおいて大幅な構成変更が見られることがあります。特に、お客様がGrayVIPを旧バージョンからこのリリースに切り替えた場合、コード生成が期待どおりに動作しない可能性があります。   現在のリリースにおいて、この非互換性を解決するための回避策はありますか?あるいは、観測された変更がコード生成やシステム機能に影響を与えないことを確認できますか? お客様は、この非互換性が今後のリリースで回避されることを期待している。現状では、不必要なデバッグ作業と時間の浪費につながっているからだ。   よろしくお願いいたします。 唐生。     FSS_FW GRAY_VIP 優先度:中 Re: The RTD version used in FSS FW and FSS AUX sample compatibility こんにちは@Tangsheng_Zhouさん 開発チームがこの件を引き継ぎ、できるだけ早く回答いたします。 よろしくお願いします、 ラドゥ Re: The RTD version used in FSS FW and FSS AUX sample compatibility こんにちは、 @RaduBragaさん 1. こちらの状況について最新情報をいただけますか? 2. 関連するJIRAチケットは何ですか? 3. GrayVIP 1.0.6.0 で設定の修正が行われる予定であることを確認していただけますか? ありがとうございます。 Re: The RTD version used in FSS FW and FSS AUX sample compatibility GrayVIP開発チームとの話し合いの後、FSSチーム向けにJiraチケットが作成されました。
記事全体を表示
BSDL File for the RW61X Where can I find the BSDL file for this Part?? Re: BSDL File for the RW61X Hello, Hope you are doing well. Are you using any specific module from one of our module manufacturers? I would recommend contacting them directly to check this inquiry. Best Regards, Ricardo
記事全体を表示
S32G3 内部 RTC 您好, M7 示例中是否有将 RTC 用作唤醒源的示例? 提前感谢! Re: S32G3 Internal RTC 你好@77373、 感谢您联系我们。我无法找到 RTD 上提供的 RTC 唤醒示例,请让我在内部确认我们是否有符合您要求的示例。一旦获得更多信息,我将立即回复您。 谢谢。
記事全体を表示
#S32K144 高速缓存写入测试 ##S32K144 支持修改缓存值吗?为什么我修改了一个值后,读取同一地址仍会返回原来的值?此外,能否测试高速缓存的奇偶校验位?
記事全体を表示
S32E288 Failure during execution of python script Hi Nxp experts, I created a new S32E288 M33 project on S32 Design Studio for S32 Platform Version: 3.6.7, then built and try to run it on S32 Debugger, but i got  Please help me understand what caused the issue. Thanks       Re: S32E288 Failure during execution of python script Hello @cszhang, Thanks for reaching out to us. About your problem, could you let me know the RTD version your are using? and if you can debug any of the examples? Thanks.  Re: S32E288 Failure during execution of python script The RTD is and I tested too, got the same issue. Then I clicked the on Debugger tab,  the SIul2 example project did the configuration generation. measured JTAG VTREF value, it's 3.297 V. the E2 to JTAG connector, has a 33-ohm resistor on board,
記事全体を表示
S32DS S32K144 SDKのインストールに失敗しました Re: S32DS S32K144 SDK install fail はい、ありがとうございます。 Re: S32DS S32K144 SDK install fail こんにちは、@joshua9264さん S32K1用のS32ソフトウェア開発キット(SDK)は、新しいS32DSバージョンではサポートされなくなりました。 このSDKバージョンを使用する必要がある場合は、S32DS v3.4に既に同梱されていることに注意してください。潜在的な互換性の問題を回避し、セットアッププロセスを簡素化するために、ソフトウェアが最初に開発およびテストされたIDEバージョンと同じバージョンを使用することをお勧めします。 BR、VaneB
記事全体を表示
#S32K144 キャッシュ書き込みテスト ##S32K144はキャッシュ値の変更をサポートしますか?なぜ値を変更した後でも、同じアドレスを読み取っても元の値が返されるのでしょうか?さらに、キャッシュのパリティビットをテストすることは可能でしょうか?ありがとうございます。
記事全体を表示
S32K314 使用 LPUART 配置为 LIN 从站通信中断。 @danielmartynek你好,我在使用 S32K314 的 LPUART1 作为 LIN 从站进行通信时,发现从站最初可以正常响应主机发送的帧头,但一段时间后,从站就无法再响应主机发送的帧头了。此外,在接收数据时,从第二次中断开始,它再也无法停留在我的数据接收断点上。如下图所示,我使用回调函数来处理从属计算机的响应和接收。在使用调试监控功能时,我发现第一次进入中断时可以检测到同步间隔段的状态,并进入处理同步间隔段的功能。但是,当再次进入中断时,它将进入 (void)Lpuart_Lin_Ip_HwClearStatusFlag(Base, LPUART_Lin_IP_ALL_INT_FLAGS); 例程。当函数重新进入中断时,它将检测 LPUART_LIN_IP_FRAME_ERR&& LPUART_LIN_IP_INT_FRAME_ERR_FLAG,并执行错误处理。只有在处理完成后,它才会进入我的回调函数执行。我分别在 LPUART_LIN_IP_NODE_STATE_RECV_SYNC 和 LPUART_LIN_IP_NODE_STATE_RECV_PID 处的 Lpuart_Lin_Ip_FrameIrqHandler 函数中设置了断点,但到此为止没有执行。不知道是什么问题导致了这种情况。我期待着您的答复,因为这对我来说非常重要。 Re: The S32K314 uses the LPUART to configure as a LIN slave communication interrupt. 您好,根据您的要求,我在 Lpuart_Lin_Ip_FrameErrorIrqHandler 位置设置了一个断点进行监控。我发现在运行过程中,我的 LIN 会在这段代码和我的接收回调函数之间来回切换,而我的缓冲区能够接收数据。在 Lpuart_Lin_Ip_FrameErrorIrqHandler 函数中没有特定的错误原因。目前,我可以确认的是,Lpuart_Lin_Ip_FrameErrorIrqHandler 这个函数在运行过程中被频繁调用,但我的接收响应缓冲区仍然能够接收数据。运行一段时间后,该函数 Lpuart_Lin_Ip_FrameErrorIrqHandler 和我的回调函数将不再进入循环。我可以把这理解为沟通中断。如何找出问题所在?我需要检查任何登记簿吗?对了,第一张图片显示的是,在了解到 RTD2.0.0 版本中没有清除溢出寄存器标志的错误后,我在方框中手动清除了它。我的理解正确吗?这确实解决了我多次运行后无法进入回调函数的问题,但之后通信仍会断开。我的描述可能有点复杂,但我希望得到您的帮助。我将不胜感激。 Re: The S32K314 uses the LPUART to configure as a LIN slave communication interrupt. 嗨,@Aoyng、 在 RECV_SYNC 情况下设置断点时,LIN 主站会继续传输,而不会等待从站。因此,PID 字段和帧的其余部分是在 CPU 停止运行时发送的,因此驱动程序无法正确处理。 这很可能会造成不同步,并导致您观察到的 "虚假 "中断。 相反,我建议在错误处理路径中设置断点,例如在 Lpuart_Lin_Ip_FrameErrorIrqHandler() 中。这些处理程序是由实际的协议或总线错误触发的。 确定最初的 LPUART 错误后,我们可以进一步分析问题。 BR,丹尼尔 Re: The S32K314 uses the LPUART to configure as a LIN slave communication interrupt. 请告诉我上述代码中是否存在隐藏的错误?非常感谢你们检查我的代码逻辑是否有问题。由于我以前没有遇到过 LIN 通信中断的情况,如果您能帮我分析一下,我将不胜感激。谢谢! Re: The S32K314 uses the LPUART to configure as a LIN slave communication interrupt. 看来是 LPUART_LIN_IP_FRAME_ERR&& LPUART_LIN_IP_INT_FRAME_ERR_FLAG 消息阻止了您的 LIN 通信。您从硬件方面检查过吗?从结构角度看,您的 LIN 沟通环路如何?
記事全体を表示
S32K344/358/388 SWO Printf 在 S32DS3.6 中不起作用 嗨,团队、 我按照这个步骤用 pe multilink 和 S32DS3.6 测试了 SWO printf 函数。 我使用了 S32K3 官方 EVB 并检查了 SWO 引脚是否成功伸出。S32K311,312 SWO 可以正常工作,但 S32K344,358,388 无法打印出来。肯定有一些隐藏设置需要在软件中完成,您能帮忙测试并尝试一下吗? 我已经测试了 S32DS3.6.1、3.6.2、3.6.3,3.6.5.所有情况都一样,311/312 可以正常工作,而 344、358、388 则无法工作。 优先级:高 S32DS Re: S32K344/358/388 SWO Printf not work is S32DS3.6 我已经检查了 S32K344 和 312 的 SWO 路线的 RM。344 则更为复杂。 也许需要用软件打开一些额外的开关。 顺祝商祺! 杰里米 Re: S32K344/358/388 SWO Printf not work is S32DS3.6 嗨,杰里米、 我来看看你的问题。过去这是一个已知的错误,但希望现在已经修复。您使用的是最新的 PE Micro 插件吗? Re: S32K344/358/388 SWO Printf not work is S32DS3.6 嗨,吉瑞、 这是我的 PE 微型插件
記事全体を表示
Melitta C35コントローラーでMCF5232が起動時に停止/「しばらくお待ちください」画面が表示される こんにちは、みんな、 私は、 Freescale ColdFire MCF5232CVM100 (BGAパッケージ)をベースにした業務用コーヒーマシン(Melitta C35)の制御基板のトラブルシューティングを行っています。システムは現在、最初の「しばらくお待ちください」画面で停止しており、メインメニューに進みません。 ハードウェアの詳細と寸法: MCU: MCF5232CVM100(ColdFire V2コア)。 フラッシュ: cFeon EN29LV160 (TSOP-48)。 パワーレール: VDD(コア): MCF5232周辺のマイクロコンデンサで1.6Vを測定。 VDDIO/周辺機器:全箇所で安定した3.3Vが確認できた。 アナログ/その他: 5V電源レールが存在します。 RTCバッテリー:測定値3.29V (安定)。 デバッグインターフェース:このボードには、標準の26ピンColdFire BDMヘッダーと10ピン(2x5)Mini-BDMコネクタが搭載されています。 サービスポート:外部9ピンRS-232 (DCE、メス)。 症状: 電源投入時、ディスプレイが初期化され、「しばらくお待ちください」と表示されます。 基板には3.3Vラインを切り替えるリセットボタンがありますが、リセット後もMCUは「しばらくお待ちください」状態のままです。 RS-232ポートのTXピンで-5.6Vを測定したところ、ラインドライバに電源が供給されており、UARTがブートローダーによって初期化されている可能性が高いことが分かりました。 コミュニティへの質問: ディスプレイに「しばらくお待ちください」と表示されていることから、MCUがFlexBusの初期化を正常に完了し、外部フラッシュメモリからコードの実行を開始したと判断するのは妥当でしょうか? ColdFire V2がこの段階でフリーズする典型的な原因は何ですか?フラッシュメモリ内のチェックサムの不一致、あるいは周辺機器(I2C/SPI)の待機タイムアウトが原因でしょうか? 10ピンと26ピンの両方のBDMヘッダーが存在することは、デバッグの優先順位に何らかの特別な意味があるのでしょうか?USBDMインターフェースを使用してcFeon Flashをダンプするには、どちらの方が適していますか? フルデバッガを使わずにBDMピンで確認できる、既知の「トラップ」状態やダブルバスフォルトインジケーターはありますか? 起動ログを取得するために、FTDI製のUSB-RS232変換アダプタを注文しました。その間、このMCF5232ベースのプラットフォームの起動シーケンスやよくある障害箇所について、何かご存知でしたら教えていただけると幸いです。 よろしくお願いいたします、アレックス Macro shots of the touch frame and suspected areas こんにちは、皆さん 静電容量式タッチパネルのフレームをより詳しく見るために、マクロ撮影をいくつか行いました。 コンテクスト: この「フレーム」ボードは、メインディスプレイの周囲に直接取り付けられています。その主な役割は、機械のインターフェースにある追加のタッチセンサー式ボタン(停止、蒸気など)を処理することです。ディスプレイ用SBCに直接接続します。 不審なエリア: 具体的には、 CSET14A コントローラと電源管理部(インダクタでマークされている) 「150」 )。これらの領域の小型ICのピン周辺に不審な残留物が付着していることに気づきました。これは以前の蒸気曝露の影響が残っている可能性があります。 これらの特定の箇所を99%イソプロピルアルコールで徹底的に洗浄し、熱乾燥も行いましたが、やはり改善は見られませんでした。FTDIアダプタが届く前に、これらの部品の下にある微小な漏れや酸化によってI2Cバスが「ハングアップ」する可能性を排除しておきたい。 誰か認識できますか   モジュール?このペリフェラルが起動シーケンス中に応答しなくなった場合、システムが「しばらくお待ちください」というスプラッシュ画面で永久に停止してしまう可能性はありますか? ありがとう、アレックス     UPDATE - Hardware maintenance performed and discovery of Display SBC ports おはよう。 実施したメンテナンスに関する最新情報と、ハードウェアに関する新たな発見事項をお伝えします。 メンテナンスアップデート: 私はリボンケーブル、コネクタ、PCB接点をすべて徹底的に洗浄しました。 99%イソプロピルアルコールさらに、私は CR2032電池 ディスプレイモジュール上で、旧型は3Vでしたが、新型は安定しています。 3.3V 。残念ながら、これらの手順を実行しても症状は改善されず、機械は依然として「しばらくお待ちください」画面でフリーズしたままです。 ディスプレイSBCモジュールの検出: ディスプレイモジュールを詳しく調べたところ、高度な シングルボードコンピュータ(SBC) 、おそらくi.MXベース。基板の両面とインターフェースパネルの写真を添付しました。 ディスプレイモジュールには、豊富なコネクタ類が搭載されています。 RS-232(DB9オス)は、延長コードを介してメインの前面パネルRS232に接続されています。 イーサネット(RJ-45) USBタイプA (ホスト) ミニUSB (サービス/デバッグ) SDカードスロット (内部)だが、カードは入っていない… 基板にはBGA MCUが搭載されており、 NANDフラッシュ(NAND02G)および Micron製DDR2 RAM 。 コミュニティへの質問: これらのポート群の中で、メインのColdFireボードが起動していない場合に、完全なブートログを提供する可能性が最も高いのはどのポートでしょうか?ですか RS-232 このディスプレイモジュールには通常、OS(Linux/WinCE)のシステムコンソールが表示されますか? NXP/Freescaleの産業用設計に関するあなたの経験では、 イーサネット ポートには通常、診断用Webインターフェース用のデフォルトの静的IPアドレスが割り当てられていますか? 「しばらくお待ちください」というメッセージは、ディスプレイSBC自体が表示するローカルのスプラッシュスクリーンで、通信バスを介してColdFire MCUからの「準備完了」ハンドシェイクを待っていることを示しているのでしょうか? 必要な追加部品をいくつか注文しました: DB9 女性性別チェンジャー、 Null-Modemアダプタ FTDIケーブル これらのポートとインターフェースするため。この「武器庫」をより詳細な診断に活用する方法について、何かアドバイスがあれば大変ありがたいです。 よろしくお願いいたします、アレックス Re: MCF5232 stuck at boot / "Please wait" screen on Melitta C35 controller トムさん、貴重なご意見ありがとうございます。 互換性のあるオシロスコープはまだ手元にありませんが、関連する可能性のある追加の測定をいくつか行いました。 UARTアクティビティ: RS-232サービスポートのTXピンの電圧を測定しました。安定した -5.6V GNDに対する相対値。私の理解では、これはラインドライバがアクティブであり、MCUのUARTモジュールがブートコード/ファームウェアによって初期化されたことを示している。 現在の戦略: 高速バスを調査する前に、高品質の FTDI(Ugreen)USB-RS232変換アダプタ私の計画は パテ (115200 8N1) は、「しばらくお待ちください」という表示でハングアップしている間に MCF5232 が出力する可能性のあるブートローダーのログやエラー メッセージを取得します。 末梢状態: メリタの専門家から聞いたところによると、この特定の「しばらくお待ちください」状態は、CPUボードと電源/ディスプレイボード間の通信障害(おそらくI2Cまたはシリアルタイムアウト)によって引き起こされるソフトウェアのデッドロックであることが多いとのことです。 アダプタ到着後もシリアルコンソールが沈黙したままの場合は、 USBDMデバッガー ご提案いただいたようにCPUステータスレジスタを検査するか、ポータブルオシロスコープを入手してFlexBusの動作を確認することを検討してください。 コンソールから最初のログが取得でき次第、このThreadを更新します。その間、 -5.6V TX で信号が出力されているということは、MCU が少なくとも周辺機器の初期化段階に正常に到達したことを示唆していますか? 投稿にあった最後の質問についてですが、はい、この機械は2011年製です。驚いたが、部品とサービスはまだ利用可能だ。この特定のモジュールも入手可能ですが、価格帯はこの単価よりもはるかに高くなります。さらに、それが本当に欠陥品なのかどうかは、現時点では誰にもわからない…。 アレックス、もう一度ありがとう。 Re: MCF5232 stuck at boot / "Please wait" screen on Melitta C35 controller 私たちが使用しているチップ(MCF5235)と類似しています。 (iFixitでの成功を祈っています、アレクサンダー!) フラッシュメモリからコードを実行している可能性が非常に高い。液晶画面に最初のメッセージを表示させるには、そうする必要があるのです。ただし、基板上に別のCPUが隠れていて、その処理を行っている場合は別ですが(それはまずあり得ないでしょう)。これは「ボトムブート」フラッシュなので、ブートストラップはおそらく最初のセクターにあるでしょう。これは通常、何らかの方法で保護されています。私が普段使っているチップには、それを行うためのハードウェアピンが付いています。そのチップにはソフトウェアによる保護が必要で、それを変更するにはリセットピンに高電圧をかけることでその保護を無効化する必要がある。 おそらくブートストラップが実行されているのでしょう。ブートストラップは「しばらくお待ちください…」というスプラッシュスクリーンを表示した後、Flashの残りの部分にあるコードを検索、検証、実行する処理に進みます。もちろん、そんなことは起こっていない。 つまり、クロック、電源、データバス、そしてアドレスバスの大部分がテストされており、正常に動作しているようです(そうでなければ、あの画面は表示されないでしょう)。現時点では、あなたにできることはほとんどありません。 オシロスコープを入手することをお勧めします。もし入手できないのであれば、今すぐ諦めた方が良いでしょう。RAMとフラッシュメモリのチップセレクトを確認してください。しばらく動作した後に停止する場合は、何らかの原因でクラッシュしていると考えられます(例えば、ダブルバス障害など)。ただし、キャッシュが有効になっていて、キャッシュ内で何かが起こるのを待つループに入っている場合、(外部信号がない) も起こり得ます。また、外部RAMを使用する必要はなく、内蔵の64KBのRAMを使用してブートを実行している可能性が高い。「DAA」と書かれた大きなチップはRAMだと思います。 ファームウェアが破損していてチェックサムに失敗した場合は、画面にその旨が表示されるはずです。 デバッグポッドを入手して26ピンポートに接続することもできますが、今は2004年(そのチップが発売された年)ではないので、オリジナルのデバッグポッドはもう入手できません。P&Eマルチリンクを使うこともできますが、この問題のためにそこまで投資するのはかなり高額です。 画面上部に「SWバージョンV7.18」と表示されます。それは面白い。ブートストラップとアプリファームウェアが別々に実行されている場合、通常はバージョンが異なり、「ブートバージョン」または「ローダーバージョン」と表示されるはずです。「SWバージョン」は、ソフトウェアが1つだけで2つではないことを意味します。あるいは、プログラマーがその区別を考えていなかったのかもしれない。 ハードウェアが何らかの処理を実行するのを待っているのかもしれないが、それが何なのかは思いつかない。 メリタのまな板を試したことはありますか?古すぎてサポート対象外なのでしょうか? それは何年前のものですか?私が確認できる唯一の日付は2010年だと思います。 Tom Re: MCF5232 stuck at boot / "Please wait" screen on Melitta C35 controller ディスプレイモジュールを詳しく調べたところ、高度な シングルボードコンピュータ(SBC) 、おそらくi.MXベース。基板の両面とインターフェースパネルの写真を添付しました。 「品質検査合格」のステッカーの下に大きな欠けがあり、部品番号が見えなくなっている。そこに書いてあるのは「CHINA」という文字だけで、i.MXチップが中国製だとは知りませんでした。そのステッカーを剥がして、中身が何なのか確認できますか?また、その周りにある3つのチップ(フラッシュメモリ2つとRAM1つ、またはその逆)の文字を読み取ることはできますか? はい、そのスプラッシュスクリーンは、おそらくその基板がもう一方の基板からの通信を待っている間に表示されているものと思われます。 彼らは何らかの乗り合いバスの中で話をするだろう。可能性の高い順に並べると、SPI、I2C、シリアル通信、CAN、パラレルポート、共有メモリの順になると思います。一部の**デザイン**ではイーサネットを使用していますが、MFC5232にはそのコントローラは搭載されていません。 つまり、ポートが機能していないか、あるいはそのポートを制御するソフトウェアに何らかの不具合があり、正常に動作していないかのどちらかです。それは文字通りどこにでもあり得る。 通常なら「(MCF5232の)どのポートがビデオカードにつながっているか調べてください」と言うところですが、MCF5232はBGAチップなので、メーターや目視でピンをたどることはできません。同様に、ビデオカードから遡って、そこにどのピンが接続されているかを確認してください。その「ビデオカード」には、製品が必要とする以上の機能が搭載されているようだ。それは他の誰かが作ったものかもしれない。左端にある文字をすべて読んで、製造元や部品番号が見つかるかどうか確認してみてください。もしそれが他の販売業者から販売されているものであれば、データシートを入手できるかもしれません。 コネクタ上のすべての信号を調べて、ビットレート、周波数、プロトコルなどを認識できるかどうかを確認するには、オシロスコープ(実機またはPCベースのもの)が必要です。あまりに安いものは帯域幅が不足しているので買わない方がいいです。最低でも50MHzが必要です。 以前にも言ったと思いますが、何が実行されているかを確認してください(CPUからメモリチップへのチップセレクト)。MCF5232に「ダブルバス障害」が発生した場合、動作が停止します。そうでなければ、何か別の処理が実行されているはずだ。もし停止してしまった場合、それを元に戻そうとする監視機関が存在する可能性が高い。 Tom Re: MCF5232 stuck at boot / "Please wait" screen on Melitta C35 controller 重要なアップデート:正確なICマーキングによるベースボードインターフェース解析 通信インターフェース部分のマクロ写真を撮影しました(添付)。 重要なトポロジーの明確化: これらのインターフェースコンポーネントはすべて、ColdFireモジュール自体には搭載されていないことにご注意ください。その代わりに、それらはメインのマザーボード/ベースボード上にあり、ディスプレイモジュールにつながるリボンケーブルコネクタのすぐ隣に配置されています。 これは、このセクションが基板間ケーブルとプラグイン式ColdFire CPUモジュール[I]の間の最前線の物理的シールドとして機能したことを意味します。 このインターフェース段階の正確なコンポーネントマッピングは以下のとおりです。 高速CANトランシーバー:テキサス・インスツルメンツ製のSN65HVD230 (SOIC-8パッケージでVP230 / 07M AFR2と表記)です。この3.3V CANトランシーバは、ColdFireモジュールのCANコントローラを基板間リンクに直接接続します。 ライン保護:隣接するJY2501 SMDトランス/フィルタアレイと330オームの整合抵抗( 3300と表示)によってサポートされ、これらはすべてリボンケーブルの配線上に配置されています。 ペリフェラルのマッピング:ベースボードのさらに下の方では、システムはテキサス・インスツルメンツ製の74HC165 8ビットシフトレジスタを使用して、局所的なセンサ信号を処理します。 プロセッサ間のリンクは完全にCANバスベースであると断言できると思います。i.MX27ディスプレイインストーラがSerOpen+とSL_SetRTS+でループしている場合、ハードウェアCANコントローラー上にマッピングされた仮想化シリアルドライバーを開こうとしています。 緊急電源遮断により、誘導性キックバックによってコネクタ入口部のTI SN65HVD230(VP230) CANトランシーバが損傷する可能性があります。このチップが内部的に故障すると、差動ラインが機能しなくなり、バスが停止し、Windows CEアップデーターのログに即座に「通信エラー」が表示されます。   このVP230のCANH/CANLピンとグランド間のパッシブダイオードの電圧降下を測定して、故障箇所を特定するためのアドバイスがあれば教えてください。 故障の疑いのある列には、多くの潜在的な部品があるようです。 この「頭痛の種」をどう解決するか、大きな疑問だ   アレックス     Re: MCF5232 stuck at boot / "Please wait" screen on Melitta C35 controller こんにちは、トムさん、そしてコミュニティの皆さん。 いくつか最新情報があります...WinCEの起動ログをすべて取得しました。ハードウェア仕様とハンドシェイクの失敗が特定された可能性があります... ディスプレイユニットの識別について。これはGarz & Fricke NESO 5.7ディスプレイモジュールです: https://imrad.com.ua/userdata/modules/productFiles/1sASRkzV_GF_NESO_Series_Manual_V1.4.1.pdf ?srsltid=AfmBOoo4vya1_YCFjSLfTK2z55_qKcgmDmTJcvGvXnBsYd0cuEHwuVjK FTDI RS-232アダプタを受け取り、UARTデバッグポート(X551、115200 8N1)を介してGarz & Fricke NESO 5.7ディスプレイモジュールから完全なブートログを正常に取得しました。 ログには正確な診断情報が記載されており、RedBootとWindows CEカーネルの出力からディスプレイSBCの正確なハードウェア仕様がわかるため、「品質保証合格」のステッカーを剥がす必要はなくなりました。   1. SBCハードウェア仕様を表示する(ログから) メインMPU(ステッカーの下): Freescale/NXP i.MX27マルチメディアアプリケーションプロセッサ(ARM926EJ-Sコア)、シリコンリビジョンPASS 2.1 。 RAMチップ: 32ビットバス上で動作する128MB MDDR (モバイルDDR SDRAM)。 NANDフラッシュチップ: 256MB STMicroelectronics NAND02GR3B2 。 EEPROM: Atmel AT24C 、アドレス0x00:0xA0。 RTC: Philips PC8563 (ログには「RTC 時刻が無効です。バッテリーを確認してください」と表示されています。これは、CR2032 を交換する必要がある理由を示していますが、ロックアップの原因ではありません)。 (ちなみに、ColdFire ポートへの最初の接続は成功しませんでした (直接接続またはヌルモデム経由で接続しても、どのボーレートのログもありませんでした))。ディスプレイ RS 232 は応答し、ハードウェア検証に完全に合格しました。Windows CE 6.0 はスムーズに起動し、フラッシュ パーティションをマウントし、自動起動シーケンスを正常に実行します。ファームウェアの更新によって問題を解決しようとしました。  Melittaの技術者の推奨に従い、2GBのFAT16 USBメモリ(ディスプレイ用)とSDカード(ColdFireアクセスボード用)を使用して、両方のボードのファームウェアをv7.20に同時にアップデートしようと試みました。ディスプレイは公式インストーラーである USB-MStick\Autostart\Updater.exe を正常に起動しました。 PuTTYログから読み取れる、障害発生箇所の正確な位置は以下のとおりです。 ==========================================================   autojob: 実行: USB-MStick\Autostart\Updater.exe URM_IOControl: 不明なIOCTL 0x010303ff GFV_IOControl: 不明なIOCTL 0x010303ff SerOpen+ SL_SetRTS+ SL_ClearRts+ SL_SetRTS+ SL_ClearRts+ ========================================================== その直後、ディスプレイに「通信エラー!アプリケーションを閉じます…」というウィンドウが表示されます。 ログに明確に示されているように、Updater.exe はシリアルポートを正常に開き (SerOpen+)、 RTS (送信要求)ラインを繰り返し切り替え (SL_SetRTS+ / SL_ClearRts+)、ColdFire ボードとのハンドシェイクを試みています。しかし、ColdFire基板からはCTS(送信許可)応答が全く返ってきません。送電線は完全に静まり返っている。 (注:ログの前半で、シリアル診断が有効になっていることに気づきました。)UART1を無効にします!デバッグ用ノートPCを接続せずにマシンを完全にヘッドレスで起動すると、 全く同じ通信エラー)。   ColdFire基板上の電源状態 ColdFire MCF5232の下部基板の電源レールを複数回、徹底的に再確認しました。すべてのロジック電圧は存在し、完全に安定しており、仕様の範囲内です。 VDD(コア): 1.6V VDDIO(周辺機器): 3.3V アナログレール: 5V これにより、バックレギュレータの故障、ヒューズ切れ、MCU電源ラインの短絡などが除外されます。ColdFire MCUは完全に電源供給されています。   予備的な結論と質問:     i.MX27ディスプレイモジュールは100%正常ですが、 ColdFire MCF5232ボードは通信バス上で全く反応がありません。ロックアップは恐らく緊急電源オフ後に発生したため、ハードディスコネクト時の高負荷誘導キックバックによってColdFire側のRS-232/CANトランシーバが物理的に焼損したか、MCF5232が永久的なダブルバス障害/ハードウェアフリーズ状態に陥ったのではないかと推測されます。 トム、 i.MX27 PASS 2.1アーキテクチャがフルパワーのMCF5232ロジックレールでRTSハンドシェイクを試みていることを承知の上で: この動作は、スレーブ側のインターフェース トランシーバの典型的な故障を示しているのでしょうか? MCF5232には、マルチメーターで安全にプローブして、コアクロックが動作しているか、チップが完全に停止しているかを確認できる特定のピンやステータスレジスタはありますか? 3.高周波オシロスコープは本当に必要でしょうか?それとも、この状況では役に立たないでしょうか?   よろしくお願いします、 アレックス Re: MCF5232 stuck at boot / "Please wait" screen on Melitta C35 controller 問題のある部品に関するアイデア... 🙂 添付します 参考までに、ColdFire基板の写真を掲載します。 基板を綿密に検査し、すべてのSOIC/TSSOP部品を確認しました。興味深いことに、インターフェースコネクタの近くには、専用のRS-232/CANラインドライバトランシーバ(MAX3232やTJA1050など)は存在しない。 その代わりに、この基板は受動保護機能を備えたダイレクトドライブ方式を採用している。 コネクタ付近やMCUの下にある小さな8ピンのネットワークはすべて、実際には10kΩの抵抗アレイ( 「103」とマークされている)です。 基板の中央、MCF5232 MCUとインターフェース配線の間には、 74LCX162 (16ビット低電圧バッファ/ラインドライバ)チップが配置されている。 これはダイレクトドライブ方式であることを裏付けている。MCF5232からのUART/バス信号は、74LCX162バッファと10kΩ抵抗アレイを直接通過し、リボンケーブルを通ってディスプレイに送られます。 緊急時の高負荷シャットダウン事象を考慮すると、誘導キックバックによって74LCX162バッファチップがヒューズとして機能し、ColdFire UARTラインをディスプレイから完全に遮断した一方で、メイン電源レール(5V、3.3V、1.6V)は無傷のままになった可能性が非常に高い。 i.MX27のログに見られる「SL_SetRTS+が実行されてもCTS応答がない」という症状は、74LCX162バッファの破損が原因だと考えられますか? このバージョンを確認する簡単な方法はありますか? ありがとう、アレックス
記事全体を表示
The S32K314 uses the LPUART to configure as a LIN slave communication interrupt. @danielmartynek Hello, when I was using the LPUART1 of S32K314 as the LIN slave to communicate, I found that initially the slave could respond normally to the frame headers sent by the host, but after a period of time, the slave could no longer respond to the frame headers sent by the host. Moreover, when receiving data, starting from the second interrupt, it could no longer stay at my data receiving breakpoint. As shown in the figure below, I use the callback function to handle the responses and receptions of the slave machine. When using the debugging monitoring function, I found that the first time entering the interrupt could detect the status of the synchronization interval segment and enter the function for processing the synchronization interval segment. However, when entering the interrupt again, it would go into the (void)Lpuart_Lin_Ip_HwClearStatusFlag(Base, LPUART_LIN_IP_ALL_INT_FLAGS); routine. When the function re-enters the interrupt, it will detect LPUART_LIN_IP_FRAME_ERR && LPUART_LIN_IP_INT_FRAME_ERR_FLAG and perform error handling. Only after this handling is completed will it enter my callback function for execution. I set breakpoints in the Lpuart_Lin_Ip_FrameIrqHandler function at LPUART_LIN_IP_NODE_STATE_RECV_SYNC and LPUART_LIN_IP_NODE_STATE_RECV_PID respectively, but there was no execution to this point. I wonder what kind of problem might cause this. I am looking forward to your reply, as it is very important to me. Re: The S32K314 uses the LPUART to configure as a LIN slave communication interrupt. Hello, based on your request, I set a breakpoint at the Lpuart_Lin_Ip_FrameErrorIrqHandler location for monitoring. I found that during the running process, my LIN would switch back and forth between this code and my receiving callback function, and my buffer was able to receive data. There was no specific error reason in the Lpuart_Lin_Ip_FrameErrorIrqHandler function. Currently, what I can confirm is that this function Lpuart_Lin_Ip_FrameErrorIrqHandler is frequently called during the running process, but my receiving response buffer is still able to receive data. After a period of running, this function Lpuart_Lin_Ip_FrameErrorIrqHandler and my callback function will no longer enter the loop. I can interpret this as a communication interruption. How can I find out where the problem lies? Do I need to check any registers? Oh, by the way, the first picture shows that after learning about the error of not clearing the overflow register flag in the RTD2.0.0 version, I manually cleared it in the box. Am I understanding this correctly? This indeed solved the problem that I couldn't enter the callback function after running several times, but the communication still got disconnected afterwards. My description might be a bit complicated, but I'm looking forward to your help. I would be extremely grateful. Re: The S32K314 uses the LPUART to configure as a LIN slave communication interrupt. Hi @Aoyng, When you place a breakpoint in the RECV_SYNC case, the LIN master continues transmitting and does not wait for the slave. As a result, the PID field and the rest of the frame are sent while the CPU is halted, so they are not processed correctly by the driver. This likely causes the desynchronization and leads to the “spurious” interrupt you are observing. Instead, I recommend placing breakpoints in the error handling path, for example in Lpuart_Lin_Ip_FrameErrorIrqHandler(). These handlers are triggered by actual protocol or bus errors. Once you identify the initial LPUART error, we can analyze the issue further. BR, Daniel Re: The S32K314 uses the LPUART to configure as a LIN slave communication interrupt. Could you please tell me if there are any hidden bugs in my aforementioned code? Thank you very much for checking if there are any issues with my code logic. Since I haven't encountered the situation of LIN communication interruption before, I would greatly appreciate it if you could help me analyze it. Thank you! Re: The S32K314 uses the LPUART to configure as a LIN slave communication interrupt. It seems the message for LPUART_LIN_IP_FRAME_ERR && LPUART_LIN_IP_INT_FRAME_ERR_FLAG have blocked your LIN communication. Have you check from HARDWARE side? How about your LIN communication loop from structure point of view
記事全体を表示
S32E288 Pythonスクリプトの実行中にエラーが発生しました こんにちは、NXPのエキスパートの皆様。 S32 Design StudioでS32プラットフォームバージョン3.6.7用の新しいS32E288 M33プロジェクトを作成し、ビルドしてS32デバッガーで実行しようとしました。 でも私は この問題の原因を理解するのを手伝ってください。 よろしくお願いします。       Re: S32E288 Failure during execution of python script こんにちは、 @cszhang さん。 お問い合わせいただきありがとうございます。ご質問の件ですが、ご利用のRTDのバージョンを教えていただけますでしょうか?そして、もし可能であれば、サンプルコードをデバッグしてみてください。 よろしくお願いします。 Re: S32E288 Failure during execution of python script RTDは また、 もテストしましたが、同じ問題が発生しました。 次に、デバッガータブの をクリックすると、SIul2サンプルプロジェクトが構成生成を実行しました。JTAG VTREF値を測定したところ、3.297Vでした。 E2-JTAGコネクタには、基板上に33オームの抵抗器が搭載されています。
記事全体を表示
MCF5232 stuck at boot / "Please wait" screen on Melitta C35 controller Hello everyone, I am troubleshooting a professional coffee machine (Melitta C35) control board based on the Freescale ColdFire MCF5232CVM100 (BGA package). The system is currently stuck at the initial "Please wait" screen and does not proceed to the main menu. Hardware Details & Measurements: MCU: MCF5232CVM100 (ColdFire V2 Core). Flash: cFeon EN29LV160 (TSOP-48). Power Rails: VDD (Core): Measured 1.6V on the micro-capacitors surrounding the MCF5232. VDDIO/Periphery: Stable 3.3V found across the board. Analog/Other: 5V rail is present. RTC Battery: Measured 3.29V (stable). Debug Interfaces: The board provides a standard 26-pin ColdFire BDM header AND a 10-pin (2x5) Mini-BDM connector. Service Port: External 9-pin RS-232 (DCE, Female). Symptoms: On power-up, the display initializes and shows "Please wait". The board has a Reset button that toggles the 3.3V line, but the MCU remains in the same "Please wait" state after reset. I measured -5.6V on the TX pin of the RS-232 port, which indicates that the line driver is powered and the UART is likely initialized by the bootloader. Questions for the community: Given that the display shows "Please wait", is it safe to assume the MCU has successfully initialized the FlexBus and started executing code from the external Flash? What are the typical reasons for a ColdFire V2 to hang at this stage? Could it be a checksum mismatch in the Flash or a timeout waiting for a peripheral (I2C/SPI)? Does the presence of both 10-pin and 26-pin BDM headers imply any specific debugging priority? Is one more suitable for a USBDM interface to dump the cFeon Flash? Are there any known "trap" states or Double Bus Fault indicators I can check via the BDM pins without a full debugger? I have ordered an FTDI USB-to-RS232 adapter to capture any potential boot logs. In the meantime, I would appreciate any insights into the boot sequence or common failure points for this MCF5232-based platform. Best regards, Alex Macro shots of the touch frame and suspected areas Hi everyone, I've taken some macro shots of the capacitive touch frame for a closer look. Context: This "frame" board is mounted directly around the main display. Its primary role is to handle additional touch-sensitive buttons for the machine's interface (e.g., Stop, Steam, etc.). It connects directly to the display SBC. Suspicious areas: Specifically, I'm looking at the CSET14A controller and the power management section (marked with inductor "150"). I noticed some suspicious residue around the pins of the small ICs in these areas, which might be a lingering effect of the previous steam exposure Ive performed a deep cleaning of these specific zones with 99% IPA with heat drying, but no positive outcome again. I want to rule out any I2C bus "hanging" caused by micro-leakage or oxidation under these components before the FTDI adapter arrives. Does anyone recognize the   module? If this peripheral fails to respond during the boot sequence, could it cause the system to stay on the "Please wait" splash screen indefinitely? Thank you, Alex     UPDATE - Hardware maintenance performed and discovery of Display SBC ports Good morning. I have an update regarding the maintenance performed and some new findings on the hardware. Maintenance Update: I have thoroughly cleaned all ribbon cables, connectors, and PCB contacts using 99% Isopropyl Alcohol. Additionally, I replaced the CR2032 battery on the display module; the old one was at 3V, and the new one is stable at 3.3V. Unfortunately, these steps did not change the symptoms—the machine still hangs at the "Please wait" screen.  Discovery of Display SBC Module: I’ve closely inspected the display module, and it appears to be a sophisticated Single Board Computer (SBC), likely i.MX-based. I’ve attached photos of both sides of the PCB and the interface panel. The Display Module features a significant "arsenal" of connectors: RS-232 (DB9 Male) which is connected to the main fascia RS232 via an extension cord Ethernet (RJ-45) USB Type-A (Host) Mini-USB (Service/Debug) SD Card Slot (Internal), but no any card in it... The board is populated with a BGA MCU, NAND Flash (NAND02G), and Micron DDR2 RAM. Questions for the community: Given this array of ports, which one is most likely to provide a full boot log if the main ColdFire board is silent? Is the RS-232 on this display module typically the system console for the OS (Linux/WinCE)? In your experience with NXP/Freescale industrial designs, does the Ethernet port usually have a default static IP for diagnostic web-interfaces? Could the "Please wait" message be a local splash screen from the Display SBC itself, indicating it is waiting for a "ready" handshake from the ColdFire MCU via the communication bus? I have ordered some extra  necessary parts: DB9 female gender changer,  Null-Modem adapters for the FTDI cable to interface with these ports. Any advice on how to leverage this "arsenal" for deeper diagnostics would be greatly appreciated. Best regards, Alex Re: MCF5232 stuck at boot / "Please wait" screen on Melitta C35 controller Thank you for your insights, Tom While I don't have a compatible oscilloscope on hand yet, I’ve performed some additional measurements that might be relevant: UART Activity: I measured the voltage on the TX pin of the RS-232 service port. It shows a steady -5.6V relative to GND. My understanding is that this indicates the line driver is active and the MCU’s UART module has been initialized by the boot code/firmware. Current Strategy: Iprior of probing the high-speed bus, I have ordered a high-quality FTDI (Ugreen) USB-to-RS232 adapter. My plan is to use PuTTY (115200 8N1) to capture any bootloader logs or error messages that the MCF5232 might be spitting out during the "Please wait" hang. Peripheral Status: I've been informed by a Melitta specialist that this specific "Please wait" state is often a software deadlock caused by communication loss between the CPU board and the Power/Display boards (likely I2C or Serial timeout). If the serial console remains silent after the adapter arrives, I will proceed with a USBDM debugger to inspect the CPU status registers as you suggested, or look into getting a portable oscilloscope to verify the FlexBus activity. I will update this thread as soon as I have the first logs from the console. In the meantime, does the -5.6V on TX suggest to you that the MCU has at least successfully reached the stage of peripheral initialization? As for the last questions from your post., yes, this machine is 2011 year of manufacture. I`m surprised, but parts and service are still available. Even this particular module is available, but the price range is much higher than this unit value... Moreover, nobody knows right now if it`s really faulty... Thank you one more time, Alex Re: MCF5232 stuck at boot / "Please wait" screen on Melitta C35 controller Similar chip to one of the ones we use (MCF5235). (Good luck with iFixit, Alexander!) It is very likely it is running code from the Flash. It has to do that to get the initial message onto the LCD. That is unless there's another CPU hiding on the board that does that (and that's unlikely). That's a "Bottom Boot" Flash, so the bootstrap is probably in the first sector. This is usually protected (somehow). The chips I'm used to have a hardware pin to do that. That chip needs software protection, and then overriding that by putting a high voltage on the Reset pin in order to change it. It is probably running the Bootstrap - that puts the "Please Wait ..." up as a Splash Screen and then gets on with finding, verifying and running the code that is in the rest of the Flash somewhere. Obviously that isn't happening. So the clock, power supplies, data bus and most of the address bus are being tested and seem to be working (or you wouldn't get that screen). There's very little you can do at this point. I'd suggest getting an oscilloscope - give up now if you can't get one of these. Check the RAM and Flash Chip Selects. If they run for a short while then stop, then something is making it crash (like a double-bus fault). Except this (no external signals) is also possible if the Cache is enabled and it is in a loop waiting for something to happen where that loop is in Cache. It is also likely that it is running the Boot using the 64k of internal RAM rather than having to use the external one. I assume the big chip with "DAA" on it is the RAM. If the firmware is corrupt and failing a checksum you would hope it would SAY that on the screen. You could get a debug pod and plug it onto the 26-way port ... except this isn't 2004 (when that chip was released) and so the original debug pods aren't available any more. You could use a P&E Multilink, but that's quite an investment to make for this problem. The top of the screen shows "SW Version V7.18". That's interesting. If it ran a separate Bootstrap and App Firmware, then they're usually different versions, and I'd expect that to say "Boot Version" or "Loader Version".. "SW Version" implies it only has one block of software and not two. Or a programmer didn't think of that distinction. It might be waiting for the hardware to do something, but I can't think of what. Have you tried getting a board from Melitta? Is it too old and out of support? How old is it? The only date I think I can see is 2010. Tom Re: MCF5232 stuck at boot / "Please wait" screen on Melitta C35 controller > I’ve closely inspected the display module, and it appears to be a sophisticated Single Board Computer (SBC), likely i.MX-based. I’ve attached photos of both sides of the PCB and the interface panel. There's a large chip under a "QA passed" sticker that obscures the part numbers. The only thing I can see on it is "CHINA" and I didn't know the i.MX chips were made there. Can you peel off that sticker and see what it really is? Also, can you read the three chips around it (two Flash and a RAM or vice-versa)? Yes, that Splash Screen is most likely being shown by that board while it is waiting for the other one to talk to it. They'll be talking over some sort of shared bus. From most to least likely I'd say SPI, I2C, Serial, CAN, parallel-port, shared memory. Some designs use Ethernet, but the MFC5232 doesn't have that controller. So the port isn't working, or the software that drives that port isn't working due to something being wrong somewhere. Which could literally be anywhere. I'd normally say "find what ports (on the MCF5232) head out to the video card", but the MCF5232 is a BGA chip, so you can't follow pins with a meter or visually. Likewise trace back from the video card to see what connects to pins there. The "Video Card" seems to have a lot more on it that the product seems to need. It may be made by someone else. See if you can read all the writing on it (that text on the left edge) to see if you can find a manufacturer or part number. If it is sold by someone else, you might be able to get a data sheet for it. You need an oscilloscope (real or PC-based) to look at all the signals on the connector to see if you recognise bit rates, frequencies, protocols and so on. Don't get a very cheap one as they don't have the bandwidth. You need at least 50 MHz. I think I said before, see what's running (chip-selects from the CPU to memory chips). If the MCF5232 had a "double bus fault" it will be halted. It should be running something otherwise. If it did halt, it is likely there's a watchdog to try and reset it out of that. Tom Re: MCF5232 stuck at boot / "Please wait" screen on Melitta C35 controller An idea with the at-fault component...  🙂 I am attaching a photo of the ColdFire PCB for reference. I have closely inspected the board and checked all the SOIC/TSSOP components. Interestingly, there are no dedicated RS-232/CAN line driver transceivers (like MAX3232 or TJA1050) near the interface connectors. Instead, the board uses a direct-drive topology with passive protection: All those small 8-pin networks near the connectors and under the MCU are actually 10k Ohm resistor arrays (marked "103"). In the center of the board, right between the MCF5232 MCU and the interface routing, there is a 74LCX162 (16-bit low-voltage buffer/line driver) chip. This confirms the direct-drive architecture. The UART/bus signals from the MCF5232 go straight through the 74LCX162 buffer and the 10k resistor arrays into the ribbon cable to the display. Given the emergency high-load shutdown event, it's highly probable that the inductive kickback blew the 74LCX162 buffer chip, acting as a fuse and completely isolating the ColdFire UART lines from the display, while leaving the main power rails (5V, 3.3V, 1.6V) intact. Do you think a blown 74LCX162 buffer matches the "SL_SetRTS+ with no CTS reply" symptom we are seeing in the i.MX27 logs? Is there any simple way to check this version?  Thank you, Alex Re: MCF5232 stuck at boot / "Please wait" screen on Melitta C35 controller Hi Tom and the Community. I have some updates... Full WinCE Boot Logs Captured — Hardware Specs and Handshake Failure probably Identified... About the display unit identification. It is the Garz & Fricke NESO 5.7 display module: https://imrad.com.ua/userdata/modules/productFiles/1sASRkzV_GF_NESO_Series_Manual_V1.4.1.pdf?srsltid=AfmBOoo4vya1_YCFjSLfTK2z55_qKcgmDmTJcvGvXnBsYd0cuEHwuVjK I received my FTDI RS-232 adapter and successfully captured the complete boot logs from the Garz & Fricke NESO 5.7 display module via the UART debug port (X551, 115200 8N1). The logs provide a precise diagnostic picture, and we no longer need to peel off any "QA Passed" stickers, as the RedBoot and Windows CE kernel outputs have given us the exact hardware specification of the display SBC.   1. Display SBC Hardware Specification (from Logs) Main MPU (under the sticker): Freescale/NXP i.MX27 Multimedia Applications Processor (ARM926EJ-S Core), Silicon Revision PASS 2.1. RAM Chip: 128 MB MDDR (Mobile DDR SDRAM) operating on a 32-bit bus. NAND Flash Chip: 256 MB STMicroelectronics NAND02GR3B2. EEPROM: Atmel AT24C at address 0x00:0xA0. RTC: Philips PC8563 (Log shows: «RTC time is not valid! Please check your battery», which explains my need to replace the CR2032, though it doesn't cause the lockup).(BTW. First connection to the ColdFire port was not successful (no logs with any baud rates, conencted directly or via a null-modem)).Display RS 232 was responsive, it passed its hardware verification completely. Windows CE 6.0 boots up smoothly, mounts the flash partitions, and successfully executes the Autostart sequence. I tried to fix the problem via the firmware updating.  I attempted a simultaneous firmware update to v7.20 for both boards using a 2GB FAT16 USB stick (for the display) and an SD card (for the ColdFire access board), as recommended by a Melitta technician. The display successfully initiates the official installer: USB-MStick\Autostart\Updater.exe. Here is the exact point of failure from the PuTTY log: ==========================================================   autojob: execute: USB-MStick\Autostart\Updater.exe URM_IOControl: unknown IOCTL 0x010303ff GFV_IOControl: unknown IOCTL 0x010303ff SerOpen+ SL_SetRTS+ SL_ClearRts+ SL_SetRTS+ SL_ClearRts+ ========================================================== Right after this, the display throws a "Communication Error! Closing application..." window. As the log clearly shows, the Updater.exe opens the serial port successfully (SerOpen+) and repeatedly toggles the RTS (Request to Send) line (SL_SetRTS+ / SL_ClearRts+), trying to handshake with the ColdFire board. However, it receives absolutely no CTS (Clear to Send) response back from the ColdFire PCB. The transmission line is dead silent. (Note: Earlier in the log, I noticed Serial diag is enabled. Disabling UART1!. I verified that booting the machine completely headless without the debug laptop connected yields the exact same communication error).   Power Status on the ColdFire PCB I have thoroughly re-checked the power rails on the lower ColdFire MCF5232 board multiple times. All logic voltages are present, completely stable, and within spec: VDD (Core): 1.6V VDDIO (Periphery): 3.3V Analog Rail: 5V This rules out a dead buck regulator, a blown fuses, hard short circuit on the MCU power lines, etc. The ColdFire MCU is fully powered.   Preliminary Conclusion & Questions:     The i.MX27 display module is 100% healthy, but the ColdFire MCF5232 board is completely mute on the communication bus. Since the lockup occurred probably after an emergency power-off the machine, I suspect the high-load inductive kickback during the hard disconnect physically fried the RS-232/CAN transceiver IC on the ColdFire side, or the MCF5232 is stuck in a permanent Double Bus Fault / hardware freeze. Tom, knowing that we have an i.MX27 PASS 2.1 architecture attempting an RTS handshake with fully powered MCF5232 logic rails: Does this behavior point to a classic interface transceiver failure on the slave side? Are there any specific pins or status registers on the MCF5232 I can safely probe with a multi-meter to check if the core clock is running or if the chip is entirely halted?       3. Do I really need for a high frequency oscilloscope, or, it would be useless in this situation?   Best regards, Alex  Re: MCF5232 stuck at boot / "Please wait" screen on Melitta C35 controller CRITICAL UPDATE:  Baseboard Interface Analysis with Exact IC Markings I have captured macro photos of the communication interface section (attached). Crucial Topology Clarification: Please note that all of these interface components are NOT located on the ColdFire module itself. Instead, they are situated on the main motherboard/baseboard, positioned directly next to the ribbon cable connector that runs out to the display module. This means this section acted as the frontline physical shield between the inter-board cable and the plug-in ColdFire CPU module [I]. Here is the exact component mapping of this interface stage: High-Speed CAN Transceiver: It is a Texas Instruments SN65HVD230 (marked VP230 / 07M AFR2 in a SOIC-8 package). This 3.3V CAN transceiver connects the ColdFire module's CAN controller directly to the inter-board link . Line Protection: Assisted by the adjacent JY2501 SMD transorber/filter array and 330 Ohm matching resistors (marked 3300), all sitting right at the ribbon cable traces. Peripheral Mapping: Further down the baseboard, the system utilizes the Texas Instruments 74HC165 8-bit shift register to handle localised sensor signals. I think in can confirm that the inter-processor link is purely CAN-bus based. When the i.MX27 display installer loops on SerOpen+ and SL_SetRTS+, it is attempting to open a virtualised serial driver mapped over the hardware CAN controller. Given the emergency power-off, the inductive kickback may damage the TI SN65HVD230 (VP230) CAN transceiver at the connector entrance. When this chip fails internally, the differential lines go dead, resulting in the silent bus and the immediate "Communication Error" we observe in the Windows CE updater logs.   Do you have any advice on measuring passive diode drops on the CANH/CANL pins of this specific VP230 to ground, just to determine and localise a fault, please? It looks like the are lots of potential components in the row with the fault suspicion. A big question how to sort this "head ache" out    Alex     
記事全体を表示
S32K344/358/388 SWO Printf が動作しないのは S32DS3.6 です チームの皆さん、こんにちは。 この手順に従って、PEマルチリンクとS32DS3.6を使用してSWOのprintf関数をテストしました。S32K3の公式EVBを使用し、SWOピンが正常に伸びていることを確認しました。S32K311、312 SWOは正常に動作しますが、S32K344、358、388は印刷できません。ソフトウェアに何らかの隠れた設定があるはずです。テストして試していただけますか? S32DS3.6.1、3.6.2をテストしました。3.6.3、3.6.5.すべて同じように動作します。311/312は正常に動作しますが、344、358、388は動作しません。 優先度:高 S32DS Re: S32K344/358/388 SWO Printf not work is S32DS3.6 S32K344と312のSWOルーティングに関するRMを確認しました。344はより複雑です。ソフトウェアによって追加のスイッチをオンにする必要があるのかもしれません。 よろしくお願いいたします。 ジェレミー Re: S32K344/358/388 SWO Printf not work is S32DS3.6 こんにちは、ジェレミーさん。 あなたの問題を調べてみます。以前は既知のバグでしたが、現在は修正されていることを願っています。最新のPE Microプラグインを使用していますか? Re: S32K344/358/388 SWO Printf not work is S32DS3.6 こんにちは、ジリさん。 これは私のPEマイクロプラグインです
記事全体を表示
#S32K144 Cache write Test ##S32K144 support modifying cache values? Why is it that after I modify a value, reading the same address still returns the original value? Additionally, can the cache's parity bit be tested?thanks
記事全体を表示
RW61X 的 BSDL 文件 在哪里可以找到该部件的 BSDL 文件? Re: BSDL File for the RW61X 你好 希望你一切顺利。您使用的是我们 模块制造商 的任何特定模块 吗? 我建议直接与他们联系,以核实这一查询。 顺祝商祺! 里卡多
記事全体を表示
S32K314は、LINスレーブ通信割り込みとして設定するためにLPUARTを使用します。 @danielmartynekこんにちは。S32K314のLPUART1をLINスレーブとして使用して通信していたところ、最初はスレーブがホストから送信されたフレームヘッダーに正常に応答できたのですが、しばらくするとスレーブがホストから送信されたフレームヘッダーに応答できなくなってしまいました。さらに、データを受信する際、2回目の割り込み以降は、データ受信ブレークポイントに留まることができなくなりました。下図に示すように、コールバック関数を使用してスレーブマシンの応答と受信を処理します。デバッグ監視機能を使用した際に、初めて割り込みに入ったときに同期間隔セグメントの状態を検出し、同期間隔セグメントを処理する関数に入ることができることがわかりました。しかし、再び割り込みに入ると、(void)Lpuart_Lin_Ip_HwClearStatusFlag(Base, LPUART_LIN_IP_ALL_INT_FLAGS); ルーチンに入ります。関数が割り込みに再突入すると、LPUART_LIN_IP_FRAME_ERR と LPUART_LIN_IP_INT_FRAME_ERR_FLAG を検出し、エラー処理を実行します。この処理が完了した後、初めてコールバック関数が実行されるために渡されます。Lpuart_Lin_Ip_FrameIrqHandler 関数の LPUART_LIN_IP_NODE_STATE_RECV_SYNC と LPUART_LIN_IP_NODE_STATE_RECV_PID にそれぞれブレークポイントを設定しましたが、この時点まで実行されませんでした。一体どんな問題が原因なのだろうか。私にとって非常に重要なことなので、お返事をお待ちしております。 Re: The S32K314 uses the LPUART to configure as a LIN slave communication interrupt. こんにちは。ご要望に基づき、監視のためにLpuart_Lin_Ip_FrameErrorIrqHandlerの場所にブレークポイントを設定しました。実行中に、私のLINがこのコードと受信コールバック関数の間を行ったり来たりし、バッファがデータを受信できることがわかりました。Lpuart_Lin_Ip_FrameErrorIrqHandler 関数には、特定のエラー原因は検出されませんでした。現時点で私が確認できるのは、この関数 Lpuart_Lin_Ip_FrameErrorIrqHandler が実行中に頻繁に呼び出されているにもかかわらず、受信応答バッファは依然としてデータを受信できているということです。一定期間実行した後、この関数 Lpuart_Lin_Ip_FrameErrorIrqHandler と私のコールバック関数はループに入らなくなります。これはコミュニケーションの中断と解釈できます。問題の原因を突き止めるにはどうすればいいですか?何か帳簿を確認する必要はありますか?あ、ちなみに、最初の画像は、RTD2.0.0 バージョンでオーバーフローレジスタフラグをクリアしないというエラーについて知った後、ボックス内で手動でクリアしたことを示しています。私の理解は合っていますか?これは確かに、複数回実行した後にコールバック関数に入ることができなくなるという問題を解決しましたが、その後も通信が切断されてしまうという問題は依然として残っていました。私の説明は少し複雑かもしれませんが、あなたの助けを期待しています。大変感謝いたします。 Re: The S32K314 uses the LPUART to configure as a LIN slave communication interrupt. こんにちは、 @Aoyng さん。 RECV_SYNC のケースにブレークポイントを設定すると、LIN マスターは送信を継続し、スレーブを待たなくなります。その結果、PIDフィールドとフレームの残りの部分はCPUが停止している状態で送信されるため、ドライバによって正しく処理されません。 これが同期ずれを引き起こし、観測されている「偽の」割り込みにつながる可能性が高いです。 代わりに、エラー処理パス、例えば Lpuart_Lin_Ip_FrameErrorIrqHandler() にブレークポイントを設定することをお勧めします。これらのハンドラは、実際のプロトコルエラーまたはバスエラーによって起動されます。 最初のLPUARTエラーを特定できれば、問題をさらに詳しく分析できます。 BR、ダニエル Re: The S32K314 uses the LPUART to configure as a LIN slave communication interrupt. 私が上記で述べたコードに、隠れたバグがないか教えていただけますか?私のコードのロジックに問題がないか確認していただき、本当にありがとうございました。LIN通信の中断という状況に遭遇したことがないので、分析にご協力いただけると大変ありがたいです。ありがとう! Re: The S32K314 uses the LPUART to configure as a LIN slave communication interrupt. LPUART_LIN_IP_FRAME_ERR および LPUART_LIN_IP_INT_FRAME_ERR_FLAG のメッセージが LIN 通信をブロックしているようです。ハードウェア側から確認しましたか?構造的な観点から見たLIN通信ループはどうでしょうか?
記事全体を表示
S32K344/358/388 SWO Printf not work is S32DS3.6 Hi Team, I have tested the SWO printf function with pe multilink and S32DS3.6 following this step.  I have used the S32K3 official EVB and checked the SWO pin have extended out successfully. The S32K311,312 SWO can work fine, but S32K344,358,388 can't print out. There must be some hidden settings which needs to be done in the software, Could you help to test and try? I have tested S32DS3.6.1, 3.6.2, 3.6.3, 3.6.5. All behaves the same, 311/312 can work fine and 344,358,388 can't work. Priority: HIGH S32DS Re: S32K344/358/388 SWO Printf not work is S32DS3.6 I have checked the RM for the SWO routing for S32K344 and 312. 344 is more complex.  Maybe some extra switch need to be swited on by software. Best Regards, Jeremy Re: S32K344/358/388 SWO Printf not work is S32DS3.6 Hi Jeremy,  I'll look at your issue. In past it was known bug, but hope that it is fixed now. Are you using latest PE Micro plugin?  Re: S32K344/358/388 SWO Printf not work is S32DS3.6 Hi jiri, This is my PE micro plugin
記事全体を表示