Example MPC5777C-SRAM_keep_data_over_SW_reset GHS714

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

Example MPC5777C-SRAM_keep_data_over_SW_reset GHS714

Example MPC5777C-SRAM_keep_data_over_SW_reset GHS714

********************************************************************************
* Detailed Description:
* Purpose of the example is to show how to maintain SRAM data over reset types
* that is not destroying SRAM content (for instance software reset)
* Changes are done in linker command files (adding new section), because
* .BSS and .SBSS section are always cleared by compiler.
* Another changes are done in init.s file where SIU_RSR reset flags are
* tested and RAM is initialized only conditionally.
* Variable 'test_variable' is maintained over SW reset and then incremented
* once per reset cycle and displayed over terminal window.
*
* ------------------------------------------------------------------------------
* Test HW: MPC5777C-512DS Rev.A + MPC57xx MOTHER BOARD Rev.C
* MCU: PPC5777CMM03 2N45H CTZZS1521A
* Fsys: PLL1 = core_clk = 264MHz, PLL0 = 192MHz
* Debugger: Lauterbach Trace32
* Target: internal_FLASH
* Terminal: 19200-8-no parity-1 stop bit-no flow control on eSCI_A
* EVB connection: ETPUA30 (PortP P23-15) --> USER_LED_1 (P7-1)
* ETPUA31 (PortP P23-14) --> USER_LED_2 (P7-2)
*
********************************************************************************
添付
%3CLINGO-SUB%20id%3D%22lingo-sub-1527327%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E4%BE%8BMPC5777C-SRAM_keep_data_over_SW_reset%20GHS714%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1527327%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CPRE%20translate%3D%22no%22%3E********************************************************************************%3CBR%20%2F%3E*%20Detailed%20Description%3A%3CBR%20%2F%3E*%20Purpose%20of%20the%20example%20is%20to%20show%20how%20to%20maintain%20SRAM%20data%20over%20reset%20types%3CBR%20%2F%3E*%20that%20is%20not%20destroying%20SRAM%20content%20(for%20instance%20software%20reset)%3CBR%20%2F%3E*%20Changes%20are%20done%20in%20linker%20command%20files%20(adding%20new%20section)%2C%20because%3CBR%20%2F%3E*%20.BSS%20and%20.SBSS%20section%20are%20always%20cleared%20by%20compiler.%3CBR%20%2F%3E*%20Another%20changes%20are%20done%20in%20init.s%20file%20where%20SIU_RSR%20reset%20flags%20are%3CBR%20%2F%3E*%20tested%20and%20RAM%20is%20initialized%20only%20conditionally.%3CBR%20%2F%3E*%20Variable%20'test_variable'%20is%20maintained%20over%20SW%20reset%20and%20then%20incremented%3CBR%20%2F%3E*%20once%20per%20reset%20cycle%20and%20displayed%20over%20terminal%20window.%3CBR%20%2F%3E*%20%3CBR%20%2F%3E*%20------------------------------------------------------------------------------%3CBR%20%2F%3E*%20Test%20HW%3A%20MPC5777C-512DS%20Rev.A%20%2B%20MPC57xx%20MOTHER%20BOARD%20Rev.C%3CBR%20%2F%3E*%20MCU%3A%20PPC5777CMM03%202N45H%20CTZZS1521A%3CBR%20%2F%3E*%20Fsys%3A%20PLL1%20%3D%20core_clk%20%3D%20264MHz%2C%20PLL0%20%3D%20192MHz%3CBR%20%2F%3E*%20Debugger%3A%20Lauterbach%20Trace32%3CBR%20%2F%3E*%20Target%3A%20internal_FLASH%3CBR%20%2F%3E*%20Terminal%3A%2019200-8-no%20parity-1%20stop%20bit-no%20flow%20control%20on%20eSCI_A%20%3CBR%20%2F%3E*%20EVB%20connection%3A%20ETPUA30%20(PortP%20P23-15)%20--%26gt%3B%20USER_LED_1%20(P7-1)%3CBR%20%2F%3E*%20ETPUA31%20(PortP%20P23-14)%20--%26gt%3B%20USER_LED_2%20(P7-2)%20%3CBR%20%2F%3E*%3CBR%20%2F%3E********************************************************************************%3C%2FPRE%3E%3C%2FLINGO-BODY%3E
評価なし
バージョン履歴
最終更新日:
‎11-01-2023 06:04 AM
更新者: