Multi Source Translation Content

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

Multi Source Translation Content

讨论

排序依据:
S32K344 Flash Memory Erase Cycles life   #define FLS_MASTER_ID                0U #define FLS_BUF_SIZE                 80U #define FLS_SECTOR_ADDR              0x00600000U #define FLS_SECTOR_TEST              C40_CODE_ARRAY_0_BLOCK_2_S256    void FlashWrite()  {      /* Unlock sector if needed */     if (STATUS_C40_IP_SECTOR_PROTECTED == C40_Ip_GetLock(FLS_SECTOR_TEST))     {         C40_Ip_ClearLock(FLS_SECTOR_TEST, FLS_MASTER_ID);     }       /* Erase sector */     C40_Ip_MainInterfaceSectorErase(FLS_SECTOR_TEST, FLS_MASTER_ID);     do     {         C40Status = C40_Ip_MainInterfaceSectorEraseStatus();     }     while (STATUS_C40_IP_BUSY == C40Status);     /* Check job result */     Fls_ExampleAssert(STATUS_C40_IP_SUCCESS == C40Status);       /* Write data */     C40_Ip_MainInterfaceWrite(FLS_SECTOR_ADDR, FLS_BUF_SIZE, TxBuffer, FLS_MASTER_ID);     do     {         C40Status = C40_Ip_MainInterfaceWriteStatus();     }     while (STATUS_C40_IP_BUSY == C40Status);     /* Check job result */     Fls_ExampleAssert(STATUS_C40_IP_SUCCESS == C40Status);       /* Compare the data in memory with TxBuffer */     C40Status = C40_Ip_Compare(FLS_SECTOR_ADDR, FLS_BUF_SIZE, TxBuffer);     /* Check job result */     Fls_ExampleAssert(STATUS_C40_IP_SUCCESS == C40Status);      }   I am Calling this function FlashWrite() for every 1 Minute and MCU is working 24HRs so considering that how much flash memory life i'll get. Also let me know how to calculate it?   S32K344-WB   Re: S32K344 Flash Memory Erase Cycles life Dear  @lukaszadrapa and @narsimh_kamath  Thanks for the detailed information and calculations. This is what i was looking for. Re: S32K344 Flash Memory Erase Cycles life Thank you @lukaszadrapa  The simplified calculation & insight you offer is very helpful! It does look like if the interval for writing 32B data were increased from 'every 1 min' to ' every 2 min' , then certainly the desired EEPROM emulation can be achieved with a 15 year lifetime. Would you agree? Re: S32K344 Flash Memory Erase Cycles life There's 128KB of data flash. Even if I do not consider any overhead caused by Emulated EEPROM mechanism: "data flash size" / "user data" = 128KB / 2KB = 64 updates So, the data flash will be full just after 64 updates. We can perform 100,000 cycles on data flash, so it will gives us 6,400,000 updates. Doing this every 1 minute for 24 hours a day for 15 years: 6,400,000 / 60 / 24 / 365 = 12 years But that's ideal situation without any EEE overhead. Fee needs additional data in flash, so it will be less than 12 years. If you add additional 1MB from code flash: 1024KB / 2KB = 512 updates We can perform 1000 cycles on code flash: 512,000 updates 512,000 / 60 / 24 / 365 = 1 year So, this also does not make a difference. If you want to know the endurance exactly (with EEE overhead), you can find section "3.6.9 Endurance calculation" in Fee user manual. c:\NXP\S32DS.3.5\S32DS\software\PlatformSDK_S32K3\RTD\Fee_TS_T40D34M50I0R0\doc\RTD_FEE_UM.pdf But you are not able to reach 15 years in this use-case. Regards, Lukas Re: S32K344 Flash Memory Erase Cycles life Hi @lukaszadrapa , thanks. I notice we now support FEE in the latest MBDT for S32K3 (V1.6.0) . Could you help share some insight to the calculation involved for estimating if a certain use-case is feasible or not (in terms of Flash / emulated EEPROM specifications for S32K3). E.g. , if I need to write 2KB of data every 1 minute for 24 hours a day for 15 years , can this be supported assuming I am able to use FEE & can implement a round-robin sector scheme? Re: S32K344 Flash Memory Erase Cycles life Hi @jerryrig  This is 1MB block on S32K344, so this specification applies:   I can see you are erasing still the same sector in a loop. And because one sector erase == one P/E cycle, you have only 1000 cycles available. So, if you erase the same sector each minute, you have less than 17 hours. To achieve much better numbers, I would consider to use data flash block which provides  100,000 cycles and I would use EEPROM Emulation feature. There's Autosar Fee driver in RTD for this (notice that it's not available in non-Autosar Ip layer). Regards, Lukas
查看全文
PF5020 OTP 设置(适用于 S32G3 EVK 和 Goldbox) S32G3 EVK 和 Goldbox 上使用的 PF5020 OTP 设置是否可用? 电路板上的其他 PMIC 怎么样?
查看全文
PF5020 S32G3 EVK & Goldbox の OTP 設定 S32G3 EVKやGoldboxで使用されているPF5020 OTPの設定は可能ですか? ボード上の他のPMICはどうですか?
查看全文
Can the color of the scale numbers of the Meter control that comes with GUI-Guider be adjusted individually? Can I ask if the color of the scale numbers of the Meter control that comes with GUI-Guider can be adjusted separately? I changed the background of the dial to white and the scale to red, but the color of the scale numbers cannot be changed. In this case, the scale numbers cannot be displayed. Re: 请问GUI-Guider自带的Meter控件的刻度数字颜色是否单独可调? Hi @alen-liao, Please refer the screenshot attached to adjust Digit Part: Best Regards, Wenbin
查看全文
the memmap issue after adding eth module to GoldVIP-S32G Opening the GoldVIP-S32G3-1.11.0 with eb tresos 29.2.0,add Eth module in the module configurations. Then configure functions related to tsn and generate project. At this time, when compiling the code, it always prompts that the header file “Eth_MemMap.h” is missing. I know I need to configure memmap for Eth module. But i don't know how to do it. Re: the memmap issue after adding eth module to GoldVIP-S32G Thank you very much for your reply! The problem has been solved. Here's how to do it: 1. Add the Eth module and configure configurations. 2. Build Project -> generate_swcd 3. Im-and exporters -> Imp_Swcd -> Run Importer 4. EcuExtractCreator 5. SvcAs_Trigger 6. Generate Project Re: the memmap issue after adding eth module to GoldVIP-S32G Hi, Thanks for your feedback. For the following comment: "...there is no explanation of how Eth_Memmap.h is generated" We understand that you are expecting for the file to be generated by your Configuration Tool, for which this might not happen. The "*_Memmap.h" files are already provided under the RTD package, for which this seems to be a linkage problem, not that the file is not being generated. Please, let us know. Re: the memmap issue after adding eth module to GoldVIP-S32G Thank you very much for your reply. 一.Explaining according to the documentation (Eth_TS_T40D11M40I2R0\doc\RTD_ETH_IM.pdf), after adding the Eth module, there is no explanation of how Eth_Memmap.h is generated.I think this is not written manually, it should be compiled and generated. 二. After adding the Eth module, I Compile GoldVIP-S32G3-1.11.0\realtime\s32g399ardb3\can-gw based on this document GoldVIP-S32G3-1.11.0\documentation\GoldVIP-User-Manual.pdf \14.4 Building the M7 Application.I don't know if there is something wrong with my compilation method。 Re: the memmap issue after adding eth module to GoldVIP-S32G Hi, For the log that you are showing, it seems that the makefile is not able to find the related "Eth_MemMap.h" file. We understand that you have modified the project, have you also modified the makefile itself? As for the overall MemMap usage, we recommend looking into the Integration Manual of the respective driver (i.e. Eth_TS_T40D11M40I2R0\doc\RTD_ETH_IM.pdf) for more information. Please, let us know.
查看全文
代码中存在错误或存在某种不兼容性? 打开 HvBms400_775_722_TPL_Bring_Up 示例时收到错误。 下载了汽车包管理器版本 2024.01,下载了开发包,所有应该有的东西都在那里。
查看全文
エラー : 未定義の識別子 'class' 私はCodeWarrior IDEバージョン5.7.0ビルド2264で新しいプロジェクトを開始しています。makeでビルドしようとすると、このメッセージが表示され続けます。私のC ++コードを認識しません。どうすれば解決できますか? Re:エラー:未定義の識別子 'class' 私のライセンスは私にすべてのC ++機能を提供することになっており、私のライセンスをアップグレードする必要があることを発見しました。この問題は解決され、解決されたと考えています。返信ありがとうございます。 Re:エラー:未定義の識別子 'class' 私の問題は、私のライセンスが私にすべてのC ++機能を提供することになっていることと、私のライセンスをアップグレードする必要があることであることを発見しました。返信ありがとうございます。この問題は解決され、解決されたと考えています。 Re:エラー:未定義の識別子 'class' こんにちはシャノンマウント チップの部品番号を教えてください。 張 俊
查看全文
GUI-Guider に付属するメーターコントロールのスケール数字の色を個別に調整できますか? GUI-Guiderに付属のメーターコントロールの目盛りの数字の色を個別に調整できますか?ダイヤルの背景を白、目盛りを赤に変更しましたが、目盛りの数字の色は変更できません。この場合、目盛りの数字が表示されません。
查看全文
SC18IS604 5V tolerant I/O pins Hello NXP, I am currently designing a circuit using the SC18IS604. After reading its datasheet, I couldn’t determine which I/O pins are 5V tolerant. I’m sorry to bother you, but I would like to ask the following questions. 1. When the GPIO pins of the SC18IS604 are configured as input-only, are they 5V tolerant? 2. Are the SDA and SCL lines input/output tolerant? If VDD is 3.3V, is it possible to pull up the I2C-bus to 5V? Best regards, Yuichiro Re: SC18IS604 5V tolerant I/O pins Hello Tomas, Thank you so much for your quick reply. I now understand the specifications clearly. Best regards, Yuichiro Re: SC18IS604 5V tolerant I/O pins Hello Yuichiro, 1. Yes. 2. SCL, SDA pins are not 5V tolerant. These pins should not be pulled up to more than VDD. BRs, Tomas
查看全文
错误:未定义标识符“class” 我正在 CodeWarrior IDE 版本 5.7.0 Build 2264 中启动一个新项目。当我尝试使用 make 进行构建时,我不断收到此消息。它无法识别我的 C++ 代码。我该如何解决这个问题? 回复:错误:未定义标识符“class” 我发现我的许可证应该给我所有的 c++ 功能,并且我的许可证需要升级。我认为这个问题已经得到解决并结束了。谢谢您的回复。 回复:错误:未定义标识符“class” 我发现我的问题是我的许可证应该给我所有的 c++ 功能,而我的许可证需要升级。谢谢您的回复。我认为这个问题已经得到解决并结束了。 回复:错误:未定义标识符“class” 嗨,ShannonMt 您的芯片部件编号是多少? 张军
查看全文
SDK is not showing Installed S32DS V4, as per manual installed the necessary SW, During project creation unable to see the SDK Followed the steps from the below document  #nxp S32G2  Re: SDK is not showing Hi, It seems that this issues are the same as the community thread shown below: S32G3 board ,unable to find the FSL image is not available in SD card - NXP Community Information has been provided under the above community thread. Please, let us know. Re: SDK is not showing HI @Daniel-Aguirre , There are 2 issues I'm facing. I connected Micor USB cable to PC and J4 connector. USB is not detected. 2)Build is incomplete Re: SDK is not showing Hi, Thanks for your feedback. Can you help us share with us which RTD package have you installed? Are you able to see available examples under your setup? Which GCC version did you choose in the previous window? Please, let us know. Re: SDK is not showing Hi @Daniel-Aguirre I have tried same thing,but no luck. Pls let me know if you need any other details. Re: SDK is not showing Hi, Can you help us share with us which RTD package have you installed? Are you able to see available examples under your setup? Which GCC version did you choose in the previous window? We can also recommend the following HOWTO on this same regard: HOWTO: Create a Blinking LED application project for S32G using S32 RTD No AUTOSAR - NXP Community Please, let us know.
查看全文
One Wire Communication with S32k146 Hi there, Just to let you know that i use S32k14x EAR SDK v08.6 for my coding I have a module (Steering Lock). Which operates in a single wire communication protocol. So, i am having trouble to figure out how to enable the communication between the module and my S32k146. The following are my queries . 1. Wiring Connection: The above is the wiring details of the module. So the signal feedback wire (green), to which pin of the S32k146 i can connect this and how can i enable that signal in embeded terms based on the current.  2.Establishing Communication. The fowwling is the lock vendor provided example. How can i acheive this  Example: Host: controller Slave:Steering lock Lock: The host send out data:0xAAAA(Two-bytes) when the slave receives the commends,it will extend the lock tongue to lock the steering lock and then reply its current status. Open: The host send out data: 0x5555(Two-bytes) When the slave receives the commends,it will pull the lock tongue to open the steering lock and then reply its current status. If the slaves receives other commends,it will ignore it and will not do any things. Can someone assist me with this. It would be a great help for me. Thanks in advance Re: One Wire Communication with S32k146 Hi @Julián_AragónM  With your input i was able to close all the issues and started testing the code. But while testing i noticed that my code was not passing throught the delay_ms function. It is completly skipping this dealy_ms function which was called in the senddata function and skipping on to the next line of the code. can you please help me identify what might be the issue. Please cherck out the code as mentioned in the thread.  Re: One Wire Communication with S32k146 thank for the input. I over looked that error. Re: One Wire Communication with S32k146 Hi @akhilranga, It seems you are missing a closing brace in your sendData function: Best regards, Julián Re: One Wire Communication with S32k146 Hi Julian,  i have developed a code for my above mentioned application but that is showing me some syntax errors. Can you please help me out with that.  /* Including needed modules to compile this module/procedure */ #include "S32K146.h" #include "Cpu.h" #include "clockMan1.h" #include "pin_mux.h" volatile int exit_code = 0; /* User includes (#include below this line is not maintained by Processor Expert) */ #include #include //#define LED_PORT PORTD //#define GPIO_PORT PTD //#define PCC_CLOCK PCC_PORTD_CLOCK //#define LED1 15U //#define LED2 16U #define LOCK_COMM 7 //Output #define Lock_Status 1 //Locked: 1, Unlocked 0 #define LOCK_COMMAND 0xAAAA //1010 1010 1010 1010 #define UNLOCK_COMMAND 0x5555 //0101 0101 0101 0101 void delay_ms(uint32_t milliseconds) { /* Delay function - do nothing for a number of cycles */ uint32_t ticks = milliseconds*(SystemCoreClock / 1000); while(ticks--){} } void sendData( int dataLevel ) { if (dataLevel == 1) { // Data 1: // Turn on the LED PTE->PCOR |= (1 << LOCK_COMM); delay_ms(3); // Turn off the LED PTE->PSOR |= (1 << LOCK_COMM); delay_ms(1); // Total 4ms delay } else if (dataLevel == 0) { // Data 0: // Turn on the LED PTE->PCOR |= (1 << LOCK_COMM); delay_ms(1); // Turn off the LED PTE->PSOR |= (1 << LOCK_COMM); delay_ms(3); // Total 4ms delay } //void initOneWirePin(void) //{ // //configure GPIO pin PTE7 for command transmission // PTE->PDDR &= ~COMMAND_PIN_MASK; // Set pin as input (pull-up) //} int main(void) { /*** Processor Expert internal initialization. DON'T REMOVE THIS CODE!!! ***/ #ifdef PEX_RTOS_INIT PEX_RTOS_INIT(); /* Initialization of the selected RTOS. Macro is defined by the RTOS component. */ #endif /*** End of Processor Expert internal initialization. ***/ //initOneWirePin(); // Enable clock to PORT E (where the LOCK_COMM is connected) PCC->PCCn[PCC_PORTE_INDEX] |= PCC_PCCn_CGC_MASK; // Set pin as GPIO PORTE->PCR[LOCK_COMM] |= PORT_PCR_MUX(1); // Set pin as output PTE->PDDR |= (1 << LOCK_COMM); while (1) { int k = 0; if (Lock_Status == 1){ // send 0xAAAA delay_ms(5); //sync. head for (int i = 0; i < 15; i++) { //sendData(1); //sendData(0); sendData((LOCK_COMMAND >> i) & 0x01); // Send each bit of the lock command 1 or 0 } delay_ms(4); //ACK } else if(Lock_Status == 0){ // send 0x5555 delay_ms(5); //sync. head for (int i = 0; i < 15; i++) { //sendData(0); //sendData(1); sendData((UNLOCK_COMMAND >> i) & 0x01); // Send each bit of the unlock command 1 or 0 } delay_ms(4); //ACK } delay_ms(200); if( k += 10) { break; } } /*** Don't write any code pass this line, or it will be deleted during code generation. ***/ /*** RTOS startup code. Macro PEX_RTOS_START is defined by the RTOS component. DON'T MODIFY THIS CODE!!! ***/ #ifdef PEX_RTOS_START PEX_RTOS_START(); /* Startup of the selected RTOS. Macro is defined by the RTOS component. */ #endif /*** End of RTOS startup code. ***/ /*** Processor Expert end of main routine. DON'T MODIFY THIS CODE!!! ***/ for(;;) { if(exit_code != 0) { break; } } return exit_code; /*** Processor Expert end of main routine. DON'T WRITE CODE BELOW!!! ***/ }/*** End of main routine. DO NOT MODIFY THIS TEXT!!! ***/ /* END main */ /*! ** @} */ /* ** ################################################################### ** ** This file was created by Processor Expert 10.1 [05.21] ** for the Freescale S32K series of microcontrollers. ** ** ################################################################### */ the below screenshot shows the errors. So, tell me what is that i am doing wrong. Help me validate my approach.  Re: One Wire Communication with S32k146 Hi @akhilranga, Unfortunately, there are no examples for one-wire communications for the S32K platform. You can implement this communication by connecting a GPIO from the MCU to your module, such as the following posts: Implementation of 1- Wire Protocol - NXP Community Solved: S32K116 custom two wires serial communication implementation - NXP Community Also, using FlexCAN module there is no difference, but the CAN bit rate must be modified, and a different transceiver must be used, such as this one: Single-Wire Can Transceiver. Whichever protocol you choose is up to your implementation. The scope of support for this public community is for NXP related devices. Please contact your vendor for documentation on which protocol to implement, or any related information. Best regards, Julián
查看全文
NTAG5 Link SRAM Offset Hi, I'm working on an application with an NTAG5-LINK (NTP53121) NFC chip. We want to use this chip in Passthrough mode. I'm using the example code from SW6090 on my board, and the Android App build from SW5870. In principle this is working OK. However, when reading the content from SRAM written by NFC (from the Android App) over I2C by the microcontroller (address 0x2000 - 0x203F), I noticed that the data written by NFC actually starts at address 0x2004... When digging into this issue I found that the Android App code mentions: Initialize SRAM data for RF->I2C mode, not possible to send the whole SRAM (256 bytes) in a RF command because of the NFC API limitation, thus the first 2 blocks of the SRAM will not be written and the final lenght is 250 bytes. [Note the 2 typos: it's 4 blocks, and final length is 240 bytes]  And indeed the cmd_writeSRAM command in the App uses offset 0x04 to start writing the SRAM data. This explains the observed behavior. However, I cannot find any reference to this 'limitation' anywhere else. Do you know where to find it? Since I couldn't find the source of this limitation, I experimented with the offset. And I indeed found that when decreasing the offset below 0x04, the microcontroller no longer gets triggered to read the data from SRAM. Details: this means that for some reason the Event Detect pin of the NTAG5 chip does not signal the reception of new data over NFC. By force reading the SRAM content, it appears no data was written to SRAM by NFC at all So it seems that indeed there is, for some reason, a limitation of sending data to the NTAG5 SRAM from an NFC device. Although I'm kind of OK with this minor limitation (now that I know about it), I would like to understand the limitation. So is there any more information available about it? Thanks in advance. Re: NTAG5 Link SRAM Offset I got an update from NXP: Please keep in mind that these apps' examples are for demonstrating purposes, and optimization of them is welcome. Since the NTAG 5's SRAM buffer is 256-byte is possible I understand that it is possible to achieve the full-length reading but, since this limit has been described, I have to recommend to please develop you application using our API limits to avoid a malfunction of the NTAG 5 IC. Not the explanation I was hoping for, but I suppose this is all I will get. So I'll have to accept as is, and live with the small limitation. Re: NTAG5 Link SRAM Offset Hello Fabian, thanks for the quick answer, and your support. It's unfortunate there is no more documentation about the limitation. I would really like to understand the background of it. It's also strange the issue is unknown to you, as it is actually in the source code of the Android App (SW5870) (and for that matter also in the iOS App (SW6133). Is there anything I can do to help you to analyse the issue? May I suggest you to try to reproduce the issue? It's just applying the hardware and SW for SW6090 with SW5870/SW6133, nothing special. When you run the sample application, you will notice 3 things: When you check the content of sramBuff (for some reason it is not copied to gSRamData in the example, but that's a minor issue), you will see the first 16 bytes are 0x00, and the data from the Android App ({ 0x00, 0x01, 0x02 ... }) starts from byte 16, which shows the offset of 4 blocks When you change the 4th byte (Block Address parameter) in cmd_writeSRAM in the App from 0x04 to something below 4, the write to SRAM from the App is not detected by the microcontroller, keeping it waiting for new data And actually you will also notice something similar in the data going the other direction: The first 4 bytes of gSRamDataFixed send by the microcontroller is not shown in the Android App. This is because the 4th byte (Block Address parameter) of cmd_readSRAM of the App is 0x01, indicating SRAM should be read from block 1. When this byte is changed to 0x00, the whole content of the SRAM is read as expected (so this actually is working for the full 256 bytes) Re: NTAG5 Link SRAM Offset Hello sir, This is Fabian, I've been assigned to support your case. I appreciate your interest in our products. Unfortunately, we don't have a statement on this limitation. Since the reading from SRAM is a custom command and feature, this is part of NXP and the developed API for interfacing directly with the NTAG 5 using the provided utilities from the SW5870. Regarding the issues you experienced when decreasing the offset, it is quite strange, we haven't had similar issues from other customers that we know about.
查看全文
S32k146との1線式通信 こんにちは、 私がコーディングにS32k14x EAR SDK v08.6を使用していることをお知らせします モジュール(ステアリングロック)を持っています。これは、単線通信プロトコルで動作します。 そのため、モジュールとS32k146間の通信を有効にする方法を理解するのに苦労しています。以下は私のクエリです。 1.配線接続: 以上がモジュールの配線詳細です。したがって、信号フィードバックワイヤー(緑)、S32k146のどのピンにこれを接続でき、電流に基づいてその信号を埋め込み条件でどのように有効にできますか。 2.コミュニケーションの確立。 フォウリングは、ロックベンダーが提供する例です。どうすればこれを達成できますか 例: ホスト:コントローラー スレーブ:ステアリングロック ロック:スレーブが受信したときに、ホストはデータを送信します:0xAAAA(2バイト) 称賛します、それはステアリングロックをロックするためにロック舌を伸ばし、次にそれに応答します 現在のステータス。 オープン:ホストはデータを送信します:0x5555(2バイト)スレーブが受信したとき 称賛します、それはステアリングロックを開くためにロックタングを引っ張り、次にそれに応答します 現在のステータス。 奴隷が他の賞賛を受けた場合、それを無視し、何もしません。 誰かがこれについて私を助けることができますか。それは私にとって大きな助けになるでしょう。よろしくお願いいたします 日時:S32k146とのワンワイヤー通信 ご意見ありがとうございます。私はそのエラーを見落としていました。
查看全文
How to adjust the distance between the scale and the outer circle border of the Meter control that comes with GUI-Guider? When using the Meter control provided by GUI-Guider, I want to adjust the distance between the scale and the outer circle border. How can I adjust it? Re: 怎样调整GUI-Guider自带的Meter控件刻度与外圆边框的距离? Hi @alen-liao, The GUI Guider doesn't support this configuration but you can use custom code below to adjust the distance. lv_obj_set_style_pad_all(ui->screen_1_meter_1, 20, 0); Please check the screenshot: Best Regards, Wenbin
查看全文
怎样调整GUI-Guider自带的Meter控件刻度与外圆边框的距离? 在使用GUI-Guider自带的Meter控件时,想调整刻度与外圆边框的距离。请问怎样调整?
查看全文
MPC5777C CSE CSE_ECR= 0X02 command sequence error Hi team, Customer currently do CSE key load&erase( with a for loop, first load key and then erase key about 10000 times) test experiment. But after the 10000 times test, and power on the MCU again, the key can not be loaded or erased any more and the CSE_ECR = 0x02 reported command sequence error, and other CSE command also have this error when send to CSE. And CANCEL is the only command the CSE will accept without 0x02 error. This issue also same with this ticket, but it doesn't have a correct answer: https://community.nxp.com/t5/MPC5xxx/MPC5777C-CSE-Problem/m-p/589107#M4239 So question is how to handle this issue, since in this case the key can not be loaded or erased any more and the CSE command also can not be accepted by CSE core. I compared the normal(replaced with new chip on EVB) and issue chip and found that the SR_BFN bit and CSE_ECR bit are different, SR_BFN bit means secure boot finished but i don't enable the secure boot on the issue chip. error one: normal one: Re: MPC5777C CSE CSE_ECR= 0X02 command sequence error Hi Lukas, It sounds make sense, if this point should pay attention about Key erase, it should figure out in doc, because in our normal debug process we may have unexpected restart or power on the board again when calling the DEBUG_CHAL+DEBUG_AUTH. Re: MPC5777C CSE CSE_ECR= 0X02 command sequence error Hi Lukas, Are there any docs that mention this point? Re: MPC5777C CSE CSE_ECR= 0X02 command sequence error Hi @Zhongling_Lang  most likely, this is caused by unexpected reset or by too short timeout before power cycle of the MCU (the more erase cycles is performed on the flash, the more time is needed to erase the flash). If erase operation triggered by DEBUG_CHAL+DEBUG_AUTH commands is terminated by unexpected reset, it will make the CSE unusable and there's no way to recover. Anyway, this is not expected use-case in real application. DEBUG_CHAL+DEBUG_AUTH should be used only during development, not in the field. Regards, Lukas
查看全文
GUI-Guider に付属するメーター コントロールのスケールと外側の円の境界の間の距離を調整するにはどうすればよいですか? GUI-Guiderのメーターコントロールを使用する際に、スケールと外側の円の境界線の間の距離を調整したいのですが、どうすれば調整できますか?
查看全文
What is the purpose of imx8mn-evk-u-boot.dtsi? According to imx8mn_evk_defconf, the boot dts file is imx8mn-elk.dts which includes imx8mn-elk.dtsi then imx8mn.dtsi. I don't see imx8mn-evk-u-boot.dtsi included, and I am not sure how and when this file is used. We are having a boot-up issue and wondering if this file is the issue. Do we need it if we are basing our board on imx8mn-evk with some modifications? Thank you. i.MX 8M | i.MX 8M Mini | i.MX 8M Nano Re: What is the purpose of imx8mn-evk-u-boot.dtsi? The short answer is u-boot build system automatically includes -u-boot.dtsi in addition to the defined board file. In this example, the final u-boot device tree is imx8mn-evk.dts + imx8mn-evk-u-boot.dtsi. I found this description to be helpful. Not knowing this, we only created a custom device tree file for our board based on imx8mn-evk.dts and did not create -u-boot.dtsi version. @sinanakman this was causing SPL not to boot at all ( the common uuu USB cannot connect error). The underlying issue is inside imx8mn-evk-u-boot.dtsi, many nodes were decleraded with the property 'u-boot,dm-spl'. Apparently, this needed to select which node SPL would drive so you are not including the whole tree that u-boot uses. Obviously, without it, SPL did not have access to many key nodes such as pmic and uart, and it is no wonder we were not booting with zero output messages. I found this description to be useful. @hustdage I do not believe Binman is in play here, but I could be wrong as I am new to all this. You are correct that binman node is described within *-u-boot.dtsi file, but I don't believe it is used in the imx8mn-evk board since CONFIG_BINMAN is not set. I see boards that specifically select it, such as IMX8MN_BEACON, but not the IMX8MN_EVK target. It may be there as an optional feature, but I think the imx8mn_evk board still uses ad-hoc scripts included within the imx-boot to support the imx-mkimage tool in building the final image (flash.bin). Please correct me if I am wrong. Re: What is the purpose of imx8mn-evk-u-boot.dtsi? Moose' question  is "I don't see imx8mn-evk-u-boot.dtsi included".  And I have answered  " It is called binman node in u-boot. You can check the u-boot document. And learn this u-boot knowledge. “ It is not overlay, it is Automatic .dtsi includesion. https://github.com/nxp-imx/uboot-imx/blob/lf-6.1.36-2.1.0/tools/binman/binman.rst Automatic .dtsi inclusion It is sometimes inconvenient to add a 'binman' node to the .dts file for each board. This can be done by using #include to bring in a common file. Another approach supported by the U-Boot build system is to automatically include a common header. You can then put the binman node (and anything else that is specific to U-Boot, such as u-boot,dm-pre-reloc properies) in that header file. Binman will search for the following files in arch/ /dts: -u-boot.dtsi where is the base name of the .dts file -u-boot.dtsi -u-boot.dtsi -u-boot.dtsi u-boot.dtsi Re: What is the purpose of imx8mn-evk-u-boot.dtsi? The imx8mn-evk-u-boot.dtsi will overlay  imx8mn-evk.dts, so the final dtb will contain properties in imx8mn-evk-u-boot.dtsi . Of course, you need modify imx8mn-evk-u-boot.dtsi. Re: What is the purpose of imx8mn-evk-u-boot.dtsi? Hi Moose If you can show us what boot up issues you are having we might be able to help you a bit better. Please describe your custom board how it deviates from the eval board you might have based it and how you generate your images that you are having issues with. Best regards Sinan Akman Re: What is the purpose of imx8mn-evk-u-boot.dtsi? It is called binman node in u-boot. You can check the u-boot document. And learn this u-boot knowledge.
查看全文
与S32K146的单线通信 您好, 只是想让你知道我使用 S32k14x EAR SDK v08.6 进行编码 我有一个模块(转向锁)。它采用单线通信协议运行。 所以,我很难弄清楚如何启用模块和我的 S32k146 之间的通信。以下是我的疑问。 1.接线: 以上是模块的接线细节。因此,我可以将信号反馈线(绿色)连接到 S32k146 的哪个引脚,以及如何根据电流在嵌入式术语中启用该信号。 2.建立沟通。 fowwling 是锁供应商提供的示例。我怎样才能实现这个 例子: 主机:控制器 从属:转向锁 锁定:从机收到数据后,主机发送数据:0xAAAA(两个字节) 推荐,它将伸出锁舌来锁定转向锁,然后回复其 当前状态。 打开:主机发送数据:0x5555(两个字节)当从机收到 赞扬,它会拉动锁舌打开转向锁,然后回复其 当前状态。 如果从属进程收到其他命令,它将忽略它并且不会做任何事情。 有人可以帮我吗?这对我来说会有很大的帮助。提前致谢 回复:与S32K146的单线通信 感谢您的意见。我忽略了那个错误。
查看全文