Multi Source Translation Content

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

Multi Source Translation Content

ディスカッション

ソート順:
The Flash Programmer feature in S32DS is not available. Dear Team, How should I configure the "Flash Programmer" in S32DS to use it? My S32DS can use the Debug function to flash the program to the MCU, but the "Flash Programmer" button in the UI is grayed out and cannot be used. How can I configure it to be functional? S32 Design Studio for S32 Platform Version: 3.6.0 Build id: 241128 S32 SDK for S32K1 Re: The Flash Programmer feature in S32DS is not available. Hi @johns_chuang, PEMicro is responsible for their scripts and SW for programming/debugging. Other than the S32DS IDE debug scripts, I am not familiar with other alternatives. Debuggers such as J-Link (SEGGER) provides the J-FLASH software which is free of charge. Best regards, Julián Re: The Flash Programmer feature in S32DS is not available. Hi Julián, We are using the Universal Multilink recommended on the S32K3 website, but when I inquired with PEmicro, they only offer the paid PROGACMP. Do you know of any free programming software that can be used with Universal Multilink? Thank you for your help. Best, Johns Re: The Flash Programmer feature in S32DS is not available. Hi @johns_chuang, If you are using an external debugger, you can use a flashing script instead of the Debug. For example, Lauterbach debugger comes with flashing script when installed: Lauterbach SW Flashing script(.Cmm) for the NXP-S32K322 Micro - NXP Community. Best regards, Julián Re: The Flash Programmer feature in S32DS is not available. Hi Julián, May I ask if there are any other methods or user interfaces available to program the S32K3xx, aside from just using Debug? Thank you for your assistance. Best, Johns Re: The Flash Programmer feature in S32DS is not available. Hi @johns_chuang, S32 Flash Tool does not completely support S32K3 family yet. You can find the supported devices under C:\NXP\S32DS.3.6.0\S32DS\tools\S32FlashTool\doc\S32_Flash_Tool_Release_Notes.pdf 1.2. Supported devices Flash Tool provides support for the following NXP devices: • S32R41 • S32R45 • S32G2xx • S32G3xx • S32Z2/E2 Best regards, Julián
記事全体を表示
How to program FS26 with KITFS26SKTEVM evaluation board Hi NXP Team, I was trying to program a MFS2630AMDA0AD using the KITFS26SKTEVM evaluation board. I've followed all the steps of the NXP GUI for FS26 Automotive PMIC Family user manual at chapter 7.4 "Device programming" and chapter 8.5" Programming the device with an OTP configuration"... When i click program the GUI pops me up this message:   I've noticed that the user manual in chaper 7.4 mentions the Jumper J13 that is not present on my evaluation board. Where do i have to focus on in order being able to program my device? Thanks a lot, Simon Re: How to program FS26 with KITFS26SKTEVM evaluation board Hello Please see following steps: It is recommended to set your power supply to an initial value of 12V and current limited to 0.5A. Make sure SW1 is OFF (middle position) Plug the USB cable into the “USB KL25Z” port Switch SW7 ON (DBG = 8V) Plug the power supply on J21 and switch SW1 on the left side You’re now in OTP Mode. LEDs status should be the same than the picture Open the graphic user interface Click on FS26-C0 and “OK” button Click on “Start” button to start the communication Verify FS_STATES is “4-Debug entry” Click on PROG tab on the left panel Click on « Apply test mode» button. Click on « Read » button to know the fuse box status Click on « Browse » button and the select the OTP script At this step, the product is ready to be programmed Hope this helps.
記事全体を表示
GHS Build Error Console&Problems Page I'm using the GHS compilation project and reported a lot of errors, but the console and problems pages do not show the specific cause of the error, unlike GCC compilation, which prompts the cause of the error. Where can I configure it? Re: GHS Build Error Console&Problems Page Hi,  from the output it looks that linker is not able find  NvM_Crc32CalculateCallout Ea_InitDoneNotification symbols. Please try to find out where are these symbols (variables or functions) defined and if are visible for  NvM_JobProc.c   and Ea.c Re: GHS Build Error Console&Problems Page S32DS version is 3.5,GHS is 202214:   full console: Re: GHS Build Error Console&Problems Page Hi,  which version of S32DS and GHS plugin are you using? Can you please share full output from build console? 
記事全体を表示
RT1170 Watchdog: WDOG1 Usage and WDOG3/4 Clock Sources Thank you for response about Solved: Re: Dual Core: RT1170 Watchdog Setup - NXP Community. However, I have a few more questions. Can WDOG1 internally reset the CPU if MCU pins WDOG_B and WDOG_RESET_B_DEB (aka WDOG_RST_B_DEB), are not connected to anything? If yes, what steps are required to achieve this? Next for WDOG3 and WDOG4, there appears to be up four clock source options available, but the chip-specific information does not appear to give a clear indication about what those clock sources are and what the order is for each clock source. Am I looking at the right table? Where in IMXRT1170RM can I find what the 4 clock sources are for WDOG3 and WDOG4, according to register CS[CLK]? Re: RT1170 Watchdog: WDOG1 Usage and WDOG3/4 Clock Sources Hi @lsrbigfoot , Thanks for your updated information. I check your question  with internal side, I will show you.   9:8: 2’b00 – bus clock for wdog3 and lpsr bus clock for wdog4 2’b01 – LPO clock (sourced from 32k clock) 2’b10 – INTCLK (sourced from 32k clock) 2’b11 – ERCLK (1m clock) As for Wdog3 demo , I suggest you can refer to "evkbmimxrt1170_rtwdog_cm7". Wish it helps you. If you still have question about it, please kindly let me know. Wish you a nice day! Best Regards MayLiu Re: RT1170 Watchdog: WDOG1 Usage and WDOG3/4 Clock Sources Fair enough, I see the list of WDOG3/4 sources in MIMXRT1170RM chapter 72.1.7. But how can I exactly identify each clock source from register bits CS[CLK]? I couldn't tell from the clock source definitions in fsl_rtwdog.h (see rtwdog_clock_source_t). Please advise. Re: RT1170 Watchdog: WDOG1 Usage and WDOG3/4 Clock Sources Hi @lsrbigfoot , Thank you for your interest in the NXP MIMXRT product, I would  like to provide service for you. Question1: Can WDOG1 internally reset the CPU if MCU pins WDOG_B and WDOG_RESET_B_DEB (aka WDOG_RST_B_DEB), are not connected to anything? If yes, what steps are required to achieve this? Answer: Yes, you can. I suggest you can refer to NXP SDK demo "evkbmimxrt1170_wdog01_cm7". Question2: WDOG3 and WDOG4  clock source Answer: Please check MIMXRT1170RM chapter 72.1.7 Watchdog Timer (WDOG3,4) Wish it helps you. If you still have question about it, please kindly let me know. Wish you a nice day! Best Regards MayLiu
記事全体を表示
MCXN236 eFuse/OTP 信息? 哪个有关 MCXN236 的文档包含有关 OTP 位的大小、使用和寻址的信息? 谢谢! 安全(Edgelock | 安全启动 | OTP) 回复:MCXN236 eFuse/OTP 信息? 谢谢,Celeste!有关访问 MCXN236 安全手册的非常有用的信息。处理保密协议就像玩游戏一样 斜坡游戏 - 不断克服障碍!了解这一点的关键在于通过营销。也许对非保密协议人员来说,总结一下会有帮助吗?感谢指导! 回复:MCXN236 eFuse/OTP 信息? 很高兴知道,谢谢你,马雷克。 回复:MCXN236 eFuse/OTP 信息? 谢谢,塞莱斯特。
記事全体を表示
MCXN236 eFuse / OTP情報? OTP ビットのサイズ、使用、およびアドレス指定に関する情報が記載されているMCXN236のドキュメントはどれですか? ありがとうございます! セキュリティ(EdgeLock | セキュアブート | OTP) Re:MCXN236 eFuse / OTP情報? ありがとう、セレステ!MCXN236セキュリティマニュアルへのアクセスに関する非常に役立つ情報です。NDAをナビゲートすることは、常に障害を克服する スロープゲーム をプレイしているように感じることができます!それがマーケティングを通じて行われることを知ることが鍵となります。おそらく、NDA以外の人々のための要約は有益かもしれませんか?方向性に感謝します! Re:MCXN236 eFuse / OTP情報? 知ってよかった、ありがとうマレック。 Re:MCXN236 eFuse / OTP情報? ありがとう、セレステ。
記事全体を表示
SS32K344 LPUART Timeout counter Hello all, I am trying to implement the Timeout counter from the LPUART module of an S32K344 microcontroller, but I have encountered some issues. I want to use them to monitor idle bits elapsed from the last received message so, my first question is, do they have the ability of generating a hardware interrupt? Looking at the table of LPUART registers as per the S32K3XX Reference Manual (section 77.6.1), the registers that I should modify to configure the timeout counters are TOCR, TOSR and TIMEOUTN. The first thing that I noticed is that these registers are not in the LPUART register layout typedef in the SDK (in the S32K344_LPUART.h)    Therefore, I have tried to access these registers manually, taking the IP_LPUART_0_BASE address from the SDK and adding the corresponding offset (0x58 in this case). When trying to read/write this region, I get a Hard Fault. I have tried to read other LPUART registers from the ones in the image above with this method to ensure that the method itself is not the problem, and it worked just fine. Right now I am supposing that this memory region is somehow protected, but I could not find many info on this in the Reference Manual, so my question is: Is this the case? Is this memory region protected? and, if so, is there any way that I can access it to configure the timeout counters? Thank you in advance!   Re: SS32K344 LPUART Timeout counter Hi@xianalbela I have double checked it , this register is not support in S32K344,S32k324,S32K314 and S32K312. For other S32K3's mcu, it does support. Re: SS32K344 LPUART Timeout counter Hello @Senlent, yes, I am aware that this register is not defined in the "S32K344_LPUART.h" file, but I wanted to know if there is any other way to use the LPUART Timeout counter feature since it is described in the reference manual. Maybe there is some mode that needs to be activated before trying to access those registers. Is it possible to use this feature in any way? Best regards. Re: SS32K344 LPUART Timeout counter Hi@xianalbela I checked your code and there is nothing wrong with your syntax. However, the register address you used is not defined. The registers that users can use and access are only in "S32K344_LPUART.h". Re: SS32K344 LPUART Timeout counter Hello @Senlent , sure, I am attaching the complete project. I am using the S32DS for ARM Version 3.4, and the RTS version that I am using is the 2.0.0 for the S32K3xx. Re: SS32K344 LPUART Timeout counter Hi@xianalbela You also need to tell me the RTD version you're using. It would be best if you can provide me with the complete project you tested Re: SS32K344 LPUART Timeout counter Sorry @Senlent , I am re-attaching the file.  Re: SS32K344 LPUART Timeout counter Hi@xianalbela Could you please double check it, cause i didn't see any attachments. Re: SS32K344 LPUART Timeout counter Hello @Senlent, I am using the LpuartFlexio_Uart_Ip_Example_S32K344 from the NXP repository. The only changes that I have made are in the main.c file (that I am attaching to this reply) to implement the timeout counter (changing the LPUART instance from 3 to 0) and to remove the Flexio UART instance. Thank you! Re: SS32K344 LPUART Timeout counter Hi@xianalbela Please provided your demo code so that i can reproduce your problem, it will be more easy for me to help you found the root cause.
記事全体を表示
GHSビルドエラーコンソール&問題点ページ GHSコンパイルプロジェクトを使用しており、多くのエラーを報告しましたが、エラーの原因をプロンプトするGCCコンパイルとは異なり、コンソールと問題のページにはエラーの具体的な原因が表示されません。どこで設定できますか?
記事全体を表示
S32K312发送UART数据失败 你好,我想通过uart+dma发送数据,程序在RTD 2.0.3上运行良好。但是当我将其传输到 RTD 4.0.0 时,uart 只能成功接收数据,它在传输端始终发送“00”。我上传的测试程序接收数据并发送出去,可以接收0~16这样固定的数字,但是发送的是16个零。请帮我检查一下程序,谢谢。
記事全体を表示
QN9080 BLE connection problem Hello, I did data transmission through QN908xcdk using SDK example: "qn908xcdk_wireless_examples_bluetooth_private_profile_server_bm". It works fine, and USB dongle get data well through connectivity QTool. Now I want to do this work in my own PCB board on which MCU(QN9080) is mounted. I succeed BLE pairing between my own PCB board and USB dongle. So, I try to get a data-stream through QPPC(private profile client) in connectivity QTool. Only a few first seconds, it gets a data well. However, it suddenly stops while receiving data and does not proceed afterwards. (The same job is done well through QN908xcdk.) My QTool setting, PCB design is attached. And this question is a continuation of my question: QN9080cdk Bluetooth example pin setting, so please refer to it. Is this a pairing issue because I use the other antenna('2450AT18A100') with DK? Is it possible to solve this problem by changing the code in IDE SDK or setup in QTool? Or is there any other good SDKs (not QPP) to send data wirelessly through my PCB board MCU to USB dongle?  Thanks, Product: QN9080|SIP Re: QN9080 BLE connection problem Hello, The QN9090/30(T) does have support for the following features: NFC support, this is mark as optional on the product main page because just some of the QN9090/30 product have this QN9030THN, and QN9090THN. BLE 5.0 with 2Mbps and up to 8 simultaneous connections. Please let me know if there is anything else where I can help you. Re: QN9080 BLE connection problem Hello, Thank you for sharing your ApplMain.c, but I still have some question related on how you implemented the BleAPP_Start(). This function BleAPP_Start() is used in the private_profile_server.c and defined on the  private_profile_server.h, I don’t know where did you define the BleAPP_Start, I would recommend that instead of using the BleAPP_Start(), in the ApplMain, create another task and remove the Handel Keys function to start the advertising process as it is on the private_profile_server.c . This could be causing troubles and malfunction on the project logic. Re: QN9080 BLE connection problem Thank you for your continuous response. First of all, I apologize for not delivering accurate information due to my experimental mistake. Here is a new one.  In ApplMain.c, when I insert BleApp_Start() in main_task(), same problem happens even if I test with DK board.  The reason I insert BleApp_Start() is because there is no Button1 in my PCB board. So, to start advertising immediately after running, I insert it. With BleApp_Start(), there are some cases where the LED keeps flickering(flashing) even though it is connected, or the LED is red solid light even though it is disconnected. With BleApp_Start(), the same thing(data transmission suddenly stops) always happens in DK board. I think I need to do something different (not just insert BleApp_Start()) to start private server module immediately after debug running. Would you please help? Best regards, Re: QN9080 BLE connection problem Hello, Thank you for confirming that the data transmission also present troubles and that this is not just focused on the USB Dongle side. Therefore I think that this community post explain in a more detailed way how to implement a Custom Profile this is oriented for QN9090, but you can use this as a guidance for the QN9080. I also agree that the problem seems not to be related with the hardware issues. Please let me know if this alternative is useful. Re: QN9080 BLE connection problem Thank you for the continued help. This is an important problem that the success of my project depends on, so I really appreciate your continuing help. As you mentioned, I tried to receive the data, not from the USB dongle but from mobile phone. DK -> USB dongle or mobile phone : paring well, data transmission well my PCB board -> USB dongle or mobile phone: pairing well, but data transmission stops suddenly. Therefore, I think this is not a problem from USB dongle. I don't think there's any problem with the hardware, as pairing seems to work out well immediately. Is there any other reason in the software why data transmission suddenly stops? If it's because of unstable connection due to antenna, is there a way to keep sending data even if there's some kind of little delay? Also, I just want to send the byte stream data from QN9080 on my PCB board to PC wirelessly(through Bluetooth) in any way, so I also really appreciate that if you recommend a new method other than private profile server (QPPS). Best regards, Re: QN9080 BLE connection problem Hello, Thank you in advance for the information provided I really appreciated. Can you please help me with another test case: Please test the example on your custom board, but instead of connecting this to the USB Dongle can you please test this directly with your mobile phone. This test case would be really helpful as we will notice if this problem can really on something related to the Dongle. Re: QN9080 BLE connection problem Thank you for your reply. 1. When the device (QN9080) suddenly stops sending data do you receive a disconnect event? If so can you please share with me and image. On connectivity QTool, the devices(master and slave) are still connected when data transmission stops. Only the data transmission is suddenly stopped without any error messages. 2. Can you please also help me by debugging this example, to see in what part the device could be stop sending messages. What you mean "this example"? There is no particular attachment to your reply. 3. Also If it is possible can you please help me with some sniffer captures just to have a better view of the packets. I'm sorry for my bad English, but I don't understand this comments... What means "sniffer capture"? What means "packets"? I also upload the attachments: SDK file which I debugged, and the videos of my procedure. It might help your understanding. (The reason I insert BleApp_Start() is there is no Button1 on my PCB board. And my XTAL is 16MHz) Best regards, Re: QN9080 BLE connection problem Hello, Thank you for providing the schematic, I already check this out and verified this with the Hardware Design guide, and everything seems to be fine. Can you please help me with the following information as I think this could be a software implementation trouble: When the device (QN9080) suddenly stops sending data do you receive a disconnect event? If so can you please share with me and image. Can you please also help me by debugging this example, to see in what part the device could be stop sending messages. Also If it is possible can you please help me with some sniffer captures just to have a better view of the packets. Re: QN9080 BLE connection problem Thank you for your reply. I upload the PCB schematic of mine, but I wonder you cannot open it because there are many different kinds of PCB tool programs. So, I also send you a screen picture of my PCB MCU parts, too. There is one more difference with DK and my PCB. DK use 32MHz XTAL, but I use 16MHz XTAL. So I modify... clock_config.h -> BOARD_XTAL0_CLK_HZ -> 32000000U ==> 16000000U  clock_config.c -> k32M_to_XTAL_CLK ==> k16M_to_XTAL_CLK Could there be a problem in this part? If there is no error in hardware, why this kind of problem happen? Can I handle it in IDE MCUxpresso software? Best regards, Re: QN9080 BLE connection problem Hello, Thank you for contacting NXP support. I appreciate the information proportionated, in this case in specific there should not be a problem when using the 2450AT18A100 as in the BLE Antenna Design Guide is mentioned that it is supported on the QN9080 device. But I would recommend in this case, as it is also mentioned on the design guide to consult directly with the manufacturer in case there could be any detail that is not mentioned in the manual. I just review you pcb settings and everything seems to be fine, if it is possible can you please share with me your schematics.
記事全体を表示
S32K314-RAM size issue Hello I saw in Table 5.S32K3xx chip's feature comparison in the S323XXRM manual that the RAM of the S32K314 has 512KB, which contains 96KB of TCM. But in Table 90.Memory configuration, S32K314 has 160KB SRAM0 and 160KB SRAM1, as well as 32kB ITCM and 64KB DTCM. All the above mentioned RAMs total only 416KB, which is 96KB short of 512KB. Where is this 96KB? BestRegards Simon Re: S32K314-RAM size issue Hello, yes, that is the case. Best regards, Peter Re: S32K314-RAM size issue Hello, That means other Masters including Core M7_0 can also access TCM1 through the backdoor, right? BestRegards, Simon Re: S32K314-RAM size issue Hello, Yes there is only one core. But you can use whole TCM. You will just access it via backdoor. You can see the address in the memory map for backdoor access are different as I have posted earlier. You will use backdoor for any other master except core which is tight to memory. For example also for DMA access. Best regards, Peter Re: S32K314-RAM size issue Hello Peter, But according to the record in this table, S32K314 has only one core, how can I use the TCM of other cores? BestRegards, Simon Re: S32K314-RAM size issue Hello, That is the TCM from other core. You can use it even if core is not present via backdoor access. Best regards, Peter
記事全体を表示
fls ドライバーでの S32K dflash 書き込みの問題 こんにちはサポート、 S32K flsドライバーに問題があります。私はetas料金とnvmコードを使用してeepromをシミュレートしますが、dflashドライバーはRTDのflsです。プログラムの初期化時に、Dflashメモリに同じセクターヘッダーが4つあることがわかります。通常、シミュレートされたeepromが初期を持つ場合、セクターヘッダーは1つだけです。 コードをデバッグしたところ、関数Fls_DoJobWriteが実行されたときにセクターヘッダーデータがデータフラッシュに書き込まれないため、ジョブの比較時にセクターヘッダーを読み取ることができず、configで書き換え時間を制限するためにセクターヘッダーが4回再書き込みされることがわかりました。 デバッグ ツールを使用してデータ フラッシュのセクタ ヘッダーは、CPU をリセットするまで確認できます。 問題を解決するのを手伝ってもらえますか? Re:flsドライバーのS32K dflash書き込みの問題 こんにちはダニエル、 ご回答ありがとうございます。 私はプロジェクトを共有することができないので申し訳ありませんが、私は詳細を説明することができます。 RTDバージョンはS32K3_RTD_3_0_0_P01_D2303_ASR_REL_4_7_REV_0000_20230331 MCUの品番はS32K312HMS あなたは正しいです、それはキャッシュによって引き起こされます。キャッシュを無効にすると。どんなものも良いものです。しかし、問題を解決するためにすべてのキャッシュを無効にしたくありません、なぜなら、MCUの性能が大幅に低下したと感じることができるからです。S32DSプラットフォーム上のFlsの設定を使用したいのですが、設定が何であるかわかりません。「Cache in config」オプションの同期コマンドがあれば教えてください。 問題の詳細: 1. NVM、FEE、FLSの最初の初期フェーズに問題が到着したため、dflashが消去されるため、FEEはセクターヘッダーを初期化する必要があります。 2. 初期コードにFEE mainfunctionとFLS mainfunctionを追加します。FEE 状態が MEMIF_IDLE するまで常に実行されます。 3. FLSのmainfunctionの後に遅延を追加するために試みられましたが、遅延時間がどれだけ長く設定されていても、時々良くなっていますが、セクターヘッダーの書き込みごとに大丈夫ではありません。
記事全体を表示
S32K dflash 与 FLS 驱动程序的写入问题 你好,支持, 我对 S32K fls 驱动程序有疑问。我使用etas费用和nvm代码来模拟eeprom,dflash驱动程序是来自RTD的fls。我看到程序初始时 Dflash 内存中有 4 个相同的扇区头。通常,模拟 eeprom 初始时只有一个扇区头。 我调试代码发现,在执行Fls_DoJobWrite函数时,扇区头数据并没有写入数据flash,所以在比较作业时无法读取扇区头,导致扇区头重写了4次,因为我用配置限制了重写的次数。 直到我重置 CPU 之前,我都可以使用调试工具查看数据闪存中的扇区头。 你能帮我解决这个问题吗? 回复:S32K dflash 与 FLS 驱动程序的写入问题 你好,丹尼尔, 谢谢您的回复。 很抱歉我无法分享这个项目,但我可以描述细节。 RTD版本是S32K3_RTD_3_0_0_P01_D2303_ASR_REL_4_7_REV_0000_20230331 MCU部件号为S32K312HMS 你说的对,这是Cache导致的。当我禁用缓存时。一切都很好。但我不想禁用所有缓存来解决这个问题,因为我能感觉到 MCU 的性能明显下降。我想在 S32DS 平台上使用一些 Fls 配置,但我不知道配置是什么。请告诉我配置选项中是否有用于缓存的同步命令。 该问题的一些细节: 1.问题出现在NVM、FEE、FLS的第一个初始阶段,因为dflash被擦除,FEE要初始化扇区头。 2. 我在初始代码中添加了FEE主函数和FLS主函数。它们一直运行直到FEE状态变为MEMIF_IDLE。 3. 我一直尝试在 FLS 主函数之后添加一些延迟,无论延迟时间设置多长,情况有时会变得更好,但每次写入扇区头时都不对。
記事全体を表示
S32K dflash write issue with fls driver Hello support, I have a problem for S32K fls driver. I use the etas fee and nvm codes to the simulate eeprom, the dflash driver is fls from RTD. I see there are 4 same sector headers in the Dflash memory when the program initial.Normally ,only one sector header when the simulate eeprom has initial.  I debug the code and found that the sector header datas don't be write to data flash when the function Fls_DoJobWrite has been execute , so the sector header can not be read when the job compared, causing the sector header re-write 4 times due to I limit the re-write times with config. I can see the sector header in the data flash using the debug tool until I reset the CPU. Could you help me to fix the issue? Re: S32K dflash write issue with fls driver it does need to enable CACHE support in MCL config. thank you. Re: S32K dflash write issue with fls driver @danielmartynek  Hello Daniel, thank you, this is useful for enable sync cache. but I have a problem when the code generated.    I only enable the Fls Synchronize Cache option and generate code, only a code changed as shown below in the C40_Ip_Cfg.h /* Enable the use of cache invalidate */ #define C40_IP_SYNCRONIZE_CACHE             (STD_ON)   I got a build issue for CACHE_IP_CORE  CACHE_IP_DATA at below code.   #if (STD_ON == C40_IP_SYNCRONIZE_CACHE) static inline void C40_Ip_SynchronizeCache(uint32 Address,                                            uint32 Length                                           ) {     /* Invalidate cache */     (void)Cache_Ip_InvalidateByAddr(CACHE_IP_CORE, CACHE_IP_DATA, Address, Length); } #endif   then , I enable the cache support in Cache_Ip config, but without any code change when I generate code. I don't know why.       finally , I manual change the CACHE_IP_IS_AVAILABLE to STD_ON in Cache_Ip_Cfg_Defines.h. and build succeed. the Issue have been fixed. /*-----------------------------------------------/ /  CACHE IP SUPPORT                              / /-----------------------------------------------*/ #define CACHE_IP_IS_AVAILABLE                        STD_ON    What is the problem for the CACHE_IP_IS_AVAILABLE config?  Re: S32K dflash write issue with fls driver Hi @Shaun666, Take a look at the RTD_MEM_43_INFLS_UM.pdf ...\S32DS\software\PlatformSDK_S32K3\RTD\Mem_43_InFls_TS_T40D34M30I0R0\doc\ Section 4.5 Parameter MemSynchronizeCache Regards, Daniel Re: S32K dflash write issue with fls driver Hi Daniel, thank you for the response. I am sorry for I can not share the project.but I can describe detail . the RTD version is S32K3_RTD_3_0_0_P01_D2303_ASR_REL_4_7_REV_0000_20230331 the MCU part number is S32K312HMS You are right, it is caused by the Cache. when I disable the Cache. Every thing is good. but I don't want to disable all Cache to fix the issue, Because I can feel that the preformance of MCU significant decreased. I would like using some config for Fls on S32DS platform, but I don't know what is the config. Please tell me if there is a synchronization command for Cache in config option. some detail for the issue: 1. the issue arrived at the NVM ,FEE, FLS first initial phase, because the dflash is erased , the FEE shall initial the sector header. 2. I add FEE mainfunction and FLS mainfunction to initial code. they always run until the FEE state to MEMIF_IDLE. 3. I have been try out to added some delay after FLS mainfunction ,No matter how long the delay time is set, It's getting better sometimes, but it's not okay every the sector header write. Re: S32K dflash write issue with fls driver Hi Daniel, thank you for the response. I am sorry for I can not share the project.but I can describe detail . the RTD version is S32K3_RTD_3_0_0_P01_D2303_ASR_REL_4_7_REV_0000_20230331 the MCU part number is S32K312HMS You are right, it is caused by the Cache. when I disable the Cache. Every thing is good. but I don't want to disable all Cache to fix the issue, Because I can feel that the preformance of MCU significant decreased. I would like using some config for Fls  on S32DS platform, but I don't know what is the config. Please tell me if there is a synchronization command for Cache in config option. some detail for the issue: 1. the issue arrived at the NVM ,FEE, FLS first initial phase, because the dflash is erased , the FEE shall initial the sector header. 2. I add FEE mainfunction and FLS mainfunction to initial code. they always run until the FEE state to MEMIF_IDLE. 3. I have been try out to added some delay after FLS mainfunction ,No matter how long the delay time is set, It's getting better sometimes, but it's not okay every the sector header write. Re: S32K dflash write issue with fls driver Hi @Shaun666, Can you specify the MCU part number, RTD version? Can you share the project? If you are able to read the data in the flash after reset only, this could be caused by the Cache. BR, Daniel
記事全体を表示
在GUI GUIDER 1.7.0上经常出现collect2.exe': CreateProcess: No such file or directory 1、编译软件为V1.7.0 2、JAVA版本为:22.0.1 2024-04-16 3、增加imgbtn的新图片时,会出现如下问题 问题信息如下: "Compiling E:/UI_test/p1_prj-psh/p1_prj/lvgl-simulator/../custom/custom.c" "Linking simulator.exe" gcc: fatal error: cannot execute 'd:/nxp/gui-guider-1.7.0-ga/environment/mingw/bin/../libexec/gcc/mingw32/9.2.0/collect2.exe': CreateProcess: No such file or directory compilation terminated. mingw32-make: *** [default] Error 1 @Alex_Wang  Re: 在GUI GUIDER 1.7.0上经常出现collect2.exe': CreateProcess: No such file or directory Hi Alex,     非常感谢你的回复,此问题已解决! Best regards, Elisen Re: 在GUI GUIDER 1.7.0上经常出现collect2.exe': CreateProcess: No such file or directory Hi, @ElisenChen  编译报错问题原因:gcc命令行长度有32K的限制,您应用最后链接的时候,命令长度超过了限制。 解决办法:把.o先编译成静态库,然后使用静态库生成最后的可执行文件。下面对 \lvgl-simulator\Makefile的修改可以解决这个问题。 将Makefile中default替换以下内容: default: $(OBJS) $(GEN_OBJS)   @echo "Linking $(SIMULATOR_EXE)"   @ar -csr libgenerated.a $(GEN_OBJS)   @$(CC) -o $(BIN_DIR)$(SIMULATOR_EXE) $(OBJS) -L. -lgenerated $(LDFLAGS) 非常感谢您提到的问题,我们会在GUI Guider 1.8.0修复这个问题。 Best regards, Alex Re: 在GUI GUIDER 1.7.0上经常出现collect2.exe': CreateProcess: No such file or directory Hi Alex,      感谢,期待你与团队的回复 Re: 在GUI GUIDER 1.7.0上经常出现collect2.exe': CreateProcess: No such file or directory Hi, @ElisenChen  我对您的工程进行了检查,工程看起来没有什么问题,我已交给GUI Guider开发团队进行分析,正在积极查找问题原因。当我删掉了您指的所有控件,复制控件(不要新建)使用是没有问题的,您可以进行尝试。可参考附件中的视频,如有任何更新,我会第一时间回复您。 Best regards, Alex (view in My Videos) Re: 在GUI GUIDER 1.7.0上经常出现collect2.exe': CreateProcess: No such file or directory Hi everyone,     如下问题是否有其他解法或是建议吗?
記事全体を表示
S32K312 send uart data fail Hello, I want to send data via uart + dma, and the program works fine on RTD 2.0.3. But when I transport it to RTD 4.0.0, the uart can only recieve data successfully, it sent "00" always at the trasmitting side. The test program I uploaded recieves data and transmit them out, it can recieve right fix data like 0~16, but transmit 16 zeros. please help me to check the program, thanks. Re: S32K312 send uart data fail If it works properly after delete D_CACHE_ENABLE in Defined symbols, then it should be related to data cache. Try putting the buffer in a non cacheable memory section: #define UART_START_SEC_VAR_CLEARED_UNSPECIFIED_NO_CACHEABLE #include "Uart_MemMap.h" __attribute__(( aligned(32) )) uint8 rxdata[256u]; #define UART_STOP_SEC_VAR_CLEARED_UNSPECIFIED_NO_CACHEABLE #include "Uart_MemMap.h" Are UartSend and UartReceive your own APIs? Do S32K3 RTD APIs such as Uart_AsyncSend and Uart_AsyncReceive work properly? Re: S32K312 send uart data fail Hi, thank you for reply, I tried to disable the whole dcache before uart test, but the problem hadn't been solved. /*start uart dma rx*/ UartRxDmaStart(6U, UART_CONFIG.RxDMAChannel);   Mcl_CacheDisable(MCL_CACHE_LMEM,MCL_CACHE_ALL_BUS); Mcl_CacheDisable(MCL_CACHE_CORE,MCL_CACHE_ALL_BUS);       /**************************************************/     /* Main example loop                              */     /**************************************************/     while(1)     {     //UartSend(6u,UART_CONFIG.TxDMAChannel,rxdata, 10);     UartReceive(6u,UART_CONFIG.RxDMAChannel,rxdata,&rxlen,100U); if(rxlen > 0) {   UartSend(6u,UART_CONFIG.TxDMAChannel,rxdata, rxlen);     }       } Re: S32K312 send uart data fail Hi  Please place the buffer in a non cacheable memory section. In the DMA transfer mode, DMA transfers may have cache coherency problems. To avoid possible coherency issues when D-CACHE is enabled, the user shall ensure that the buffers used as TCD source and destination are allocated in the NON-CACHEABLE area (by means of Uart_Memmap). Otherwise, the Uart driver has some dependencies. User must to put all variables, which were used for transmitter and receiver, in the NON CACHEABLE memory section in the RAM zone by the definition UART_START_SEC_VAR_ _ _NO_CACHEABLE and UART_STOP_SEC_VAR_ _ _NO_CACHEABLE. Best Regards, Robin ------------------------------------------------------------------------------- Note: - If this post answers your question, please click the "Mark Correct" button. Thank you! - We are following threads for 7 weeks after the last post, later replies are ignored Please open a new thread and refer to the closed one, if you have a related question at a later point in time. -------------------------------------------------------------------------------
記事全体を表示
S32K312 UART データの送信に失敗する こんにちは、uart + dma経由でデータを送信したいのですが、プログラムはRTD2.0.3で正常に動作します。しかし、RTD 4.0.0に転送すると、uartはデータを正常に受信することしかできず、常に転送側で「00」を送信しました。アップロードしたテストプログラムは、データを受信して送信し、0~16のような正しい修正データを受け取ることができますが、16個のゼロを送信できます。プログラムを確認するのを手伝ってください、ありがとう。
記事全体を表示
Matter-SDK Supported Features Hello all, I am investigating the possibility of developing Matter-compliant products using RW612 and have the following questions. - Does the Matter SDK support HTTP, HTTPS and BDX protocols for OTA firmware update? - Does the Matter SDK support the BDX protocol for sending Diagnostic Logs? Best regards, akiike_h Re: Matter-SDK Supported Features Thank you for your quick reply. I appreciate it. Best regards, akiike_h Re: Matter-SDK Supported Features Hello. Both OTA firmware update and Diagnostic Logs support BDX protocol. For OTA firmware update, this is by default in every app with firmware update support, on every platform, including RW612. There is no HTTP/ HTTPS support in Matter. For the Diagnostic Logs, please refer to the K32W1 implementation available here and here BR, Mihai
記事全体を表示
CAN bus accidentally swapped TX and RX is it possible to solve (in firmware) without board rework Dear Team, I am interfacing an isolated can transceiver with my microcontroller. My schematic is given below. My question can I solve this issue without any rework in the board? May I know firmware persons can help us by doing some changes in their code and making this interface up. Is it possible to swap MCU RX and TX in firmware Regards Ultra S32K148EVB # Re: CAN bus accidentally swapped TX and RX is it possible to solve (in firmware) without board rewor Hi @ultra12 It is not possible to swap TX and RX through SW. The only workaround would be to rework the board. Best regards, Julián
記事全体を表示
Getting started with FreeRTOS in S32K DS 3.5 Hi All,  New to the S32K DS and am trying to get some code working with FreeRTOS for the K344. I am working off SW32K3_FreeRTOS_10.6.0_4.0.0_CD_D2312_ReleaseNotes. From these: Installation flow: 1. Install S32Design Studio 3.5: S32DS.3.5_b220726_win32.x86_64.exe 2. Install Update 8 for S32DS: com.nxp.s32ds.update_3.5.8.20231116041033.zip 3. Install development package for S32K3XX: com.nxp.s32ds.s32k3xx.update_3.5.8.20231116045533.zip 4. Install development package for S32K396: SW32K39x_S32DS_3.5.6_D2309.zip 5. Install RTD updatesite: SW32K3_S32M27x_RTD_R21-11_4.0.0_D2311_DS_updatesite.zip For steps 2, 3 and 4; where do I find these zip files. They do not appear to be included with the standalone "SW32K3_FreeRTOS_10.6.0_4.0.0_CD_D2312" package that I started with. I searched the forums for a while, but couldn't seem to find them. In general what is the best way to find these update packages (there are so many). I tried skipping ahead to just: "Open Help -> S32DS Extensions and Updates. From the next windows, select "FreeRTOS for S32K3XX_S32M27x" then click Install/Update" But unsurprisingly, this fails due to a missing dependency.  Any help is appreciated. Thanks. Re: Getting started with FreeRTOS in S32K DS 3.5 Hi @JaGaISS  I am attaching the links where you can download the corresponding packages.  2 > S32 Design Studio 3.5 Update 8 D2311 3 and 4 > S32K3 Standard Software > Automotive SW - S32K3 - S32 Design Studio >  S32 Design Studio 3.5.6 RTM with support for S32K39x devices and S32 Design Studio 3.5.8 Development Package with support for S32K3xx devices.  The zip file you will download from those links should be added to S32DS through S32DS Extensions and Updates > Add Update Sites. B.R. VaneB
記事全体を表示