⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 can.lst

📁 Atmel arm can总线的应用程序
💻 LST
📖 第 1 页 / 共 5 页
字号:
   \   0000016E   03D0               BEQ         ??AT91F_BasicTestSuite_19
   \   00000170   8C49               LDR         R1,??AT91F_BasicTestSuite_9+0x2C  ;; `?<Constant "-E- Data Corrupted !\\n\\r">`
   \   00000172   5F48               LDR         R0,??AT91F_BasicTestSuite_0  ;; _Stdout
   \   00000174   ........           _BLF        fprintf,fprintf??rT
    148            }
    149          
    150            ///////////////////////////////////////////////////////////////////////////////////////////
    151            TRACE_INFO("\n\r----------------------------------------------------------\n\r");
   \                     ??AT91F_BasicTestSuite_19:
   \   00000178   5D48               LDR         R0,??AT91F_BasicTestSuite_0  ;; _Stdout
   \   0000017A   0028               CMP         R0,#+0
   \   0000017C   03D0               BEQ         ??AT91F_BasicTestSuite_22
   \   0000017E   8A49               LDR         R1,??AT91F_BasicTestSuite_9+0x30  ;; `?<Constant "\\n\\r-------------------...">_2`
   \   00000180   5B48               LDR         R0,??AT91F_BasicTestSuite_0  ;; _Stdout
   \   00000182   ........           _BLF        fprintf,fprintf??rT
    152            TRACE_INFO("3. CAN0 Mailboxes 1 & 2 transmitting to CAN1 Mailbox 15...\n\r");
   \                     ??AT91F_BasicTestSuite_22:
   \   00000186   5A48               LDR         R0,??AT91F_BasicTestSuite_0  ;; _Stdout
   \   00000188   0028               CMP         R0,#+0
   \   0000018A   03D0               BEQ         ??AT91F_BasicTestSuite_23
   \   0000018C   8749               LDR         R1,??AT91F_BasicTestSuite_9+0x34  ;; `?<Constant "3. CAN0 Mailboxes 1 &...">`
   \   0000018E   5848               LDR         R0,??AT91F_BasicTestSuite_0  ;; _Stdout
   \   00000190   ........           _BLF        fprintf,fprintf??rT
    153            TRACE_INFO("----------------------------------------------------------\n\r");
   \                     ??AT91F_BasicTestSuite_23:
   \   00000194   5648               LDR         R0,??AT91F_BasicTestSuite_0  ;; _Stdout
   \   00000196   0028               CMP         R0,#+0
   \   00000198   03D0               BEQ         ??AT91F_BasicTestSuite_24
   \   0000019A   8549               LDR         R1,??AT91F_BasicTestSuite_9+0x38  ;; `?<Constant "---------------------...">_2`
   \   0000019C   5448               LDR         R0,??AT91F_BasicTestSuite_0  ;; _Stdout
   \   0000019E   ........           _BLF        fprintf,fprintf??rT
    154            TRACE_INFO("-- CAN0 Mailbox 1 : Tx Mailbox \n\r");
   \                     ??AT91F_BasicTestSuite_24:
   \   000001A2   5348               LDR         R0,??AT91F_BasicTestSuite_0  ;; _Stdout
   \   000001A4   0028               CMP         R0,#+0
   \   000001A6   03D0               BEQ         ??AT91F_BasicTestSuite_25
   \   000001A8   8249               LDR         R1,??AT91F_BasicTestSuite_9+0x3C  ;; `?<Constant "-- CAN0 Mailbox 1 : T...">`
   \   000001AA   5148               LDR         R0,??AT91F_BasicTestSuite_0  ;; _Stdout
   \   000001AC   ........           _BLF        fprintf,fprintf??rT
    155            TRACE_INFO("-- CAN0 Mailbox 2 : Tx Mailbox \n\r");
   \                     ??AT91F_BasicTestSuite_25:
   \   000001B0   4F48               LDR         R0,??AT91F_BasicTestSuite_0  ;; _Stdout
   \   000001B2   0028               CMP         R0,#+0
   \   000001B4   03D0               BEQ         ??AT91F_BasicTestSuite_26
   \   000001B6   8049               LDR         R1,??AT91F_BasicTestSuite_9+0x40  ;; `?<Constant "-- CAN0 Mailbox 2 : T...">`
   \   000001B8   4D48               LDR         R0,??AT91F_BasicTestSuite_0  ;; _Stdout
   \   000001BA   ........           _BLF        fprintf,fprintf??rT
    156            TRACE_INFO("-- CAN1 Mailbox 15: Rx with Overwrite Mailbox \n\r");
   \                     ??AT91F_BasicTestSuite_26:
   \   000001BE   4C48               LDR         R0,??AT91F_BasicTestSuite_0  ;; _Stdout
   \   000001C0   0028               CMP         R0,#+0
   \   000001C2   03D0               BEQ         ??AT91F_BasicTestSuite_27
   \   000001C4   7D49               LDR         R1,??AT91F_BasicTestSuite_9+0x44  ;; `?<Constant "-- CAN1 Mailbox 15: R...">`
   \   000001C6   4A48               LDR         R0,??AT91F_BasicTestSuite_0  ;; _Stdout
   \   000001C8   ........           _BLF        fprintf,fprintf??rT
    157            TRACE_INFO("----------------------------------------------------------\n\r");
   \                     ??AT91F_BasicTestSuite_27:
   \   000001CC   4848               LDR         R0,??AT91F_BasicTestSuite_0  ;; _Stdout
   \   000001CE   0028               CMP         R0,#+0
   \   000001D0   03D0               BEQ         ??AT91F_BasicTestSuite_28
   \   000001D2   7749               LDR         R1,??AT91F_BasicTestSuite_9+0x38  ;; `?<Constant "---------------------...">_2`
   \   000001D4   4648               LDR         R0,??AT91F_BasicTestSuite_0  ;; _Stdout
   \   000001D6   ........           _BLF        fprintf,fprintf??rT
    158            // Ask Transmissions on Mailbox 1 & 2 --> AT91C_CAN_MRDY & AT91C_CAN_MMI raises for Mailbox 15 CAN_MB_SR
    159            AT91F_CAN_InitTransferRequest(AT91C_BASE_CAN0,AT91C_CAN_MB1|AT91C_CAN_MB2);
   \                     ??AT91F_BasicTestSuite_28:
   \   000001DA   0621               MOV         R1,#+0x6
   \   000001DC   4848               LDR         R0,??AT91F_BasicTestSuite_0+0x10  ;; 0xfff80000
   \   000001DE   ........           _BLF        AT91F_CAN_InitTransferRequest,AT91F_CAN_InitTransferRequest??rT
    160          
    161            // Wait for Last Transmit Mailbox
    162            tick=0;
   \   000001E2   0020               MOV         R0,#+0
   \   000001E4   041C               MOV         R4,R0
    163            do  {
    164              status = AT91F_CAN_GetMessageStatus(&(AT91C_BASE_CAN1->CAN_MB15));
   \                     ??AT91F_BasicTestSuite_29:
   \   000001E6   7648               LDR         R0,??AT91F_BasicTestSuite_9+0x48  ;; 0xfff843e0
   \   000001E8   ........           _BLF        AT91F_CAN_GetMessageStatus,AT91F_CAN_GetMessageStatus??rT
   \   000001EC   051C               MOV         R5,R0
    165            }
    166            while( !(status & AT91C_CAN_MMI) && (++tick<AT91C_CAN_TIMEOUT) );
   \   000001EE   E801               LSL         R0,R5,#+0x7
   \   000001F0   03D4               BMI         ??AT91F_BasicTestSuite_30
   \   000001F2   641C               ADD         R4,#+0x1
   \   000001F4   4648               LDR         R0,??AT91F_BasicTestSuite_0+0x20  ;; 0x186a0
   \   000001F6   8442               CMP         R4,R0
   \   000001F8   F5D3               BCC         ??AT91F_BasicTestSuite_29
    167          
    168            if (tick == AT91C_CAN_TIMEOUT) {
   \                     ??AT91F_BasicTestSuite_30:
   \   000001FA   4548               LDR         R0,??AT91F_BasicTestSuite_0+0x20  ;; 0x186a0
   \   000001FC   8442               CMP         R4,R0
   \   000001FE   07D1               BNE         ??AT91F_BasicTestSuite_31
    169              TRACE_ERROR("-E- Test FAILED !\n\r");
   \   00000200   3B48               LDR         R0,??AT91F_BasicTestSuite_0  ;; _Stdout
   \   00000202   0028               CMP         R0,#+0
   \   00000204   2BD0               BEQ         ??AT91F_BasicTestSuite_32
   \   00000206   6449               LDR         R1,??AT91F_BasicTestSuite_9+0x20  ;; `?<Constant "-E- Test FAILED !\\n\\r">`
   \   00000208   3948               LDR         R0,??AT91F_BasicTestSuite_0  ;; _Stdout
   \   0000020A   ........           _BLF        fprintf,fprintf??rT
   \   0000020E   26E0               B           ??AT91F_BasicTestSuite_32
    170            } else {
    171              TRACE_INFO("-I- Tranfers Completed: CAN1 Mailbox 15 MRDY and MMI flags have raised.\n\r");
   \                     ??AT91F_BasicTestSuite_31:
   \   00000210   3748               LDR         R0,??AT91F_BasicTestSuite_0  ;; _Stdout
   \   00000212   0028               CMP         R0,#+0
   \   00000214   03D0               BEQ         ??AT91F_BasicTestSuite_33
   \   00000216   6B49               LDR         R1,??AT91F_BasicTestSuite_9+0x4C  ;; `?<Constant "-I- Tranfers Complete...">`
   \   00000218   3548               LDR         R0,??AT91F_BasicTestSuite_0  ;; _Stdout
   \   0000021A   ........           _BLF        fprintf,fprintf??rT
    172              if( AT91F_CAN_GetMessageDataLow(&AT91C_BASE_CAN0->CAN_MB1) != AT91F_CAN_GetMessageDataLow(&AT91C_BASE_CAN1->CAN_MB15) )
   \                     ??AT91F_BasicTestSuite_33:
   \   0000021E   6A48               LDR         R0,??AT91F_BasicTestSuite_9+0x50  ;; 0xfff80220
   \   00000220   ........           _BLF        AT91F_CAN_GetMessageDataLow,AT91F_CAN_GetMessageDataLow??rT
   \   00000224   061C               MOV         R6,R0
   \   00000226   6648               LDR         R0,??AT91F_BasicTestSuite_9+0x48  ;; 0xfff843e0
   \   00000228   ........           _BLF        AT91F_CAN_GetMessageDataLow,AT91F_CAN_GetMessageDataLow??rT
   \   0000022C   8642               CMP         R6,R0
   \   0000022E   06D0               BEQ         ??AT91F_BasicTestSuite_34
    173                TRACE_ERROR("-E- Data Corrupted !\n\r");
   \   00000230   2F48               LDR         R0,??AT91F_BasicTestSuite_0  ;; _Stdout
   \   00000232   0028               CMP         R0,#+0
   \   00000234   03D0               BEQ         ??AT91F_BasicTestSuite_34
   \   00000236   5B49               LDR         R1,??AT91F_BasicTestSuite_9+0x2C  ;; `?<Constant "-E- Data Corrupted !\\n\\r">`
   \   00000238   2D48               LDR         R0,??AT91F_BasicTestSuite_0  ;; _Stdout
   \   0000023A   ........           _BLF        fprintf,fprintf??rT
    174              if( AT91F_CAN_GetMessageDataHigh(&AT91C_BASE_CAN0->CAN_MB1) != AT91F_CAN_GetMessageDataHigh(&AT91C_BASE_CAN1->CAN_MB15) )
   \                     ??AT91F_BasicTestSuite_34:
   \   0000023E   6248               LDR         R0,??AT91F_BasicTestSuite_9+0x50  ;; 0xfff80220
   \   00000240   ........           _BLF        AT91F_CAN_GetMessageDataHigh,AT91F_CAN_GetMessageDataHigh??rT
   \   00000244   061C               MOV         R6,R0
   \   00000246   5E48               LDR         R0,??AT91F_BasicTestSuite_9+0x48  ;; 0xfff843e0
   \   00000248   ........           _BLF        AT91F_CAN_GetMessageDataHigh,AT91F_CAN_GetMessageDataHigh??rT
   \   0000024C   8642               CMP         R6,R0
   \   0000024E   06D0               BEQ         ??AT91F_BasicTestSuite_32
    175                TRACE_ERROR("-E- Data Corrupted !\n\r");
   \   00000250   2748               LDR         R0,??AT91F_BasicTestSuite_0  ;; _Stdout
   \   00000252   0028               CMP         R0,#+0
   \   00000254   03D0               BEQ         ??AT91F_BasicTestSuite_32
   \   00000256   5349               LDR         R1,??AT91F_BasicTestSuite_9+0x2C  ;; `?<Constant "-E- Data Corrupted !\\n\\r">`
   \   00000258   2548               LDR         R0,??AT91F_BasicTestSuite_0  ;; _Stdout
   \   0000025A   ........           _BLF        fprintf,fprintf??rT
    176            }
    177          
    178            ///////////////////////////////////////////////////////////////////////////////////////////
    179            TRACE_INFO("\n\r-----------------------------------------------------------\n\r");
   \                     ??AT91F_BasicTestSuite_32:
   \   0000025E   2448               LDR         R0,??AT91F_BasicTestSuite_0  ;; _Stdout
   \   00000260   0028               CMP         R0,#+0
   \   00000262   03D0               BEQ         ??AT91F_BasicTestSuite_35
   \   00000264   5949               LDR         R1,??AT91F_BasicTestSuite_9+0x54  ;; `?<Constant "\\n\\r-------------------...">_3`
   \   00000266   2248               LDR         R0,??AT91F_BasicTestSuite_0  ;; _Stdout
   \   00000268   ........           _BLF        fprintf,fprintf??rT
    180            TRACE_INFO("4. CAN0 Mailbox 3 asking for CAN1 Mailbox 3 transmission...\n\r");
   \                     ??AT91F_BasicTestSuite_35:
   \   0000026C   2048               LDR         R0,??AT91F_BasicTestSuite_0  ;; _Stdout
   \   0000026E   0028               CMP         R0,#+0
   \   00000270   03D0               BEQ         ??AT91F_BasicTestSuite_36
   \   00000272   5749               LDR         R1,??AT91F_BasicTestSuite_9+0x58  ;; `?<Constant "4. CAN0 Mailbox 3 ask...">`
   \   00000274   1E48               LDR         R0,??AT91F_BasicTestSuite_0  ;; _Stdout
   \   00000276   ........           _BLF        fprintf,fprintf??rT
    181            TRACE_INFO("-----------------------------------------------------------\n\r");
   \                     ??AT91F_BasicTestSuite_36:
   \   0000027A   1D48               LDR         R0,??AT91F_BasicTestSuite_0  ;; _Stdout
   \   0000027C   0028               CMP         R0,#+0
   \   0000027E   03D0               BEQ         ??AT91F_BasicTestSuite_37
   \   00000280   5449               LDR         R1,??AT91F_BasicTestSuite_9+0x5C  ;; `?<Constant "---------------------...">_3`
   \   00000282   1B48               LDR         R0,??AT91F_BasicTestSuite_0  ;; _Stdout
   \   00000284   ........           _BLF        fprintf,fprintf??rT
    182            TRACE_INFO("-- CAN0 Mailbox 3: Consumer Mailbox \n\r");
   \                     ??AT91F_BasicTestSuite_37:
   \   00000288   1948               LDR         R0,??AT91F_BasicTestSuite_0  ;; _Stdout
   \   0000028A   0028               CMP         R0,#+0
   \   0000028C   03D0               BEQ         ??AT91F_BasicTestSuite_38
   \   0000028E   5249               LDR         R1,??AT91F_BasicTestSuite_9+0x60  ;; `?<Constant "-- CAN0 Mailbox 3: Co...">`
   \   00000290   1748               LDR         R0,??AT91F_BasicTestSuite_0  ;; _Stdout
   \   00000292   ........           _BLF        fprintf,fprintf??rT

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -